Once you start up the program, it will display
first a brief message with some legal jargon. Press any key
(except for Alt, Shift, Ctrl, Caps Lock, Num Lock, Scroll Lock,
PrtScrn, or Pause) to continue.
Z64 Resource Extractor 1.1
WARNING: This program may violate copyright laws when applied to certain
commercial ROMs. Use at your own risk.
WARNING: This program supports uncompressed ROMs and ROMs utilizing the
YAZ0 algorithm. ZLIB and other compression algorithms are not supported.
Press any key to continue . . .
Next it will check to see if a filename was given. If no
filename was entered in, it will ask for a filename. Note that
spaces in filenames
will work when entered in this manner.
Please enter in ROM filename to extract data from:
romfile.rom
Once it has a filename, it will open it and check to see if it's a byteswapped ROM, typical ROM, or not a ROM at all.
Byteswapped (PC-friendly)
Byte order is little endian.
|
Typical (Not PC-friendly)
Byte order is big endian. Byteswapping enabled.
|
Not a ROM
Bit encoding not detected. ROM image may be invalid.
|
If it cannot detect the bit encoding, it will ask you to provide the
endian mode. If you don't know the mode, it is best to quit at
this point and check to see if you're using the right file.
At this point it will begin to scan the ROM for the name and address
databases typically included in debugging ROMs (in regards to the name
database, it looks for the phrase "makerom", a generic term for the
program itself). If detected, it will store the data in RAM and
report to you how many entries were found for both. Because ROMs
tend to be very large, the scanner will only check the first 900KB
(approx.) and stop if it doesn't find anything. It will ask if
you wish to continue the scan, but be warned that this can take a long
time (it will show a progress meter to help you keep track of where
it's at).
Object name database located in ROM image. Scanning...
Scan complete. Resulting size of database: 1531
Address database located in ROM image. Scanning....
Scan complete. Resulting size of database: 1531
At this point, it will compare the database sizes and make sure they
match up. If they do, then all is well. If the sizes don't
match, it will ask you if you want to continue using the
databases. In this situation, files in the address database that
don't match in the name database will receive generic filenames and no
extension. Files in the name database but not in the address
database are discarded. The program will list all orphaned names
and addresses if this does occur for your reference.
Sizes Match
Database sizes match! All resources named in the database will be saved with the internal filename.
|
Sizes Don't Match
WARNING: Database sizes do not
match. They may not correlate to each other, which may result in
misleading filenames for extracted resources.
|
Currently, the program will close if the databases are not used. This will be changed in the future.
The program now will begin the smart scan process, which uses the
databases to find files, extract them, and give them a name based on
how the resources were named in the database. While extracting a
file, the program will display a progress bar since many files take
awhile to extract (and it may appear to the user that the program was
hanging if the progress bar wasn't there). It will then report if
the file was successfully extracted. If it doesn't have any idea
what the file was originally named, it will use the offset it found the
file at in the ROM. If it has no idea what kind of file it is, it
will give it a generic ".ZDATA" extension.
Files that already exist and have the proper size will be
skipped. Files that already exist but do not have the right size
will be overwritten.
Initiating smart scan...
Phase 1: Extracting data identified in database.
File dmadata.zdata already exists and has matching filesize. File skipped.
File Audiobank.zdata already exists but has different filesize. Old version will be deleted.
File successfully exported: Audiobank.zdata (179648 bytes)
██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Once all files are extracted, the program will save the databases to a file (
romfile.db) and then
close. In future versions, the program will scan regions not
defined in the database for data that may be undefined but used.
Phase 1 complete.
Phase 3: Exporting file tables for reference purposes.
Phase 3 complete.
Smart extraction complete.
Extraction process complete.
Resource Filetypes
There are five different filetypes used by the Z64 Resource Extractor, each storing different kinds of data.
.ZACTOR - Object data. Content is uncertain, but might be a compiled scripting language.
.ZOBJ - Object data. Contains meshes, textures, and animation sequencing.
.ZSCENE - Scene data. Contains collision mesh, textures, lighting definitions, camera instructions, and references to map data.
.ZMAP - Map data. Contains mesh, textures, texture definitions, coloring, and object definitions.
.ZDATA - Generic data. May contain textures, scripts, text, audio, resource descriptors, or executable code.
If no extension is given, then the Resource Extractor had no name entry
on it within the database. Eventually it will automatically
assign extensions to these files.
Some ROMs may use a different naming scheme, preventing the Resource
Extractor from working properly. In the future, the Resource
Extractor will contextually identify all data files, which will bypass
this issue.
Warning!
The Z64 Resource Extractor is designed to avoid most circumstances
that generate crashes. It is not designed, however, to use the
CPU judiciously. While this program is extracting data, it will
very likely bring CPU usage to 100%. While this means you
probably shouldn't run an intense game while this program is at work,
it will not cause your machine to hang as it does not attempt to use
Windows. If you are using Windows 2000/XP/2003/Vista, then you
can use the Task Manager's Processes tab to change the priority of the
Resource Extractor to "Below Normal". This will give other
programs preference to CPU usage and prevent you from experiencing any
system lagging.
Windows 95/98/Me users can download freeware that alters the priority
of applications, but the kernel for these operating systems is not as
powerful as the one in NT-based systems and thus may still experience
system lag. FreeDOS and DOS 7.0 users won't have any problems, as
they can only use one program at a time anyway (not counting DOS Shell
or other utilities that enable multi-tasking in DOS environments).