Custom Map Crashes at Load

Making or wanting help making your own asset? Check in here
Post Reply
The_Turkish_Moose
Posts: 307
Joined: 2013-03-16 14:40

Custom Map Crashes at Load

Post by The_Turkish_Moose »

I've made a custom BF2 map and it loads to 100%. When I try to join the game, it crashes. Any help?
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: Custom Map Crashes at Load

Post by Mineral »

tried windowed mode? debugger? Did you set up your init.con and gpo's correctly to PR standards? take a look at some other maps and check both the init.con file and the gpo and see if it's the same as yours. And make sure you have all surrounding terrain rendered and it might help placing some random overgrowth and undergrowth.
Image
CTRifle
Retired PR Developer
Posts: 1056
Joined: 2011-01-03 14:57

Re: Custom Map Crashes at Load

Post by CTRifle »

its a BF2 map, not PR
Image
Image
The_Turkish_Moose
Posts: 307
Joined: 2013-03-16 14:40

Re: Custom Map Crashes at Load

Post by The_Turkish_Moose »

Yer, i wanna just make a BF2 map 1st then work on a PR Map. I'll take a look at all the things you mentioned. Thanks!
AFsoccer
Retired PR Developer
Posts: 4289
Joined: 2007-09-04 07:32

Re: Custom Map Crashes at Load

Post by AFsoccer »

Also, try searching bfeditor.org
It's a great resource for all BF2 modding.
The_Turkish_Moose
Posts: 307
Joined: 2013-03-16 14:40

Re: Custom Map Crashes at Load

Post by The_Turkish_Moose »

Whats this "Debug" thing which MineralWouter mentioned?
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: Custom Map Crashes at Load

Post by Mineral »

make a shortcut on your desktop for battlefield2/br_r.exe. for example mine:
"C:\Program Files (x86)\EA GAMES\Battlefield 2\BF2_r.exe" +modPath mods/pr +menu 1 +fullscreen 0 +restart 1 +szx 1024 +szy 768 +developer 1 +multi 1 +ignoreAsserts 1

but if it's only for bf2 it's probably like this:
"C:\Program Files (x86)\EA GAMES\Battlefield 2\BF2_r.exe" +menu 1 +fullscreen 0 +restart 1 +szx 1024 +szy 768 +developer 1 +multi 1 +ignoreAsserts 1
if you get an error from vtuneapi.ddl when loading the debugger, then download this and put it in your battlefield2 folder.
http://realitymodfiles.com/ancient/vtuneapi_1-5.zip

it's pretty much a dev build which allows you to get crash logs and detailed error messages. So it's easier to find your specific bug with.
Image
The_Turkish_Moose
Posts: 307
Joined: 2013-03-16 14:40

Re: Custom Map Crashes at Load

Post by The_Turkish_Moose »

Ok, thanks!
The_Turkish_Moose
Posts: 307
Joined: 2013-03-16 14:40

Re: Custom Map Crashes at Load

Post by The_Turkish_Moose »

Still no luck. I already had the vtuneapi anyway but still it does not give me the errors. What am I missing? Does map size and the # of objects effect the loading of a map?
Post Reply

Return to “PR:BF2 Community Modding”