ERROR: please help

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

Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

ERROR: please help

Post by Diststripe »

whenever I try to play my custom map it shuts down swbf2 completly whats going on???, this started occuring after I finally munged my skins, I was so excited to play them and then this would really appreciate some help thx
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: ERROR: please help

Post by AQT »

It would help us to help you if you were to provide more detailed information such as any munge errors or an error log. Check the FAQ if you must.
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

well This will help a lot http://www.youtube.com/user/AllTheTutor ... KcG0kgqEsM

I did exactly what he said, did he forget to mention any information, leave out a step, or give us wrong steps please help,

and when I visual munged it when I was done I had no errors, I also went crazy on the .tga files adding a lot of colour and stuff could i have added to much ???
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

be my hero, and tell me why my skins wont work..............

Post by Diststripe »

My skins dont seem to work I followd everything on this tutorial: http://www.youtube.com/watch?v=sKcG0kgqEsM

I was so excited to find out if all of my hard `GIMPY` work, worked :P

Detailed Problem: When i try and load my map on swbf2 it crashes at the end of the loading, I munged my files as:

Worlds: BFD (The world im trying to get my skins to work on)
Sides: rep (The side that I have skinned)

I also tryed giving it a clean by pressing the button on visual munge that said clean and re-munging it and it did not make a differnce.

I know that this question is going to come up and yes when I opened up VisualMunge I opened it up from my Data_BFD folder.

What I may have been messing up on is that I am pasting the common folder in C:\BF2_ModTools\data_BFD\Sides.
Should it be in C:\BF2_ModTools\data_BFD\Sides\rep

Yes I am using the right commmon folder from C:\BF2_ModTools\assets\sides

I would really appriciate if someone could help me out because they would be my hero :thumbs: ;P

Oh and if you could request any other tutorials or document(s) that would be amazing thx guys
Looking forward to hear your answers :D

Topics merged, it's best to keep it together -Staff
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: be my hero, and tell me why my skins wont work..............

Post by Fiodis »

The Common folder should be in dataBFD/SIDES; you have it in the right spot.
Do you have any mungelog or error log messages?
Also, on a hunch, post your LUA.
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: be my hero, and tell me why my skins wont work..............

Post by Diststripe »

LUA sorry can you just give me a little directory where it should be and ill post it thx

Also I cleaned out EVERYTHING from visual munge and then when I remunged it I only did munge:

Worlds: BFD Side: REP

was I supposed to munge ``EVERYTHING`` again ?

heres my error log [Munge log you mean, -Staff]
Hidden/Spoiler:
WARNING[PC_modelmunge msh\imp_1st_darktrooper.msh]:imp_1st_darktrooper has 1368 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_1st_bobafett.msh]:imp_1st_bobafett has 1102 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_1st_snowtrooper.msh]:imp_1st_snowtrooper has 1202 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_droid_probe.msh]:imp_droid_probe has 2032 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_atatcommander.msh]:imp_inf_atatcommander has 1518 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_atatpilot.msh]:imp_inf_atatpilot has 1785 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_atstpilot.msh]:imp_inf_atstpilot has 1280 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_bobafett.msh]:imp_inf_bobafett has 2765 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_darktrooper.msh]:imp_inf_darktrooper has 1936 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_darthsidious.msh]:imp_inf_darthsidious has 2625 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_darthvader.msh]:imp_inf_darthvader has 2062 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_gunner.msh]:imp_inf_gunner has 1672 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_officer.msh]:imp_inf_officer has 1110 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_pilot.msh]:imp_inf_pilot has 1570 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_scout.msh]:imp_inf_scout has 1329 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_shocktrooper.msh]:imp_inf_shocktrooper has 2442 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_snowtrooper.msh]:imp_inf_snowtrooper has 1566 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_stormtrooper.msh]:imp_inf_stormtrooper has 2031 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_walk_atat.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
WARNING[PC_modelmunge msh\imp_walk_atat.msh]:SplitSkinnedSegments: WARNING: out of space in splitting catalog!
0 Errors 20 Warnings

ERROR[PC_texturemunge msh\imp_inf_scout.tga]:Targa type 10 not currently supported.
ERROR[PC_texturemunge msh\imp_inf_scout.tga]:Targa type 10 not currently supported.
[continuing]
2 Errors 0 Warnings
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: be my hero, and tell me why my skins wont work..............

Post by Fiodis »

You should munge everything under sides, if you only choose rep it doesn't munge the common folder.

