|
|
|
|
November 15th, 2004, 09:02 PM
|
First Lieutenant
|
|
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Save File Format
So I'm *thinking* about making a replay viewer and to do that I need to figure out where the province ownership information is in the ftherland files. So I was wondering if you would *ahem* ( I don't know how to ask for this ), uhm, release the, ahem, save file headers so I can see if this would be an impossible task.
I understand that this kind of stuff is kept in house by the devs and never released to the community for various reasons, but the devs at Illwinter seem to be cut from a different cloth so I thought what the heck.
|
November 17th, 2004, 08:13 PM
|
First Lieutenant
|
|
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Re: Save File Format
*sniff* no file format loving? *sigh* ok.
*sniff*
|
November 18th, 2004, 04:30 AM
|
|
General
|
|
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
|
|
Re: Save File Format
Hmm, sorry I didn't reply.
I'm not sure what you want to do. What is a replay viewer? Battle replays? Turn replays? Whole game replays?
|
November 18th, 2004, 04:56 AM
|
First Lieutenant
|
|
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Re: Save File Format
Well the 1st thing I would want to try out would be a way to display from the ftherland file which country owns which provinces. From that I should be able to generate a representation of who owns what.
If I ever got that to work I'm sure I would ask for more
|
November 18th, 2004, 06:26 AM
|
|
Major General
|
|
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Save File Format
Have you tried puzzling it out with a hex editor? (e.g., write down the population, ownership, and province # of several provinces with province numbers right next to each other (e.g., 23, 24, 25, 26, ...), then search for the segment of the ftherlnd file that has numbers corrolating to those values (province number might not be present except as an implied array index; it is acceptable if that number is missing while you search); any other information about the province can be helpful as well - scales are recorded in the order they are displayed from left to right; "good"-side scales are negative (e.g., productivity 3 is -3 (single byte), while sloth-3 is 3(also single-byte))) then looking for some programmatical way to identify that section?
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
|
November 18th, 2004, 11:44 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Save File Format
I had requested that the score.html or status file (which are already options in dom) be extendable to the game writing out province numbers and ownership.
Im seeing in my minds eye a game using a map generated by dommap in two flavors. A normal play map, and the same seed used to generate one with no colors except water and land (and borders). I can already do a script routine to drop color into the provinces but I have no easy way to know who has what provinces.
Id like to see a running game with its own web directory. Screen shots, movies of major battles, an AAR blog or wiki, updated scores done in charts which match what you see in the game (already possible), a view available of the map being used, AND a thumbnail page showing the advancements of each nation in small maps which can be clicked on for a closer view.
Hmm if its too much game info then the daily info could be stored with only the info 3-days old actually being added to the display.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
November 18th, 2004, 04:45 PM
|
First Lieutenant
|
|
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
Re: Save File Format
Quote:
Have you tried puzzling it out with a hex editor?
|
Well reverse engineering is far harder than just asking
|
November 19th, 2004, 02:07 AM
|
|
Major General
|
|
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Save File Format
Quote:
Huzurdaddi said:
Well reverse engineering is far harder than just asking
|
...but it can be a lot more fun, and you don't need to rely on the generosity of strangers.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|