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__...")
 
(Rewrote article)
 
(18 intermediate revisions by 5 users not shown)
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]].
+
{{LE-CODE Content|logo}}
  
 +
== Overview ==
 +
This article answers frequently asked questions about how to use [[LE-CODE]]'s various extentions in a [[custom track distribution]].
  
__TOC__
+
== <span id=common>Common Files</span> ==
 +
Files found in [[Common.szs]] can be replaced per track. This is done by placing these files in a <tt>./Common/</tt> directory in the track [[SZS]]. More information can be found at the [[LE-CODE/Track FAQ#common|track FAQ]].
  
== <span id=common>Common Files</span> ==
+
{{LE-CODE Common Files}}
  
[[LE-CODE]] supports private versions of different files of [[Common.szs]]. Supported files until now:
+
=== Extracting Common Files ===
* [[ObjFlow.bin]]
+
The common files need to be stored outside of the track SZS file when used in a distribution. Their location should be <tt>./files/Race/Common/%N/*</tt>, where <tt>%N</tt> is the slot number of the track in a three-long lowercase hexadecimal number. The command
* [[GeoHitTableItem.bin]]
 
* [[GeoHitTableItemObj.bin]]
 
* [[GeoHitTableKart.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.
+
wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N/
  
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).
+
can extract all common files to their correct places.
: 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:
+
=== Issue Multiplayer Files ===
: '''<tt>wszst xcommon ./files/Race/Course/*.szs -qiod ./files/Race/Common/%N</tt>'''
+
Currently, only common files of the standard track are loaded. This means that the Multiplayer variant of the track will load the same files. Usually this is not a problem, since they often use the same common files, but situations can arise where different files are desired.
  
[[category:LE-CODE]]
+
[[Category:Distribution/LE-CODE|!]]
[[category:FAQ]]
+
[[Category:LE-CODE]]
[[category:Distribution|!]]
+
[[Category:FAQ]]

Latest revision as of 18:16, 28 February 2024

Overview

This article answers frequently asked questions about how to use LE-CODE's various extentions in a custom track distribution.

Common Files

Files found in Common.szs can be replaced per track. This is done by placing these files in a ./Common/ directory in the track SZS. More information can be found at the track FAQ.

Currently, there are six files that are supported:

Extracting Common Files

The common files need to be stored outside of the track SZS file when used in a distribution. Their location should be ./files/Race/Common/%N/*, where %N is the slot number of the track in a three-long lowercase hexadecimal number. The command

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

can extract all common files to their correct places.

Issue Multiplayer Files

Currently, only common files of the standard track are loaded. This means that the Multiplayer variant of the track will load the same files. Usually this is not a problem, since they often use the same common files, but situations can arise where different files are desired.