Homemade Maps Crashing!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
brokenshard_of_glass

Homemade Maps Crashing!

Post by brokenshard_of_glass »

I have been attempting to make maps for BF2 for a few months now but Every time I get them to appear on the playlist, while they load They crash to desktop.

I have Been Following instructions as best I can. I work on the map, I save it, And use ModTools Visual Munge under .../BF2_modtools/Data_ABC/_build. But when I try to play the map in the game it crashes as soon as it finishes loading. If more info is needed please let me know. If anyone can help please do I don't want my hard work to be for nothing :!: :?: :idea:
FOOLIS
Jedi
Jedi
Posts: 1038
Joined: Tue Jan 16, 2007 3:59 pm
Location: Germany

Post by FOOLIS »

hmmm i had this problem a few days ago , too.

Maybe you havent regsitered all cp´s in your .lua ?!
brokenshard_of_glass

Post by brokenshard_of_glass »

I'll Try that( Is registering the in the .lua when you type in the command post name?)

8) I told you I'm new to this 8)


Imagine A Gizka fighting santa.
where the gizka is me and my lack of skills is the fat man.
He'd need help to fight the fat man right?
And eventually he'll evolve into a rancor
who eats Santas.

If he survives. Ha-Ha-Ha
aYo.4.YaYo

Post by aYo.4.YaYo »

interesting analagy...
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

Did you turn down your settings to medium or low...?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Post by Caleb1117 »

how about this? did you check both common and localize, when you munged?
brokenshard_of_glass

Post by brokenshard_of_glass »

Thanks I'll try that stuff. I'll Edit or reply if It works.
Support our gizka troops. Peace and love.


EDIT: Someone please tell me what settings to use when doing the final munging. Like what to check off and what sides thing to use: tur; everything; Common; or Nothing. and what boxes should I check off, common and localize or sound and shell. :idea:


As for the settings, Darth_Z13 I tried setting every thing to the lowest but it didn't work. :!:
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

You need to produce and check your error log

Post by AceMastermind »

The first thing you should do is run the game with the BF2_Modtools.exe to produce a BFront2.log and then post it here so that everyone doesn't have to guess what is crashing your maps.
brokenshard_of_glass

Post by brokenshard_of_glass »

How do I do That :?: Also What is BF2_Modtools.exe? I can't find it.
RC-1290

Post by RC-1290 »

We have a very nice FAQ/"Everything you need" thread explaining a lot of things.
Question: My map keeps crashing. What's wrong?
Answer: Could be lots of things. If you have the CD version, you can run BF2_modtools.exe, which produces a debug output called BFront2.log.
You simply put BF2_modtools.exe (wich is located in the BF2_Modtools folder; C:\BF2_ModTools) In your Battlefront 2 Folder and run it.

In the FAQ you can also find this link, explaining how to get an error log when you have the DVD version of BF2.
[Edit]The process explained for the DVD version log is a workaround.Two post below is a link to a DVD version of the BF2_modtools.exe wich is better.

Good luck!

RC-1290'Dreadnought'
Last edited by RC-1290 on Tue May 01, 2007 5:02 pm, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

BF2_modtools_DVD.exe

Post by AceMastermind »

RC-1290 wrote:In the FAQ you can also find this link, explaining how to get an error log when you have the DVD version of BF2.
If you own the DVD version and you want a real BFront2.log, you can get a DVD modtools exe, look in the FAQ thread for the link.
RC-1290

Post by RC-1290 »

OOh, cool! I didn't know a good one was out :).
brokenshard_of_glass

Post by brokenshard_of_glass »

This is my log thing (i think)

ERROR[levelpack shell.req]:Input file shell.req does not exist. [continuing]
1 Errors 0 Warnings

soundflmunge.exe : Error : Unable to open file effects\whooshl3.wav - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_MTB\Sound\shell\effects\whooshl3.wav - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to open file C:\BF2_ModTools\data_MTB\Sound\shell\effects\whooshl3.wav, format may be invalid - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
soundflmunge.exe : Error : Unable to read file list C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx - while munging C:\BF2_ModTools\data_MTB\Sound\shell\shell.sfx
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Post by trainmaster611 »

Thats your munge log buddy. Copy the little icon in the BF2_Modtools folder. Do you see the little clone head that says BF2_Modtools? :| Copy that to your LucasArts/Star Wars Battlefront II/Gamedata folder. Then close out and open up the BF2_Modtools application you just copied. Then BF2 will open up in windowed mode and the upper-half of the screen will be green (don't worry about that). Go to Instant Action and run your map. Then your map will crash again. Go back to the Gamedata folder and look for a Notepad file called 'BFront2'. Open that file up and copy it here :)
brokenshard_of_glass

Post by brokenshard_of_glass »

It Won't fit. the website booted me off. Suffice to say there are 2000+ exploding barrels. Seriously I did get stuck on this screen that said my reply was WAAAAYYYYYY to big like almost a Mega Byte. Boy is that sad. Help. Please. Tell me what to do to fix my map.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

First things first. Insert this line right below -- ClearWalkers() in all of your luas.

SetMemoryPoolSize("SoldierAnimation", 2000)

This will eliminate well over half of the errors, making the log easy to open in notepad, then copy and paste here.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Post by Penguin »

also when posting you can cut out any errors like these

Code: Select all

Message Severity: 2
.\Source\VOHelper.cpp(183)
VOSound (all3_inf_pc_com_hostile_inVehicle): unknown modifier "InVehicle"

Code: Select all

Message Severity: 2
.\Source\FLEffect.cpp(214)
FLEffect::Read: duplicate effect class name (cf8774d9)!

Code: Select all

Message Severity: 2
.\Source\StringDB.cpp(48)
ID=2545b9de: trying to replace "hoth_bldg_shieldgenerator" with "hoth_bldg_shieldgenerator1"
[/b]
brokenshard_of_glass

Post by brokenshard_of_glass »

I'll try this with a different map. This is too much trouble.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

If you take that attitude, then you'll probably never complete a worthwile project.
brokenshard_of_glass

Post by brokenshard_of_glass »

The map was just covered in exploding fuel barrels. IT WAS POINTLESS! I'm still learning how to mod. sorry.
Post Reply