Difference between revisions of "LE-CODE/Distribution FAQ"

From Custom Mario Kart
Jump to navigation Jump to search
(Created page with "This is a special help page for creators of custom track distributions. It explains, how to edit your distribution to use the extensions provided by LE-CODE. __TOC__...")
 
m
Line 1: Line 1:
This is a special help page for creators of [[custom track distribution]]s. It explains, how to edit your distribution to use the extensions provided by [[LE-CODE]].
+
This is a special help page for creators of [[custom track distribution]]s. It explains how to edit your distribution to use the extensions provided by [[LE-CODE]].
  
  
Line 6: Line 6:
 
== <span id=common>Common Files</span> ==
 
== <span id=common>Common Files</span> ==
  
[[LE-CODE]] supports private versions of different files of [[Common.szs]]. Supported files until now:
+
[[LE-CODE]] supports private versions of different files of [[Common.szs]]. Supported files until now are:
 
* [[ObjFlow.bin]]
 
* [[ObjFlow.bin]]
 
* [[GeoHitTableItem.bin]]
 
* [[GeoHitTableItem.bin]]
Line 13: Line 13:
 
* [[GeoHitTableKartObj.bin]]
 
* [[GeoHitTableKartObj.bin]]
  
The files must be placed into the sub-directory ''./Common/'' of the track-szs. See »[[LE-CODE/Track FAQ#common|LE-CODE/Track]]« for details.
+
The files must be placed into the sub-directory ''./Common/'' of the track's SZS. See »[[LE-CODE/Track FAQ#common|LE-CODE/Track]]« for details.
  
The distribution creatros have to extract these comon files to have to lace them into then distributiuon directory '''<tt>./files/Race/Common/%N</tt>''', where »'''%N'''« is the slot number formatted as 3 hex digits (lower case).
+
The distribution creators have to extract these Common files to lace them into the distribution directory '''<tt>./files/Race/Common/%N</tt>''', where »'''%N'''« is the slot number formatted as 3 hex digits (lower case).
 
: Example for slot 77 (=0x04d): '''<tt>./files/Race/Common/04d/ObjFlow.bin</tt>'''
 
: Example for slot 77 (=0x04d): '''<tt>./files/Race/Common/04d/ObjFlow.bin</tt>'''
  
As of v2.02a of [[Wiimms SZS Tools]] a simple command can extract all Common sub-folders to the correct place in only one step:
+
As of v2.02a of [[Wiimms SZS Tools]], a simple command can extract all Common sub-folders to the correct place in only one step:
 
: '''<tt>wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N</tt>'''
 
: '''<tt>wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N</tt>'''
  

Revision as of 13:19, 7 June 2019

This is a special help page for creators of custom track distributions. It explains how to edit your distribution to use the extensions provided by LE-CODE.


Common Files

LE-CODE supports private versions of different files of Common.szs. Supported files until now are:

The files must be placed into the sub-directory ./Common/ of the track's SZS. See »LE-CODE/Track« for details.

The distribution creators have to extract these Common files to lace them into the distribution directory ./files/Race/Common/%N, where »%N« is the slot number formatted as 3 hex digits (lower case).

Example for slot 77 (=0x04d): ./files/Race/Common/04d/ObjFlow.bin

As of v2.02a of Wiimms SZS Tools, a simple command can extract all Common sub-folders to the correct place in only one step:

wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N