Every Game BRSAR Patcher

From Custom Mario Kart
Jump to navigation Jump to search
Every Game BRSAR Patcher
Author: Yosh
Operating systems: Windows, Linux
Programming languages: C, Python
Software type: Patcher
File format: BRSAR
Version: v1.1
Date of latest version: 2021-04-18
Downloads:

Overview

Every Game BRSAR Patcher is a tool created by Yosh. It changes all BRSTM entries signed hex float byte from any BRSAR file to their maximum external file size (2 GB). As the name suggests, it allows you to use custom BRSTM files with any size on any game that links them to 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.exe" "my file.brsar"

Algorithm Description

External BRSTM entries are between offsets 0x0 and 0x1f7b00 (with one exception), so it takes up to five seconds to check all bytes. The BRSTM file name always contains ".brstm" with a name length variable, but there is always 0xFFFFFFFF eight bytes after the maximum length, so the program looks for it. Once the offset to the length of a BRSTM is found, the program writes "0x7FFFFFFF" to this offset – it is the maximal value for a signed hex float, as for negative values, the sound will not play. Then it looks again for ".brstm" until reaching the offset limit said above.

Media

Every Game BRSAR Patcher Windows Executable Preview.PNG

Version History

Version Date of release Information
v1.0 2021-01-10 First release
v1.1 2021-04-18 Fixed malware false positive.