Jump to content
 

String.pac - possible to search by address?


Recommended Posts

Posted

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 :)

Posted (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.

23aa479bfa7e61b90df57c984e12aec1.png

Edited by Perfectplex
Posted

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.

23aa479bfa7e61b90df57c984e12aec1.png

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. 

Posted (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.

c20a82d5419037fd694ed923c48a8f55.png

 

Edited by Perfectplex
  • Like 1
Posted

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 unfortunately

http://imgur.com/cV8CVTG

so 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 1d44a

if 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. 

 

 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy Guidelines We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.