
Short version is you have reached the point where you really need to learn to extract and insert text - a hex editor should only really be used to read things and correct typos and even that can be tricky. This is also before you mess around with pointers. Personally I find doing shiftJIS in a hex editor to be tricky - so many games will have say an 8 bit control code and that makes everything that follows (at least until the next 8 bit code) not work. If you want one that is aware of the DS file system then that is a rather more limited selection.

If you have permissions it does not matter, save for some older editors that try to load the whole file in memory or top out at 4 gigs or so. Sorry that this isn't as easy as pointing you at a hex editor, what you're trying to do is really obscure, but a wonderful way to learn about how things really work in a computer.Do you know how it is corrupting the file? I tend not to use its hex editor for anything more than looking at things but for as flaky as some of the functionality is I don't tend to see it corrupt things.Ī file is a file is a file. There's a black art to what you want to do, and hopefully all you have to do is find the right values and change them, and not dissassemble and reassemble anything. The question is how do you find these values, and when can you change them so they take effect in the game? Let me dig around a little, there's a trainer framework out there for windows, and they have most of the popular games data formats figured out. You probably want to find where the values are stored for the objects that you wish to change in memory, or in a data file. exe directly, because if you screw up any of the offsets, pointers will be going off to lala land left and right. This is my first time attempting a program of this type so any other tips would be welcome as well. I'm trying to create a unit/stats editor for a couple of games that have their values hardcoded in the game's exe.Īnybody have a recommendation for a free hex editor? Preferably one with a calculator and the ability to search/bookmark multiple values to help track things down?īest case I'm looking for something that I can feed in a bunch of stats for a particular unit and then the hex editor will tell show me places where those values are all close together. Here's one using basic unix commands, including the old standard vi.Īnd if using vi is somehow beneath you, here's a list of hex editors. I'm trying to find out which editors have features that will help me do this so I don't have to install and try out dozens and dozens of hex editors only to find out people just normally do it the hard way one byte at a time. I'm looking for information from people who have actually used hex editors for this purpose or have experience in creating game exe editors. And suggesting to switch to linux and randomly trying hundreds of different hex editors isn't particularly helpful either. Notepad++ wasn't designed to be a Hex Editor, and the plugin available for it is barely passable as a functioning hex editor. Yes, Hex editing isn't a walk down the street. When you want a certain number of credits or money, you will use a Hex editing tool to get those credits or money. Many times, Hex editing is used in Savegame files. I'm still not seeing how this is helpful. UGH Many games without cheat codes require you to dig into the games 'database' using a Hex editor. Well, if you can't do it with notepad++ on Windows, I would suggest breaking out a linux distro and using one of the multitude of free, nice, good hex editors there. I'll give the newest version of Hex Workshop a look, but it's sounding like I'll have to make a tool to help with this. The difference now is that since I want to make some editors of my own I need to speed up the process of finding the values. Usually all the values are close to eachother and its just a matter of taking the time to go through every block of values and changing them to see what sticks and what crashes the game.


I've never had a problem with floats or ints and I've never seen a game exe compressed or checksummed. I used Hex Workshop years ago and it was great, I had just figured there had to be something better by now.

The values could be encoded into the file in multiple ways (float/int), the file could be compressed or checksummedīah, that's what I thought. BPSoft's Hex Workshop is simply the best hex editor I've ever used, and there's a month or so trial period before you have to register itĮdit: Not sure if any have the ability to look for sets of values that are "close together" though.
