I've finished a short demo game to submit for MAGS, and compiled it, but when I click on my .exe file, instead of running the game I've made, it runs the test text parser template I built my game on instead. What is going on? How do I get it to run the game I've been working on?
When you open the game in the editor and press F5, does it run the correct game?
Also, which room is loaded at the start of the game depends on a) which character is set as the player character and b) what their starting room is. Check that the player character has the correct starting room set.
Quote from: Khris on Mon 04/11/2024 00:05:55When you open the game in the editor and press F5, does it run the correct game?
Also, which room is loaded at the start of the game depends on a) which character is set as the player character and b) what their starting room is. Check that the player character has the correct starting room set.
Yes, I've checked all that. I've run this game hundreds of times to playtest it in the editor and it's always run. It's not even titled correctly, the window that runs is called Text Parser 2.0. It's like it's running an earlier version before I made any changes.
Ok, it all sounds like you're simply running the wrong exe file (or you have discovered an extremely esoteric bug, which I don't think is likely).
If you press F7 in the editor, all the game files should be built into the Compiled/Windows folder. If you rename the game in the editor, AGS will build an exe with the same name but it won't delete the old exe.
You can also delete the entire Compiled folder before building to make sure all old files are gone.
And you can change the Explorer window's view to Details and check the exe's creation date / time.
Also make sure you're not using any special characters in folders or file names.
Quote from: Khris on Mon 04/11/2024 00:24:28Ok, it all sounds like you're simply running the wrong exe file.
If you press F7 in the editor, all the game files should be built into the Compiled/Windows folder. If you rename the game in the editor, AGS will build an exe with the same name but it won't delete the old exe.
You can also delete the entire Compiled folder before building to make sure all old files are gone.
Was just about to say I found the right file. It put it into an entirely different folder than the one it was taking me to when I clicked build folder for some reason. I guess it's because I moved stuff around on my computer so much. The pathway must have got confused. Thanks