.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 > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old August 7th, 2004, 01:08 AM

csebal csebal is offline
Private
 
Join Date: Aug 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
csebal is on a distinguished road
Default SE4 Savegame format? - for developers

Well, as a newcomer, let me introduce myself. I'm a developer from Hungary, playing all kinds of strategy games, with a special love for 4x space strategy (the kind of game moo / se4 is)

At the moment, i'm working on a SE4 Multiplayer tool with a friend of mine, which is supposed to make multiplayer games really fast.

When i first started to use it, i realized that transmitting savegames trough the net is kinda slow.

See, im on a DSL, and the other player (the host) is on a DSL as well. It has a rather limited, 16k/s upload bandwith, so transmitting 1000k savegames can take quite some time.

A while ago, i discovered an old tool, called rsync. It is basically a filecopy tool, with a very smart algorythm, that only copies the differences between files.

Whoa, i tought, this is what i need, after all, there cant be so big differences between the savegame files of turns compared to the previous turn's savegame file.

Before i started to implement the above mentioned algorythm, i ran a few tests, and guess what i've found.

THERE IS NOT A SINGLE BYTE IN THE WHOLE SAVEGAME FILE, THAT MATCHES THE PREVIOUS SAVE.

Well, as there must be others, who develop tools for SE4, i tought i could as well ask it here:

Does anyone know why exactly that is? Its obviously some kind of compression or encoding, i just wonder if there is a way to tell se4 not to do it.

Does anyone have an idea?

Thanks in advance,
csebal

[ August 06, 2004, 12:10: Message edited by: csebal ]
Reply With Quote
  #2  
Old August 7th, 2004, 01:20 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, �sterg�tland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4 Savegame format? - for developers

The savegame file is encrypted.
It contains all data for every player in the game, so alot of info changes for every turn.
There is only a small header that's unencrypted.
And you can't turn it off, it's to prevent cheating and it works pretty well.

I'd be interested to know when your app is finished so that I can make the SE4 companion co-work with it.
(Se companion thread)

You can ask Aaron about it next friday on the chat session on #SE4.

[ August 06, 2004, 12:25: Message edited by: Ruatha ]
Reply With Quote
  #3  
Old August 7th, 2004, 01:32 AM

csebal csebal is offline
Private
 
Join Date: Aug 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
csebal is on a distinguished road
Default Re: SE4 Savegame format? - for developers

Well, thats sad. I mean the encryption. Maybe in SE5, they'll include some patching mechanism, so you will not have to download a full savegame for every turn, but just the changes made since the Last turn.

Until then, i'll have to live with compressing the savegame.

As for your question, i have no idea when i'll be able to release the tool to the public. I guess we'll do it, when its done

As my 'favorite' game developing Groups would say:
soon (tm) - [this may be misleading unless you are actually playing the MMORPG called EVE-Online]

Its being rewritten at the moment (i use .NET / C#), as the client had some nasty multi-threading problems
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 04:47 PM.


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