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

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old February 12th, 2008, 09:04 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default PBW needs your help

But this time it isn't money or parts. I need knowledge, or someone (or more than one) willing to spend some time to come up with the answers if they are not already known.

We've started supporting custom shipsets on PBW, but I don't really understand all the ins and outs of how it works in SE5. And unfortunately I don't have the time to do all the testing needed to answer these questions myself.

I need to know what files in a custom shipset folder are absolutely necessary to the ability of the game to process turns at the command line. You don't have to know anything about the PBW code. PBW simply uses the SE5 command line options. You can do the same thing using the command prompt or a batch file.

Some of the shipset folders are huge. Even the stock races are bigger than 10MB. Multiply that by the number of versions and mods we support, and it gets to be a bit of a waste of space. I have an inkling that not all the files are needed for the game to actually process the turns at the command line. Anything I can strip out without causing the turns to fail or the game to switch the user to default race files will be appreciated.

Please, enlighten me.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old February 12th, 2008, 09:33 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: PBW needs your help

I think you can eliminate 90% of the folder size by getting rid of all the image files. Almost all of the text files could be referenced in a given turn and they can contain custom information, so I'd just leave them since they are small. The compiled script files (.csf) are needed as well.

On the mod side of things, all the image files could be dropped. That should clear up considerable space.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old February 12th, 2008, 09:47 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW needs your help

But wouldn't eliminating the image files cause the game to revert to using the Abbidon(or whatever it defaults to) shipset? Or are you saying all that is neccesary to keep the empire linked to the proper shipset is that the server has the properly named folder in the empire directory? Geo raises hand and prepares to slap himself upside the head...

Edit: No, that's not right. An empty folder wont work. Is it just some specific text files? Or a certain one or few image files? The turns will process with nothing. What I need to know is how little can they process and not change the empire image the next time the player opens their turn.

This should only affect player empires anyway. If they miss their turn and the AI takes over, whether it follows the AI behavior prescribed by the particular mod they are using will be the least of their concerns. The issue of AI behavior would be nice to deal with, but probably beyond the scope of what I will be able to accomplish. There are simply too many variables.

All I'm trying to do is make it so you can use a custom shipset in a PBW game and your empire will still look like it's supposed too when you get your turn back from PBW.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old February 12th, 2008, 10:13 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: PBW needs your help

Yes, just keep all the empire folders with the text/csf files stored in it. That should keep everything in order for the players.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #5  
Old February 12th, 2008, 11:26 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW needs your help

Quote:
Captain Kwok said:
Yes, just keep all the empire folders with the text/csf files stored in it. That should keep everything in order for the players.
No, that's not correct. When I run a turn with just those files and no image files the game changes the empire to another shipset.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #6  
Old February 13th, 2008, 12:00 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: PBW needs your help

I was under the impression that running the game using the command line to process the turn neglected to load any images. If that's not the case, then MM should be considering that. It should be so as long as the model files are present (needed for combat calculations) and the slot layouts are present (for damage allocation, design creation) and other AI important files like the scripts or speech files, that it should run with no issues.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old February 13th, 2008, 12:14 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW needs your help

Hey, welcome to my world Kwok. These are issues that have been brought up over and over to no avail. This is why I've delayed a year in implementing custom shipsets for SE5. At this point I'm no longer trying to get the issues resolved and I'm simply trying to come up with the best way to work around them and get it done with what we've been given.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #8  
Old February 13th, 2008, 12:15 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW needs your help

By the way, what's a "model file"?
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #9  
Old February 13th, 2008, 12:56 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: PBW needs your help

The model files are the .x files in an empire's folder. They're definitely required for combat resolution.

Does SE4 require the images for command prompt processing?
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #10  
Old February 13th, 2008, 01:58 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW needs your help

No, SE4 doesn't require shipset images. You can run without the custom race folder at all. It will simply use the default AI files and then when you open your empire will still have your pics attached to it. If you open the turn without the pics on your computer it will pick another picset at random, but no permanent change is made. Once you get on a computer with the picset you used when setting up the empire originally, it will look right.

So the game needs the .x files for actual damage calulations? That's not just for display purposes during the replay? So I guess those files would be required then. That's the bulk of the race folder right there for most of the ones I've looked at. What does the game do if you have a shipset with no .x files I wonder.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
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 07:20 AM.


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