.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old November 15th, 2004, 09:02 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old November 17th, 2004, 08:13 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default Re: Save File Format

*sniff* no file format loving? *sigh* ok.

*sniff*
Reply With Quote
  #3  
Old November 18th, 2004, 04:30 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default 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?
__________________
www.illwinter.com
Reply With Quote
  #4  
Old November 18th, 2004, 04:56 AM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default 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
Reply With Quote
  #5  
Old November 18th, 2004, 06:26 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default 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.
Reply With Quote
  #6  
Old November 18th, 2004, 11:44 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
  #7  
Old November 18th, 2004, 04:45 PM

Huzurdaddi Huzurdaddi is offline
First Lieutenant
 
Join Date: Mar 2004
Location: Seattle
Posts: 771
Thanks: 0
Thanked 3 Times in 2 Posts
Huzurdaddi is on a distinguished road
Default Re: Save File Format

Quote:

Have you tried puzzling it out with a hex editor?

Well reverse engineering is far harder than just asking
Reply With Quote
  #8  
Old November 19th, 2004, 02:07 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.