Jump to content

Recommended Posts

Posted

Hi people.

Today I started messing around with the MenuText.cat files, and when I had it done and added the modified files on the mods folder, and started the game, it freezes after the "Initializing system... Please wait..." screen, and the hole screen goes black. Is it possible to modify such files and succeed? Thanks!

Posted

Well, I didn't deleted or removed any files, just used the Thirdwire extractor and then modified the copied files and finally placed them on the Mods folder. After testing with no success, I took the files out of the mods folder and the game is just fine. And I extracted all files (but those wheren't removed as I said earlier).

Posted

The files in MenuText.CAT are all .STR files (except for one TXT file), so I assume it is STR files you have been editing.

STR files can be easily edited using a Hex Editor, but you have to understand the structure of the file and it helps be able to add and subtract in hexadecimal.

If you get a number even slightly wrong the edited file won't work, and the sim will CTD or freeze, as you have experienced.

 

Using your hex editor, look at the start of a STR file. A simple one is ActivityLevel.STR, which only has four entries:

1A00 0000 0400 0000 5458 545F....

The 0400 is the number of entries in the file.

The 1A00 (26 in ordinary decimal numbers) is the length in bytes of the text descriptions of the four entries, including a zero after each one, which you see at the end of the file (Random.Light.Normal.Heavy.). So if you change the length of any of the text descriptions (changing "Heavy" to "Massive", for example, you have to change this number: in this example from 1A (26 decimal) to 1C (28).

5458 545F is the start of the name of the first entry which the sim uses (TXT_MENU_ACTIVITY_LEVEL, in this example): 54 is T, 58 is X, 54 is T etc.

Posted

Oh...

I did edit the STR files, but with the same text editor I use for editing .ini files. I'm not really smart when it comes to knowing how to edit files, and when I opened any file, I saw the text itself so I guess I messed up everything. My bad.

Anyway, thanks for the help.

Posted

No harm done, that is one of the the beauties of SF/WoX - you can mess around with extracted files as much as you like, and if you screw something up all you have to do is delete the edited file and the sim reverts to using the stock file in the CAT file.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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

By using this site, you agree to our Terms of Use, Privacy Policy, and 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..