• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Can the "game" month and year be reset?

Started by dedgren, May 02, 2007, 08:06:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dedgren

The title says it all.  Endless hours spent combing every possible thread here, at ST and elsewhere in the SC4 fansite world has produced not even a hint as to how this might be done.  There does not appear to be any cheat that works, or way to access this setting through a program such as the Reader.  Yet it would appear to be a simple issue- somewhere in each instance of a game file there is probably a several byte location that contains a number that is nothing more than an incremental counter, and that the game .exe interprets as a date each time the game boots up the instance and to which a new counter number is written each time the instance is saved.

Where is this memory location, and is it possible to write a simply utility to change it at will?

Or are we just doomed slaves to the unremitting forward progress of time?

The floor is open for discussion!


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

freedo50

I don't know anything about where that may be, try saving a copy of the city's DAT and then running the city, and then exiting and comparing the DATs. Also, I don't really see the need to do this, what use would it be? No-one includes the date in their MDs so I just don't see how it could be of any use. It would be nice to be able to though.

Fred

Gaston

David,
   I'm with ya buddy.   I have done the same thing.   I've searched for hours and tried everything to reset (more like set) the date.   I can't figure it out either.     I thought there was a cheat to do it but if there is I can't figure out how to get it to work.


---Gaston
白龍

They say that the memory is the second thing that goes....
...dang , I wish I could remember the first.
WooHoo made Councilman - 05 FEB 07 Yipee made Mayor - 13 MAR 07 Hip Hip Hooray made Governor - 04 AUG 07 Rock On made Senator - 15 MAR 09

wouanagaine

Hi David

The time must be saved in the savegame of the city, unfortunatly it seems that the bits where this info is stored is not yet found.
It should be in the MayorView City data entry. We need more investigation on that entry

Take care

New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4

dedgren

Has anyone ever created a map of the structure of the file?  It would be vastly helpful to have a general idea where to look.  I'm happy to do the "scut-work" of comparating two saved game files, but it would be great to have a point in the right direction as to where to start looking.

I presume the thing to do is take three small completely flat and undeveloped quads, stop the first on January 31, 01, the second on March 31, 01, and the last on May 31, 01, and just start comparing.

We'll see- thanks, Stephane (wouanagaine), for your feedback.


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

wouanagaine

Quote from: dedgren on May 06, 2007, 02:52:00 PM
Has anyone ever created a map of the structure of the file?  It would be vastly helpful to have a general idea where to look.  I'm happy to do the "scut-work" of comparating two saved game files, but it would be great to have a point in the right direction as to where to start looking.

I presume the thing to do is take three small completely flat and undeveloped quads, stop the first on January 31, 01, the second on March 31, 01, and the last on May 31, 01, and just start comparing.

We'll see- thanks, Stephane (wouanagaine), for your feedback.


David


Karybdis and old timers have done such a job, thanks to them
it is available here http://www.sims2wiki.info/wiki.php?title=SAVEGAMES

Comparing 3 save games of the same tile with just the time changed will help finding where the time is set
I think it should be in some of the 'unknown' of http://www.sims2wiki.info/wiki.php?title=RegionView



New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dmscopio ♦ dedgren ♦ emilin ♦ Ennedi ♦ Heblem ♦ jplumbley
M4346 ♦ moganite ♦ Papab2000 ♦ Shadow Assassin ♦ Tarkus ♦ wouanagaine
Divide wouanagaine by zero and you will in fact get one...one bad-ass that is - Alek King of SC4

TheTeaCat

Hi David

Using SC4extracheats.dll (can't remember where I got this  ()sad())  and bring up the cheat menu gives you these options



I have found that if you use Whattimeizit followed by a space then enter the time you want in 24hr format the game clock will change. Ie have day/night cycle running and during daylight hrs enter a time during the night and .....its nighttime and the clock coninues from there.

I have tried numerous variations using simdate but no luck. Maybe this might be of some use to anybody? But knowing a .dll works what else could the brainy people do with this?

Hope this was of some help

:satisfied:
TTC
Kettle's on. Milk? Sugars?    ps I don't like Earl Grey  $%Grinno$%
Reduce, Reuse, Recycle - If you're not part of the solution , you're part of the problem!
"Never knock on Death's door: Ring the bell and run away! Death really hates that!"
Tales at TeaTime      Now A proper NUT      TTC plays GRV II

Gaston

Quote from TTC:
QuoteI have tried numerous variations using simdate but no luck.
Yup I have done the same.    I wish I knew how to use this "cheat".     It would come in handy.


---Gaston
白龍

They say that the memory is the second thing that goes....
...dang , I wish I could remember the first.
WooHoo made Councilman - 05 FEB 07 Yipee made Mayor - 13 MAR 07 Hip Hip Hooray made Governor - 04 AUG 07 Rock On made Senator - 15 MAR 09

Rayden

A lot of games today don't use normal date formats like yy/mm/dd or similar, but Unix Time format, that is, for every second after the 1st of January 1970 increment it's equal to one unit.

You can read something about this in here, and a online convertor so you can see how it looks and work, in here.

Maybe looking for this kind of numbers, it could be found something interesting ;)

