[DiscordArchive] This is almost certainly a stupid question, but I'm a bit unfamiliar with hex editing. How do you gu
[DiscordArchive] This is almost certainly a stupid question, but I'm a bit unfamiliar with hex editing. How do you gu
Archived author: Lear • Posted: 2022-08-02T21:11:15.308000+00:00
Original source
This is almost certainly a stupid question, but I'm a bit unfamiliar with hex editing. How do you guys go about properly modifying files? For example, if you have a texture in an M2 that points to creature/wolfAlpha.blp and change it to creature/wolf.blp, then the model no longer loads, I assume because the number of bytes in the file has changed. What's the proper way to do this, then?
Archived author: <o> • Posted: 2022-08-02T21:12:25.437000+00:00
Original source
if the new string is shorter you typically don't need to do anything, just change the length variable if there is one (some fields have it and others don't), and if the old one wass null-terminated you also null-terminate yours
Archived author: <o> • Posted: 2022-08-02T21:12:51.220000+00:00
Original source
when hex-editing, you always edit by replace, **NEVER** by insert.
Archived author: <o> • Posted: 2022-08-02T21:13:24.812000+00:00
Original source
if you get a new string or chunk that needs to be larger than the old one, typically what people do is just re-point the reference and place the new data at the end of the file
Archived author: Titi • Posted: 2022-08-02T21:15:04.334000+00:00
Original source
if it's shorter then you can simply change the string length, if ti's longer the simple solution would be changing the offset to the end of the file and moving the string there. otherwise you'd have to fix the offsets of all chunks
Archived author: Lear • Posted: 2022-08-02T21:16:21.966000+00:00
Original source
Oh cool, that's actually pretty straight-forward then, I'll try messing with it. Thanks, you guys!
Archived author: Lear • Posted: 2022-08-02T21:19:35.342000+00:00
Original source
Gotta say I appreciate how helpful everybody in this server is, private server-stuff has changed a lot. I remember it being a lot harder to come by helpful info for a lot of stuff even just a few years ago, thanks again.
Archived author: tb • Posted: 2022-08-02T21:40:16.458000+00:00
Original source
Probably be better at the bottom but I was just quickly writing a concept up for it
Archived author: Cyn • Posted: 2022-08-02T23:09:46.007000+00:00
Original source
Thankful to have ppl like <@213383518842126336> and the developers around for sure
Their value is non-numerical and indescribable