Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: taylor on August 03, 2004, 09:00:29 pm

Title: test for new pilot file changes
Post by: taylor on August 03, 2004, 09:00:29 pm
Quote
WARNING: This build could permanently mess up your pilots!  Save them before using this build!  If you lose anything it's your fault for not having a backup!


BEFORE using this build run your current version and note the stats in the barracks for each pilot.  Play the next mission in your current campaign and note the mission played and your weapon loadout.

AFTER you install and run the new build go back to the barracks and make sure that the stats are still the same.  Try the next campaign mission again and make sure that is the same mission and the weapon loadout and ship selection are the same as the pervious build.

http://icculus.org/~taylor/fso/willrobinson/20040802-win32.zip

This build contains the new pilot and campaign savefile formats.  Single player pilots will now have the .pl2 extension and campaign savefiles will be merged from the current two (.csg, .css) into one .cs2.  Multi pilots will still be the old .plr format but contain fixes to handle ship and weapon table changes.

The new campaign savefiles will contain all information that pertains to a campaign including: weapon loadout, available ships/weapons, current mainhall, red-alert status, stats, techroom data, which cutscenes are viewable.  The new formats will be able to handle changes to the ship and weapon tables without corrupting the pilot file or campaign savefile.  Current files will be upgraded automatically when they are first read and the old files will be deleted.

Pilot files will only be read out of the game directory now (ie. c:\games\freespace2\data\players).  If you have pilots in you mod directories you will need to move them into the directory of choice (single or multi).  You must also move your campaign savefiles.  Please note any files that would have the same filename, it does not handle this well and will only be able to upgrade the current campaign that's specified in the pilot file.  If you have multiple pilots with the same filename you will have to upgrade each set individually to avoid losing any information.

You will now be able to use one pilot for multiple campaigns.  The campaign room will now allow you to switch between campaigns without having them reset.  This way you can be playing one campaign, try out another one, and come back to where you left off.

Please report any problems since this will probably be the last public test before these changes enter CVS and appear in all future builds.
Title: test for new pilot file changes
Post by: karajorma on August 04, 2004, 07:08:02 am
Looks good. I'll try this out tonight.
Title: test for new pilot file changes
Post by: karajorma on August 08, 2004, 04:23:13 pm
Well I did try it out that night but it was only today that it got the really heavy testing. I threw the build at about five different mods and even at a Sol A History (Which I ran by mod stacking it with Inferno rather than simply putting it in the inferno folder).

Couldn't get it to fall over or display an abherent behaviour.

I didn't test multiplayer at all however. So someone might want to take a stab at that.
Title: test for new pilot file changes
Post by: Singh on August 09, 2004, 09:30:34 am
Support ships dont work. They wont give me my ammo! My sweet, sweet ammo!!

That, and any pilot thats played with this build wont show up with any older build. The memory leak appears to be gone since I just spent the last few hours playing through the campaign till the mission koth dies and it works ok (albiet a bit slow)

but please fix the support ship problem! I was lucky to slay the Ravana - imagine de-beaming the Sath!!!
Title: test for new pilot file changes
Post by: Goober5000 on August 09, 2004, 10:48:36 am
Quote
Originally posted by Singh
Support ships dont work. They wont give me my ammo! My sweet, sweet ammo!!
Primary or secondary?  If it's primary, you didn't set up the ballistic weapon entry properly... double-check your table.
Quote
That, and any pilot thats played with this build wont show up with any older build.
It's a one-way upgrade.  Older builds won't recognize the new pilots.
Title: test for new pilot file changes
Post by: Trivial Psychic on August 09, 2004, 12:52:46 pm
Quote
Originally posted by Singh
Support ships dont work. They wont give me my ammo! My sweet, sweet ammo!!


I just posted this error in PhReAk's Orb radar build.  I also entered it in Mantis.  I haven't played this build, but I've encountered it in one other, which I can't recall ATM.  This is probably something that's in CVS if both PhReAk and Taylor have the same error in their new builds.
Title: test for new pilot file changes
Post by: Singh on August 09, 2004, 03:57:25 pm
Quote
Originally posted by Goober5000
Primary or secondary?  If it's primary, you didn't set up the ballistic weapon entry properly... double-check your table.It's a one-way upgrade.  Older builds won't recognize the new pilots.


