|Vinícius R. Miguel 7a81769abc||1 year ago|
|L-trigger-mapping||1 year ago|
|README.md||1 year ago|
|RecordDemo.js||1 year ago|
|crash.patch||1 year ago|
|crash_font.bin||1 year ago|
|debug_box.patch||1 year ago|
|ique_support.patch||1 year ago|
|mem_error_screen.patch||1 year ago|
|record_demo.patch||1 year ago|
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:
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.
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
This patch provides an in-game FPS counter to measure the frame rate.
This enhancement allows the same ROM to work on both the Nintendo 64 and the iQue Player.
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.
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.