PDA

View Full Version : ShowcatalogEPflags


treeag
21st Oct 2008, 02:54 PM
So I'm curious where the game gets the information displayed when one activates the cheat. Searching this site through google for "showcatalogepflags information" only returned 3 results, and the only related one out of the three was Delphy wondering the same thing.

The reason I'm wondering about this is that because I installed the store edition on 2 different computers for testing purpose, one with only the base game+store edition and the other has all EPs and SPs installed; and for some reason when I activated the cheat, the game with all the packs installed failed to show the correct flag, while the one with only basegame+SE displayed the flag correctly ("The Sims 2 Store Edition").

So... any ideas? Thanks.

J. M. Pescado
21st Oct 2008, 05:32 PM
The game gets the information from the OBJD "Expansion Required" bits of the object. The actual interpretation into STRINGS is probably in some string table somewhere that isn't really important because no one really cares. The obvious reason the string is correctly displayed when you are running the Store Edition executable is because the store edition is your current executable. If you are not running the store edition, then the string is probably using the basic stringtable from your actual game, which may predate the release of the store edition.

treeag
22nd Oct 2008, 02:39 PM
Ah ok. That makes sense :) "Expansion Required" bits is 0x40 (and 0x41) "Valid EP flags", right?

Numenor
22nd Oct 2008, 11:33 PM
Yes, those two. And I confirm what JM said, because Store Edition is considered a Stuff Pack "located" between Teen Style and FreeTime; therefore, if Seasons, Bon Voyage, Freetime or Apartment Life are installed, those executable are run, instead of the Store one (thus losing the correct description).
Anyway, the EP textual names are stored in the UIText.package, located in the "TSData\Res\Text" folder of each EP; it's the STR# 0x0000001.

treeag
23rd Oct 2008, 12:24 PM
Ok thanks to both of you :D

Oh and I saw that UIText.package of AL has "The Sims™ 2 Shopping Edition" after Apartment Life entry (0x11). Is that a flaw or something :blink: because in Store Edition version of UIText.package has "The Sims™ 2 Store Edition" in 0x0C, not 0x11. Just thought it was weird :P .