Secondaries - I was playing through the Vanilla FS2 campaign with the original .tbls, but the support ships still refuse to give me missiles!

Must be budget cuts I think. How does command expect us guys to survive the shivans escapes my grasp :( ;) :p
Title: test for new pilot file changes
Post by: Kosh on August 09, 2004, 05:10:44 pm
Nevermind. Sorry. Stupid question.
Title: test for new pilot file changes
Post by: TopAce on August 10, 2004, 01:21:58 pm
If it messes up my pilot, why do you release it?
Title: test for new pilot file changes
Post by: karajorma on August 10, 2004, 01:36:35 pm
Quote
Originally posted by TopAce
If it messes up my pilot, why do you release it?


Cause it doesn't mess up your pilot. It MAY mess up your pilot but probably won't. Taylor is just covering his back so that people don't come whining to him if it does.

I tried it myself and it seems to work perfectly. Besides if you follow the instructions he gave and backed up before trying it then you can always restore your old pilot should something nasty happen.
Title: test for new pilot file changes
Post by: Kosh on August 12, 2004, 06:59:11 pm
Quote
Originally posted by Singh


Secondaries - I was playing through the Vanilla FS2 campaign with the original .tbls, but the support ships still refuse to give me missiles!

Must be budget cuts I think. How does command expect us guys to survive the shivans escapes my grasp :( ;) :p



I had that exact same problem.
Title: test for new pilot file changes
Post by: Moonsword on August 12, 2004, 07:36:00 pm
Hey, Taylor, does this include the autnonav code from Kazan's 7/29 and 8/01 builds?
Title: test for new pilot file changes
Post by: taylor on August 12, 2004, 07:51:55 pm
Quote
Originally posted by Moonsword
Hey, Taylor, does this include the autnonav code from Kazan's 7/29 and 8/01 builds?

It should have the same thing as 7/29 (assuming all of that was in CVS) but 8/01 got missed I think.  Could be in there though so if you try and it doesn't work then you'll know for sure.

No one seems to be having any issues with this new pilot code and RL is starting to calm down enough for me to get back to SCP coding so I'll probably commit it this weekend.  Now is the time for everyone to do any last minute bug testing if you've been waiting.
Title: test for new pilot file changes
Post by: Kosh on August 12, 2004, 10:15:01 pm
Quote
No one seems to be having any issues with this new pilot code


Uh, support ships not working is a serious issue. That makes some missions like Bearbaiting impossible.
Title: test for new pilot file changes
Post by: taylor on August 12, 2004, 11:24:26 pm
Quote
Originally posted by Kosh
Uh, support ships not working is a serious issue. That makes some missions like Bearbaiting impossible.

That's unrelated to the new pilot code though.  Finding and fixing the support ship problem is on my list of things to do this weekend unless someone else gets it fixed first.
Title: test for new pilot file changes
Post by: Kosh on August 14, 2004, 06:52:55 pm
I'm not sure how the support ship thing is unrelated since it only happened with your new build. Please forgive my ignorance/stupidity.
Title: test for new pilot file changes
Post by: karajorma on August 14, 2004, 06:54:43 pm
Maybe Taylor made other code changes in this build in addition to the pilot file ones and they are the cause. Or someone added something to CVS that hadn't been properly tested.
Title: test for new pilot file changes
Post by: taylor on August 14, 2004, 11:06:09 pm
Quote
Originally posted by Kosh
I'm not sure how the support ship thing is unrelated since it only happened with your new build. Please forgive my ignorance/stupidity.

It's shown up in at least one other build that doesn't have the pilot file changes.  Refer to posts earlier in this thread.  The new pilot code doesn't make any changes that should effect the way ships or weapons operate.  Plus, support ships reload fine for me but I'm still looking for where the problem is hiding.
Title: test for new pilot file changes
Post by: Trivial Psychic on August 14, 2004, 11:07:25 pm
As I said, its not just this build.  I had this problem with PhReAk's Orb Radar build, and at least one other.
Title: test for new pilot file changes
Post by: Kosh on August 15, 2004, 09:09:50 pm
Strange, I had never had this problem until now. I understand now.
Title: test for new pilot file changes
Post by: Singh on August 18, 2004, 12:00:46 am
Quote
Originally posted by taylor

