Modding, Mission Design, and Coding > The FRED Workshop
FRED2 Missions Fail to Load
Shkval25:
I apologize if this is in the wrong section. I'm not sure whether my problem is with FRED2, something I did in FRED2, or something with FSO/MVPs.
So I've been doing things with FRED2 for a while but the other day I started having problems with my missions not successfully starting from the mission simulator in Freespace Upgrade Media VPs. I had just created a new mission, plopped a few objects, and saved it for the first time. When I tried to run the mission for the first time it failed at the loading screen with an error message saying the mission had failed to load. Since this was my first attempt at a scramble mission I thought maybe that had something to do with the problem so I unchecked that box in FRED2, saved, and tried again. Same problem and message.
So I wrote that mission off and started a new one. The mission worked fine the first half a dozen times I playtested it but then I started having the same problem. The error checker in FRED2 doesn't report anything and I have verified file integrity through Knossos. I'm now out of ideas.
I'm running FSO 24.02, Freespace Upgrade 4.7.3, and FRED2_OPEN 24.02. I have enclosed the two missions.
Shkval25:
While attempting to create a debug file with the mission load error I made the discovery that FRED2_OPEN actually (and always) points to MVP version 4.7.2 rather than 4.7.3. With some trial and error I have determined the following:
If I use the "Run FreeSpace" option from FRED2 then MVP 4.7.2 opens and the mission fails to load.
If I open MVP 4.7.2 via Knossos then the mission loads correctly.
If I open MVP 4.7.3 via Knossos and try load a copy of the mission I placed in that missions folder then it works.
If I use "Run FreeSpace" from FRED2 when the new copy is open, I get sent to MVP 4.7.2 rather than 4.7.3. The mission fails to load, as expected.
More strangely, the main hall displays the wrong MVP version if am using 4.7.3 so it's possible there's something wrong with my installation of 4.7.3 although that doesn't explain why the missions work only when the program is run directly from Knossos.
0rph3u5:
1. Which Launcher are you using?
FRED can get its command line arguments supplied by the launcher but its configuration can be overridden by a configuration saved in your personal folders, if you don't run it through a launcher.
2. Can you provide a debug log from a mission that launches correctly?
Just to confirm what it is actually loading and rule our any confounding factors. "Mission fails to load" is not a very specific error message and I don't see any issue in the mission files you provided yet.
Goober5000:
:welcome:
Always good to see new people experimenting with FRED, so let's see what we can do to get things working for you.
As you've discovered, the main hall does not display the correct MVP version for 4.7.3. I can only assume this was an oversight. I've attached a file that will fix this. Put it in your [Knossos dir]\FS2\MVPS-4.7.3\data\tables folder and you'll see 4.7.3 in the main hall.
I tested both of your missions, with both 24.0.2 and the latest nightly, in both 4.7.2 and 4.7.3. In all eight combinations, the missions loaded successfully. So there's something screwy going on here, but it's not the fault of either mission.
The best thing to do at this point is, as 0rph3u5 said, provide a debug log. First, launch a debug build of FSO and try to load the mission. Then upload the debug log. In Knossos, you can do this by clicking on the Options button and selecting "Upload Debug Log", while in Knossos.NET, you can find the "Upload fs2_open.log" button in the Debug tab of the top navbar.
Shkval25:
On my end the missions only fail when FSO is launched through FRED2. How do I get a debug log in that case?
Navigation
[0] Message Index
[#] Next page
Go to full version