Difference between revisions of "Sandbox"

From Custom Mario Kart
Jump to navigation Jump to search
m
(42 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== File Header ==
+
__NEWSECTIONLINK__
This is the general layout for a LODI header:
+
[[category:no-wbz-id]]
 +
 
 +
= Interwiki tests =
 +
* »[[mk8:Sandbox]]«
 +
* »[[mk8:Sandbox|text]]«
 +
* »[[wikipedia:Test]]«
 +
* Doku: https://www.mediawiki.org/wiki/Manual:Interwiki
 +
 
 +
= LODI (File Format) =
 +
== Header ==
 +
The LODI file format starts with a 0x74 byte header structure.
 
{| class="wikitable"
 
{| class="wikitable"
|+ File header of a LODI file
 
 
|-
 
|-
 
! Offset !! Size !! Description
 
! Offset !! Size !! Description
 
|-
 
|-
| 0x00 || 4 || File magic, always 'LODI' in ASCII
+
| 0x00 || 4 || "'''LODI'''" File identifier, ASCII string.
 
|-
 
|-
| 0x10 || 4 || Start of the file, always 0x00
+
| 0x04 || 4 || Always 0x3EF.
 
|-
 
|-
| 0x14 || 4 || End of the file
+
| 0x08 || 4 || ?
 +
|-
 +
| 0x10 || 4 || Start of the file, always 0x00.
 +
|-
 +
| 0x14 || 4 || End of the file.
 
|-
 
|-
 
| 0x18 || 4 || Section offset
 
| 0x18 || 4 || Section offset
Line 24: Line 37:
 
| 0x2C || 4 || ?
 
| 0x2C || 4 || ?
 
|-
 
|-
| 0x30 || 4 || Section offset, always 0xC00
+
| 0x30 || 4 || Section 1 offset, always 0xC00.
 
|-
 
|-
 
| 0x34 || 4 || ?
 
| 0x34 || 4 || ?
 
|-
 
|-
| 0x38 || 4 || Section offset
+
| 0x38 || 4 || Section 2 offset.
 
|-
 
|-
 
| 0x3C || 4 || ?
 
| 0x3C || 4 || ?
 
|-
 
|-
| 0x40 || 4 || [[BRRES]] section offset
+
| 0x40 || 4 || [[BRRES]] / Textures section offset.
 
|-
 
|-
 
| 0x44 || 4 || ?
 
| 0x44 || 4 || ?
 
|-
 
|-
| 0x48 || 4 || Section offset
+
| 0x48 || 4 || Section 3 offset.
 
|-
 
|-
 
| 0x4C || 4 || ?
 
| 0x4C || 4 || ?
 +
|-
 +
| 0x60 || 4 || ?
 
|-
 
|-
 
| 0x64 || 4 || File ID?
 
| 0x64 || 4 || File ID?
 
|-
 
|-
| 0x68 || 4 || Same as 0x64
+
| 0x68 || 4 || Same as 0x64.
 +
|-
 +
| 0x70 || 4 || Same as 0x64.
 +
|}
 +
 
 +
== Section 1 ==
 +
Each entry is a 0x90 byte structure as follows.
 +
{| class="wikitable"
 +
|-
 +
! Offset !! Type !! Description
 +
|-
 +
| 0x0C || float || ?
 +
|-
 +
| 0x48 || vector || ?
 +
|-
 +
| 0x58 || vector || ?
 +
|}
 +
 
 +
== Section 2 ==
 +
Each entry is a 0x? byte structure as follows.
 +
{| class="wikitable"
 +
|-
 +
! Offset !! Type !! Description
 +
|-
 +
| 0x00 || ? || ?
 +
|}
 +
 
 +
== Section 3 ==
 +
Each entry is a 0x? byte structure as follows.
 +
{| class="wikitable"
 +
|-
 +
! Offset !! Type !! Description
 
|-
 
|-
| 0x70 || 4 || Same as 0x64
+
| 0x00 || ? || ?
 
|}
 
|}
 +
 +
= YouTube player outside Textbox =
 +
{{#widget:YouTube|id=QHOf3R9kHys|width=426|height=240}}
 +
 +
= Custom Track Tutorial Template =
 +
{{textbox|gray center|Attention|Just testing some new things regarding the Custom Track Tutorial template. Remember this is just '''testing''' and nothing will be changed without the approval of the wiki moderation.}}
 +
 +
{{Link-List|Custom Track Tutorials|
 +
'''Main Tutorials'''<br/>
 +
[[Custom Track Tutorial|Introduction]] &ndash;
 +
[[Texturing|Textures]] &ndash;
 +
[[Scale]] &ndash;
 +
[[Modeling with 3D Editor|Modeling]] &ndash;
 +
[[Creating a BRRES with CTools|BRRES: CTools]] &ndash;
 +
[[Creating a BRRES with BrawlBox|BRRES: BrawlBox]] &ndash;
 +
[[Creating a Minimap|Minimap]]<br/>
 +
[[Solidity]] &ndash;
 +
[[Creating a KCL with Wiimms Tools|KCL: Wiimms Tools]] &ndash;
 +
[[KMP Editing]] &ndash;
 +
[[Object Editing]] &ndash;
 +
[[KMP Editing/Cameras|Cameras]] &ndash;
 +
[[Cannon]]s &ndash;
 +
[[Post-effects]]
 +
 +
'''Misc. Tutorials'''<br/>
 +
[[Obtain Original Track Files|Getting Files]] &ndash;
 +
[[BrawlBox Tricks]] &ndash;
 +
[[Animations]] &ndash;
 +
[[Shadows]] &ndash;
 +
[[Adding Mipmaps for CTools Models|Mipmaps]]<br/>
 +
[[Moving Terrain]] &ndash;
 +
[[Battle Arena (Custom Track Tutorial)|Battle Arenas]] &ndash;
 +
[[Custom Music|Music]] &ndash;
 +
[[Porting Tutorial|Ports]] &ndash;
 +
[[Remaking Paint Levels in SketchUp|Paint Remakes]]
 +
 +
 +
'''Testing and Reviewing'''<br/>
 +
[[Testing a Track]] &ndash;
 +
[[wkmpt DRAW|Visual Review]] &ndash;
 +
[[Track Transformation]] &ndash;
 +
[[Custom Track Tutorial#Crashes and Bugs|Fixing Errors]]
 +
 +
'''Software'''<br/>
 +
[[Wiimms SZS Tools]] &ndash;
 +
[[CTools Pack]] &ndash;
 +
[[3D Tool]]s &ndash;
 +
[[KMP Cloud]] &ndash;
 +
[[KMP Modifier]] &ndash;
 +
[[BrawlBox]] <br/>
 +
[[Material Tool]] &ndash;
 +
[[KMP3D]] &ndash;
 +
[[MagicY]] &ndash;
 +
[[Wiimm's Tool Manager]]
 +
 +
'''Other'''<br/>
 +
[[Object|KMP Objects]] &ndash;
 +
[[Custom Objects]] &ndash;
 +
[[Model Database]]
 +
 +
'''[[Custom Track Tutorial#Tutorial Archive|Tutorial Archive]]'''
 +
}}
 +
 +
= Misc-Info template =
 +
{{Misc-Info-Test
 +
|name= Example Track
 +
|creator= Your name here
 +
|designer= the person/group who originated the design
 +
|version= v1.0
 +
|date of release= 2008-12-25 <!-- YYYY-MM-DD format -->
 +
|editors used= CTools, Photoshop, SketchUp
 +
|wbz-id= 1234
 +
|download 1= http://www.mediafire.com/id=xyz
 +
}}
 +
 +
{{Misc-Info-Test
 +
|name= Example Track
 +
|creator= Your name here
 +
|designer= the person/group who originated the design
 +
|version= v1.0
 +
|date of release= 2008-12-25 <!-- YYYY-MM-DD format -->
 +
|editors used= CTools, Photoshop, SketchUp
 +
|wbz-id= 1234
 +
|download 1= http://www.mediafire.com/id=xyz
 +
|download 2= http://www.sendspace.com/id=abc
 +
}}

Revision as of 09:33, 22 January 2018


Interwiki tests

LODI (File Format)

Header

The LODI file format starts with a 0x74 byte header structure.

Offset Size Description
0x00 4 "LODI" File identifier, ASCII string.
0x04 4 Always 0x3EF.
0x08 4 ?
0x10 4 Start of the file, always 0x00.
0x14 4 End of the file.
0x18 4 Section offset
0x1C 4 ?
0x20 4 Section offset
0x24 4 ?
0x28 4 Section offset
0x2C 4 ?
0x30 4 Section 1 offset, always 0xC00.
0x34 4 ?
0x38 4 Section 2 offset.
0x3C 4 ?
0x40 4 BRRES / Textures section offset.
0x44 4 ?
0x48 4 Section 3 offset.
0x4C 4 ?
0x60 4 ?
0x64 4 File ID?
0x68 4 Same as 0x64.
0x70 4 Same as 0x64.

Section 1

Each entry is a 0x90 byte structure as follows.

Offset Type Description
0x0C float ?
0x48 vector ?
0x58 vector ?

Section 2

Each entry is a 0x? byte structure as follows.

Offset Type Description
0x00 ? ?

Section 3

Each entry is a 0x? byte structure as follows.

Offset Type Description
0x00 ? ?

YouTube player outside Textbox

{{#widget:YouTube|id=QHOf3R9kHys|width=426|height=240}}

Custom Track Tutorial Template

Attention
Just testing some new things regarding the Custom Track Tutorial template. Remember this is just testing and nothing will be changed without the approval of the wiki moderation.

Misc-Info template

Example Track
Creator: Your name here
Designer: the person/group who originated the design
Version: v1.0
Date of latest version: 2008-12-25
Editors used: CTools, Photoshop, SketchUp
WBZ files: ct.wiimm.de
Download:

MediaFire

Example Track
Creator: Your name here
Designer: the person/group who originated the design
Version: v1.0
Date of latest version: 2008-12-25
Editors used: CTools, Photoshop, SketchUp
WBZ files: ct.wiimm.de
Download: