More Awesome Than You!
Welcome, Guest. Please login or register.
2022 October 02, 23:25:54

Login with username, password and session length
Search:     Advanced search
540206 Posts in 18056 Topics by 6444 Members
Latest Member: redmi
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  What does "version_1" in OBJD do?
0 Members and 1 Guest are viewing this topic. « previous next »
Author Topic: What does "version_1" in OBJD do?  (Read 8251 times)
Lord Darcy
Obtuse Oaf
Posts: 958

The owls are not what they seem.

View Profile WWW
What does "version_1" in OBJD do?
« on: 2008 July 24, 14:47:08 »

What is the purpose of 0x0000: version_1 - Read Only field in OBJDs?

In base game, the value was set to 139 (decimal) for all base game objects. After Uni, new objects introduced by EPs have the value of 140 (sometimes 141).
If this field is set to 140 or 141 for custom objects or OBJD overrides in base game, the game will crash. No more crash if at least one EP is installed.
I think that OFB updated the value of most base game objects to 140.

So, in order to make OBJD overrides of base game objects to be base game compatible, I need to set it to 139.
But if I use them in post-OFB EPs where the field was already updated to 140, would they break something?

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26262

View Profile
Re: What does "version_1" in OBJD do?
« Reply #1 on: 2008 July 25, 02:53:02 »

It's a version-field. 0x8B is the Ye Olde Originale Game Version. 0x8C and 0x8D(?) are for the switched, expansion-checking versions. Using 0x8B is necessary to make an object compatible with the base game. When using 0x8C+, the 0x40(?) product version bitfield must be properly set. Failure to set this may result in the object failing to appear in games that lack the indicated expansion (generally the originating expansion from which the OBJD is cloned). If "part of" the object fails to appear because you didn't update ALL of the OBJDs in an object, the game will wig out. Use of 0x8B is recommended over the newer formats in self-contained objects used in the base game. Also note that older versions of game are incapable of loading other resources that may also be associated with the newer formats, like Pie Menu 0x54s or BHAV 0x8009s. These formats must also be downgraded or your object may fail to function or crash the game.

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.084 seconds with 19 queries.