My game's crashing! (New Problem)

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

User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

My game's crashing! (New Problem)

Post by Master of Stickmen »

Ok, lemme cut to the chase. I run battlefront 2 and play a map. then I exit and munge my map. I run it again, and my map wont show up on th map list, but its in my addon folder.Then I notice that my map is missing its addme.script. then I munge one of my custom sides, and the addme.script is in my maps folder, but whenever I run SWBF2, it crashes once it gets to the profile screen. Whats wrong??????
Last edited by Master of Stickmen on Sun Aug 30, 2009 6:41 pm, edited 1 time in total.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: My game's crashing!

Post by 501st_commander »

run the bf2modtools.exe, it will tell you why the game is crashing. then post the error.log
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

Mod tools does the same thing.... it just crashes with no error.log

EDIT

Think I found it, does this make any sense to you?
Hidden/Spoiler:
[quote="BFront2.log"]Opened logfile BFront2.log 2009-08-26 2007
shell_interface: Entered
shell_interface: gPlatformStr, gOnlineServiceStr, gLangStr, gLangEnum: PC GameSpy english 0
ifs_era_handler - Entered
ifs_era_handler - Exited
shell_interface: No custom_gc_0.lvl
shell_interface: No custom_gc_1.lvl
shell_interface: No custom_gc_2.lvl
shell_interface: No custom_gc_3.lvl
shell_interface: No custom_gc_4.lvl
shell_interface: No custom_gc_5.lvl
shell_interface: No custom_gc_6.lvl
shell_interface: No custom_gc_7.lvl
shell_interface: No custom_gc_8.lvl
shell_interface: No custom_gc_9.lvl
shell_interface: No custom_gc_10.lvl
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Finished building game mode table Known Modes: 39
custom_GetMPGameModeList(): Finished building game mode list table List Length: 40
custom_SetMovieLocation()
custom_GetGCButtonList()
custom_SetMovieLocation()
custom_GetFreeformBattleModeList(): Finished building freeform battle mode list Known Modes: 39
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
Mission Checker: Entered addme
Mission Checker: addme: Now listening in on AddDownloadableContent() calls
Mission Checker: Exited addme
Cannot find side\rvs.lvl. Skipping BGL's extra KotOR missions
Cannot find ..\..\addon\BDT\data\_LVL_PC\SIDE\dark.lvl. Skipping BGL's extra Dark Times missions

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\BDT\data\_LVL_PC\dtshell.lvl

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found[/quote]
EDIT 2
I'll take my map out of my addon and see if it still crashes.

EDIT 3
OK, without my map, it works fine, so it IS my map, but what ABOUT my map is causing the problem?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: My game's crashing!

Post by 501st_commander »

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found
make sure the addme files are in,
\BF2_ModTools\data_***\addme\munged\addme.script

and
\BF2_ModTools\data_***\addme\addme.lua

if not clean and remunge
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

it's all there, yet still crash.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: My game's crashing!

Post by 501st_commander »

see if you addme is here somewhere:

\BF2_ModTools\data_***\_LVL_PC
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

501st_commander wrote:see if you addme is here somewhere:

\BF2_ModTools\data_***\_LVL_PC
that dir isn't even in my data_*** folder
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: My game's crashing!

Post by 501st_commander »

_LVL_PC isnt? oh no, in your map data file you removed is there lvl files?
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

you mean the one in my addon folder? lemmie check.... nope.

BTW
There never was a _LVL_PC folder in my data_*** folder
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: My game's crashing!

Post by 501st_commander »

on the first munge, VM make one, if it doesn't, im not sure why.


edit:
when VM munges is there any errors?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: My game's crashing!

Post by Frisbeetarian »

How fast is your first munge? It is reminiscent of another error I've seen, but in those cases, the addme.script always got moved over.
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

Frisbeetarian wrote:How fast is your first munge? It is reminiscent of another error I've seen, but in those cases, the addme.script always got moved over.
REALLY quick. (like 3 seconds)
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: My game's crashing!

Post by Frisbeetarian »

Just to confirm, when you munge a brand new map, does the map show up in the mission list at all (it would show up like ABC%s_%s).
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

Master of Stickmen wrote:Ok, lemme cut to the chase. I run battlefront 2 and play a map. then I exit and munge my map. I run it again, and my map wont show up on th map list, but its in my addon folder.Then I notice that my map is missing its addme.script. then I munge one of my custom sides, and the addme.script is in my maps folder, but whenever I run SWBF2, it crashes once it gets to the profile screen. Whats wrong??????
See red text (this is my first map)

EDIT
sorry for double post, but, MY GAMES STILL NOT WORKING

You already have 1 warning, don't push it -Staff
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: My game's crashing!

Post by [RDH]Zerted »

Where do you have the mod tools installed? Do a full, manual clean then remunge and try again. Post your addme.lua.
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

[RDH]Zerted wrote:Where do you have the mod tools installed?
Program files\Lucasarts

is that bad?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: My game's crashing!

Post by Frisbeetarian »

Master of Stickmen wrote:is that bad?
Yes

You cannot have a space in the directory for the ModTools; it screws up the batch files commands.

Good catch Zerted.
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

Frisbeetarian wrote:
Master of Stickmen wrote:is that bad?
Yes

You cannot have a space in the directory for the ModTools; it screws up the batch files commands.
No, its in my lucasarts folder that was created when i installed battlefront
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: My game's crashing!

Post by Frisbeetarian »

If you're telling me that I'm wrong, that's fine, your ModTools just won't work.

If that path that the folder BF2_ModTools is in has a space in it, you cannot get it to munge properly.
User avatar
Master of Stickmen
Sergeant Major
Sergeant Major
Posts: 233
Joined: Wed Mar 25, 2009 3:59 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: In your ear, pretending to be that voice in your head you call your "concience".

Re: My game's crashing!

Post by Master of Stickmen »

ok ill check it.....

EDIT
oh, crap, you're right!

now how do I reinstall it without losing my map?
Post Reply