• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Bad News with Uprading

I finished the upgrade code, and so I'm now testing the adding of the new global variables.

But here's the bad news: it looks very likely that adding anything beyond an int or two--i.e. new objects, especially new object arrays--is causing real trouble.

So I have an alternate idea. Add a 12.1 to 12.2 upgrade function that can be dropped on a 12.1 install (to the console). Have anyone who wants to upgrade add that file, turn on logging, load their save, and press F12.
That will dump all characters and any other vital arrays to text (in the compile log).
Then we write a little program to parse the dumpattribute code into readable POTC code, have the person install 12.2, and ingame press F12 to restore their old gamestate.

Otherwise we'll be ripping out too much of 12.2

(Now, a better way to do this would be to simply parse the save file itself--the data's all there and in plaintext...)

On the plus side, doing it that way will mean we can also upgrade to b13.
 
Do we really need to save and restore town/store states? Since they can't change nation, I don't think that'll be such a problem.
One exception would be saving the state of Oxbay in light of the MQ.
 
I thought the idea was that you have to start a new game in Build 13, but won't need to start a new game for the yet unreleased Build 12.5. At the moment, the Post Build 12 Modpack does require you to start a new game...
 
Pieter, what I'm saying is that you will have to (technically) start a new game no matter what.
However, this thread is about a way to import your state/progress into that newgame, so you can 'sorta' upgrade.

So we probably should just go ahead and call the modpack b13.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />

Everyone's done such a fine job with whatever they've worked on, and there is SO MUCH added, so why not, indeed. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" /> I agree, Cat. I especially like playing stormy start. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />
 
Back
Top