Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Savegames with mod don't load the mod anymore #2735

Closed
wzdev-ci opened this issue May 19, 2011 · 21 comments
Closed

Savegames with mod don't load the mod anymore #2735

wzdev-ci opened this issue May 19, 2011 · 21 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by zydonk


Map saved with 110 mod in v238 will show trunk research list (and not original 110 list) when reloaded.

Simply replicated by starting game with 110 mod in v238, allow some research development, then save. Reload game and you will find the research list has changed to the trunk version. Note: research advances are not lost: eg Scourge comes fully developed in the 110 mod, but the cycle of upgrades of the rebalanced list will be offered once the game has been saved and reloaded. I have never played the corrupted game far enough to discover if fatal conflicts arise.


Issue migrated from trac:2735 at 2022-04-16 08:09:51 -0700

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


Was there an earlier version were this worked?

@wzdev-ci
Copy link
Contributor Author

anonymous commented


Works fine up to v236. This same problem was ticketed for v237. Note that mod was amended to resolve probs that arose with v237 - apparently not to do with this research issue. I suspect the research prob has not yet been directly addressed.

@wzdev-ci
Copy link
Contributor Author

dak180 changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

zydonk commented


Tut-tut - thought first response had not uploaded. Anyway: for the record, previous ticket re prob is #2574.

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed status from new to assigned

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed operating_system which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed component from 1.10 (balance mod) to Engine: Resource Management

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed title from 238 and updated 110 mod: save game fault to Savegames with mod don't load the mod anymore

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed priority from normal to major

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed owner from Delphinio to Zarel

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed keywords from research to ``

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


As mentioned in #2574, I'm not sure about the problem in 2.3.7. In 2.3.8, bisecting gives 5e346efd93606c83267ed7f13f7e46cc7dcd219d as the first commit where loading a 1.10-mod savegame fails (says "The required mod could not be loaded: old-1.10-balance\n\nWarzone will try to load the game without it.").

master is broken the same way.

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed milestone from unspecified to 2.3.9

@wzdev-ci
Copy link
Contributor Author

Iluvalar commented


Here is a quick temporary fix :
unzip "old-1.10-balance.wz" in a folder named "old-1.10-balance" this will make the loader reconize your mod correctly.

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


Seems even before the patch, modloading from a savegame didn't work when the mod was a .wz. But after it, it doesn't even work when the mod is loaded from the command line, so somewhere it seems the modlist gets cleared where it shouldn't.

@wzdev-ci
Copy link
Contributor Author

vexed commented


Right. This is more hacks on top of more hacks.
We need to revert aed2474ae511c1b49c041f85e5dfd793549725f6 and the other patches as well (that have to do with mod support), and just leave this release in a stable state.

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


Possible fix in #2825.

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed status from assigned to closed

@wzdev-ci
Copy link
Contributor Author

cybersphinx changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


Don't remove file extensions from mod names.

Fixes loading of savegames with a mod, whether the mod is loaded from
the command line or not.

Old savegames won't work unfortunately, and savegames started with a .wz
mod won't continue if that mod gets expanded later.

Fixes #2735, refs #2825.

  • Changeset: [/changeset/5216760744be407deece8d90d4a755dd5f1e421f 5216760744be407deece8d90d4a755dd5f1e421f]
  • URL: [5216760744]be407deece8d90d4a755dd5f1e421f

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Aug 8, 2011

cybersphinx commented


Don't remove file extensions from mod names.

Fixes loading of savegames with a mod, whether the mod is loaded from
the command line or not.

Old savegames won't work unfortunately, and savegames started with a .wz
mod won't continue if that mod gets expanded later.

Fixes #2735, closes #2825, #2610.

Conflicts:

src/main.c 
  • Changeset: [/changeset/5886695119364b59f94aa81c3db8d0952dcf59b9 5886695119364b59f94aa81c3db8d0952dcf59b9]
  • URL: [5886695119364]b59f94aa81c3db8d0952dcf59b9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant