JG7_X-Man Posted March 24, 2022 Posted March 24, 2022 (edited) I tried Resave All Missions in Folder and still got a error. Any ideas are welcome. Winter_44_Train_Mission.rar Edited March 24, 2022 by JG7_X-Man Added Mission Folder
Cynic_Al Posted March 24, 2022 Posted March 24, 2022 1 hour ago, Sketch said: Try opening the binary version of the mission. The binary opens by default. I would delete the binary (.msnbin) and try to open the .mission file.
Sketch Posted March 24, 2022 Posted March 24, 2022 4 minutes ago, Cynic_Al said: The binary opens by default. I would delete the binary (.msnbin) and try to open the .mission file. In my experience this is wrong and bad advice. Do not delete anything! Attempt to open the mission with the binary file as I originally suggested. If it's still not working, post your mission here for us to take a look at it. 1
Cynic_Al Posted March 24, 2022 Posted March 24, 2022 1 hour ago, Sketch said: In my experience this is wrong and bad advice. Do not delete anything! Attempt to open the mission with the binary file as I originally suggested. If it's still not working, post your mission here for us to take a look at it. The error message is the result of trying to open the binary file in the first place, and since re-saving to the current version hasn't worked, the binary is not going to be of any use so there's no harm in getting it out of the way so that the .mission file will open in its place.
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 3 hours ago, jollyjack said: an active mod causing this? No Mods Jack. Guys - Thank you all for your help. I have posted the mission, I have lost work in the past by deleting the wrong thing. I guess not that I have a copy - I can try it. @Cynic_Al Deleting the .msnbin and trying to reopen the .mis didn't do the trick in this case, thank you for the suggestion (...glad I made a copy 1st LOL) I can't thank you all enough! Edited March 24, 2022 by JG7_X-Man 1
JG4_Deciman Posted March 24, 2022 Posted March 24, 2022 NEVER delete any file... RENAMING will have the same result... Deci
Sketch Posted March 24, 2022 Posted March 24, 2022 (edited) Winter_44.zip As I said, open the binary file and it should be fine. This is exactly what I've done, and I've resaved it to a new name. ------------------------------------------- Open the mission editor and select open file -> In the prompt, put *.* in the File Name block -> Select the binary file, then press Open -> Magic -> Save as a new name -> Use the new file name from now on. Recommendation: Use version control of some sort -> https://github.com/ Edited March 24, 2022 by Sketch Clarity 1 1
JG4_Deciman Posted March 24, 2022 Posted March 24, 2022 same here... Opening the mission (.bin renamed before) -> error Renaming taken back Opening the *.bin -> loading Seems like you had a 'bug' on saving the mission from within the editor I've noticed this really rare times and had no way to recreate that. But some times the editor throws an error when saving the '.mission' file but saved the '.bin' file before without any problems.... Seems the '.mission' file is corrupted Deci 1
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 Thank you all! @Sketch On point again! We are going to have to create a bust in your honor dude! much appreciated! 1
JimTM Posted March 24, 2022 Posted March 24, 2022 (edited) FYI, your original .mission file had two issues: SeasonPrefix = ""; should be changed to SeasonPrefix = "wi"; Missing the line # end of file at the bottom Note that there may be other lines missing above "# end of file", even though the mission loads OK. Fixing those issues corrects the .mission file and it can be loaded. Also note that it's possible that the .msnbin file you loaded to fix the issue may be missing any edits that you did to the .mission file before that file was corrupted. Edited March 24, 2022 by JimTM 1
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 51 minutes ago, JimTM said: FYI, your original .mission file had two issues: SeasonPrefix = ""; should be changed to SeasonPrefix = "wi"; Missing the line # end of file at the bottom Note that there may be other lines missing above "# end of file", even though the mission loads OK. Fixing those issues corrects the .mission file and it can be loaded. Also note that it's possible that the .msnbin file you loaded to fix the issue may be missing any edits that you did to the .mission file before that file was corrupted. @JimTM Interesting - I wouldn't have touched that at all - so that's is what broke during the save process. Well thank you because I made a couple of changes prior to the save procedure that failed. I remember what I was working on last so I can validate those changes were retained. I was prompted to download last patch before testing so I wonder if that had anything to do with anything. Edited March 24, 2022 by JG7_X-Man
JimTM Posted March 24, 2022 Posted March 24, 2022 (edited) 20 minutes ago, JG7_X-Man said: @JimTM Interesting - I wouldn't have touched that at all - so that's is what broke during the save process. Well thank you because I made a couple of changes prior to the save procedure that failed. I remember what I was working on last so I was validate those changes were retained. I was prompted to download last patch before testing so I wonder if that had anything to do with anything. I've seen the "#end of file" issue in a few .mission files over the last year. The season parameter issue has occurred many times in the past but I have not seen that in a while. I'm not sure exactly what causes these issues. Edited March 24, 2022 by JimTM 1
jollyjack Posted March 24, 2022 Posted March 24, 2022 (edited) Just looked at it in the ME ... wonder where it comes from, never seen so many unnamed 44 RAF USAAF bases etc .. These might come in handy as Template for the Rheinland map ... if they''re not the same as the default Arf groups. Must be an older one as the author is 1CGS and the RW stations group is not there. No description, and no player route set or obliged jobs. Edited March 24, 2022 by jollyjack
JG4_Deciman Posted March 24, 2022 Posted March 24, 2022 7 minutes ago, jollyjack said: Just looked at it in the ME ... wonder where it comes from, never seen so many unnamed 44 RAF USAAF bases etc .. Seems that are only the ground objects for the different airfields. so should be ok.... Deci
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 17 minutes ago, jollyjack said: Just looked at it in the ME ... wonder where it comes from, never seen so many unnamed 44 RAF USAAF bases etc .. These might come in handy as Template for the Rheinland map ... if they''re not the same as the default Arf groups. That was me using @SYN_Vander's Destruction Tool. RAF bases are only 40% destroyed vs Luftwaffe are at 60% in late '44 simulating the Allies fix damage they did as they are now using said bases vs the Luftwaffe not having the time as they were under pressure. I drew the battle lines 1st and then selected each airfield on each side and made them a group - I should have done a group within a group in hindsight - my bad Feel free and use anything in that mission. What I am most proud of are the trains that when each is spawned, the route is displayed on the GUI map (to bad all the line types don't work as advertised - but still functional) and removed when either destroyed or reaches its destination. Edited March 24, 2022 by JG7_X-Man 1
jollyjack Posted March 24, 2022 Posted March 24, 2022 Will do that .... just loaded the FW with rockets, but found no doggone train yet, if i get something worthwhile with it i'll repost
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 12 minutes ago, jollyjack said: Will do that .... just loaded the FW with rockets, but found no doggone train yet, if i get something worthwhile with it i'll repost It's no where near finished - to kill train in its current state: Enable an RAF aircraft at either Eindhoven or Volkel, sorry. LOL I am building this mainly to watch AI, so my next steps are: Randomize waypoints on the rail routes that trigger random RAF Typhoons and their escort Randomize waypoints on rail routes that trigger random Luftwaffe cover groups Randomize RAF and Luftwaffe groups that activate but do not takeoff until triggered Randomize RAF and Luftwaffe groups that spawn and attack the other's airbases and various ground targets Edited March 24, 2022 by JG7_X-Man
jollyjack Posted March 24, 2022 Posted March 24, 2022 OK, if you're working on it i'll wait for your outcome LoL. Just hate extensive train route programming, thought, 'hey, that part i can skip for now".. Rocket shooting trains is nice, as sim game that is.
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 16 minutes ago, jollyjack said: OK, if you're working on it i'll wait for your outcome LoL. Just hate extensive train route programming, thought, 'hey, that part i can skip for now".. Rocket shooting trains is nice, as sim game that is. Drop in an Allied aircraft at either of those bases and open up the GUI map and you will see where the train will spawn for now - as @Sketch would say, blow S$%^ up! I wished the arrow/direction icons worked. 1
jollyjack Posted March 24, 2022 Posted March 24, 2022 you mean the red blue map arrows? they show up on my pilot map ...
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 1 minute ago, jollyjack said: you mean the red blue map arrows? they show up on my pilot map ... Kind of, The arrows don't work, unless I am doing something wrong. Only a double line (I will make them red before release - maybe LOL). All the trains run from East - West or North - South. Not sure the Luftwaffe were doing any train busting in Western Europe continent, unless way way behind enemy lines. Edited March 24, 2022 by JG7_X-Man
jollyjack Posted March 24, 2022 Posted March 24, 2022 (edited) I changed the FW's airfield near Dusseldorf,, and set a route until an attack area CMD. Stop for now, you can use it if you want ... Dec 29th 1944 Trainbusting.zip Edited March 28, 2022 by jollyjack
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 (edited) 27 minutes ago, jollyjack said: I changed the FW's airfield near Dusseldorf,, and set a route until an attack area CMD. Stop for now, you can use it if you want ... Dec 29th 1944 Trainbusting.zip 1.03 MB · 0 downloads That plane is a place holder so I can spawn into the game None if the Luftwaffe aircraft have any functionality yet. FYI Edited March 24, 2022 by JG7_X-Man
JG7_X-Man Posted March 24, 2022 Author Posted March 24, 2022 6 hours ago, JimTM said: FYI, your original .mission file had two issues: SeasonPrefix = ""; should be changed to SeasonPrefix = "wi"; Missing the line # end of file at the bottom Note that there may be other lines missing above "# end of file", even though the mission loads OK. Fixing those issues corrects the .mission file and it can be loaded. Also note that it's possible that the .msnbin file you loaded to fix the issue may be missing any edits that you did to the .mission file before that file was corrupted. @JimTM Dude in my excitement, I forgot to ask you - how did you even know what to look for?
JimTM Posted March 25, 2022 Posted March 25, 2022 (edited) 4 hours ago, JG7_X-Man said: @JimTM Dude in my excitement, I forgot to ask you - how did you even know what to look for? The "#end of file" issue came out of a "divide and conquer" process I used while trying to find invalid MCU name characters buried in large mission files. That is, I split the mission file into two halves (both including the mandatory lines such as those near the start and the #end of file line) and loaded each half to see which one failed. Then, I took the one that failed and split it in half and so on. This requires you to pay attention to the required structure of the file and that's when I noticed the missing #end of file. I learned of the season parameter issue from this post and it has occurred several times over the years (bug report here). Edited March 25, 2022 by JimTM 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now