Vinícius R. Miguel
||2 years ago|
|L-trigger-mapping||2 years ago|
|README.md||2 years ago|
|RecordDemo.js||2 years ago|
|crash.patch||2 years ago|
|crash_font.bin||3 years ago|
|debug_box.patch||2 years ago|
|ique_support.patch||2 years ago|
|mem_error_screen.patch||2 years ago|
|record_demo.patch||2 years ago|
Super Mario 64 Enhancements
This directory contains unofficial patches to the source code that provide various features and enhancements.
To apply a patch, run
tools/apply_patch.sh [patch] where
[patch] is the name of the
.patch file you wish to apply. This will perform all of the patch's changes
to the source code.
Likewise, to undo the changes from a patch you applied, run
tools/revert_patch.sh with the name of the .patch file you wish to undo.
To create your own enhancement patch, switch to the
branch, make your changes to the code (but do not commit), then run
tools/create_patch.sh. Your changes will be stored in the .patch file you specify.
The following enhancements are included in this directory:
Crash Screen -
This enhancement provides a crash screen that is displayed when the code throws a hardware exception. This may be useful for diagnosing crashes in game code.
Debug Box -
This allows you to draw 3D boxes for debugging purposes.
debug_box function whenever you want to draw one.
debug_box by default takes two arguments: a center and bounds vec3f. This will draw a box starting from the point (center - bounds) to (center + bounds).
debug_box_rot to draw a box rotated in the xz-plane. If you want to draw a box by specifying min and max points, use
FPS Counter -
This patch provides an in-game FPS counter to measure the frame rate.
iQue Player Support -
This enhancement allows the same ROM to work on both the Nintendo 64 and the iQue Player.
Memory Expansion Pak Error Screen -
Use this patch if your game requires over 4 MB of memory and requires the Expansion Pak. If the Expansion Pak is not present, an error message will be shown on startup.
Demo Input Recorder -
enhancements/RecordDemo.js file in the
/Scripts/ folder in the Project64 directory.
In the Scripts window, double click on "RecordDemo" on the list on the left side.
When this is done, it should turn green which lets you know that it has started.
When your demo has been recorded, it will be dumped to the newly created
/SM64_DEMOS/ folder within the Project64 directory.