Hex Workshop Help

Post gamesaves, gametypes, and anything else that doesn't fit anywhere else.
Post Reply
User avatar
HaLo2FrEeEk





Posts: 170
Joined: Fri Aug 10, 2007 9:25 pm

Hex Workshop Help

Post by HaLo2FrEeEk »

Is there a way to mark a certain number of bytes every certain number of bytes?

If that's not clear, I need to mark 0x3000 bytes at 0x719A000, 0x2000 bytes at 0xB6000, and then 0x1000 bytes every 0xAA000 bytes after 0xB6000.

Right now I'm stuck going to 0x719A000 and deleting 3 4096 byte blocks, then going to 0xB6000 and deleting 2 4096 byte blocks, then going forward 0xAA000 bytes and deleting 4096. After than I do F5, Shit+Ctrl+S (select block), Enter, Delete, 5...rinse repeat. If it's a long file it can take a long time. There has to be a better way.
mtxboxfreak




Socialist

Posts: 239
Joined: Sun Oct 05, 2003 12:23 am
Location: UK

Re: Hex Workshop Help

Post by mtxboxfreak »

You might be able to achieve something like that using the structure support in hex workshop, although I'm not too sure about that.

Easiest way would be to just code an app for it. It'd probably only take about 20 lines of code for something so simple.
User avatar
HaLo2FrEeEk





Posts: 170
Joined: Fri Aug 10, 2007 9:25 pm

Re: Hex Workshop Help

Post by HaLo2FrEeEk »

I don't understand the structure support in HW, I can't get it to work. All it lets me do is open previously made structures libs, I don't see an option to make my own structure library.
mtxboxfreak




Socialist

Posts: 239
Joined: Sun Oct 05, 2003 12:23 am
Location: UK

Re: Hex Workshop Help

Post by mtxboxfreak »

You have to make the structure files yourself, by hand. If you really want to know how look at the help file that comes with Hex Workshop.

But seriously, just code up something to do what you want, it'll be far better.
Post Reply