Page 1 of 3

ERROR: please help

Posted: Tue Nov 03, 2009 2:42 pm
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

Re: ERROR: please help

Posted: Tue Nov 03, 2009 2:50 pm
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.

Re: ERROR: please help

Posted: Tue Nov 03, 2009 3:01 pm
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 ???

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

Posted: Tue Nov 03, 2009 10:40 pm
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

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

Posted: Tue Nov 03, 2009 11:48 pm
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.

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

Posted: Tue Nov 03, 2009 11:58 pm
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

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

Posted: Wed Nov 04, 2009 12:50 am
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.

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

Posted: Wed Nov 04, 2009 1:54 am
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",
?

Re: ERROR: please help

Posted: Wed Nov 04, 2009 6:10 am
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?

Re: ERROR: please help

Posted: Wed Nov 04, 2009 8:43 am
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.

Re: ERROR: please help

Posted: Wed Nov 04, 2009 8:59 am
by Diststripe
So is it optional for the dc to be added?, depending on what folder you have your .tgas in?

Re: ERROR: please help

Posted: Wed Nov 04, 2009 9:29 am
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.

Re: ERROR: please help

Posted: Wed Nov 04, 2009 10:56 am
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?

Re: ERROR: please help

Posted: Wed Nov 04, 2009 11:02 am
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.

Re: ERROR: please help

Posted: Wed Nov 04, 2009 12:08 pm
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:

Re: ERROR: please help

Posted: Wed Nov 04, 2009 4:28 pm
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",

Re: ERROR: please help

Posted: Wed Nov 04, 2009 4:51 pm
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?

Re: ERROR: please help

Posted: Wed Nov 04, 2009 4:59 pm
by DarthD.U.C.K.
or you could rightclick click on "open with" and choose notepad

Re: ERROR: please help

Posted: Wed Nov 04, 2009 5:01 pm
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

Re: ERROR: please help

Posted: Wed Nov 04, 2009 5:09 pm
by genaral_mitch
If you double-click on it and it opens, yes.