4 Life Posted August 6, 2016 Posted August 6, 2016 I imagine @pozzum will be the man to ask about this. I'm using HxD. I do a lot of hex-editing in the string file to change all sorts, at the moment a lot of attire names in particular.My question is as titled - is it possible to search for a string by its address rather than searching for it by the actual text? Could be very convenient.Thanks for any help Quote
Perfectplex Posted August 7, 2016 Posted August 7, 2016 (edited) You mean search the hex code rather than the character column text? If so isn't it just a case of changing the Datatype to Hex-values?Sorry if I misunderstood. Edited August 7, 2016 by Perfectplex Quote
4 Life Posted August 8, 2016 Author Posted August 8, 2016 You mean search the hex code rather than the character column text? If so isn't it just a case of changing the Datatype to Hex-values?Sorry if I misunderstood.Nah mate, I meant each string has an ID that's 2 bytes long, so for example the ID/address for the string for the unlockable "2K SHOWCASE Complete the Fully Loaded (Jul. 25, 1999) match." is 69EB. I've replaced some strings and not made a note of which ones I've replaced, I've started doing that now but it'd be cool to be able to search up the string by it's ID rather than searching for the actual text-string, because with some strings if I've replaced them then I try to search the string up but I can't find it where I've modded it. Quote
Perfectplex Posted August 8, 2016 Posted August 8, 2016 (edited) The best thing I can suggest is to use HexEdit, you can highlight bytes and click on highlight which will leave them highlighted even when you close the programme and return, you can also 'mark' a position to quickly jump to it.Your best bet is to make a note of the cursor position and use a notepad to reference guide what you have changed.You can have both hexedit and hxd installed at once, hexedit has a lot of useful features but what it lacks is hxd's fill with 00's which I really find useful when testing things. Both have the right click context menu integration for quick access too.I know that's not the answer to your question as such but hopefully you will find it useful along the way. Edited August 8, 2016 by Perfectplex 1 Quote
pozzum Posted August 14, 2016 Posted August 14, 2016 I imagine @pozzum will be the man to ask about this. I'm using HxD. I do a lot of hex-editing in the string file to change all sorts, at the moment a lot of attire names in particular.My question is as titled - is it possible to search for a string by its address rather than searching for it by the actual text? Could be very convenient.Thanks for any help so the best way I know involves extracting the individual pach parts of the string unfortunatelyhttp://imgur.com/cV8CVTGso taking the 69EB and swap it back to EB69 search that in hex and you'll find the "Offset" in the next set of 4 bytes in this case "4A d4 01 00" note you'll need to flip that as well to 1d44aif you can't extract the pach you can hex add 408b to that offset to get to the rough location. (I can't seem to get the exact location) Hopefully this helps. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.