Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: FUBAR-BDHR on March 23, 2008, 02:14:33 am

Title: Using ;;FSO 3.6.10;; problem
Post by: FUBAR-BDHR on March 23, 2008, 02:14:33 am
I wanted to add a special ending to a mission.  Ran out of ships in 3.6.9 but figured I would try adding the ships so that 3.6.10 could use them.  Opened up the mission in notepad and added them in.  3.6.9 version of FRED opened the mission just fine and even resaved it just fine.  Opened it up with a 3.6.10 version of FRED and that worked fine too.  No problems running the error checker and all the ships and the wing showed up just fine.  Tried saving it and it crashed.  Looked at the new saved file and it left the commented out lines and then tried to write new ones as well.   Don't know if it's supposed to be possible to do this or not.  Attaching a sample of what I was trying to do. 

[attachment deleted by ninja]
Title: Re: Using ;;FSO 3.6.10;; problem
Post by: karajorma on March 23, 2008, 03:13:58 am
The problem is quite simple. (In cases like this I find WinMerge (http://winmerge.org/) invaluable as I can simply examine both the .FS2 and .BAK files and see what changed).

What's happening is that FRED is copying all the comments to the new file. But since it did manage to parse the comments into real ships it's trying to write the real ships into the mission file too. After saving a mission FRED immediately reloads the mission it has just saved. Only problem is that now it has two ships with the same name. Hardly surprising it's crashing then.

Not sure what you can do to solve the problem to be honest.
Title: Re: Using ;;FSO 3.6.10;; problem
Post by: FUBAR-BDHR on March 23, 2008, 12:25:51 pm
Didn't need WinMerge.  I backed up before I tried that and it was clearly visible where it happened.  Just didn't know why. 

Well I have three solutions in mind.   One is to just keep the extra ships and shelve it until 3.6.10 second is finish it in 3.6.10 FRED then put the comments in and not touch it noting the problems in the notes section.  Last is figure out a different way to do the ending.  I woke up with a couple of possible solutions in mind. 

Is it bad when you start dreaming FRED workarounds? 


Tossed this in Mantis as well just in case someone wants to try and fix it at some point.