Difference between revisions of "WBZ Converter"

From Custom Mario Kart
Jump to navigation Jump to search
(Removed the never released "next version" from 2013-04-xx.)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''WBZ-Converter''' is a toolset by [[Wiimm]] to simplify the conversions between [[WBZ]] file and [[SZS]] files.
+
'''WBZ-Converter''' is a toolset by [[Wiimm]] to simplify the conversions between [[WBZ]] files and [[SZS]] files.
  
  
Line 9: Line 9:
 
The toolset is script (batch file) based and runs under Linux, Mac and Windows.
 
The toolset is script (batch file) based and runs under Linux, Mac and Windows.
 
It needs no installation, but only a single setup to create the needed patch library.
 
It needs no installation, but only a single setup to create the needed patch library.
the toolset s portable. You can copy and move the directory to any places, this includes an USB stick.
+
The toolset is portable.
 +
You can copy and move the directory to any places, this includes an USB stick.
 +
Moving from one operating system to an other or sharing over network between operating systems is also possible.
  
 
== Setup ==
 
== Setup ==
Line 15: Line 17:
 
Linux and Mac user shall execute the following command once: '''chmod a+x *.sh'''
 
Linux and Mac user shall execute the following command once: '''chmod a+x *.sh'''
  
For the very first time, a ''auto-add'' library must be created.  
+
For the very first time, an '''auto-add library''' must be created.  
It contains files needed for the SZS patching.  
+
It contains files needed for the WBZ/SZS patching.  
The files are extracted from an image copy of any original [[Mario Kart Wii]] DVD.  
+
The files are extracted from the original track files of an image copy of any original [[Mario Kart Wii]] DVD.
 
All SZS files of the DVD directory '''./Race/Course/''' are needed.
 
All SZS files of the DVD directory '''./Race/Course/''' are needed.
  
 
The user has 2 choices:
 
The user has 2 choices:
; Use an image : Copy an image of an original [[Mario Kart Wii]] DVD to the subdirectory '''./original-image/''''. ISO, CISO, WBFS, WDF and WIA files are supported.
+
; Use an image : Copy an image of an original [[Mario Kart Wii]] DVD to the subdirectory '''./original-image/''''. ISO, CISO, WBFS, WDF and WIA files are supported. The toolset will extract the needed track files to '''./original-race-course''' and continues with the next step.
; Use SZS files : Copy all SZS files of './Race/Course/' to the subdirectory '''./original-race-course'''.
+
; Use SZS files : Copy all SZS files of './Race/Course/' to the subdirectory '''./original-race-course'''. The tools will create the '''auto-add library''' by extracting all needed sub files of the tracks.
  
 
If you have done one of above, call '''create-patch-library.bat''' for Windows
 
If you have done one of above, call '''create-patch-library.bat''' for Windows
or '''create-patch-library.sh''' for all other systems.
+
or '''create-patch-library.sh''' for all other systems. Read the output for diagnostics.
 
 
Read the output for diagnostics.
 
 
 
  
 
== General Usage ==
 
== General Usage ==
  
 
After setup you can use the scripts to convert [[WBZ]] file to [[SZS]] files or [[SZS]]
 
After setup you can use the scripts to convert [[WBZ]] file to [[SZS]] files or [[SZS]]
files to [[WBZ]] files.
+
files to [[WBZ]] files. Read the console logging output for diagnostics.
  
 
=== convert-WBZ-to-SZS ===
 
=== convert-WBZ-to-SZS ===
  
Place your [[WBZ]] files into the subdirectory '''./WBZ-to-SZS/''' and call (or click) '''convert-WBZ-to-SZS.bat''' for Windows or 'convert-WBZ-to-SZS.sh' for all other systems.  
+
Place your [[WBZ]] files into the subdirectory '''./WBZ-to-SZS/''' and call (or click) '''convert-WBZ-to-SZS.bat''' for Windows or '''convert-WBZ-to-SZS.sh''' for all other systems.  
The script will convert all *.WBZ files to SZS and overwrites already existing SZS in './WBZ-to-SZS/'.
+
The script will convert all '''*.WBZ''' files to SZS and overwrites already existing SZS files.
  
 
Remove unneeded files after conversion.
 
Remove unneeded files after conversion.
Line 44: Line 43:
 
=== convert-SZS-to-WBZ ===
 
=== convert-SZS-to-WBZ ===
  
Place your [[SZS]] files into the subdirectory '''./SZS-to-WBZ/''' and call (or click) '''convert-SZS-to-WBZ.bat''' for Windows or 'convert-SZS-to-WBZ.sh' for all other systems.  
+
Place your [[SZS]] files into the subdirectory '''./SZS-to-WBZ/''' and call (or click) '''convert-SZS-to-WBZ.bat''' for Windows or '''convert-SZS-to-WBZ.sh''' for all other systems.  
The script will convert all *.SZS files to WBZ and overwrites already existing WBZ in './SZS-to-WBZ/'.
+
The script will convert all '''*.SZS''' files to WBZ and overwrites already existing WBZ files.
  
 
Remove unneeded files after conversion.
 
Remove unneeded files after conversion.
  
 
== Directories ==
 
== Directories ==
 +
Here is an overview about all sub directories:
 +
 +
; ./bin/ : Place of the tools, dlls and some scripts. Don't touch it.
 +
 +
; ./original-image : This directory is only needed during setup. Original images are searched here. It can be deleted after setup.
 +
 +
; ./original-race-course/ : This directory is only needed during setup. The original track files are stored here. It can be deleted after setup.
  
=== bin ===
+
; ./auto-add/ : This is the patch library. It is created by the setup and needed for the conversion. Don't touch it.
Place of tools. Don't touch it.
 
  
=== original-image ===
+
; ./WBZ-to-SZS/ : This directory is used for the conversion from [[WBZ]] to [[SZS]]. Place your WBZ files here and remove unneeded files after conversion.
This directory is only needed during setup.  
 
Original images are searched here.
 
It can be deleted after setup.
 
  
=== original-race-course ===
+
; ./SZS-to-WBZ/ : This directory is used for the conversion from [[SZS]] to [[WBZ]]. Place your SZS files here and remove unneeded files after conversion.
This directory is only needed during setup.  
 
The original track files are stored here.
 
It can be deleted after setup.
 
  
=== auto-add ===
+
== History ==
This is the patch library.
 
It is created by the setup and needed for the conversion.
 
Don't touch it.
 
  
=== WBZ-to-SZS ===
+
; 2013-04-12, ALPHA
This directory is used for the conversion from [[WBZ]] to [[SZS]].
+
* The idea was born.
Place your WBZ files here and remove unneeded files after conversion.
+
* First fast and dirty implementation based on the ISO Patcher for [[Wiimms Mario Kart Fun]].
  
=== SZS-to-WBZ ===
+
; 2013-04-14, BETA1
This directory is used for the conversion from [[SZS]] to [[WBZ]].  
+
* Unneeded tools removed.
Place your SZS files here and remove unneeded files after conversion.
+
* Scripts optimized (error handling improved).
 +
* Doku written.
  
 
== Download and Discussion ==
 
== Download and Discussion ==
  
* Download: [http://szs.wiimm.de/download/WBZ-Converter-beta1.zip WBZ-Converter-beta1.zip] (8.6 MB)
+
* Download: [http://szs.wiimm.de/download/WBZ-Converter-beta1.zip WBZ-Converter-beta1.zip] (8.6 MB) → Read the file '''README.txt'''.
* Discussion at mariokartwii.com: Will follow.
 
  
 
<br/>
 
<br/>
 
{{User-Wiimm-Link}}
 
{{User-Wiimm-Link}}
 
[[category:Software]]
 
[[category:Software]]

Latest revision as of 18:19, 23 December 2019

WBZ-Converter is a toolset by Wiimm to simplify the conversions between WBZ files and SZS files.



System Requirements

The toolset is script (batch file) based and runs under Linux, Mac and Windows. It needs no installation, but only a single setup to create the needed patch library. The toolset is portable. You can copy and move the directory to any places, this includes an USB stick. Moving from one operating system to an other or sharing over network between operating systems is also possible.

Setup

Linux and Mac user shall execute the following command once: chmod a+x *.sh

For the very first time, an auto-add library must be created. It contains files needed for the WBZ/SZS patching. The files are extracted from the original track files of an image copy of any original Mario Kart Wii DVD. All SZS files of the DVD directory ./Race/Course/ are needed.

The user has 2 choices:

Use an image
Copy an image of an original Mario Kart Wii DVD to the subdirectory ./original-image/'. ISO, CISO, WBFS, WDF and WIA files are supported. The toolset will extract the needed track files to ./original-race-course and continues with the next step.
Use SZS files
Copy all SZS files of './Race/Course/' to the subdirectory ./original-race-course. The tools will create the auto-add library by extracting all needed sub files of the tracks.

If you have done one of above, call create-patch-library.bat for Windows or create-patch-library.sh for all other systems. Read the output for diagnostics.

General Usage

After setup you can use the scripts to convert WBZ file to SZS files or SZS files to WBZ files. Read the console logging output for diagnostics.

convert-WBZ-to-SZS

Place your WBZ files into the subdirectory ./WBZ-to-SZS/ and call (or click) convert-WBZ-to-SZS.bat for Windows or convert-WBZ-to-SZS.sh for all other systems. The script will convert all *.WBZ files to SZS and overwrites already existing SZS files.

Remove unneeded files after conversion.

convert-SZS-to-WBZ

Place your SZS files into the subdirectory ./SZS-to-WBZ/ and call (or click) convert-SZS-to-WBZ.bat for Windows or convert-SZS-to-WBZ.sh for all other systems. The script will convert all *.SZS files to WBZ and overwrites already existing WBZ files.

Remove unneeded files after conversion.

Directories

Here is an overview about all sub directories:

./bin/
Place of the tools, dlls and some scripts. Don't touch it.
./original-image
This directory is only needed during setup. Original images are searched here. It can be deleted after setup.
./original-race-course/
This directory is only needed during setup. The original track files are stored here. It can be deleted after setup.
./auto-add/
This is the patch library. It is created by the setup and needed for the conversion. Don't touch it.
./WBZ-to-SZS/
This directory is used for the conversion from WBZ to SZS. Place your WBZ files here and remove unneeded files after conversion.
./SZS-to-WBZ/
This directory is used for the conversion from SZS to WBZ. Place your SZS files here and remove unneeded files after conversion.

History

2013-04-12, ALPHA
  • The idea was born.
  • First fast and dirty implementation based on the ISO Patcher for Wiimms Mario Kart Fun.
2013-04-14, BETA1
  • Unneeded tools removed.
  • Scripts optimized (error handling improved).
  • Doku written.

Download and Discussion