Putting together two state.dat

Before starting a new topic read Moposite's Help and earlier topics. Note: this forum is for Elma problems, not Moposite.

Moderator: Moporators

Post Reply
MaZ
Kuski
Posts: 155
Joined: 24 Apr 2003, 07:35
Location: Gothenburg
Contact:

Putting together two state.dat

Post by MaZ »

Hi. I'm thinking of making a new elma dir and finish all the levels again. this is a good way of lower your TT. So now to the question.

If i have to state.dat and want all the best times to be saved in one of them. with the same name and things like that. how should i do?
User avatar
zworqy
Kuski
Posts: 3706
Joined: 19 May 2002, 23:17
Location: Lilla Edet, Sweden
Contact:

Post by zworqy »

This option is included in Elma. Just put them both in the Elma dir and rename one of them to "merge.dat". Then run and exit Elma, and you should be done if I remember correctly from the readme file.


PS. This should have been in the "problems" forum.
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
User avatar
Kopaka
39mins club
Posts: 6611
Joined: 23 May 2002, 13:59
Team: LAME
Location: In a northern danish city beating YOUR record.
Contact:

Post by Kopaka »

You need to use same name in the two state.dat's.
User avatar
Abula
Moposite admin
Posts: 4471
Joined: 16 May 2002, 23:00
Team: FM
Location: Helsinki
Contact:

Post by Abula »

There is a tiny bug in this action. If you have same times in state.dats only the other time will be stored.

Sample:

state.dat
Warm Up:
14,30
14,31
14,32
14,33
14,34
14,35
14,36
14,37
14,38
14,39

merge.dat
14,30
14,31
14,42
14,43
14,44
14,45
14,46
14,47
14,48
14,49

The result should be:
14,30
14,30
14,31
14,31
14,32
14,33
14,34
14,35
14,36
14,37

but it will be
14,30
14,31
14,32
14,33
14,34
14,35
14,36
14,37
14,38
14,39
40:02,71 (151.) | WCup4: 8. | 3x WR | 3x GAA | 11x FEM | KOM | The History of Elasto Mania (1995-2018)
User avatar
Abula
Moposite admin
Posts: 4471
Joined: 16 May 2002, 23:00
Team: FM
Location: Helsinki
Contact:

Post by Abula »

readme.txt wrote:Merging best times from two games

If you and your friend for example have two copies of the game on
two different computers, you can merge your best times by copying
one state.dat file from one computer to the directory of the game
on the other computer by the name, 'merge.dat'.
Each time the program starts it looks for the file merge.dat and if
it finds one, it merges its best times information into state.dat.
(One best time won't be imported multiple times into state.dat even
if you leave merge.dat in the game directory and start the game
many times.)

You cannot merge a registered state.dat file into the shareware
version.
40:02,71 (151.) | WCup4: 8. | 3x WR | 3x GAA | 11x FEM | KOM | The History of Elasto Mania (1995-2018)
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

there was some prog made by somebody withou this bug:)
[carebox]
User avatar
Kopaka
39mins club
Posts: 6611
Joined: 23 May 2002, 13:59
Team: LAME
Location: In a northern danish city beating YOUR record.
Contact:

Post by Kopaka »

That is not nessacary a bug. ie. if you play on your home computer and have:

Warm Up:
14,30
14,31
14,42
14,43
14,44
14,45
14,46
14,47
14,48
14,49

Then take your elma to work comp and play some and get this:

Warm Up:
14,30
14,31
14,32
14,33
14,34
14,35
14,36
14,37
14,38
14,39

Then results SHOULD be:
14,30
14,31
14,32
14,33
14,34
14,35
14,36
14,37
14,38
14,39


...
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

but if you play under two different nicks you loose same times at 2nd stats
[carebox]
cm
Beginner kuski
Posts: 1
Joined: 25 Sep 2004, 18:16
Location: edinburgh, scotland
Contact:

Post by cm »

hi,
is there any way to merge the times for two different names into the one name?

for example, i've got two elma players- 'chris' and 'chris2' (don't ask why :roll: ) and i've got best times for both so i'd like to merge them into one. Can i do this?


thanks!
User avatar
milagros
Cheatless
Posts: 4560
Joined: 19 May 2002, 17:05

Post by milagros »

there is also some notr allowed prog made by me somewhere
[carebox]
Post Reply