Welcome to Antipodes 8, the Pilot Code refresh brought to us by taylor.
Excerpts from the Internal post from taylor regarding the Pilot Code changes:
- Converts single-player pilots only.
Other than settings, multi-player pilots contain no real data to convert over that doesn't also exist in the single-player pilot file. Stats all come from the server, so what exists in the multi pilot is always getting tossed out anyway. Attempting to simplify the conversion code as much as possible to avoid issues meant that we can't reliably convert both single and multi pilots over to the new format.
- Can only convert savefiles for active mod(s).
The old pilot file format does not contain enough information to satisfy the requirements of the new format. So in order for this info to be provided so that conversion is possible, it can only successfully convert campaign savefiles that are basically compatible with the current mod list.
- Conversion only happens once per pilot.
If a .pl2 is successfully converted then it will also attempt to convert all .cs2 files for that pilot. But per the above caveat the .cs2 files won't necessarily convert. However once the .pl2 has be converted into the new format it will not attempt conversion again for that pilot. This means that any campaign savefiles which were not able to be converted will not be tried again. There are cumbersome ways around this, but we should probably avoid detailing that to users.
- Pilot file conversion won't happen on same named pilots.
If a .plr exists in the new format already which has the same name of any old pilot then the old pilot will not be converted/merged. Inferno pilots take precedence over regular pilots, so if a regular pilot has the same name as an Inferno pilot only the Inferno pilot will get converted.
- Older and retail pilots are never converted.
Older versioned .pl2/.cs2 files and retail .plr/.csg/.css files will not be converted with this new code. They do not contain enough information to migrate over. Hopefully someone will volunteer to make a pilot file utility which will allow users to do this manually (hint, hint).
What will happen:
In $FS2\data\players (where $FS2 represents where you have installed FreeSpace 2, preferably in "C:\Games") there is a "single" and a "multi" folder.
Inside each of those (if you have been following our recommendations) there will also be an "inferno" folder.
The code in this build will take any Inferno Pilot over non-Inferno pilot and convert it and place it into the $FS2\data\players folder as a *.plr file.
If that player is engaged in a campaign, it will create a campaign save-file as well (where campaign specific progress is stored, separate of the pilot itself, but still associated to said pilot).
This means that 1 pilot can now safely transition multiple mods/campaigns without breaking progress.
In my case, I loaded FS2 Open with MediaVPs in the FreeSpace 2 Campaign and it converted my default Inferno Single-player Template pilot "New", so I now have a "New.plr" and a "New.FreeSpace2.csg".
In loading up BluePlanet, I get a "New.BP.csg" (assuming that I load Blue Planet with the "New" pilot)
Highly Recommended that you make a copy/archive of your existing data\players\single and \multi folders and/or the files inside of them FIRST before running these builds.
These builds now also do away with the distinction of Inferno vs Non-Inferno builds.
All Inferno Build limits are STANDARD build limits now, removing the necessity to having separate builds.
Windows Builds Here
No Changelog, as this is just a Sync Update Build.
SSE and SSE2 Compiler Optimized Builds Recommended!FSO-Win-Ant8_SSE-r7538.7z
OS X Builds Here
Linux Builds Here
Container Box for any reported issues;
Reporters name is a link to post directly beginning the reported issue.
Brief summary of the reported issue.
Followed by any Mantis or SVN Commits related to it (where applicable).
mjn.mixael: Red-Alert Mission bug causing for crashes.
Potentially resolved by using Patches supplied by pyro3d.
rscaper1070: Changing Campaign in the campaign Selection Screen (or re-entering the Campaign Selection Screen) causes a CTD.
Additionally, when not causing a CTD, will cause a pop-up stating that the selected Campaign cannot be found, even though going to Techroom shows that campaign as active.
taylor: default key-mapping separate of Pilot file data.
Training messages do not take into account multiple binds for controls
(Fixed in Antipodes SVN Commit 6859)
Switching between Single and Multi modes (after Pilot Select screen) doesn't work (requires hitting "Convert" instead of "Select" and/or "Accept") (Mantis 2354)
(Fixed in Antipodes SVN Commit 6857)
Trivial Psychic: Converting Pilots already with progress in a campaign has progress reset.
Inverting Y-axis on mouse resets when restarting. Same with Absolute Throttle. (Mantis 2353)
(Fixed in Antipodes SVN Commits 6853 & 6856)
mjn.mixael: when the game is first loaded, it just loads the default mainhall until the campaign is reselected or continued.
(Now an ANT-8 specific issue, but at least now the main hall change SAVES, needs more testing to validate Commit 7091)
Ships display "0 ms" for velocity in Ship Selection screen.
(Fixed in Trunk Commit 6900 & Antipodes Commit 6901)
Additionally, assigned to me for Feedback and checking on:
Mantis 481, Mantis 1588, Mantis 1751, Mantis 1877, Mantis 1944