View Single Post
Old 09-29-2016, 01:31 AM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
forgot to include test files

Quote:
Originally Posted by oren64 View Post
Can you make exe for 64-bit Windows, I tried makepa32.exe and it didn't work for me.
Here is a 64-bit version for Windows if you really want it, but the 32-bit version should work, it was cross-compiled from Linux in the same way I did for the pa32lsb.exe executable. I don't have a Windows computer to test it on, but it works in WINE.

The only reason I compile seperate 64- and 32-bit versions for Linux is that on 64-bit Linux systems it can be optional to install 32-bit compatibility libraries, but I thought all 64-bit Windows systems could run 32-bit programs.

It is a console program, you need to run it from the command-line and supply two filenames as arguments. What happens when you run it?

I've included two small test files with makepa64-0.01.zip, this is the expected output from running makepa32.exe test-old.txt test-new.txt
Code:
<Patch>
patch_name = `Unknown`
patch_enable = `no`
replace_bytes = 000018, 2E 0A 4F 6C 64 20 66 69, 2E 0A 4E 65 77 20 66 69
</Patch>
Attached Files
File Type: zip makepa64-0.01.zip (37.4 KB, 329 views)
GeoffR is offline   Reply With Quote