Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Oct 18, 2018 3:03 pm

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 5:51 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 02, 2005 7:01 am
Posts: 3679
Location: Sydney NSW Antipodea
I have been trying to hack out the time limit on the earliest TTO demo with a hex editor. I have tried changing all occurrences of 1933 to a larger date and that doesn't seem to have helped. If I try adding the number of days to 1930, it refuses to load. Does anyone else have ideas of what to try changing either separately from what I have tried or combined with that?

_________________
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 6:33 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9038
Location: Sol d
Search for 13 instead of 1933. Years at least for TTD(Patch) are usually 1920-based

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 7:29 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 02, 2005 7:01 am
Posts: 3679
Location: Sydney NSW Antipodea
Will try 13 next, I tried 12 since under my tests, it was crashing at 1932. I could only find one instance of 1920 in the exe. I have upped the three occurrences of 12 that were nearest to 1920 to 14 to see what happens.

_________________
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 12:24 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon May 31, 2004 8:22 am
Posts: 651
Let's hope it works..

Could it be that there is a Demo flag that must be turned off?


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 12:41 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 02, 2005 7:01 am
Posts: 3679
Location: Sydney NSW Antipodea
Well upping them to 14 didn't change anything. I also tried changing every 12 to 14 and obviously I broke something as the game refused to load. I highly doubt the starting date of 1930 is important now that I checked intro dates for the release version of TTO and the first RV's are introed in 1926. I have no idea where to look for unlocking the other vehicle types and don't expect help with that.

_________________
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 12:56 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon May 31, 2004 8:22 am
Posts: 651
That isn't so important compared to fixing the crash. Maybe if we packet sniff the game while it changes to 1932? The interesting part is, the year change works, but it crashes one day after.
Maybe we can set the start date to 1933?


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 1:13 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Oct 04, 2008 11:05 pm
Posts: 2632
Location: Lost in spaces
roboboy wrote:
I have no idea where to look for unlocking the other vehicle types


Gurluas2000 wrote:
Maybe we can set the start date to 1933?

Use the force Gurluas2000 ... use the force, you can do it.


Edit:
Force is in this case start wars related only.
I would not want you saying at some point but he said it was OK ...

_________________
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 3:54 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 02, 2005 7:01 am
Posts: 3679
Location: Sydney NSW Antipodea
Gurluas2000 wrote:
That isn't so important compared to fixing the crash. Maybe if we packet sniff the game while it changes to 1932? The interesting part is, the year change works, but it crashes one day after.
Maybe we can set the start date to 1933?


I think I tried that, but will try it again by replacing 10 near 1920 to 1940 in the morning. Would be interesting to know what Owen tried when he tried.

_________________
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Thu Jul 18, 2013 4:50 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon May 31, 2004 8:22 am
Posts: 651
Indeed it would.. Maybe there is a flag we need to change somewhere?

Is the structure similar to the TTD exe?
The TTDPatch people must have documented it thoroughly.


Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Fri Jul 19, 2013 1:58 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 02, 2005 7:01 am
Posts: 3679
Location: Sydney NSW Antipodea
I have never looked at the TTD exe, I don't believe there is much documentation on it even though I doubt it would help. I give in for now unless a dev can give me more sugestions on where to look and what to look for or tools to see why it crashes as I have no clue about debugging on DOS(Box).

Edit, I present a savegame saved on the 1st January 1932 the day before the crash. I may try and set it's date to a latter date, or even open it in OpenTTD.
Edit2, OpenTTD refused to open it.


Attachments:
TRT00.SAV [142.2 KiB]
Downloaded 139 times

_________________
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Top
   
 Post subject: Re: Hacking TTO Demo's
PostPosted: Fri Jul 19, 2013 11:26 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon May 31, 2004 8:22 am
Posts: 651
roboboy wrote:
I have never looked at the TTD exe, I don't believe there is much documentation on it even though I doubt it would help. I give in for now unless a dev can give me more sugestions on where to look and what to look for or tools to see why it crashes as I have no clue about debugging on DOS(Box).

Edit, I present a savegame saved on the 1st January 1932 the day before the crash. I may try and set it's date to a latter date, or even open it in OpenTTD.
Edit2, OpenTTD refused to open it.


Did setting it to a later date help?

Keep in mind, whoever achieves this will be remembered in the annals of history as the one who unlocked the Transport Tyccoon Prototype.
The one who blessed us with this fabled knowledge. Your Children will be proud of you for this massive achievement.
It will not be me, I can already say that, but it may be you. So do not give up, fight to achieve this, fight to unlock the Transport Tycoon Prototype!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.