Difference between revisions of "Custom Track Tutorial"

From Custom Mario Kart
Jump to navigation Jump to search
m (more stuff)
m (More formatting, clarifications)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
  
This page contains a brief overview of [[Custom Track]] files, a listing of the programs used to create Custom Tracks, and links to in-depth tutorials on a variety of Custom Track topics.  
+
This page contains a brief overview of [[Custom Track]] files, a listing of the programs used to create Custom Tracks, and a listing of in-depth tutorials on creating custom Custom Tracks and related topics.  
  
If you have any questions, you may post them on the [[Talk:Custom Track Tutorial|Talk]] page (please sign your posts with <nowiki>--~~~~</nowiki>) or in [http://www.mariokartwii.com/f72/official-mario-kart-wii-model-hacking-new-39114.html the custom track thread at mariokartwii.com].  
+
If you have any questions, you may post them on the [[Talk:Custom Track Tutorial|Talk]] page (please sign your posts with <nowiki>--~~~~</nowiki>) or in the [http://www.mariokartwii.com/f72/official-mario-kart-wii-model-hacking-new-39114.html custom track thread at mariokartwii.com].  
  
 
==Overview of a Custom Track File==
 
==Overview of a Custom Track File==
Line 9: Line 9:
 
[[File:Soliditykh.png|200px|thumb|A view of [[SZS Explorer]] showing [[SZS]] file structure.]]
 
[[File:Soliditykh.png|200px|thumb|A view of [[SZS Explorer]] showing [[SZS]] file structure.]]
 
You will mainly be working with the following files when creating a custom track.
 
You will mainly be working with the following files when creating a custom track.
 +
 
*'''Your [[SZS]]'''
 
*'''Your [[SZS]]'''
SZS is an archive format used by Nintendo for many types of data, and is similar to a ZIP or RAR file.  Your SZS file will contain all the files needed by your track, including:
+
::SZS is an archive format used by Nintendo for many types of data, and is similar to a ZIP or RAR file.  Your SZS file will contain all the files needed by your track, including:
 +
 
 
:*'''course.[[KCL|kcl]]'''
 
:*'''course.[[KCL|kcl]]'''
:This is collision data. This file determines what parts of the level can be driven on, where the walls and boost pads are, and which parts of the level are out of bounds.
+
:::This is collision data. This file determines what parts of the level can be driven on, where the walls and boost pads are, and which parts of the level are out of bounds.
 +
 
 
:*'''course.[[KMP|kmp]]'''
 
:*'''course.[[KMP|kmp]]'''
:This is file controls the placement of all [[object]]s in a level, including item boxes and trees, as well as enemy routes, start positions, checkpoints, and intro and replay cameras.
+
:::This file controls the placement of all [[object]]s in a level, including item boxes and trees, as well as enemy routes, start positions, checkpoints, and intro and replay cameras.
 +
 
 
:*'''course_model.[[BRRES|brres]]'''
 
:*'''course_model.[[BRRES|brres]]'''
:This is the model of the level displayed in-game.  It has no solidity of its own, but can be used to generate collision data.
+
:::This is the model of the level displayed in-game.  It has no solidity of its own, but can be used to generate collision data.
 +
 
 
:*'''map_model.brres'''
 
:*'''map_model.brres'''
:This is the [[minimap]].
+
:::This is the [[minimap]].
  
  
The '''SZS''' contains many other files, including BRRES files, which are the models of [[objects]] used in the level.  You may also find folders labeled '''posteffects''', '''effects''' and '''brasd'''.  '''Post effects''' include fog ([[BFG]] files) and bloom settings ([[BBLM]]).  '''Effects''' include water splashes (Pocha) and fireworks (Hanabi.)  The '''brasd''' folder contains animations, needed for Goombas (Kuribo), Chain Chomps (Wanwan), flags, banners and other items.  Please note that you will also need the corresponding BRRES file (along with any other needed files) in your SZS if you plan to use any item with effects or animations, otherwise your level will not load.  Files can also be imported, exported or deleted from an SZS file as needed.
+
An '''SZS''' archive typically contains many other files.  These include '''BRRES'' files, which are the models of [[objects]] used in the level.  You may also find folders labeled '''posteffects''', '''effects''' and '''brasd'''.  '''Post effects''' include fog ([[BFG]] files) and bloom settings ([[BBLM]]).  '''Effects''' include water splashes (Pocha), snow and fireworks (Hanabi.)  The '''brasd''' folder contains animations, needed for Goombas (Kuribo), Chain Chomps (Wanwan), flags, cannons and other items.  Please note that if you plan to use an object with effects or animations, you will need  all its associated files in your SZS, otherwise your level will not load.  Files can also be imported, exported or deleted from an SZS file as needed using [[SZS Explorer]].
  
==What You Need==
+
==Required Programs and Files==
 +
 
 +
You will need to download these programs and a track file to use as a base for your new level.
  
 
* '''[[CTools Pack]]'''  
 
* '''[[CTools Pack]]'''  
This is a collection of Custom Track tools including:
+
::This is a collection of Custom Track tools including:
:*'''[[CTools Pack#SZS Explorer|SZS Explorer]]'''  
+
 
:This program is used to manage the files inside an SZS archive, such as models and post effect files.  
+
::*'''[[CTools Pack#SZS Explorer|SZS Explorer]]'''  
:*'''[[CTools Pack#BRRES Editor|BRRES Editor]]'''  
+
:::This program is used to manage the files inside an SZS archive, such as the course and map models. Double clicking on an object inside an SZS archive will open it in an external editor, if available.  
:This program is used to view models and import OBJ-format models (exported with 3D modeling programs) to the [[BRRES]] model format used in Mario Kart Wii.  It is also used to import and export textures without otherwise altering a model.
+
 
 +
::*'''[[CTools Pack#BRRES Editor|BRRES Editor]]'''  
 +
:::This program is used to view models and import OBJ-format models (exported with 3D modeling programs) to the [[BRRES]] model format used in Mario Kart Wii.  It is also used to import and export textures without otherwise altering a model.
  
 
* '''[[SZS Modifier]]'''
 
* '''[[SZS Modifier]]'''
This program is the predecessor of CTools. It's required for editing things that CTools currently cannot edit, such as the object and route data in [[KMP]] files.  It is also better for certain tasks that CTools can handle, such as creating minimaps and editing KCL data. Unlike CTools, SZS Modifier ''cannot'' expand files.
+
::This program is the predecessor of CTools. It's required for editing things that CTools currently cannot edit, such as the object and route data in [[KMP]] files.  It is also better for certain tasks that CTools can handle, such as creating minimaps and editing KCL data. Unlike CTools, SZS Modifier ''cannot'' expand files.
 
 
* '''[[KMP Modifier]]'''
 
This program can edit and expand KMP data. It allows you to add or remove extra objects, checkpoints, respawn points, etc.  
 
  
 
* '''Model Editor'''
 
* '''Model Editor'''
:* '''[[Modeling With 3D Editor|Google SketchUp]]''' ''(Recommended)''
+
::* '''[[Modeling With 3D Editor|Google SketchUp]]''' ''(Recommended)''
:* Any other 3D modeler program; must be used along with '''[[Modeling With 3D Editor|Blender]]'''.
+
::* Any other 3D modeler program; must be used along with '''[[Modeling With 3D Editor|Blender]]'''.
  
* '''Track files'''
+
* '''Track Files'''
You can base your level on one of Mario Kart Wii's track files, such as ''beginner_course'' (Wii Luigi Circuit), ''castle_course'' (Wii Mario Circuit) or ''old_mario_64'' (N64 Mario Raceway.)  These levels all have fairly easy to understand KMPs.  This option is usually preferable, as long as you have [[Obtain Original Track Files| access to the original files]].
+
::You can base your level on one of Mario Kart Wii's track files, such as ''beginner_course'' (Wii Luigi Circuit), ''castle_course'' (Wii Mario Circuit) or ''old_mario_64'' (N64 Mario Raceway.)  These levels all have fairly easy to understand KMPs.  This option is usually preferable, as long as you have [[Obtain Original Track Files| access to the original files]].
  
You can also base your track off of another custom track.  [[Rooster Island]] works well as it can replace almost any track and is based on castle_course's KMP.  [[Fishdom Island]] is another good choice if you need more complex checkpoints, item routes and enemy routes.  Or you can create an SZS file from scratch using CTools.  If you create the SZS with CTools you will need to import KMP and the KCL files from another Nintendo or custom track into your SZS.
+
::You can also base your track off of another custom track.  [[Rooster Island]] works well as it can replace almost any track and is based on castle_course's KMP.  [[Fishdom Island]] is another good choice if you need more complex checkpoints, item routes and enemy routes.  Or you can create an SZS file from scratch using CTools.  If you create the SZS with CTools you will need to import KMP and the KCL files from another Nintendo or custom track into your SZS.
  
 
====Optional====
 
====Optional====
 +
 +
These are helpful programs that can enhance your level.
 +
 +
* '''[[KMP Modifier]]'''
 +
::This program can edit and expand KMP data. It allows you to add or remove extra objects, checkpoints, respawn points, etc.
 +
 
*'''Image Editor'''
 
*'''Image Editor'''
Photoshop, GIMP, and Paint.NET are just a few examples. Since they are free, GIMP and Paint.net are recommended.
+
::Photoshop, GIMP, and Paint.NET are just a few examples. Since they are free, GIMP and Paint.net are recommended.
 +
 
 
* '''[[Wiimms SZS Tools]]'''
 
* '''[[Wiimms SZS Tools]]'''
These command-line tools replace some functions of [[SZS Modifier]] and [[CTools Pack#SZS Explorer|SZS Explorer]]. They allow the creation of SZS files automatically using scripts (batch files.)
+
::These command-line tools replace some functions of [[SZS Modifier]] and [[CTools Pack#SZS Explorer|SZS Explorer]]. They allow the creation of SZS files automatically using scripts (batch files.)
* '''[[Hex Editing]]'''
+
 
For experienced hackers or experimental purposes only.  Some files, such as post effects and animation files, cannot be edited with the current suite of programs.  Hex Editing is the only option is cases like these, and can lead to greater understanding of these files.
+
* '''[[Hex Editing|Hex Editor]]'''
 +
::A Hex Editor is included with CTools, but this technique is for experienced hackers or experimental purposes only.  Some files, such as post effects and animation files, cannot be edited with the current suite of programs.  Hex Editing is the only option is cases like these, and can lead to greater understanding of these files.
  
  
Line 61: Line 75:
  
 
====Basic Tutorials====
 
====Basic Tutorials====
 +
 
These tutorials cover all the normal procedures for making a Custom Track.
 
These tutorials cover all the normal procedures for making a Custom Track.
 +
 
* '''[[Texturing]]'''
 
* '''[[Texturing]]'''
:How to import textures to and export textures from BRRES files.  Useful information even if you aren't creating a texture hack.
+
::How to import textures to and export textures from [[BRRES]] model files.  Useful information even if you aren't creating a texture hack.
 +
 
 
* '''[[Modeling With 3D Editor]]'''
 
* '''[[Modeling With 3D Editor]]'''
:How to make your track with a model editor and convert it to a [[BRRES]] file that Mario Kart Wii can load.
+
::How to make your track with a model editor and convert it to a BRRES model that Mario Kart Wii can load.
 +
 
 
* '''[[Solidity]]'''
 
* '''[[Solidity]]'''
:How to create an optimized collision model and assign properties such as boosts, walls, and off road to surfaces in your level.
+
::How to create an optimized collision model and assign properties such as boosts, walls, and off road to surfaces in your level.
 +
 
 
* '''[[Important Stuff (Custom Track Tutorial)|Important Stuff]]'''
 
* '''[[Important Stuff (Custom Track Tutorial)|Important Stuff]]'''
:* How to create the minimap.
+
::* How to create the minimap.
:* How to make a cannon.
+
::* How to make a cannon.
:* How to texture and change other models (sky dome, item boxes, etc.) in your level.
+
::* How to texture and change other models (sky dome, item boxes, etc.) in your level.
:* How to import objects from other levels.
+
::* How to import objects from other levels.
:* How to swap out post effects to give your level a different look, such as night-time, foggy or sunny.
+
::* How to swap out post effects to give your level a different look, such as night-time, foggy or sunny.
 +
 
 
* '''[[KMP Editing]]'''
 
* '''[[KMP Editing]]'''
:How to set up objects, routes, checkpoints and many other important things using SZS Modifier. Expanding KMP files is also covered in this tutorial.
+
::How to set up objects, routes, checkpoints and many other important things using SZS Modifier. Expanding KMP files is also covered in this tutorial.
  
 
====Miscellaneous/Advanced Tutorials====
 
====Miscellaneous/Advanced Tutorials====
 +
 
These tutorials cover additional topics.
 
These tutorials cover additional topics.
 
* '''[[Porting Tutorial]]'''
 
* '''[[Porting Tutorial]]'''
: How to Port 3D levels from other Mario Kart games.
+
::How to Port 3D levels from other Mario Kart games.
 +
 
 
* '''[[Swapping Animations | How To Swap Animations]]'''
 
* '''[[Swapping Animations | How To Swap Animations]]'''
:How to swap texture animations out from other models and import model animations.
+
::How to swap texture animations out from other models and import model animations.
 +
 
 
* '''[[Modeling With Paint]]''' ''(OBSOLETE AND NOT RECOMMENDED)''
 
* '''[[Modeling With Paint]]''' ''(OBSOLETE AND NOT RECOMMENDED)''
:How to make your track with MS Paint and import into a BRRES file.  
+
::How to make your track with MS Paint and import into a BRRES file.
 +
 
* '''[[Remaking_Paint_Levels_In_SketchUp|Remaking Paint Levels in SketchUp]]'''
 
* '''[[Remaking_Paint_Levels_In_SketchUp|Remaking Paint Levels in SketchUp]]'''
:How to remake a MS Paint level in SketchUp, while maintaining the original scale and position of the track.
+
::How to remake a MS Paint level in SketchUp, while maintaining the original scale and position of the track.
 +
 
 
* '''[[Custom Music]]'''
 
* '''[[Custom Music]]'''
:How to convert music into the BRSTM format used by Mario Kart Wii and many other Nintendo games.
+
::How to convert music into the BRSTM format used by Mario Kart Wii and many other Nintendo games.
  
 
== Links ==
 
== Links ==
 
{{Custom Track Tutorial}}
 
{{Custom Track Tutorial}}
 
[[category:Tutorials]][[category:Custom Track Tutorial]]
 
[[category:Tutorials]][[category:Custom Track Tutorial]]

Revision as of 17:37, 30 November 2011

Introduction

This page contains a brief overview of Custom Track files, a listing of the programs used to create Custom Tracks, and a listing of in-depth tutorials on creating custom Custom Tracks and related topics.

If you have any questions, you may post them on the Talk page (please sign your posts with --~~~~) or in the custom track thread at mariokartwii.com.

Overview of a Custom Track File

File:Soliditykh.png
A view of SZS Explorer showing SZS file structure.

You will mainly be working with the following files when creating a custom track.

SZS is an archive format used by Nintendo for many types of data, and is similar to a ZIP or RAR file. Your SZS file will contain all the files needed by your track, including:
This is collision data. This file determines what parts of the level can be driven on, where the walls and boost pads are, and which parts of the level are out of bounds.
This file controls the placement of all objects in a level, including item boxes and trees, as well as enemy routes, start positions, checkpoints, and intro and replay cameras.
This is the model of the level displayed in-game. It has no solidity of its own, but can be used to generate collision data.
  • map_model.brres
This is the minimap.


An SZS' archive typically contains many other files. These include BRRES files, which are the models of objects used in the level. You may also find folders labeled posteffects, effects and brasd. Post effects include fog (BFG files) and bloom settings (BBLM). Effects include water splashes (Pocha), snow and fireworks (Hanabi.) The brasd folder contains animations, needed for Goombas (Kuribo), Chain Chomps (Wanwan), flags, cannons and other items. Please note that if you plan to use an object with effects or animations, you will need all its associated files in your SZS, otherwise your level will not load. Files can also be imported, exported or deleted from an SZS file as needed using SZS Explorer.

Required Programs and Files

You will need to download these programs and a track file to use as a base for your new level.

This is a collection of Custom Track tools including:
This program is used to manage the files inside an SZS archive, such as the course and map models. Double clicking on an object inside an SZS archive will open it in an external editor, if available.
This program is used to view models and import OBJ-format models (exported with 3D modeling programs) to the BRRES model format used in Mario Kart Wii. It is also used to import and export textures without otherwise altering a model.
This program is the predecessor of CTools. It's required for editing things that CTools currently cannot edit, such as the object and route data in KMP files. It is also better for certain tasks that CTools can handle, such as creating minimaps and editing KCL data. Unlike CTools, SZS Modifier cannot expand files.
  • Model Editor
  • Track Files
You can base your level on one of Mario Kart Wii's track files, such as beginner_course (Wii Luigi Circuit), castle_course (Wii Mario Circuit) or old_mario_64 (N64 Mario Raceway.) These levels all have fairly easy to understand KMPs. This option is usually preferable, as long as you have access to the original files.
You can also base your track off of another custom track. Rooster Island works well as it can replace almost any track and is based on castle_course's KMP. Fishdom Island is another good choice if you need more complex checkpoints, item routes and enemy routes. Or you can create an SZS file from scratch using CTools. If you create the SZS with CTools you will need to import KMP and the KCL files from another Nintendo or custom track into your SZS.

Optional

These are helpful programs that can enhance your level.

This program can edit and expand KMP data. It allows you to add or remove extra objects, checkpoints, respawn points, etc.
  • Image Editor
Photoshop, GIMP, and Paint.NET are just a few examples. Since they are free, GIMP and Paint.net are recommended.
These command-line tools replace some functions of SZS Modifier and SZS Explorer. They allow the creation of SZS files automatically using scripts (batch files.)
A Hex Editor is included with CTools, but this technique is for experienced hackers or experimental purposes only. Some files, such as post effects and animation files, cannot be edited with the current suite of programs. Hex Editing is the only option is cases like these, and can lead to greater understanding of these files.


Tutorials

If you're going to create a Texture Hack you need to follow the Texturing tutorial. Otherwise you should begin with the Modeling With 3D Editor tutorial.

Basic Tutorials

These tutorials cover all the normal procedures for making a Custom Track.

How to import textures to and export textures from BRRES model files. Useful information even if you aren't creating a texture hack.
How to make your track with a model editor and convert it to a BRRES model that Mario Kart Wii can load.
How to create an optimized collision model and assign properties such as boosts, walls, and off road to surfaces in your level.
  • How to create the minimap.
  • How to make a cannon.
  • How to texture and change other models (sky dome, item boxes, etc.) in your level.
  • How to import objects from other levels.
  • How to swap out post effects to give your level a different look, such as night-time, foggy or sunny.
How to set up objects, routes, checkpoints and many other important things using SZS Modifier. Expanding KMP files is also covered in this tutorial.

Miscellaneous/Advanced Tutorials

These tutorials cover additional topics.

How to Port 3D levels from other Mario Kart games.
How to swap texture animations out from other models and import model animations.
How to make your track with MS Paint and import into a BRRES file.
How to remake a MS Paint level in SketchUp, while maintaining the original scale and position of the track.
How to convert music into the BRSTM format used by Mario Kart Wii and many other Nintendo games.

Links