Universal Patcher

E38 E92 and many others. Approximately 2007 and newer
zack4200
Posts: 102
Joined: Sat Jun 25, 2022 1:35 am
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: Universal Patcher

Post by zack4200 »

I just played around in the Patcher a little bit with a couple P04 bins (one is the stock file I originally read from my pcm, the other is VATS deleted, some DTCs deleted, and some changes to fan temps and VSS settings, maybe a couple other things. doesn't really matter much though - just that there are changes)

Looks like the basic process to create a patch is:
1. open the Patcher
2. choose your original file
3. in the upper tab group, click the 'Create Patch' tab and select your modified BIN
4. Click 'Compare' just under the modified file button
5. on the lower tab group, click 'Patch editor', you should see a list of all of the changes you made.
- here you can either select them one by one and create individual patches for each, or select the entire table and hit 'Save' and a normal windows save dialog should appear. give it a name and save

to apply that patch, go back to the 'Modify bin' tab in the upper tab group and hit Load patch and select the patch(es) you just created, then click "Apply current patch". From there I only tested using File > Save Bin As because I didn't want to accidentally overwrite by stock bin, but you should probably also be able to hit 'Save bin' at the right side of the window.

One note, I have two different versions of UP "installed" on my laptop (I can't remember why, I should probably just delete the older one) and I noticed that when I was saving the patch, it was defaulting to the other UP directory, not the one I actually launched Patcher from. Be sure to save them in the 'Patches' subfolder inside of the UniversalPatcher folder where you launch Patcher/Tuner/etc from, or it won't find them when you try to load a patch

I don't have any e38 bins or I'd give them a shot too, but since it works properly for p04 I don't see why e38 and others wouldn't also work
User avatar
antus
Site Admin
Posts: 9031
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Universal Patcher

Post by antus »

Also consider checksums. I'm not sure if UP automatically ignores checksums or if it will put them in the list and expect you to deselect it. If the patch is to be applied to multiple different operating systems then UP will need to calculate the checksums, not expect and apply them blindly from a compare. As this may be one of the first times someone in the community has created a patch it'd be good to get this right now so we don't end up with bad patches floating around.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Denny
Posts: 42
Joined: Mon Nov 11, 2024 6:04 am
cars: 2007 Chevrolet Silverado 4.8

Re: Universal Patcher

Post by Denny »

Hi guys. Thanks for the replies. Checksums are supposed to be automatically calculated when the bin is saved. At least I think so. I can create a patch, but when I apply the patch, it says successful but shows 0 bytes changed. I have tried both ways described, but fail one way or the other. Using the patcher or tuner method.
Thanks zach4200 for the detailed steps of the patcher method. I could not figure out how to save.
User avatar
antus
Site Admin
Posts: 9031
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Universal Patcher

Post by antus »

Yes they are updated when saved. My point is to not include them in the patch. It is not a given that the patch generator is aware of them or considering them. It may, but it also may not. So as the author of the patch, its something for you to check. Post up the XML of the patch if you want more help. It sounds like it has no changes in it thus 0 bytes and success.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Denny
Posts: 42
Joined: Mon Nov 11, 2024 6:04 am
cars: 2007 Chevrolet Silverado 4.8

Re: Universal Patcher

Post by Denny »

Hi antus. I just tried re-creating the P59 no vats patch, and it worked. Original P59 bin + P59 no vats bin = P59 no vats patch. Tested 2x. That's using the tuner method. I think I'm out of luck. I did write the author of Universal patcher and asked if it supported creating patches for the E38. Hopefully he replies. I don't think its supported. The patches I have made for the E38 write 0 bytes to the bin, no change. But it works with P04 and P59. Thanks to everyone for helping.
zack4200
Posts: 102
Joined: Sat Jun 25, 2022 1:35 am
cars: 1982 Chevy Chevette 3400 LA1 swapped
1986 Chevy Chevette
1998 Chevy s10

Re: Universal Patcher

Post by zack4200 »

I used the Patcher UI to create a patch with the 2 bins you PM'd, and it applies 3 bytes to the stock bin.
Afterwards I opened all 3 bins in Tuner and compared, and the patched bin matches the no vats bin you sent.
Denny
Posts: 42
Joined: Mon Nov 11, 2024 6:04 am
cars: 2007 Chevrolet Silverado 4.8

Re: Universal Patcher

Post by Denny »

Hi zach4200. Tried re-creating the vats patch and to my surprize it worked. I sent you the bins I am using. Maybe you can see something I can't. Thanks for all the help.
Denny
Posts: 42
Joined: Mon Nov 11, 2024 6:04 am
cars: 2007 Chevrolet Silverado 4.8

Re: Universal Patcher

Post by Denny »

This is the author of Universal Patcher's reply to my email.

Hi,
Yes, it support patches for any binary file.
Because it have configuration for GM E38 files, it automatically skips checksum locations.

-Jouko-
Denny
Posts: 42
Joined: Mon Nov 11, 2024 6:04 am
cars: 2007 Chevrolet Silverado 4.8

Re: Universal Patcher

Post by Denny »

Well it was a bug in the program. Here is what Jouko wrote to my second email. I changed the link out of respect to Jouko. It's a beta version untested.

Hi.
Looks like a bug.
Please test this version:
https://XXXXXXXXXXXXXXXXbeta
Note: Logger have lot of modifications, waiting for testing.

Failed in tuner. 100% success with patcher. One thing I notice is under OS it's listed as 12614088, not E38. I assume the patch is only for 12614088 OS ecu's, but I don't know for sure. I will test to see if it works on other OS, when I have more time. Will keep you updated.
The patch created, disables 68 dtc's successfully. I will post the patch if a Moderator like antus or others says it's okay to.

Thanks to everyone for your comments and replies, definitely learned some stuff. This site rocks. Thanks again and have a great day.
ironduke
Posts: 697
Joined: Thu Feb 13, 2020 11:32 pm
cars: Mainly GM trucks, a Cruze and an Equinox for dailys..

Re: Universal Patcher

Post by ironduke »

12610488 is an E38 OS.. The patch is OS specific and will not work on any OS..
Post Reply