.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 January 27th, 2005, 12:35 PM
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 3rd party program request

OK on the subject of loading races and getting errors...
I started to keep a list of all the ones that needed fixing as I came across them but it got insane. I thought a small program could be written to search/fix what was needed. Then I realized that the errors were repeating, and at the same time realized that I only saw the errors when a race was selected for use in a game I was playing so finding them all would involve alot of test games.

SO... this is what Im thinking..
someone could load a fresh clean install of SEIV Gold from disc into a different directory than they play from. Load tons of races. Get example errors. And write a program to search/fix with default settings.

Preferably something that can run in default windows otherwise I could offer it as a BASIC program that requires downloading/installing something like YABasic to run it. I could also EXE such a program. If someone wants to code something like that in any language (psuedo code, perl, C, java) it would be a starting point.
__________________
-- 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
  #2  
Old January 27th, 2005, 03:17 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: 3rd party program request

I have a handy set of SE4 functions for VB available.
- Get/Set string/nth values, add/multiply/exponent, trim spaces, etc.
http://imagemodserver.mine.nu/other/...20for%20SE.bas
Reply With Quote
  #3  
Old January 27th, 2005, 08:56 PM
TurinTurambar's Avatar

TurinTurambar TurinTurambar is offline
Captain
 
Join Date: Nov 2003
Location: At work or sleeping
Posts: 821
Thanks: 1
Thanked 0 Times in 0 Posts
TurinTurambar is on a distinguished road
Default Re: 3rd party program request

I'll be checking this thread often to see if anyone comes up with a solution. It's really gotten very annoying to click [CLOSE] 17-plus times when opening a game turn to play it.

Thanks, oh wise Istari.

Turin, Master of Doom
__________________
Aa Turam Empire

Geekdom is eternal... you will be assimilated... resistance is futile.

A+ Se GdY S++ Fr- C* Cs* Sf- Ai++ Au>M! M- Mp! S@ Ss+ R! Pw+ Fq++ Nd? Rp++ G++ Mm++ Bb-- L-- Tcp

'We, the weird, chasing the pointless, for no reason at all, have been finding out things that have no effect on anything important for at least a couple days and are now qualified to chase our tails to the merriment of all watching.'-Narf et al

"Of course, you don't want to be going about handing out immortality willy-nilly, that just wouldn't be responsible." -O'Shea
Reply With Quote
  #4  
Old January 27th, 2005, 10:27 PM
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: 3rd party program request

I finally gave up on my early effort. I just requested that someone zip up their "races" directory and send it to me. Im just resurrecting this concept because it seems insane that it hasnt been fixed by someone in all this time.
__________________
-- 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
  #5  
Old January 27th, 2005, 11:05 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: 3rd party program request

Ruatha's SE4 Companion has a plugin designed to update all of your races to Gold compatibility. Unfortunately, it has a few bugs that muck up some of the files, such as AI_Fleets.txt... I forget all of the things it does, but I can dig up the post if anyone is interested. With Ruatha off in military training, a fix for his program is quite a ways off.

You can isolate which shipsets have errors in their AI files by moving all races save 20 from your Pictures\Races folder to a temporary folder, then starting a new game. You should always choose the same race for yourself, one that you know works fine.

Most of what such a program needs to do is outlined in CapnQ's guide to converting AIs to Gold compatibility, since most errors are related to downloading a shipset with pre-Gold AI. *link* This is simply inserting missing lines where they need to be in 3 or 4 files. The rest of what needs to be done is testing that all of the lines that should be in the files are present and inserting missing lines, as well as making sure that you do not declare 5 items and only define 3.

Edit:
Actually... a few changes need to be made in AI_Design_Creation.txt. In one of the early patches, several abilities were changed in name to make them less confusing, primarily related to combat to hit modifiers. There are a couple of shipsets on PBW that have not been updated and still contain AI designed with whatever the old values were. These are listed in SE4's History.txt file somewhere, as well as in that post about Ruatha's companion program... guess I need to dig it up afterall.

edit2:

Also, AI Design Creation needs more work done on it. These abilities need to be updated from:

Combat To Hit Dec
Combat To Hit Add (and Combat Sensors)

To

Combat To Hit Defense Plus
Combat To Hit Offense Plus

Also:

Phased-Shield Generation
to
Phased Shield Generation

These were changed in an early pre-gold Patch of SE4.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #6  
Old January 28th, 2005, 12:52 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: 3rd party program request

Good info. Thanks. Between the link and the updates you mentioned it should be possible for someone to write an updater
__________________
-- 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 January 28th, 2005, 01:07 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: 3rd party program request

Quote:
Imperator Fyron said:
You can isolate which shipsets have errors in their AI files by moving all races save 20 from your Pictures\Races folder to a temporary folder, then starting a new game. You should always choose the same race for yourself, one that you know works fine.
I should add that it helps to alter Data\Settings.txt to always add 20 races to new games, and always choose no neutrals. This will insure that the other 19 races are always added, so as to miminize the number of games you need to start.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #8  
Old February 6th, 2005, 03:14 AM
EaX's Avatar

EaX EaX is offline
Sergeant
 
Join Date: May 2004
Location: Unimatrix 1
Posts: 297
Thanks: 0
Thanked 0 Times in 0 Posts
EaX is on a distinguished road
Default Re: 3rd party program request

well i think i've good news, i've made a program that checks if a race is gold compatible and fix it's files according to CapnQ's guide as Imperator Fyron said, the program is a BETA version, i didn't have much time to debug it, but on my tests it was working fine, ofcourse MAKE A BACKUP of the race before using the program REMEMBER IT'S A BETA VERSION!, i tested the program with the Rage shipset (i downloaded from PBW), by the way you'll need Visual Basic 6 run-times installed.

The UI is very very simple, just choose the race directory and click on Check Compatibility then if the race is not Gold compatible it will ask if you want to update it.

Any problems, suggestions, bugs, etc, you can ask me on the forum send me a PM, or send me a mail to the address on the program...., hope you like it.
Attached Files
File Type: zip 329634-Se4_Compatibilizer.zip (11.8 KB, 115 views)
__________________
If you see a light at the end of a wormhole its a photon torpedo!

You think is such three dimensional way, how small have you become - Borg Queen.

Whatever that thing was the Shivans got one less of them now - S.O.C. Freespace 2

We're the borg, lower your shields and surrender your ships, we will add your technological and biological distintiveness to our own your race will adapt to serve us, resistant is futile.
Reply With Quote
  #9  
Old February 6th, 2005, 11:03 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: 3rd party program request

THANK You Thank you
__________________
-- 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
  #10  
Old February 6th, 2005, 11:22 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: 3rd party program request

Very nice. But I keep having to tell it where the default AI directory is. I even tried putting it IN that directory and running it. There isnt a config file or something I can edit that into so it will "remember" it?

Also a command-line option for "do all /picture/races/* with YES to all prompts" might be nice for those who have just started off by downloading every interesting race off of the sites. (like I did)


But a VERY nice program. Thank you.
__________________
-- 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
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 04:27 PM.


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