the cutting room mirror

The Minna de Kart Race

The Minna de Kart Race is the first installment of D3 Publisher's "Simple Wii" series.

Sub-Pages#

Unused Textures#

bg.tex0#

Present in a few of the course archives, such as /data.dpk/objdata/course/c2/models.brres. It contains the number of triangles and UVs of an unknown map.

Miitex.tex0#

Present in /data.dpk/objdata/etc/ot08/models.brres is a placeholder image for the Miis that appear in the balloons in some missions.

OSReport Strings#

Several strings are usually printed to the console by the function OSReport that is common to most Wii games. Some examples are shown below.

Loading Files from data.dpk#

When files are loaded from data.dpk (which contains most of the game's resources), it prints the location within that archive where it can be found, alongside their sizes. For example, loading /objdata/avatar/boy/motions/mt000.brres results in the following:

(  33352byte)[objdata/avatar/boy/motions/]<-#Directory(data.dpk)#
(  40704byte)[avatar/boy/motions/mt000.brres]

Directory Successfully Loaded#

When a directory from data.dpk is successfully loaded, the following is printed:

Load-LoadDirectory Finish!!

Save Data File Load#

Whenever a file from the save data is loaded, the full path to said file in the Wii's internal memory is printed.

Unloading Directories#

When data.dpk directories are unloaded, the full size, path in data.dpk, and a time mark are printed to the console. For example, when the /objdata/avatar/boy/motions directory is unloaded, the following is printed:

>>>>> Unload DPK.(  33352byte<   2527time>)[objdata\avatar\boy\motions]

Warnings#

Sometimes, warning messages are printed to the console. Some examples are shown below.

Invalid resource name

kity_resource.cpp:407 Warning:kity::resource::UnLoadFile: Invalid resource name 'avatar/girl/models/head/0head001.brres'.

Warning in s_RaceAvatarAllocator'

avatarmodel.cpp:133 Warning:s_RaceAvatarAllocator[ num ] == NULL

Files not found in data.dpk
When a file cannot be found, the following contents are printed to the console (in this example, it failed to find /objdata/course/c5/c50.brwpt in data.dpk):

----
[Load-UnpackFile]
Can't find file!!
course/c5/c50.brwpt
----
kity_resource.cpp:215 Warning:kity::resource::LoadFile: Not pushback resource name 'course/c5/c50.brwpt'.
kity_resource.cpp:599 Warning:kity::resource::GetFile: Invalid resource name 'course/c5/c50.brwpt'.
*WARING* Load way point data failed!