As you know, when rez files get modified, the game kicks you. This tool fixes that:
It's possible using something called "hash collision" (look it up), which simply means making the game think that the modded rez file is the same as the original rez file, so it doesn't kick you out.
Instructions are written in the program.
Credit goes to @nolith for providing insight of how hash collisions work.
Despite the program not being approved yet, several new changes and features have been added to the program. These include the ability to verify whether your files have been patched correctly or not, as well as the ability to unpatch previously patched rez files if you've lost the original unpatched modded files. The instructions have been moved to the help menu, and a progress bar with a percentage display has been added. Finally, the program now features a default Windows look instead of Java.
File patch check:
File unpatch:
Windows look:
CA Rez Patcher 1.3_mpgh.net.zip
@meme Sorry to bother you, but is there any reason why this hasn't been approved*yet?
Your program is in the queue currently awaiting to be approved. Because there is no assigned staff in this section, only the Global Moderators and above can approve it.
apologies for the delay
//approved
Does having this tool mean I need to come out of retirement?
update: OMG chams in 2023
Originally Posted by SoNoS
...
Hi, I got the first POC for adler32 hash collision in february, I'm glad you were able to reproduce it and still add a UI, I was going to release just a simple console, but you made the UI faster, thanks and great job with the project.
Gonna be some crappy weather this coming week where I live... I might see what I can do again...
Worked fine till now.
I'm now getting java errors from the program, it worked fine till now.
what should i do to fix it?
"java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "String.getBytes()" because "s" is null"
"Caused by: java.lang.NullPointerException: Cannot invoke "String.getBytes()" because "s" is null"
Can you send me the rez files that you tried to patch?
1.4 Update
Update 1.4:
Fixes an issue with some rez files not being patchable due to wrong calculations.