Every Game BRSAR Patcher

From Custom Mario Kart
Revision as of 23:45, 10 January 2021 by Yosh (talk | contribs) (first release!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Every Game brsar Patcher
Author: Yosh
Operating Systems: Windows, Linux
Programming language: C, Python
Software Type: Patcher
File Formats: BRSAR
Current Version: v1.0
Download: Windows Executable

Ubuntu Executable

Python Script

C Source Code

Every Game brsar Patcher is a tool developed by Yosh which changes all BRSTM max size signed hex float byte from any BRSAR file to their max size (2 GB) As the name suggests, it allows you to use custom brstm with any size on any game that links them in a BRSAR file.

Usage

Open or drag and drop a BRSAR file into the program to patch all BRSTM entries. You can also set the program for opening BRSAR files as default, this way, you only need to double click the file to patch it. You can also use it on command line :

"Every-Game-brsar-Patcher.exe" "my file.brsar"


Media

400px

Algorithm Description

External brstm entries are between offset 0x0 and 0x1f7b00 (with one exception), so it takes up to 5 seconds to check all bytes. the brstm file name always contains ".brstm" with a name length variable, but there is always 0xFFFFFFFF 8 bytes after the brstm max length, so the program looks for it. Once the offset to Length of the entire brstm is found, the program writes 0x7FFFFFFF to this offset. (it's the maximal value for a signed hex float, as for negative values the sound won't play). Then it looks again for ".brstm" until reaching the offset limit said above.


Version History

Version Date of release Information
v1.0 2021-10-01 First release