It's shown up in at least one other build that doesn't have the pilot file changes.  Refer to posts earlier in this thread.  The new pilot code doesn't make any changes that should effect the way ships or weapons operate.  Plus, support ships reload fine for me but I'm still looking for where the problem is hiding.


any progress on the support ship problem? Im stuck on hte main FS2 campaign and this problem wont let me continue!! (Its the mission with de-beaming the Sath)
Title: test for new pilot file changes
Post by: taylor on August 18, 2004, 01:07:31 am
Quote
Originally posted by Singh
any progress on the support ship problem? Im stuck on hte main FS2 campaign and this problem wont let me continue!! (Its the mission with de-beaming the Sath)

Unfortunately not.  I haven't been able to recreate this with any build.  It works fine for me every time.  I'm still looking but I haven't come across any code changes that would cause this yet.  I'll play with more builds tomorrow in the hopes that I can figure out what's triggering the problem.
Title: test for new pilot file changes
Post by: Liberator on August 18, 2004, 02:08:07 am
Singh, get the build from the YAB2 thread below this one, it works okay.  But you may have to use OGL, my D3D been fudging up lately.  The ole gibberish triangles and CTD.  OGL runs okay in default FS2 mode.
Title: test for new pilot file changes
Post by: Singh on August 18, 2004, 06:46:15 am
Quote
Originally posted by Liberator
Singh, get the build from the YAB2 thread below this one, it works okay.  But you may have to use OGL, my D3D been fudging up lately.  The ole gibberish triangles and CTD.  OGL runs okay in default FS2 mode.


Yeah, but that one doesnt have these pilot changes - which means I wont be able to fly with this pilot in that build and will have to start all over again!!
Title: test for new pilot file changes
Post by: EVOSteven on August 20, 2004, 12:33:05 pm
Its great and all, The build works fine, support ships rearm me but my Gamepad dosnt work in game, only a few buttons work like afterburners, primarys, secondarys, and if i push the counter mesure button, and then press another button a counter measure drops.
Title: test for new pilot file changes
Post by: Trivial Psychic on August 20, 2004, 02:27:04 pm
I had that same problem with Taylor's previous build, this (http://icculus.org/~taylor/fso/testing/20040729-win32.zip) build, which was Taylor's own take on the memory-leak-plug, not the one he colaborated with Kazan on.  I posted my similar experiences in the thread that that build was released in.

Later!
Title: test for new pilot file changes
Post by: taylor on August 20, 2004, 04:03:03 pm
Quote
Originally posted by Trivial Psychic
I had that same problem with Taylor's previous build, this (http://icculus.org/~taylor/fso/testing/20040729-win32.zip) build, which was Taylor's own take on the memory-leak-plug, not the one he colaborated with Kazan on.  I posted my similar experiences in the thread that that build was released in.

Kazan and I only worked on the FRED build as I remember.  The memleak fix was in the internal forum already for the D3D people to check over and Kazan just posted a CVS build which had the changes.  Mine was pretty much the same thing, just a plain CVS build but compiled with DevIL support.  That build was missing some of Kazan's joystick fixes if I remember right but this build should have them, I hope.

Quote
Originally posted by EVOSteven
Its great and all, The build works fine, support ships rearm me but my Gamepad dosnt work in game, only a few buttons work like afterburners, primarys, secondarys, and if i push the counter mesure button, and then press another button a counter measure drops.

Do other builds have this same problem?  The buttons are seen by the game right?  Try going into the controls config and setting up the buttons that don't work again.  If that works, or doesn't, let me know.  As mentioned above there is a chance that I missed Kazan's joystick fixes when I made this build.

There will soon be a new build with these pilot file changes, current CVS with the joystick and autopilot changes, some OpenGL beautification, the fix for the crashing movies and perhaps something special.  That build should be released this weekend but if you're lucky you could probably find it in cyberspace somewhere. :D
Title: test for new pilot file changes
Post by: Skippy on August 21, 2004, 01:49:17 pm
And a new FRED build ? :p