![]() ![]() CLI: Write byte at address (hexedit/modify binary from the command line) For that reason, I'd like to present a batch file, that people can inspect, and - if they're happy with what it does - run for themselves. exe on my PC, and I don't think anyone else should either. Similarly, there is a freeware available that claims to do just this, but I don't want to run a random. I could make something that works for me (using Python), but that wouldn't help random other people who don't have Python (yes I know it's easy to get & install, but still). Ideally though I'd rather do this in a batch job that does the following: I can do this in Python easily, e.g.: with open("PLAYER_A.DAT", "rb") as f: the byte at address 0x04) from x00 to x06. It turns out this can be fixed by changing the 5th byte in the file (i.e. As a result, the game can be played fine the first time but subsequently crashes. There's a bug in GTA 1 when downloaded from Steam whereby the save-game data file gets corrupted on exit. I'm looking for something similar for Windows. This existing question is solved, but that's a Linux solution. I want to be able to edit a single byte, at a known position, in an existing file. ![]() a way that could be written into a batch file? Is there a way in Windows to edit a binary file, from the command line? i.e.
0 Comments
Leave a Reply. |