On the following link you will find two shortcuts, which will run "windowed mode" or the "debugger" those need to be placed in the alpha project mod root diretory (../EA GAMES/Battlefield 2/mods/ap/)
For those who want to create the shortcuts themself this are the target lines, including the code we use for the shortcuts:
Windowed Mode:
"C:\Program Files\EA GAMES\Battlefield 2\BF2.exe" +menu 1 +fullscreen 0 +szx 1600 +szy 900 +restart +modPath mods/ap
Debug Mode:
"C:\Program Files\EA GAMES\Battlefield 2\BF2_r.exe" +menu 1 +fullscreen 1 +modPath mods/ap
Before you can use them you have to right click on them and open the properties of the shortcut to edit the "target" and "start in" line to use YOUR installtion directory, ONLY change the directory to your installation folder of the game and keep the rest like it is then press ok.
Now you should be able to use those shortcuts, lets go into deeper explanation...
The "windowed mode" shortcut will only run the game in a window at a certain resolution i set up within the shortcut target, this allows you to see possible errors poping up while loading a map, if you see an error poping up, make a screenshot of it or write down what it says and let us know about it so we can try to fix the specific issue!
I would suggest only using the "debugger" if the methode aboth dont come up with a error message, be aware that the debug mode might screw up your controls, so always backup your battlefield 2 folder within .../your documents/your name/ directory and let the game create a new one for you when using the debugger.
Unlike the windowed mode the debug mode will generate you a log file within your ../EA GAMES/Battlefield 2/mods/ap/Logs/ folder which can be very helpful to find the reason for the crash if you send it to us.
Be aware that you can only use the "debugger" with the bf2editor installed, or you wont have the "bf2_r.exe" for it!
Hope this could help!
Thanks! This will help a lot of those who are new to BF2 modding. :)
Not mentioned above,but the debugger will only work if you have the BF2 Editor installed
Thanks, totaly forgott to mention that since i always have bf2editor installed. Tut updated with the missing info!
If so, how can one give you the log since BF2Editor only works on XP? I am having troubles myself and I cannot give you a debug log if I simply cannot install BF2Editor.
What can I do when i run bf2.exe in windowed mode but the error message doesn't appear. I've tried the debug mode, but it appear and error message too :p
This comment is currently awaiting admin approval, join now to view.