This project currently is waiting for a game developer with some time at hand. See this thread.

View unanswered posts | View active topics It is currently Sun 23. Sep 2018, 19:48



Reply to topic  [ 27 posts ]  Go to page 1, 2, 3  Next
 Editing the savegames 
Author Message
Contributor
User avatar

Joined: Sun 17. Mar 2013, 11:31
Posts: 424
Location: Hajdúszoboszló. Hungary
I've thought one night that this is an old game and at that times trainers and editors used the hex edit style so I thought I test this here as well.
I have no knowledge how those programmers made small editor softwares at that time because the trial and error method seems very ineffective.
So I've tried just for fun and searched for the value 07 D0 which is equal for 2000 decimal. I've thought I find at least two instances: one for the starting lignite of 2000 and one for the Missile wagon's price of 2000, but I've only found one instance at the start of the file and this is for the Lignite the next two hex numbers for the anthracite coal so I've edited these values and able to get 2000-2000 coal for testing purposes. But I don't know how to move further as everything is in hex numbers. Probably there are ID's for all the vehicles and their order if bought but finding these is quite troublesome. Does anybody know how these were done in the old times?


Sun 11. Oct 2015, 15:47
Profile WWW
Contributor
User avatar

Joined: Fri 30. Aug 2013, 14:10
Posts: 125
Location: Rostock, GER
I think the savegame file mostly contains values about your train and the current state of your game progress. The prices of all the things you can buy might be hard coded inside one of the .IO files


Quote:
Does anybody know how these were done in the old times?
Don't forget: HEX values converted to decimal values can be used to display a character from the ASCII table. The letter "A" in HEX is 41 and the word "Missile" can be converted to "4d 69 73 73 69 6c 65". I think you might have to translate some words into french to get the correct HEX values. The save files are probably encoded in a specific format (which we don't know) and thats why we have to use HEX editors.

Greetings


Fri 30. Oct 2015, 19:14
Profile ICQ
Contributor
User avatar

Joined: Sun 17. Mar 2013, 11:31
Posts: 424
Location: Hajdúszoboszló. Hungary
doubt it.
I've decoded these values so far:

Hex numbers (Smaller values should be put in the 2nd hex value)
hex 01 - Hour
hex 03 - Minute
hex 05 - Day
hex 07 - Wagon screen values:
01-Locomotive
02-command
03-captain's
04-missile launcher
hex 09 - scroll value (the list of wagons you have under the map, 0 1st wagon you have on the train 1 is the 2nd wagon and so on)
hex 0B - Unknown (shows exit icon on the 2nd quad panel)
hex 0D - Unknown
hex 0F - Unknown
hex 11 - Number of Wagons you have
hex 12-13 - Lignite coal values
hex 14-15 - Anthracite coal values
hex 16-17 - Train speed
hex 18-19 - Train speed
hex 1B - Horizontal co-ordinate
hex 1D - Vertical co-ordinate
hex 1F - Unknown
hex 20-21 - Unknown (varies)
hex 23 - Train angle:
00-diagonal lower left, inside arrow (Separating value)
01-diagonal lower left, upper arrow
02-vertical down, right arrow
03-diagonal lower right, upper arrow
04-horizontal left, upper arrow
05-diagonal lower left, inside arrow (Separating value)
06-horizontal right, upper arrow
07-diagonal upper left, upper arrow
08-vertical up, right arrow
09-diagonal upper right, upper arrow
hex 24-25 - Unknown
hex 26-27 - Unknown
hex 28-29 - Unknown
hex 2A-2B - Unknown
hex 2C-2D - Boiler Temperature (maximum 600)
hex 2E-2F - Steam setting value
hex 30-31 - Shovelled coal energy or Kinetic energy?
hex 3B - Unknown (0-1)
hex 3D - Train moving or not (00 - moving, 01 - stopped)
hex 5A-5B - Unknown
hex 5C-5D - Unknown

Together with our French friend I've noticed these as well:
Wagon weight as well as PTAC and PTAV did not saved in the savegame, so the weight values were taken from somewhere else and calculated by an algorithm when checked and not saved directly. This is my assumption.


Sun 1. Nov 2015, 15:06
Profile WWW
Contributor
User avatar

Joined: Sun 17. Mar 2013, 11:31
Posts: 424
Location: Hajdúszoboszló. Hungary
Newly discovered hex values:

