Change victory conditions in save game

Raubwuerger

Warlord
Joined
Nov 24, 2014
Messages
153
Location
Bavaria
Hi folks,

is there a way to change victory conditions in save game? I accidentally turned off all victory conditions ...
I played until 1785 (RAR Americas Gigantic - Gamespeed: Epic ) and now want to start the war of independence, but sadly I can't start it ...:blush:
 
Yes and no. You need to call CvInitCore::setVictory, which isn't exposed to python and is only called from the exe. This means you either has to mod the dll or hack your savegame with a hex editor (one byte has to change from 0 to 1, but which one?). I wouldn't say either of those would be trivial, particularly not for non-programmers.

If you give me your savegame, then I will see if I can hack it somehow without too much hassle.
 
I got it. I created a new DLL and hardcode the victory condition. Loaded the savegame, checked that the victory condition was set, saved the game, throwed the DLL away ...
Now every thing is fine ...

PS:
But that's actually bad for the community. So I play the game for the next few weeks, and can not code on it.:crazyeye:
 
I have the same problem with my RaR-Savegame but have no sufficient programming skill to solve this. I accidently only chose domination as a victory condition and thought I can nevertheless start the war of independence. It would mean a lot to me as I put a lot of hours in this game. Can somebody maybe upload the modified DLL or change the savegame for me? Thank you very much in advance!
 

Attachments

Last edited:
RaR-Savegame
Are you still playing old RaR ? :undecide:
Why have you not switched to updated WTP ?

Nobody of us is still working on RaR. It has been superceeded by WTP.
Only WTP is still in development - but it is basically RaR++.

Can somebody maybe upload the modified DLL or change the savegame for me?
Sorry but you are stuck.
You have simply chosen the wrong victory condition.

There is no way we can change this now with reasonable effort.
It would be hours of effort to save single savegame which we will honestly not invest.

We are not going to create a new DLL version because a player has not properly selected victory conditions.
We are really too busy with implementing actual new features and solving bugs.

----

Summary:

Sorry, but it is not going to happen. :dunno:
Everything else would simply be lying to you.
 
Last edited:
Thanks for the response. I didn't know it would be such an effort. I also hadn't heard of WTP. I will check that out soon. Thank you very much for your effort making those great mods.
 
I also hadn't heard of WTP.
You are posting in the "We the people" forum actually. :)
(Also there are posts about us in all Civ4Col communities.)

As I said, "We the people" is basically the successor mod of "Religion and Revolution".
(More or less the same people involved - I was e.g. one of the founders of RaR.)

WTP is still actively developed.
(We have added lots of great stuff to RaR - our mother mod.)

TAC (grandma mod) --> RaR (mother mod) --> WTP (current generation)
 
Last edited:
did you think of opening the game in wb and saving it as a new scenario? Then you can set each game condition again as you want in the scenario. It's as easy as it can get.

Greetings John
 
did you think of opening the game in wb and saving it as a new scenario? Then you can set each game condition again as you want in the scenario.
A lot of data is not saved in WorldBuilder saves, that is saved in normal saves though.
But yes, it would generally work and is better than doing nothing. :thumbsup:
 
I think the cleanest path would be to edit the DLL to set the victory conditions at the end of loading CvGame (I think it's that part, haven't checked). This is kind of a hack through as it will do that to every single savegame after doing that meaning it should be reverted right after fixing the savegame.

Maybe you can get somebody with programming knowledge to do it, but odds are that you are stuck. Starting a new game using the newest version is recommended anyway. If nothing else, then for the bugfixes. We have countless by now. We had like 40 in WTP 2.7.1, which is the first version after RaR.
 
Back
Top Bottom