Also, it seems you didn't uncheck RLE compression when saving your textures.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: be my hero, and tell me why my skins wont work..............

Post by genaral_mitch »

Did you put the dc before this:

Code: Select all

ReadDataFile("SIDE\\rep.lvl",
So it looks like this:

Code: Select all

ReadDataFile("dc:SIDE\\rep.lvl",
?
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

no I dident put dc before as I was not instructed to do so, and I already munged`tryed mungine ``EVERYTHING`` and it dident work but Ihad a useless folder in there with other msh and .tga so thats proably the reason Ill jst take it out and munge everything again and it should work

thx guys but why do I put ``dc`` in front

also I dident turn RLE Compression off for only 1 of the textures would that be the cause for the loading crashes?
Last edited by Diststripe on Wed Nov 04, 2009 8:46 am, edited 1 time in total.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: ERROR: please help

Post by MercuryNoodles »

"dc:" tells the game to look in the addon map's directory for the file, rather than the default directory under Gamedata/data.

Also, if you've cleaned everything, make sure you remunge the world's common folder (the checkbox) at least once, preferrably after you've altered the lua. Btw, the lua is under data_BFD/Common/scripts/BFD.

I also suggest reading the documentation that came with the tools at least twice, along with the tutorials in the FAQ thread here. Even more info can be found here, but definitely go over the previously mentioned docs and tuts, since they will help you the most at the start.

Edit: Yes, RLE compression for any texture will cause a crash. It shows in the mungelog.
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

So is it optional for the dc to be added?, depending on what folder you have your .tgas in?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: ERROR: please help

Post by MercuryNoodles »

If you're making a new side, even if you're just remaking a stock side, you need to use dc. Unless you're making a full on side mod, that new rep side is going to appear in your map's directory (Gamedata/addon/BFD/data/_LVL_PC/SIDE), not under Gamedata/data/_LVL_PC/SIDE where the game is set to look by default. In other words, if you leave that line in your lua unchanged, the game will simply load the rep side that came with the game instead of your side.

It has nothing to do with the where your tga files are. What matters is where the lvl files are.
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

oh alright that makes perfect sence dident understand at first, so basically once i viusual munge it all of my files and tga merge into a .lvl file for that unit then I add it to the side folder inside of my DATA_BFD (my .wld file) and just overwrite the pre exsisting .lvl file for that particular unit?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: ERROR: please help

Post by MercuryNoodles »

The tgas and whatnot are merged into a lvl file, but VM copies the new rep.lvl file to your map's side folder. All you need to do is setup and munge the side.
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

alright I have done that step exactly and was wondering what was wrong but the problem was that I did not put dc infront of any of the files so once have that It should workl sinmce I have all of the lvl files in the right place

also cleaned and munged everything (not sure if I have to munge the side that I modded after I munged everything I higholy doubt it, but I just wanna make sure)

The map seems to crash, usually once I see what side selection screen it will crash about a second after I see it.

So thats probably a scripting probelm when its crashing so once I place in the dc It should work right?





and could you just tell me where I am supposed to put dc

If you could do that you will be my :bowdown: hero :bowdown: , if it works of course :thumbs:
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: ERROR: please help

Post by genaral_mitch »

Data_BFD\Common\Scripts\ If it's clone wars conquest then BFDc_con open it with notepad
and scroll down to this:

Code: Select all

ReadDataFile("SIDE\\rep.lvl",
then change it to this:

Code: Select all

ReadDataFile("dc:SIDE\\rep.lvl",
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

Ya it does not give me the option to open it with note pad what should I do?

wait I just figured something out do I right click it go to properties and change the file to .txt then edit it then change it back to a lua?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: ERROR: please help

Post by DarthD.U.C.K. »

or you could rightclick click on "open with" and choose notepad
Diststripe
Private
Posts: 43
Joined: Tue Nov 03, 2009 2:10 pm

Re: ERROR: please help

Post by Diststripe »

ya i dident have that option for some reason, but the way I did it was go to properties then change it to a .txt file then when I was done I changed it back to a .lua file.

The file no has a notepad symbol and is .lua is tht what how it should be?

also under `Type`it says `Text Document`and I can already see this in beinga huge pain in the Diet Dr. Pepper problem

is it supposed to be switched back to LUA because I have no clue how to
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: ERROR: please help

Post by genaral_mitch »

If you double-click on it and it opens, yes.
Locked