Shadow Assassin

Maybe try searching for the number -2208988800? (negative sign's included) That's 0:00:00, on the 1st of January, 1900. Just a wild guess. :P

That's using Rayden's Unix time link (speaking of which, Unix time's expected to reset on the 19th of January, 2038 at a certain time, because of memory limitations :P)
New Horizons Productions
Berethor ♦ beskhu3epnm ♦ blade2k5 ♦ dedgren ♦ dmscopio ♦ Ennedi
emilin ♦ Heblem ♦ jplumbley ♦ moganite ♦ M4346 ♦ papab2000
Shadow Assassin ♦ Tarkus ♦ wouanagaine
See my uploads on the LEX!

dedgren

QuoteUnix time's expected to reset on the 19th of January, 2038 at a certain time, because of memory limitations

Well, seeing as how I'd be 85 on that date, I'll probably have reset by then too based on other limitations.


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

Gaston

I'll be 74.      (If I make it that long.  LOL)     I'll most likely still be trying to figure out LE and all the other tools.   I'll still have the same cities going.    And I'll most likely still be on the same computer with the same dial up access.   LMAO


---Gaston
白龍

They say that the memory is the second thing that goes....
...dang , I wish I could remember the first.
WooHoo made Councilman - 05 FEB 07 Yipee made Mayor - 13 MAR 07 Hip Hip Hooray made Governor - 04 AUG 07 Rock On made Senator - 15 MAR 09

flame1396

Buggi made the cheat .dll

maybe contact him and ask how the simdate code works
The most astounding and unique aspect of the human race is our fervent application of our ingenuity to kill each other, thus completely defying the near-universally proven fact that the ultimate goal of a member of a species is to ensure the survival of the species.

Andreas

Quote from: flame1396 on June 12, 2007, 07:36:38 AM
Buggi made the cheat .dll

No, Maxis made the DLL - it was used for beta-testing the game. Buggi obtained it from Maxis/EA, as it seems.
Andreas

flame1396

well... thats a dead ender...  &mmm

it would be awesome if we could make more .dll files for the game. couldnt that allow us to add new network types??
The most astounding and unique aspect of the human race is our fervent application of our ingenuity to kill each other, thus completely defying the near-universally proven fact that the ultimate goal of a member of a species is to ensure the survival of the species.

ACEfanatic02

Quote from: flame1396 on June 12, 2007, 06:46:11 PM
well... thats a dead ender...  &mmm

it would be awesome if we could make more .dll files for the game. couldnt that allow us to add new network types??
"DLL" stands for Dynamic Linked Library.  It's the data the game engine (the.exe itself) runs on.  However, unless something within the game code links to the .dll information, it would not be used in the game.

At least, that's my understanding.

-ACE
日本語勉強中-最近読んだ本はこちらで見えます。
Python Enthusiast

dedgren

Quote"DLL" stands for Dynamic Linked Library.  It's the data the game engine (the.exe itself) runs on.  However, unless something within the game code links to the .dll information, it would not be used in the game.

Yup.  That's a sad fact.

I'm still working on this.  If I can find where the savedfile the date is kept, I have a feeling it can be changed at will.  It's just teee-deee-us to find, that's all.


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

flame1396

Quote from: ACEfanatic02 on June 24, 2007, 02:37:13 AM
"DLL" stands for Dynamic Linked Library.  It's the data the game engine (the.exe itself) runs on.  However, unless something within the game code links to the .dll information, it would not be used in the game.

I read that the game will load em if they're in the plugins folder.
The most astounding and unique aspect of the human race is our fervent application of our ingenuity to kill each other, thus completely defying the near-universally proven fact that the ultimate goal of a member of a species is to ensure the survival of the species.

dedgren

Yeah, my friend.  But they have to be called once they're loaded.


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

flame1396

The most astounding and unique aspect of the human race is our fervent application of our ingenuity to kill each other, thus completely defying the near-universally proven fact that the ultimate goal of a member of a species is to ensure the survival of the species.