hex 67 - Unknown (seems to be 1 at game start)
hex 69 - Auto Battle settings (on - 1, off - 0)
hex 6B - Sound settings (off - 1, on - 0)
hex 6D - Difficulty settings (0-4)
hex 6F - Unknown (varies)
hex 71 - Unknown (varies each new game but stays the same if the same game is saved)
hex 73 - Unknown (varies)
hex 75 - Unknown (varies)
hex 3023 - Wagons data starting from here in 4 hex groups: (31B3 is not part of the wagons list so 31B2 is the last hex: last wagon's carried goods number)
1st hex: Wagon ID 00-19
2nd hex: Damage State 0-3 (0-Perfect, 1-Bruised, 2-Old, 3-Scrap Iron)
3rd hex: Goods ID
4th hex: Number of carried goods
Wagon ID's:
00 - No Wagon
01 - Transarctica Locomotive
02 - General Quarters (Command Wagon)
03 - Boudoir (Captain's Wagon)
04 - Observatory
05 - Prison
06 - Alcatraz
07 - Livestock (Mammoth Wagon)
08 - Drill
09 - Harpoon
0A - Observation Box
0B - Cannon
0C - Machine Gun
0D - Missile Launcher
0E - Tanker (Measures in liter)
0F - Oil Tanker (Measures in tons)
10 - Crane
11 - Merchandise
12 - Merchandise XL
13 - Bio-Greenhouse
14 - Refrigerator (Behaves like a cargo wagon when put cargo inside)
15 - Tender
16 - Spy
17 - Barracks
18 - XL Barracks
19 - Boiler
Goods ID's:
00 - Empty
01 - Rails
02 - Missiles
03 - Inspection Cars
04 - Antique
05 - Plants (Needs Bio-Greenhouse)
06 - Alcohol
07 - Cord Wood
08 - Gasoline (Needs Oil Tanker)
09 - Oil
0A - Fur
0B - Meat
0C - Salt
0D - Fish
0E - Manure
0F - Caviar
10 - Fishing Rods


Thu 26. Nov 2015, 09:10
Profile WWW
Administrator
User avatar

Joined: Sat 16. Mar 2013, 18:24
Posts: 410
Location: Germany
Wow, this is quite the find!
Good work there - it seems like you guys are getting more into that hacker-business. :D

_________________
'Person who say it cannot be done should not interrupt person doing it.' --Chinese Proverb


Sat 28. Nov 2015, 20:39
Profile WWW
Contributor
User avatar

Joined: Sun 17. Mar 2013, 11:31
Posts: 424
Location: Hajdúszoboszló. Hungary
konemaster wrote:
Wow, this is quite the find!
Good work there - it seems like you guys are getting more into that hacker-business. :D


You afraid? :D Hacking isn't actually associated with the word "legal" you know :D


Sat 28. Nov 2015, 21:09
Profile WWW
Administrator
User avatar

Joined: Sat 16. Mar 2013, 18:24
Posts: 410
Location: Germany
Contrary to >>popular<< belief I don't oppose hacking and the hacking culture. :D

I just don't want to be part of legal complications whatsoever.
The problem in our legal system is that if someone claims you did something wrong it's hell of a process to get out of it without being in court. Even if you are not found guilty you still pay MUCH MONEY to get out of it.
If it goes to court and 'you win' you will get your lawyer paid but you still wasted time finding a lawyer, having meetings with him, going to court (once, twice, ...) - allt his time in which you could have done something better - and on top all the stress - its pretty much.

If you found guilty then help you god - you need to pay the court, the enemy lawyer, YOUR lawyer and then the fines and maybe visit some nice jail or have to work for the public.

If you like you can be my legal straw man - just take all the hits and claim you did everything bad forever. :D

_________________
'Person who say it cannot be done should not interrupt person doing it.' --Chinese Proverb


Mon 30. Nov 2015, 15:36
Profile WWW
Contributor
User avatar

Joined: Sun 17. Mar 2013, 11:31
Posts: 424
Location: Hajdúszoboszló. Hungary
Calm down will you? Everything will be fine :D
Legal issues will be discussed if any will pop up and the game will be at that development stage.
Also we don't live in USA where everybody sues everybody for everything :D
If they will have a problem, we are civilized people they will send a warning first if they feel threatened. But I doubt this will happen as Silmarils is no more and I don't know what happened with the entire team but some of them are created a new company "EverSim" which seems not really developing these kind of games. But looking at their site:
http://www.eversim.com/ns/en/home.php
The last news bulletin was made more than 1 year ago. Also their last game "World of Leaders" last news bulleting from 2015 January.
http://www.world-of-leaders.com/news.php
It does not look like they are working on something as it seems.

So just forget legal issues for the time being :)


Mon 30. Nov 2015, 16:57
Profile WWW
Passenger
User avatar

Joined: Tue 17. Nov 2015, 11:41
Posts: 40
Location: Budapest, Hungary
:D I guess what you does is actually reverse engineering. That could be a process of hacking for sure, but as far as you mean no harm or get no profit from the things you learned by reverse engineering something that is OK and legal. :) https://en.wikipedia.org/wiki/Reverse_e ... pean_Union


Mon 30. Nov 2015, 21:19
Profile
Passenger
User avatar

Joined: Tue 17. Nov 2015, 11:41
Posts: 40
Location: Budapest, Hungary
Konemaster, you shown willingness to develop a tool that would help us in testing and developing the remake. Would you like take the task of the save game editor / converter creation?

I planned the following tickets related to this task (they can be refined, removed or extended):
  • Discussion about the format and the details of the saves to be used by the remade Transarctica with the team (INI, XML, JSON etc.).
  • Create a UI for editing a saved game. UI fields should be generated dynamically so it should require very little maintanance even when the new save format extends. Use ToolKit Interface for the editor.
  • Old save files can be opened and saved and of course edited on the UI.
  • New save files can be opened and saved and of course edited on the UI.
  • Opened old saves could be saved in new format.
  • Unknown part handling. In case of old saves show unknown parts in an editable text input field. Use hex layout if possible.


Fri 4. Dec 2015, 13:03
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 27 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.