Difference between revisions of "Every Game BRSAR Patcher"

From Custom Mario Kart
Jump to navigation Jump to search
(first release!)
 
(Replaced Discord links)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| class="textbox float-right grid"
 
{| class="textbox float-right grid"
|+ Every Game brsar Patcher
+
|+ Every Game BRSAR Patcher
 
! Author:
 
! Author:
 
| [[Yosh]]
 
| [[Yosh]]
 
|-
 
|-
! Operating Systems:
+
! Operating systems:
 
| Windows, Linux
 
| Windows, Linux
 
|-
 
|-
! Programming language:
+
! Programming languages:
 
| C, Python
 
| C, Python
 
|-
 
|-
! Software Type:
+
! Software type:
 
| Patcher
 
| Patcher
 
|-
 
|-
! File Formats:
+
! File format:
 
| [[BRSAR]]
 
| [[BRSAR]]
 
|-
 
|-
! Current Version:
+
! Version:
| v1.0
+
| v1.1
 
|-
 
|-
! Download:
+
! Date of latest version:
| [https://cdn.discordapp.com/attachments/604439675003732020/797967188001554452/Every-Game-brsar-Patcher.exe Windows Executable]
+
| 2021-04-18
[https://cdn.discordapp.com/attachments/604439675003732020/797970491679571998/brsar_patcher_ubuntu.elf Ubuntu Executable]
+
|-
 
+
! Downloads:
[https://cdn.discordapp.com/attachments/604439675003732020/797967188907786310/Every-Game-brsar-Patcher.py Python Script]
+
|
 
+
* [https://wiiki-content.acaruso.xyz/604439675003732020/833409862205440029/Every-Game-brsar.exe acaruso's Archive (Windows executable)]
[https://cdn.discordapp.com/attachments/604439675003732020/797967185691017216/Every-Game-brsar-Patcher.c C Source Code]
+
* [https://wiiki-content.acaruso.xyz/604439675003732020/797970491679571998/brsar_patcher_ubuntu.elf acaruso's Archive (Ubuntu executable)]
 +
* [https://wiiki-content.acaruso.xyz/604439675003732020/797967188907786310/Every-Game-brsar-Patcher.py acaruso's Archive (Python script)]
 +
* [https://wiiki-content.acaruso.xyz/604439675003732020/833411628757811230/Every-Game-brsar.c acaruso's Archive (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)
+
== Overview ==
As the name suggests, it allows you to use custom brstm with any size on any game that links them in a [[BRSAR]] file.
+
'''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 ==
 
== 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 :
+
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"
 
  
 
+
<tt>"Every-Game-brsar.exe" "my file.brsar"</tt>
== Media ==
 
[[File:Every-Game-brsar-patcher-screenshot.PNG|400px]]
 
  
 
== Algorithm Description ==
 
== 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.
+
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.
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 the length of a BRSTM is found, the program writes "0x7FFFFFFF" to this offset &ndash; 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.
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.
 
  
 +
== Media ==
 +
[[File:Every Game BRSAR Patcher Windows Executable Preview.PNG|400px]]
  
 
== Version History ==
 
== Version History ==
Line 52: Line 51:
 
! Information
 
! Information
 
|-
 
|-
| v1.0
+
| [https://wiiki-content.acaruso.xyz/604439675003732020/797967188001554452/Every-Game-brsar-Patcher.exe v1.0]
| 2021-10-01
+
| 2021-01-10
 
| First release
 
| First release
 +
|-
 +
| [https://wiiki-content.acaruso.xyz/604439675003732020/833409862205440029/Every-Game-brsar.exe v1.1]
 +
| 2021-04-18
 +
| Fixed malware false positive.
 
|}
 
|}
  
 
{{User-Yosh-Link}}
 
{{User-Yosh-Link}}
 
[[Category:Software]]
 
[[Category:Software]]

Latest revision as of 01:37, 4 January 2024

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.