Side mod crash

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
nitro_byrn
Posts: 3
Joined: Tue Jun 09, 2009 12:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Side mod crash

Post by nitro_byrn »

Okay, I am trying to make a new map and I created the blank map, munged it, then tested it to make sure it worked. It did so I deceided to make some new trooper skins.I put the REP side folder in my map side folder and edited the TGA file I wanted in GIMP 2 and replaced the old one.
I edited the MAPc_con.lua script file readdata line to ("dc:side\\rep.lvl" (using notepad), munged the map (amking sure to load the rep side) and when it finished it opened a text document with lots of warnings, but no errors. I then started BFII and started my map on clone wars conquest mode and it was in the loading screen about 1/3 of the way done the it crashed to my desktop.
Ive tried everything I can think of even using the unmodified rep side but I still have this issue.

Any help would be greatly appreciated.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Side mod crash

Post by 501st_commander »

Can you post the error log?

To get the error log:
Copy the BF2_modtools.exe from the main BF2_modtools folder and paste it in the same folder as your battlefront2.exe, usually ...\LucasArts\Star Wars Battlefront II\GameData. Then you can launch BF2_modtools.exe and play your map to get a BFront2.log located in that same folder.
Note to Vista users:
If you can't find your BFront2.log it may be saved to this location: C:\Users\<username>\AppData\Local\VirtualStore\Program Files\LucasArts\Star Wars Battlefront II\GameData
Or click,
Hidden/Spoiler:
Image
Play the map with the BF2_modtools.exe, then post the error log.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Side mod crash

Post by kinetosimpetus »

did you copy the common side as well as the rep side?
nitro_byrn
Posts: 3
Joined: Tue Jun 09, 2009 12:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Side mod crash

Post by nitro_byrn »

Here is the BFII log:
Hidden/Spoiler:
[code]Opened logfile BFront2.log 2009-09-23 1016
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: Found custom_gc_5.lvl
custom_gc_5: Entered

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\SK1\data\_LVL_PC\Load\core.lvl
ifs_freeform_init_jcw.lua
ifs_freeform_start_jcw.lua

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\SK1\data\_LVL_PC\Load\core.lvl
custom_gc_5: Taking control of custom_GetGCButtonList()...
custom_gc_5: Taking control of custom_PressedGCButton()...
custom_gc_5: Exited
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_gc_5: custom_GetGCButtonList(): Entered
custom_GetGCButtonList()
custom_gc_5: custom_GetGCButtonList(): Exited
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
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit

Message Severity: 2
.\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main

ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
ifs_sp_campaign: Input_Accept(): Entered: _tab_instant
missionlist_ExpandMapList()
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
ifs_missionselect_pcMulti_fnSetMapPreview(): Stored movie name, file: preview-loop MOVIES\pre-movie
custom_CheckChangeMovies(): Update(): Time to change movies
ifs_missionselect_pcMulti_ChangeMovieFile(): MovieFile: nil
ifs_missionselect_pcMulti_ChangeMovieFile(): Closed any open movie
ifs_missionselect_pcMulti_ChangeMovieFile(): Opening movie: MOVIES\pre-movie.mvs
ifs_missionselect_pcMulti_ChangeMovieFile(): Finished opening movie
this.CurButton = check_mode1
cur_button = nil
Checkbox for check_era3 clicked
this.CurButton = check_era3
cur_button = nil
this.CurButton = nil
cur_button = nil
DoubleClicked
custom_AddMapNew()
custom_printTable(): table: 03CF124C
The key, value is: era_c 1
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: WW2<A>_<B>
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 03CF6B0C
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_c Era = era_c subst = c
Adding map: WW2c_con idx: 1
this.CurButton = Launch
cur_button = nil

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture btn_directional_pad_LR
game_interface: Entered
utility_functions2: Listening on AddUnitClass() calls
utility_functions2: Listening on SetHeroClass() calls
utility_functions2: Listening on ReadDataFile() calls
game_interface: Reading in custom strings
game_interface: No user_script_0.lvl
game_interface: No user_script_1.lvl
game_interface: No user_script_2.lvl
game_interface: No user_script_3.lvl
game_interface: No user_script_4.lvl
game_interface: No user_script_5.lvl
game_interface: No user_script_6.lvl
game_interface: No user_script_7.lvl
game_interface: No user_script_8.lvl
game_interface: No user_script_9.lvl
game_interface: No user_script_10.lvl
ifs_sideselect_fnBuildScreen()
game_interface: Exited

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 3
.\Source\Weapon.cpp(1604)
Weapon base class "com_weap_inf_lightsaber" not found
[/code]



EDIT
I tried adding the common folder and when I ran the map It worked, but used all default sides.

v To mswf, thanks for the welcome and telling me how to put code in another box. I also had no idea about the double post rule, thaks for telling me.
Last edited by nitro_byrn on Wed Sep 23, 2009 11:48 am, edited 5 times in total.
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Side mod crash

Post by mswf »

I can't help you with your problem, but here's what I can do:
Nitro_byrn; Welcome to Gametoast. For your convenience, I'd advise you to read the rules, which can be found by clicking on "profile" in the top of the page (do read them, they're different from others.) Also, you can post long lists of codes between these tags: .[.code.].[./code.]. (without the dots, obviously), so you can view it more easily. Also there's an edit button on the down-right corner of your posts that you can use instead of double posting. (it's one of those rules)

I hope you enjoy your stay, happy modding :)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Side mod crash

Post by Fiodis »

Please post your LUA, so we can look over it.
Post Reply