More Awesome Than You!
Welcome, Guest. Please login or register.
2024 December 22, 06:12:21

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6546 Members
Latest Member: choodno
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  Hackdiff SeaP2 --> BV
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Hackdiff SeaP2 --> BV  (Read 18068 times)
twojeffs
Stupid Schlemiel
****
Posts: 1690



View Profile WWW
Hackdiff SeaP2 --> BV
« on: 2007 September 05, 05:50:34 »
THANKS THIS IS GREAT

Hackdiff output for Seasons P2 to Bon Voyage objects.package files. Huzzah.

* SEAp2-BVdiff.rar (48.81 KB - downloaded 1196 times.)
Logged
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #1 on: 2007 September 05, 21:04:44 »
THANKS THIS IS GREAT

Huzzah! No fridge or flamingo changes.  Grin

BedGlobals is still a hopelessly kludged mess, though. What on earth were they thinking when they "designed" beds?
Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hackdiff SeaP2 --> BV
« Reply #2 on: 2007 September 06, 08:17:54 »
THANKS THIS IS GREAT

It's probably no coincidence that they keep changing the code of the two very things that most hackers have to make huge hacks for Smiley   Doors and beds were just not made right in the first place.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Fat D
Horrible Halfwit
**
Posts: 395



View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #3 on: 2007 September 08, 07:05:52 »
THANKS THIS IS GREAT

With doors, there is the problem that each EP needs new handling.
Take the locking system in OfB, the pet routines in Pets and the Outerwear change in Seasons.
Logged

syberspunk
Heretic
Terrible Twerp
****
Posts: 2365


ISTJ - what a crazy random happenstance


View Profile WWW
Re: Hackdiff SeaP2 --> BV
« Reply #4 on: 2007 September 10, 02:10:25 »
THANKS THIS IS GREAT

Just curious, is the proper way to test for this EP as follows:

14000B00000806070000000000000000

[prim 0x0002] Expression (Global 0x0014 (Game Edition) Flag Set? flag# Literal 0x000B)

I just wanted to make sure if the flags are right.  I think seasons is 8, CS! is 9, and H&MŽ is 10, right?  So BV should be 11?


Ste
Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Hackdiff SeaP2 --> BV
« Reply #5 on: 2007 September 10, 08:31:57 »
THANKS THIS IS GREAT

Quote from Numenor:
Quote
Yes, the correct procedure to check if a particular EP is installed is checking if the Game Edition is different than dec. 2000 (hex 0x07D0): if it's 2000, then the base game only is installed (no EP).

If the Game Edition is not 2000, then you proceed checking the various flags (using the "Flag Set?" operator):

Flag 1 (unused: it should be the base game)
Flag 2 = UNI
Flag 3 = NL
Flag 4 = OFB
Flag 5 = FFS
Flag 6 = GLS
Flag 7 = PETS
Flag 8 = SSN
Flag 9 = CEL
Flag 10 = H&M
Flag 11 = BV (tested)
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #6 on: 2007 September 11, 13:09:46 »
THANKS THIS IS GREAT

Celebrations and H&M threw a few monkey wrenches into the process. Previously, one could determine "game engine state" by checking to see if the value was not-2000 and > than the relevant power-of-2 produced by setting an engine flag, but the Celebrations and H&M both use OFB engine despite having bits crater than Pets and Seasons. These bits then have to be unset to determine engine version, if what you want is engine version, and not specifically the expansion pack.

The use of bit-1 "base game" without the use of any other bits is used to detect installation in Life Stories, as a true "base game only" would have it set to 2000 (0x7D0).
Logged

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.
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #7 on: 2007 September 11, 21:52:32 »
THANKS THIS IS GREAT

Honestly? >?

A true Klingon would mask with "and" and test rather than >.  Grin
Logged

J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26288



View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #8 on: 2007 September 12, 01:26:23 »
THANKS THIS IS GREAT

Honestly? >?

A true Klingon would mask with "and" and test rather than >.  Grin
You can't do that in SimAntics without creating a new variable to do it in, and it ultimately wouldn't work any better. What would you mask off with AND? The only way I can see that working is if you AND all the bits including and past the engine version you want to test, then see if the result is nonzero, but this does not work any better and requires the use of a second variable in SimAntics, something that ideally we wanted to avoid. There is nothing in SimAntics that lets you do something like (A & B) != 0, SimAntics only has Flag Set, which is basically (A & B) != 0, but B can only be a single bit, and &=, which is again, not what we wish to do, as you cannot permanently overwrite that attribute without breaking something. To do otherwise would require that we first assign it to a temp value which we could mongle like that, but the entire point is that we want to avoid attributes and variables.
Logged

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.
dizzy
Souped!
*
Posts: 1572


unplugged


View Profile
Re: Hackdiff SeaP2 --> BV
« Reply #9 on: 2007 September 12, 05:57:06 »
THANKS THIS IS GREAT

You have plenty of variables if you use a new tree to create them. There's more than enough stack, so why not use it?

Granted, simantics makes it a little more difficult and error-prone than it should but it does that with ANYTHING you throw at it.
Logged

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.066 seconds with 19 queries.