OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: Dioxine on December 01, 2015, 04:55:59 pm

Title: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 01, 2015, 04:55:59 pm
PLEASE ONLY RELEVANT POSTS HERE. QUESTIONS TO BE POSTED ON EITHER FAQ OR BUG REPORTS

UPGRADE: 0.95C to 0.96

X-Piratez v0.96 introduces a new mission to the mod:
STR_LOC_RET_BASE, a Reticulan base mission.
This will be missing from your game unless you start a new campaign.

The way OpenXCom generates missions is a bit odd. When you launch a campaign, it generates all the possible missions for the whole game. When you save your game, instead of saving missions that have already happened so they don't happen again, OpenXCom saves possible future missions in the save file.

This means that, when upgrading to a new version of a mod with new missions added, you will never see them. This is because they are not listed in your save file from the old version (because they didn't exist when you generated your new game). When reading in the save file with the new version, since the new missions are not listed, the game thinks that they have already happened!

This is an unfortunate design choice that makes changing missions a bad thing for upgrades. If instead missions that already happened where saved, you would never have this problem. Luckily, there is a fix: You can go in your save and add the new missions, so that they can be generated from the next month onwards normally.

In order to do this:
1 - open your game save (any text editor will do)
2 - search for "alienStrategy". This is the section of the game save that keeps all the possible missions.
3 - go down to "possibleMissions"
4 - under each region, you need to add the missing missions. Note: Dioxine also changed the odds of seeing another mission, so you can fix that as well! Below is a list of all the changes: Remove the lines in red, add the lines in green. If one of the lines in red is missing, that means you already saw the mission, so don't add the following green line.

Missions to add:
alienStrategy:
  possibleMissions:
    - region: STR_NORTH_AMERICA
      missions:
        Nothing changed
    - region: STR_ARCTIC:
      missions:
        STR_MISSION_LOC_RET_BASE: 25
    - region: STR_ANTARCTICA
      missions:
        STR_MISSION_LOC_RET_BASE: 25
    - region: STR_SOUTH_AMERICA
      missions:
        STR_MISSION_LOC_RET_BASE: 60
    - region: STR_EUROPE
      missions:
        STR_MISSION_LOC_RET_BASE: 60
    - region: STR_NORTH_AFRICA
      missions:
        STR_MISSION_LOC_RET_BASE: 60
    - region: STR_SOUTHERN_AFRICA
      missions:
       STR_MISSION_LOC_RET_BASE: 60
       STR_MISSION_RETICULAN_TRADING: 100
       STR_MISSION_RETICULAN_TRADING: 110
    - region: STR_CENTRAL_ASIA
      missions:
        STR_MISSION_LOC_RET_BASE: 60
        STR_MISSION_RETICULAN_TRADING: 60
        STR_MISSION_RETICULAN_TRADING: 70
    - region: STR_SOUTH_EAST_ASIA
      missions:
        STR_MISSION_LOC_RET_BASE: 60
        STR_MISSION_RETICULAN_TRADING: 60
        STR_MISSION_RETICULAN_TRADING: 70
    - region: STR_SIBERIA
      missions:
        STR_MISSION_RETICULAN_TRADING: 50
        STR_MISSION_RETICULAN_TRADING: 70
    - region: STR_AUSTRALASIA
      missions:
        STR_MISSION_LOC_RET_BASE: 60
        STR_MISSION_RETICULAN_TRADING: 50
        STR_MISSION_RETICULAN_TRADING: 70
    - region: STR_PACIFIC
      missions:
        STR_MISSION_LOC_RET_BASE: 60

Although this may sound like something bad happened, it didn't ;) Something great happened: Dioxine added even more awesome stuff for us to play with! :D

Enjoy!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 04, 2015, 07:50:02 pm
Upgrading 0.96 to 0.97.

- Remove all STR_MISSION_GOVT_PATROL entries from:

Code: [Select]
alienStrategy:
  possibleMissions:

- Rename all STR_FLOATER_??? to STR_GUILD_??? and STR_SNAKEMAN_??? to STR_CHURCH_???. Do NOT touch STR_FLOATER and STR_SNAKEMAN, though, leave them as they are.

One thing though... you should mention that the saves need to be moved into "piratez" subdirectory.

Precisely:
/user/piratez as opposed to /user
ALso, overwriting is generally always discouraged. Backup your saves and config, then purge the whole game directory before installing new version, just to be sure.

@Draco and Meridian (and basically anyone): you are officially entitled by yours truly to add the following changes, which reflect the changes in starting base:

- Add a Spike Launcher and 20 or so Spike Rockets to your storage
- Replace a single STR_GENERAL_STORES at your main base with STR_GENERAL_STORES_ARMORED
Title: Re: Important: Upgrading Saves Between Versions
Post by: Arthanor on December 06, 2015, 07:31:45 pm
Upgrading 0.96 to 0.97.
- Rename all STR_FLOATER_??? to STR_GUILD_??? and STR_SNAKEMAN_??? to STR_CHURCH_???. Do NOT touch STR_FLOATER and STR_SNAKEMAN, though, leave them as they are.

Note: In your saves under alienMissions, do not change STR_FLOATER_??? to STR_GUILD_???, nor STR_SNAKEMAN_??? to STR_CHURCH_???

@Dioxine: The alienRaces, as defined in Piratez_Armors.rul, are still STR_FLOATER_??? and STR_SNAKEMAN_???, even though their members are properly STR_GUILD_??? and STR_CHURCH_???.

I changed STR_FLOATER_NONCOM in my save under alienMissions, and the game promptly crashed as soon as I shot down a UFO, because it had no idea what STR_GUILD_NONCOM was.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 06, 2015, 10:20:32 pm
Oh yeah, you're absolutely right, Arthanor. Forgot about that. Don't change these 2 in alienMissions.
Title: Re: Important: Upgrading Saves Between Versions
Post by: niculinux on December 08, 2015, 01:28:28 pm
"Service communication" the 0.97 version is affected by the some corpse bugs that  appear instead of the proper ones: should you have any problem, pleaseopen the file
Code: [Select]
Piratez_Armors.rul with any text editor and replace instance of
Code: [Select]
"corpseGeo: STR_FLOATER_CORPSE" wtih 
Code: [Select]
"corpseGeo: STR_GUILD_CORPSE" to fix the floater issue.

Might be also problems which lead to appear the snakemen corpse in the inventory, so to fix also this, in the same file replace and replace
Code: [Select]
STR_SNAKEMAN_CORPSE with
Code: [Select]
STR_CHURCH_CORPSE
(source: here (https://openxcom.org/forum/index.php/topic,3626.msg55726.html#msg55726) and here (https://openxcom.org/forum/index.php/topic,3626.msg55731.html#msg55731)
Title: Re: Important: Upgrading Saves Between Versions
Post by: Cristao on December 11, 2015, 04:18:43 pm
Any important things to note while upgrading from 0.97 to 0.97A?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 11, 2015, 04:34:40 pm
No, not really, there were no changes that could break saves. At most, you may check your bases' logs and soldier loadouts after upgrading.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 21, 2015, 12:57:28 am
Upgrading saves from 0.97A to 0.97B:


- Remove all STR_MISSION_LOC_RET_BASE and STR_MISSION_RETICULAN_TRADING entries from:

Code: [Select]
alienStrategy:
  possibleMissions:
Title: Re: Important: Upgrading Saves Between Versions
Post by: Galwail on January 30, 2016, 12:13:51 pm
Do we need to manually change anything to upgrade from 0.97C to 0.97D?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on January 30, 2016, 01:43:09 pm
Nope. If you're ultra-paranoid, you may clear all inventory from ships then re-arm the gals again, but I don't think anything will be amiss even if you don't do that.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Zharkov on January 30, 2016, 04:43:58 pm
Nope. If you're ultra-paranoid, you may clear all inventory from ships then re-arm the gals again, but I don't think anything will be amiss even if you don't do that.

Actually, I am a bit paranoid and I am facing some problems with gals finding themselves in armors with fewer pouches suddenly. Seems that equipment is still put into non-existing places according to the "equipmentLayout:" and cannot be removed. Clearing all equipment from vessels' inventory only affects the gals assigned to a vessel. As a solution, one can manually delete all  the "equipmentLayout:"s from the .sav. However, the problem can come back at you, when you change a gal's armor to a less pouchy one.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Meridian on January 30, 2016, 05:27:13 pm
Actually, I am a bit paranoid and I am facing some problems with gals finding themselves in armors with fewer pouches suddenly. Seems that equipment is still put into non-existing places according to the "equipmentLayout:" and cannot be removed. Clearing all equipment from vessels' inventory only affects the gals assigned to a vessel. As a solution, one can manually delete all  the "equipmentLayout:"s from the .sav.

This doesn't happen for me... the equipment from non-existing slots is put on the ground.
Do you have a save where I could see this?

Also, try pressing "X" (or whatever shortcut you have for de-equiping)... this should remove the "hidden" items, if there are any and put them on the ground.

However, the problem can come back at you, when you change a gal's armor to a less pouchy one.

This definitely doesn't happen. When you change the armor, all equipment is first put on the ground, then armor is changed, fixed weapons assigned and then equipment is put back in place... if possible. What didn't fit stays on the ground.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Zharkov on January 30, 2016, 05:48:49 pm
This doesn't happen for me... the equipment from non-existing slots is put on the ground.
Do you have a save where I could see this?

Actually, I am a bit paranoid [...]
so, no.

Also, try pressing "X" (or whatever shortcut you have for de-equiping)... this should remove the "hidden" items, if there are any and put them on the ground.

Tried this, didn't work.

This definitely doesn't happen. When you change the armor, all equipment is first put on the ground, then armor is changed, fixed weapons assigned and then equipment is put back in place... if possible. What didn't fit stays on the ground.

That might be the solution. At least for me, equipping gals with the armor type Eve and then changing back solves the problem.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on January 30, 2016, 05:53:28 pm
There's a button to unequip everything. If this doesn't work Zharkov, then something's probably wrong with your install.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on January 30, 2016, 06:29:10 pm
Yeah, this was an issue when inventory slots were changed, and 'x' worked. Now there's no (conceivable) possibility for items to end up in the 'hidden' inv slots because they're not hidden, they're blocked. If you're missing some items, there are many many other reasons this could happen (vide Meridian's last hideout defense) :)
Also this WON'T work if you don't use the build packaged with the mod (or an upgraded one).
Title: Re: Important: Upgrading Saves Between Versions
Post by: Zharkov on January 30, 2016, 09:10:10 pm
Sry, everyone, seems I actually botched up my .sav which led to some unexpected side effects. I was wrong, everything works as intended!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Foxhound634 on January 31, 2016, 10:48:42 pm
upgrading save from 0.97C to 0.97D, anything i should be mindful of?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on February 01, 2016, 01:34:50 am
Answered already, but the topic got spammed a bit... Please do not post here without any relevant info. This is supposed to be a topic for those who seek it.

So: no, no upgrades between 0.97 C and D needed.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 13, 2016, 07:01:13 pm
To upgrade to 0.98F, please edit your save and change research topic names (NOT item names):
STR_CLOCKWORK_GUN to STR_CLOCKWORK_GUN_PRODUCTION
STR_PPSH to STR_PPSH_PRODUCTION
Title: Re: Important: Upgrading Saves Between Versions
Post by: Arthanor on May 13, 2016, 09:39:16 pm
Anything to add/change in the "alienStrategy" section of saves? Since you introduced new missions, I assume there should be.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 14, 2016, 01:02:58 am
No, I'm hopefully never touching 'alien strategy' again. All missions are added through missionscripts.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Golnor on May 14, 2016, 02:43:06 am
I went from  .98c to .98e. Anything to be worried about?

Also will probably upgrading to .98f once I get home.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 14, 2016, 10:16:29 am
Nah, nothing serious.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on June 07, 2016, 07:17:00 pm
Non-critical save upgrade (no error or crash if you don't):
If you're advanced in a campaign, upgrade to 0.99 by finding

Code: [Select]
discovered:

in the save file, then adding below it the following list:

Code: [Select]
  - STR_CONTACT_FUSO_ZZZ
  - STR_CONTACT_DEALERS_ZZZ
  - STR_CONTACT_KRAZY_HANNA_ZZZ
  - STR_CONTACT_GENERAL_SUPPLIES_ZZZ
  - STR_CONTACT_SHIP_JUNKYARD_ZZZ
  - STR_SURVIVAL_ZZZ
  - STR_BALLISTICS_ZZZ
  - MEGASCORPION_ARMOR
  - STR_MEGASCORPION_CORPSE
  - STR_MEGASCORPION_TERRORIST
  - STR_HARPOON
  - STR_COLT45
  - STR_SNUBBY
  - STR_MP
  - STR_PISTOL_LT
  - STR_REVOLVER
  - STR_LUGER
  - STR_PISTOL_BM
  - STR_PISTOL
  - STR_SMG
  - STR_DB_SHOTGUN
  - STR_SHOTGUN_PA
  - STR_COMBAT_SHOTGUN
  - STR_RIFLE_AK
  - STR_RIFLE_M16
  - STR_RIFLE_SA80
  - STR_WINCHESTER
  - STR_HUNTING_RIFLE
  - STR_GRENADE
  - STR_GRENADE_FRAG
  - STR_PISTOLS_SUMMARY
  - STR_SHOTGUNS_SUMMARY
  - STR_BEER
  - STR_MEGASCORPION_POISON
  - STR_VIOLENCE
  - STR_CUNNING
  - STR_SURVIVAL
  - STR_WEIRDNESS
  - STR_MOLOTOV
  - STR_BALLISTICS
  - STR_COMMUNICATIONS
  - STR_CONTACT_GENERAL_SUPPLIES
  - STR_CLOAKING_DEVICE
  - STR_CONTACT_SHIP_JUNKYARD
  - STR_CONTACT_KRAZY_HANNA
  - STR_CONTACT_DEALERS
  - STR_CONTACT_FUSO
  - STR_WORKSHOP
  - STR_LARGE_RADAR_SYSTEM
  - STR_LIBRARY
  - STR_GENERAL_STORES_LARGE
  - STR_ANIMAL_TAMING
  - STR_BOW_H
  - STR_TORCH
  - STR_MONSTER_HUNT
  - STR_RUNT_OUTFIT
  - STR_BRAINER_OUTFIT
  - STR_SC_WIRE
  - STR_TINKERING
  - STR_WENCH_OUTFIT
  - STR_MISSION_GUILD_OUTPOST

This will give you all the early tech that was added in the 0.99 version. Naturally you can ignore this and research them all normally, too. :)
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on July 31, 2016, 08:51:36 am
Updating for new techs (0.99 -> 0.99A.1); mid-game campaigns or later.

Code: [Select]
  - STR_MINI_LASER
  - STR_SCI_REP
  - STR_FLINTLOCK_RIFLE
  - STR_SNIPER_SUMMARY
  - STR_SMG_SPIKED
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on August 18, 2016, 02:11:41 pm
Updating saves for new early techs (0.99A.1 -> 0.99B); do not do this if just started.

Code: [Select]
  - STR_GYMNASTICS
  - STR_SIDEWINDER_MISSILES
  - STR_SIDEWINDER_REPORT
  - STR_CANNON_REPORT
  - STR_MED_CANNON_REPORT
  - STR_CONTACT_CAR_THIEVES
  - STR_CONTACT_CAR_THIEVES_ZZZ
  - STR_DATA_MINING
  - STR_SMITHING
  - STR_SMITHING_ZZZ

Be sure to return all craft to bases before upgrading, to avoid unpredictable behaviour
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on August 20, 2016, 11:58:09 am
A mobile 24/7 surveilance base needs proper crew :) A mobile 24/7 surveilance base needs proper crew :) But I was rather speaking about interceptors, cheating on Zeppelins won't cause problems since they don't intercept anything.
Title: Re: Important: Upgrading Saves Between Versions
Post by: nrafield on August 20, 2016, 12:09:18 pm
I never liked the Zeppelins anyway. I'd rather put Hideouts with radars all over the world and have to defend them all the time instead. I'd even be able to get proper air superiority that way instead of wasting a hangar slot for a Zeppelin
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on August 20, 2016, 12:14:10 pm
I never liked the Zeppelins anyway. I'd rather put Hideouts with radars all over the world and have to defend them all the time instead. I'd even be able to get proper air superiority that way instead of wasting a hangar slot for a Zeppelin

I agree, but it's a matter of personal priorities. Zeppelins allow you to cover much of the Earth relatively early, at relatively low costs (as compared to having many Hideouts). But the question is, do you really need this coverage? Probably not.
Anyway, I usually don't go beyond just one Zeppelin early on.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on September 03, 2016, 05:17:24 pm
from 0.99B to 099C:

Code: [Select]
  - STR_CAMOUFLAGE
  - STR_HEATVISION
  - STR_CONTACT_BUILDERS
Title: Re: Important: Upgrading Saves Between Versions
Post by: saladofstones on November 01, 2016, 03:21:51 am
Does 099D require anything done? I noticed it added a new environment and at least two new missions.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Ethereal_Medic on November 06, 2016, 06:10:16 pm
@saladofstones
The update to the current version seems to not need new strings for the save file since all new missions are *unlocked* via research topics. As any new researched mission, it will be integrated with the start of the next month.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on November 13, 2016, 05:09:37 am
Update to 0.99E.1:
Upgrading on Battlescape unadvised.
> If you have started a campaign pre-0.99E, add STR_CODEX_GREEN to your items.
> If you have started/upgraded to 0.99E, and researched the Tiny Drill Investigation, but didn't build the Ventura yet, replace your STR_MENACING_HULL with:
- If researched Gray Codex, STR_FORTUNA_HULL;
- If researched Red Codex, STR_METALLO_HULL;
- If researched Green Codex, STR_VENTURA_HULL;
- If researched Gold Codex, STR_FUEGO_HULL.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Narvi on November 13, 2016, 08:20:01 pm
Update to 0.99E.1:
Upgrading on Battlescape unadvised.
> If you have started a campaign pre-0.99E, add STR_CODEX_GREEN to your items.
> If you have started/upgraded to 0.99E, and researched the Tiny Drill Investigation, but didn't build the Ventura yet, replace your STR_MENACING_HULL with:
- If researched Gray Codex, STR_FORTUNA_HULL;
- If researched Red Codex, STR_METALLO_HULL;
- If researched Green Codex, STR_VENTURA_HULL;
- If researched Gold Codex, STR_FUEGO_HULL.
Could you be a bit clearer on where to place that? I'm not sure where 'items' is.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Zharkov on November 13, 2016, 09:50:16 pm
Could you be a bit clearer on where to place that? I'm not sure where 'items' is.

Search for "items:" in your .sav and add to list "STR_CODEX_GREEN: 1". Be aware that there may be more than one "items:" entry - most likely the second one marks the list of the items in your hold while the first one is your ship's inventory.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Narvi on November 14, 2016, 12:28:32 pm
Search for "items:" in your .sav and add to list "STR_CODEX_GREEN: 1". Be aware that there may be more than one "items:" entry - most likely the second one marks the list of the items in your hold while the first one is your ship's inventory.
There are two, yes. Which one should I put it into?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Zharkov on November 14, 2016, 01:48:43 pm
There are two, yes. Which one should I put it into?

The second one!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Narvi on November 14, 2016, 02:40:32 pm
The second one!
I'm getting 'illegal tab when looking for indentation'.

EDIT: nvm got it oxcom is fussy when saveeditting with notepad ++
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on November 14, 2016, 04:00:21 pm
EDIT: nvm got it oxcom is fussy when saveeditting with notepad ++

It's the YAML that is fussy. :P
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on December 21, 2016, 07:05:50 pm
Squire is new, the others are just updated items. What happens is that some updated objects are identified as "new" for several reasons, altered id string being the most common.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on December 25, 2016, 03:28:19 am
Stop polluting the god damned topic. What did I tell in the OP, eh? This is ANNOUNCEMENTS not QUESTIONS topic.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on February 04, 2017, 07:08:07 am
For upgrading during a campaign, add these techs:

STR_WAT_DO
STR_PIRATE_LIFE
STR_PARTY
STR_CLOTHING_UC
STR_JACKSTOWN_SCOUTING
STR_JACKSTOWN_ZZZ
STR_INSPECT_MACHINERY
STR_MENACING_HULL
STR_KULTUR
STR_RECRUITMENT
STR_SMALL_RADAR_SYSTEM
STR_PERSUASION
STR_GOBLIN_ROKKITZ_UC
STR_MINE
STR_SMGS_SUMMARY
STR_EXPLOSIVES_SUMMARY
STR_HEAVY_WEAPONS_SUMMARY
STR_ENVIRO
STR_LOOT_DISTRIBUTION

If you've changed Tiny drill into the Golden Codex, add the following items to your base:

    STR_CLOTHING_OFFICER: 1
    STR_OFFICERS_BATON: 1
Title: Re: Important: Upgrading Saves Between Versions
Post by: Scorrpio on March 08, 2017, 07:29:15 pm
The 99F.1 > 99F.3 looks fairly heavy.  I suppose certain save changes are in order for the new missions?  Thx!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 09, 2017, 01:59:13 am
Not much, you probably need to re-research a few techs, depending on your advancement in the campaign, but all of them are quite light time-wise and generate some extra points.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Scorrpio on March 10, 2017, 07:52:28 am
Update: moving to F3 was a bit problematic. I suppose I could provide the pre-migration save file.  Durathread working showed up as available and researched fine.  But Electricity/Electronics would not.  And techs dependent on it (i.e. aye-phone) are not showing either.   Tried editing save file to add the tech to my 'popped research' list,  and to research rule list with a 0 but did nor help.   Ended up adding tech as researched.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 10, 2017, 09:42:25 am
No need I tested it myself and found no such problems. You might have been simply missing prerequsites.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Scorrpio on March 10, 2017, 02:58:01 pm
Definitely had the pre-reqs(personal database, personal computer, researching, integrated devices)  Heck even had a whole lot of dependent stuff: slave AI, optronics, overcharge radar, brainer outfit...  but the tech itself did not show up as researchable and when I researched say, landmine, aye-phone would not come up.  I wonder if the algorithm determining available topics does some kind of pruning and may skip a tech if it sees something dependent on it first?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 10, 2017, 09:26:52 pm
Damn it, then maybe there is something I don't realize... Sure, send that save, then. Not like you seem to need any help, but I might have made some error... Or don't realize something about the engine...
Title: Re: Important: Upgrading Saves Between Versions
Post by: Martin on March 11, 2017, 01:44:06 am
The STR_BASIC_ELECTRONICS tech is flagged as both needing and destroying item, which is why reseaching "electricity & electronics" never shows up as the item doesn't drop from any bad guy.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 11, 2017, 02:01:21 am
Argh, what a stupid mistake on my part! Thank you. It should have neither of these flags.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on April 01, 2017, 05:35:45 am
Upgrading to F.5:

Delete any
        STR_MISSION_RAID
        STR_MISSION_SMUGGLING

from 'available missions' in 'alien strategy'
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 09, 2017, 06:36:58 am
save update to 0.99G:
- Replace all STR_SECTOID_CORPSE with STR_ACADEMY_CORPSE
Title: Re: Important: Upgrading Saves Between Versions
Post by: kikanaide on May 15, 2017, 09:54:06 pm
Do we need to add anything for the new Bounty Hunt missions?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Noir_CZ on May 16, 2017, 08:16:43 am
And another question, will it be OK, if I replace it after few days of using the new update?
And yet another one, do we just replace all STR_SECTOID_CORPSE texts or just literaly this one and leave anything like STR_SECTOID_CORPSE_EXTRACTION unchanged?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 16, 2017, 10:20:30 am
This one, and nothing more. If you don't do it, not a biggie, only all Integrated Circuits you have will change into Sectoid Corpses that can be sold for $20k apiece.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Noir_CZ on May 16, 2017, 10:40:22 am
This one, and nothing more. If you don't do it, not a biggie, only all Integrated Circuits you have will change into Sectoid Corpses that can be sold for $20k apiece.
So that's why I had suddenly 20 corpses. :-) Thanks. If it is not problém, I am not going to tinker with it and collect the integrated circuits anew.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Mammothus on July 05, 2017, 05:52:43 pm
First off, thank you Dioxine for this wonderful mod. I'm enjoying it immensely and look forward to all the new content being developed. :)

Are any modifications necessary to take a save file from 0.99G.1 to 0.99G.2? Do the new missions need to be added to the list in the file? Thanks!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on July 05, 2017, 06:05:27 pm
Thanks a lot. And no, if there is nothing posted here, then it means nothing is needed.
Title: Re: Important: Upgrading Saves Between Versions
Post by: raziel_malakai1981 on October 03, 2017, 02:08:32 am
just a quick question is any of this relevant if i'm upgrading from .99g1 to .99h1?
thanks in advance
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on October 28, 2017, 07:03:56 pm
Before upgrading from 99H1 to H2, use or lose your cannon magazines (the craft loot). Also, don't forget to disable Naughty Mod if you're using it (it has been merged into the main mod).
Title: Re: Important: Upgrading Saves Between Versions
Post by: kikanaide on December 31, 2017, 06:43:20 pm
Paraphrased from Ivan's post over in the download thread:

Before/after upgrading to I1, change any STR_ALIEN_CONTAINMENT to STR_JAIL in your .sav file.

Dioxine, feel free to correct if this is in error, but my jails became Cryo Prisons when I upgraded.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on January 02, 2018, 11:45:10 am
Yeah they did. But this isn't detrimental to the player, so there was no need to mention it from my side.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Cristao on March 22, 2018, 12:41:04 pm
Any key things to note in upgrading?
Title: Re: Important: Upgrading Saves Between Versions
Post by: ivandogovich on March 22, 2018, 02:40:05 pm
If you have a cryoprison, Upgrading from 99I1 to 99I2:

In your save file:
under your base (name) and its facilities:
replace STR_ALIEN_CONTAINMENT with STR_CRYO_PRISON in the save file.

ie:
Code: [Select]
      - x: 1
        disabled: false
        type: STR_ALIEN_CONTAINMENT
        y: 4
        hadPreviousFacility: false

becomes
Code: [Select]
      - x: 1
        disabled: false
        type: STR_CRYO_PRISON
        y: 4
        hadPreviousFacility: false

if you try to edit a save after the upgrade you may need to paste this in as that facility entry was expunged in my base when the game loaded.
Title: Re: Important: Upgrading Saves Between Versions
Post by: mamix on April 03, 2018, 04:50:18 pm
After upgrading from 99I1 to 99I2, equipping .6g buckshot to the sawd-off is no longer an option.
Wondering if that's intended.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on May 04, 2018, 10:52:19 pm
On upgrade to 0.99J, the following prisoners will transform:
Marsec Operatives into Guild Navigators
Marsec Bodyguards into Guild Medics

It is advised to sell or otherwise utilize them before updating to keep normal game experience.
Title: Re: Important: Upgrading Saves Between Versions
Post by: LytaRyta on May 28, 2018, 09:24:39 pm
hi, amybe heretic approach, / issue  - but is it really need transitions, upgrading saves from version to next version ?  every "version after version" ? ---->

---> bcos, i just copied my saves from XPiratez v.0.99E ----> to today pack 0.99J1  -- and still nothing wrong, no crashing, no bad images, no wrongs stuffs, etc.. no dead "links"

..very robust, stable ..game,  (engine strong ;D :p  8) :8
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on May 28, 2018, 10:04:36 pm
Save edits are in fact sometimes required to not break a save with some updates. When it is needed this is the thread where the relevant instructions can be found.
Title: Re: Important: Upgrading Saves Between Versions
Post by: silencer_pl on July 09, 2018, 10:19:01 am
Hi.

Do new missions for 99J3 require save edit?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on July 09, 2018, 10:58:10 am
Ah, right. Upgrade just before the end of the month, if possible.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Eddie on July 09, 2018, 01:12:42 pm
What are the missions that could break the game? Church ships were mentioned somewhere. I assume if none of these missions are active in my save then I can upgrade right away.

Is it possible and not too much trouble to give a list?
Title: Re: Important: Upgrading Saves Between Versions
Post by: niculinux on July 09, 2018, 01:31:33 pm
Upgrading from 0.99J2 to 0.99J3 there is a bug involving "Myths: The Second Snake", some strings are missing in the piratez.rul file making that iten unresearchable, to fix replace the .rul file with one kindly  provided here by FG (https://openxcom.org/forum/index.php/topic,4058.msg98875.html#msg98875)
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on July 09, 2018, 04:06:34 pm
So what happened this patch is that the Eridaini(snakemen) where implemented. However prior to now the church was using the snakemen faction portion of the rules. To avoid unnecessary future mental gymnastics snakes are now snakes and the church is a separate "new" faction. That however does mean that until a new month rolls and a new set of missions gets rolled, the engine is referring to things that potentially no longer exist. Just avoid church interactions until a new month comes around.   
Title: Re: Important: Upgrading Saves Between Versions
Post by: BBHood217 on July 09, 2018, 04:56:37 pm
The Guild internally uses the floater faction; so when the Nubirans are finally implemented, is the Guild gonna become a new faction too?

And how come this wasn't done with the Academy, who are still internally sectoids while the actual sectoids are instead a new faction?
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on July 09, 2018, 05:26:43 pm
 
The Guild internally uses the floater faction; so when the Nubirans are finally implemented, is the Guild gonna become a new faction too?

And how come this wasn't done with the Academy, who are still internally sectoids while the actual sectoids are instead a new faction?

Honestly i have no idea, the end user should never see this sort of under hood stuff unless something breaks, like missing strings, or the present gearshift hiccup. If dioxine wants things structured a certain way under the hood it only really affects/helps dioxine and anybody fiddling with ruleset level stuff.

Thou with the sectoids i speculate that is an artifact of the early days. The academy had most of the full range of vanilla missions and ships, and the sectoids only have a few ships and a tiny number of missions. Editing the vanilla faction to call the academy stuff and then creating the relatively smaller entity of the sectoids from scratch was probably alot less work.
Title: Re: Important: Upgrading Saves Between Versions
Post by: cc on July 20, 2018, 12:20:53 am
All instances of STR_COURTESAN_MK2 need to be changed to STR_DANCER_SLAVE.
Title: Re: Important: Upgrading Saves Between Versions
Post by: DaEMon on August 28, 2018, 01:05:09 am
hi,

In order to upgrade from 0.99j4 to 0.99j5, do I need to edit the savefiles?

Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on August 28, 2018, 04:06:29 am
nothing will break, thou do be aware you may have sell of some stuff in your bases if your where relying on low tier slaves for storage.
Title: Re: Important: Upgrading Saves Between Versions
Post by: DaEMon on August 28, 2018, 06:26:36 pm
Thanks for the quick reply. Slave situation noted. But I am worried about the new mission (Pirate hunt) not spawning. If that mission requires a new tech to unlock, then there should be no problem, it should spawn when I research it. But if it is a mission that spawns on its own then I won't get it.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Rince Wind on August 28, 2018, 06:58:35 pm
I think it should go into the rotation in the next month.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on August 31, 2018, 10:19:50 pm
Be warned: the new Bounty Prizes system that makes the already researched ones disappear can lead to weird results if applied to a campaign in progress. You won't lose any prizes, but the system might work a bit spottily. So don't bug report it unless on a fresh campaign.
Title: Re: Important: Upgrading Saves Between Versions
Post by: ivandogovich on September 01, 2018, 08:19:44 pm
About the trophies: just put all the "Preq: xxxtrophy" techs in your queue with 0 brainers.  They should go away, and allow you to manufacture them.
Title: Re: Important: Upgrading Saves Between Versions
Post by: incas on September 13, 2018, 02:09:23 pm
About the trophies: just put all the "Preq: xxxtrophy" techs in your queue with 0 brainers.  They should go away, and allow you to manufacture them.

They do but after manufacturing them they're in stock without being able to research them for real.
Title: Re: Important: Upgrading Saves Between Versions
Post by: DeWolf on October 06, 2018, 11:24:29 pm
So any changes needed for 99j6b to j7?
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on October 07, 2018, 10:56:47 pm
No, no edits required, but fair warning if you have any of the automated cannon tanks, they will become parts to make the new piloted versions.
Title: Re: Important: Upgrading Saves Between Versions
Post by: DeWolf on October 08, 2018, 04:55:51 am
NICE!
Title: Re: Important: Upgrading Saves Between Versions
Post by: Mathel on October 27, 2018, 09:12:38 am
Hello, I am about to update from 0.99J7 to J8 and would like to know, if there are any edits or precautions I should take.
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on October 27, 2018, 08:33:28 pm
none enjoy
Title: Re: Important: Upgrading Saves Between Versions
Post by: 2much on November 09, 2018, 12:38:33 am
Hmm... Haven't had a monster hunt, other than shamblers, in 17 mos and I don't see it gated behind any research. Is my game bugged? J7 to J8 btw.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Rince Wind on November 09, 2018, 01:32:01 am
It is behind ah... !Monster Hunt! or something.
Title: Re: Important: Upgrading Saves Between Versions
Post by: 2much on November 09, 2018, 01:45:07 am
Thanks Rinbce! Do you remember what line of research led to !Monster Hunt? I found these lines in my save:

   missions: ~
    - region: REGION_MONSTER_HUNT_BLOOD_DOG
      missions: ~
    - region: REGION_MONSTER_HUNT_CHUPACABRA
      missions: ~
    - region: REGION_MONSTER_HUNT_GIANTSPIDER
      missions: ~
    - region: REGION_MONSTER_HUNT_MEGASCORPION
      missions: ~
    - region: REGION_MONSTER_HUNT_SHAMBLER

And save attached. Thanks.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Rince Wind on November 09, 2018, 10:17:29 pm
Just use the techtree viewer with middle click on a tech. Then search.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Mrekalis on November 18, 2018, 06:14:10 pm
Hello, I downloaded version 99j1, played for a bit, then took a break because I figured like most mods that development was going to proceed at a snail's pace. What I didn't count on was Dioxine's excellent turnover time, and now I'm multiple updates behind. I figure getting into the minutae of each update at this point would just be a giant headache for everyone involved so, to simplify, would it be a better idea to track down all of the legacy versions and Upgrade->Open Save->Save Game->Upgrade->Etc or should I be reasonably fine just jumping to the latest version?

For the record, all I'm concerned with is bugs that will either crash the game or bug the research tree and otherwise make the game impossible to complete. A few items transforming or going missing is always something I can recover from. My tech tree progress is 18%, if that matters.
Title: Re: Important: Upgrading Saves Between Versions
Post by: LytaRyta on November 18, 2018, 07:52:47 pm
Hello, I downloaded version 99j1, played for a bit, then took a break because I figured like most mods that development was going to proceed at a snail's pace. What I didn't count on was Dioxine's excellent turnover time, and now I'm multiple updates behind. I figure getting into the minutae of each update at this point would just be a giant headache for everyone involved so, to simplify, would it be a better idea to track down all of the legacy versions and Upgrade->Open Save->Save Game->Upgrade->Etc or should I be reasonably fine just jumping to the latest version?

For the record, all I'm concerned with is bugs that will either crash the game or bug the research tree and otherwise make the game impossible to complete. A few items transforming or going missing is always something I can recover from. My tech tree progress is 18%, if that matters.

18 % techTree progres ?
anyway, you can always start from new beginning,

begin, start with a new game, why dont
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on November 18, 2018, 09:23:47 pm
Hello, I downloaded version 99j1, played for a bit, then took a break because I figured like most mods that development was going to proceed at a snail's pace. What I didn't count on was Dioxine's excellent turnover time, and now I'm multiple updates behind. I figure getting into the minutae of each update at this point would just be a giant headache for everyone involved so, to simplify, would it be a better idea to track down all of the legacy versions and Upgrade->Open Save->Save Game->Upgrade->Etc or should I be reasonably fine just jumping to the latest version?

For the record, all I'm concerned with is bugs that will either crash the game or bug the research tree and otherwise make the game impossible to complete. A few items transforming or going missing is always something I can recover from. My tech tree progress is 18%, if that matters.

You should be fine, just save at the very end of the month before upgrading. Finding out what has changed... lol. Study the changelogs in the opening post or readme, but they don't detail all the hundreds of minute changes.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Abyss on November 19, 2018, 12:01:08 pm
My tech tree progress is 18%, if that matters.
The wise option is to start from the beginning. That's going to be a completely different game with all the changes given
Title: Re: Important: Upgrading Saves Between Versions
Post by: Mrekalis on November 19, 2018, 05:08:21 pm
The wise option is to start from the beginning. That's going to be a completely different game with all the changes given

Would you consider it as radical as the change between the very old version of Piratez where you started with the Bonaventura right off and the current edition? Otherwise, like a lot of overly sentimental XCOM players I've gotten attached to the few veterans that have managed to survive. Additionally, the game feels like it just opened up for me.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Abyss on November 20, 2018, 02:24:04 am
I've gotten attached to the few veterans that have managed to survive.
Sure! I think that the game's brilliant is the early game (0-30% progress, and especially the first year). It is a lot more about tactics and equipment, sudden events and opportunities. Also, my opinion that it is a mistake getting attached to the soldiers. You are the manager, that's your project. Boost it. Also, try Iron Man, that's makes it completely immersive. But it takes a lot more micromanagement.
Title: Re: Important: Upgrading Saves Between Versions
Post by: ivansanchez on November 25, 2018, 09:43:48 pm
For those wanting to upgrade to 0.99J9:

Be aware that the flak turrets don't have built-in crew quarters anymore. If you're depending on that to host people in your base, consider building an extra normal barracks before upgrading. Failure to do so might prevent you from transferring crew or ships between bases until more barracks are built.
Title: Re: Important: Upgrading Saves Between Versions
Post by: thevideogameraptorboggle on January 29, 2019, 01:22:45 am
Will anything break upgrading from J10 to J11?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on January 29, 2019, 10:43:33 am
Will anything break upgrading from J10 to J11?

No, otherwise there would be a post here.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Jimboman on January 29, 2019, 06:09:01 pm
No, otherwise there would be a post here.

Nothing broke with Piratez, but the 'experimental' openxcom exe bundled with J11 didn't work on my win7 32bit, so I replaced it with the lastest exe from xcomfiles and it works ok.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on January 29, 2019, 06:42:39 pm
Nothing broke with Piratez, but the 'experimental' openxcom exe bundled with J11 didn't work on my win7 32bit, so I replaced it with the lastest exe from xcomfiles and it works ok.

As mentioned elsewhere: XCF is using the experimental exe as well, from 16.01.2019.
Maybe it's a 32bit issue only?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Kharim on January 29, 2019, 08:57:05 pm
After upgrading to new version:
-I can't purchase Chinese Dragon anymore (although I have chosen red codex)
-I can't hire Hands (I know it is supposed to be mutually exclusive with slave soldiers now but it seems to default to slaves once you have it researched)
Title: Re: Important: Upgrading Saves Between Versions
Post by: Jimboman on January 29, 2019, 09:20:42 pm
As mentioned elsewhere: XCF is using the experimental exe as well, from 16.01.2019.
Maybe it's a 32bit issue only?

It must be.  I DL'd the latest 32bit openxcom exe (2019-01-23) from the openxcomex thread and it's working fine.  The one bundled with J11 must be a 64bit exe.
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on January 30, 2019, 03:44:12 am
After upgrading to new version:
-I can't purchase Chinese Dragon anymore (although I have chosen red codex)
-I can't hire Hands (I know it is supposed to be mutually exclusive with slave soldiers now but it seems to default to slaves once you have it researched)

Probably string name changes/minor tree alterations. I dont know how to solve the second issue. For the first, use the tech tree viewer to identify the missing tech entries for the red dragon and add them by edit your save file to include the missing links.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on January 30, 2019, 11:12:17 am
You must still research it now, even with Red Codex, it's not given for free anymore.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Kharim on January 30, 2019, 04:43:23 pm
Thanks.

What about the Slave Soldiers is there any way to fix it? Maybe by changing research to uncomplete in an unupgraded save? Am I right?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Ninawindia on January 31, 2019, 05:47:47 pm
Anyone got the name for the demon Lord mission? Can't find it in the new games saved text to add to my old save for upgrading.
Title: Re: Important: Upgrading Saves Between Versions
Post by: thevideogameraptorboggle on February 01, 2019, 05:27:46 am
I upgraded from J10 to J11 and got an error message. "WARNING: This save relies on mods that are unavailable. Missing content will be removed, and it may fail to load. Continue?" Was there something I forgot to copy? I copied the UFO folder, my save games and options.cfg. I'll try openxcom.log next.
Title: Re: Important: Upgrading Saves Between Versions
Post by: thevideogameraptorboggle on February 01, 2019, 05:39:36 am
openxcom.log didn't help.
Title: Re: Important: Upgrading Saves Between Versions
Post by: thevideogameraptorboggle on February 01, 2019, 05:51:39 am
The save still loaded. Everything seems to be in order, except I have lost the ability to purchase Gals.
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on February 02, 2019, 08:38:59 pm
I upgraded from J10 to J11 and got an error message. "WARNING: This save relies on mods that are unavailable. Missing content will be removed, and it may fail to load. Continue?" Was there something I forgot to copy? I copied the UFO folder, my save games and options.cfg. I'll try openxcom.log next.

This was expected, dioxine has been trimming some of the included submods in the package.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on February 03, 2019, 03:24:05 am
Well except I did not delete any since cars & tanks were integrated...
Title: Re: Important: Upgrading Saves Between Versions
Post by: XCOMJunkie on April 30, 2019, 02:46:50 am
Hello all!

It's been a few versions since I played X-Piratez, and I had picked up J13a on Friday last week... been having lots of fun with it. Now that J14 has just dropped, and with all the awesome goodies that entails, I just wanted to know if I can upgrade and keep playing with the same 4-day old savegames, or if I need to start out new? No big loss either way, but it would be convenient if I could!

Please let me know when you get a chance, and thanks either way!

XCOMJunkie
Title: Re: Important: Upgrading Saves Between Versions
Post by: legionof1 on April 30, 2019, 06:38:58 am
as always without a specific post in this thread from Dioxine, no know problems with the immediate proceeding version
Title: Re: Important: Upgrading Saves Between Versions
Post by: ivansanchez on June 24, 2019, 10:40:45 am
I updated to J15, and I noticed that the behaviour of spy zeppelins changed. If your savegame has spy blimps built before J15, they will behave like in J14.

The workaround *should* be to dock the blimps and re-deploy them (not that I have tried that myself).
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on October 18, 2019, 03:46:05 am
Updating from J to K1:
Load, then save.
Then, in savefile
Change all

Code: [Select]
mana: 0
on your soldiers to

Code: [Select]
mana: 50
or similar number.
Reload.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 31, 2020, 10:26:47 pm
Upgrading to L1: No special tricks needed, just DON'T UPDATE DURING TACTICAL BATTLE.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on March 26, 2021, 04:04:57 pm
L8: If you have an advanced campaign (>1 year) you'll get a message about being a slow a**. Please ignore it.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on July 18, 2021, 08:45:23 pm
L10 adds customized versions of Secret Bases for every faction. This feature will only work normally when starting a new game.
Don't despair, however: you can effectively enable it in existing campaign by deleting "alien strategy" section from your save. This will not affect already existing bases.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Barleyman on July 19, 2021, 11:47:53 pm
Don't despair, however: you can effectively enable it in existing campaign by deleting "alien strategy" section from your save. This will not affect already existing bases.

Nooby question .. This means everything including the "alienStrategy:" line all the way up to the line before "deadSoldiers:"?
Title: Re: Important: Upgrading Saves Between Versions
Post by: hitthat on July 20, 2021, 11:05:14 am
Nooby question .. This means everything including the "alienStrategy:" line all the way up to the line before "deadSoldiers:"?

For L10, actually what has to be deleted is all stuff right below the alienStrategy: string, that is to say all its content (what is below the line)  till the missionLocations: one  8)
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on July 20, 2021, 11:48:32 am
The alienStrategy section doesn't necessarily have to be in one particular place inside the save. Just delete the entire alienStrategy section, including the header.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Barleyman on July 20, 2021, 04:39:12 pm
For L10, actually what has to be deleted is all stuff right below the alienStrategy: string, that is to say all its content (what is below the line)  till the missionLocations: one  8)

The alienStrategy section doesn't necessarily have to be in one particular place inside the save. Just delete the entire alienStrategy section, including the header.

Hmh. It's not clear what is the alienStrategy section as there are no closing tags. I went with the assumption that everything after alienStrategy which is indented is subsidiary to alienStrategy and thus should be deleted. alienStrategy has no indent and per usual programming practices anything after that which is indented belongs to it. deadSoldiers was the next tag without indent so I left that alone.

So let's see.. Regions, possibleMissions, missionLocations and missions Run, all those were zapped.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Mathel on July 20, 2021, 04:56:34 pm
Tags have levels, denoted by indentation. A tag ends when another of the same level begins.
Alienstrategy: is a first level tag, as it has no spaces before it. Simply delete from start of it's line, till the start of the next line with no starting space or tab.
In the case of the savefile I looked into, that would indeed be until the start of deadsoldiers:

The tags you listed are all the second level subtags of alienstrategy: in my savefile, so you probably did it correctly.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Milthfphche on September 29, 2021, 02:47:40 am
I jump in and out of the game every few months. My most recent update was L6 (Bag of Tricks), do I really have no choice but to start a new game if I want to slingshot myself past M1? I'm a few years in, in-game and irl, so if it's just that a few new things might not be in my file I am willing to make that sacrifice to keep my progress.
Also great and holy Dioxine I want you to know that I love what you do here
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on September 29, 2021, 02:16:20 pm
Probably nothing will break, it will be just a mess and weird experience.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Milthfphche on September 30, 2021, 01:10:18 am
Considering that the mess and the weird experience are part of what keeps me coming back every few months, I guess I shouldn't worry then lol. I've updated probably 3 or 4 times total since I started in 2017 so it's always messy, and I've learned to... Prepare. I think I'm gonna wait at least one more in-game month
Title: Re: Important: Upgrading Saves Between Versions
Post by: Solarius Scorch on October 02, 2021, 12:05:13 pm
I still recommend doing the steps above, like deleting the alienStrategy section.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on February 17, 2023, 01:25:35 pm
Updating to N4: be sure to get rid of all Looted Cyberdiscs before updating. You can edit in cyberdisc wrecks in their place.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Ruberto on February 20, 2023, 11:25:30 am
Updating available missions:
Would it work if i create new game on the same difficulty, then replace alienstrategy section in the old save with one  copied from the new one?
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on February 21, 2023, 02:07:27 pm
Alien strategy won't have any impact on available missions afaik; any missions which it commands are very old. However, other (most) available missions update on each new month.
Title: Re: Important: Upgrading Saves Between Versions
Post by: Dioxine on June 07, 2023, 04:10:10 pm
Before updating to N5, sell all unnamed dogs and bloodhounds.
Title: Re: Important: Upgrading Saves Between Versions
Post by: frenchfries on October 27, 2023, 02:20:51 am
Hello, sorry for being an annoying newbie but ain't quite clear on how i should be updating my save for this new version, the alien strategy section of my save file is quite big and am wary of deleting/overwriting/adding things in the wrong fashion.

For reference I am updating from N.5.2.1 to N6.07.

What exactly do i do? I see another dude mentioning problems with the red codex, which is path i also went so bracing myself for some mishap on that front.



Title: Re: Important: Upgrading Saves Between Versions
Post by: Iazo on October 27, 2023, 11:28:28 am
I do not think you have to do any editing from N5 to N6.

Last edit was for L10 to N1.

What you always need to do is ALWAYS make a fresh install. Download the mod from moddb, put in the UFO folder, and copy the config file and your save game. That is it.
Title: Re: Important: Upgrading Saves Between Versions
Post by: frenchfries on October 27, 2023, 10:37:02 pm
I do not think you have to do any editing from N5 to N6.

Last edit was for L10 to N1.

What you always need to do is ALWAYS make a fresh install. Download the mod from moddb, put in the UFO folder, and copy the config file and your save game. That is it.

Cheers for the answer, did as you said and so far not noticing anything weird or missing, looks all good!