Page 1 of 2
					
				makemod.bat error
				Posted: April 8th, 2009, 11:31 pm
				by lexalolsicnh
				i get this error when i run makemod.bat 
ERROR: Could Not Open '.././zone_source/mod.csv'
anybody know what this means and how i can fix it.
thanks.
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 12:45 pm
				by helium
				Open the makemod.bat file in notepad, copy everything that's in it and paste it here.
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 2:06 pm
				by lexalolsicnh
				del z_modwarfare.iwd
del mod.ff
xcopy ui_mp ..\..\raw\ui_mp /SY
copy /Y mod.csv ..\..\zone_source
cd ..\..\bin
linker_pc.exe -language english -compress -cleanup mod
cd ..\mods\ModWarfare
copy ..\..\zone\english\mod.ff
7za a -r -tzip z_modwarfare.iwd maps
7za a -r -tzip z_modwarfare.iwd images
pause
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 2:11 pm
				by Pedsdude
				Do you have a .csv file?
Also from a quick Google I spotted that somebody also had this line in their file, perhaps it'll help you:
copy /Y mod.csv ..\..\source_data
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 2:26 pm
				by lexalolsicnh
				hi, thanks for the fast responses. whats a csv file and how do i make one? also shall i just add that line in at the bottom?
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 2:30 pm
				by Pedsdude
				I'm not entirely sure what to do, I've never made a mod before 
 
Try adding the line below the other .csv line, and AFAIK you don't have to make your own .csv (I think this file actually makes it for you).
 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 2:36 pm
				by lexalolsicnh
				hi, i just added that line to the bottom and saved, then run the .bat this is what it said....
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 6:03 pm
				by helium
				is there a file called mod.csv in that folder? if not, thats ur problem. if there is, try opening it in notepad and tell us whats in it (im not sure if u can open csv files in notepad cos i never worked with them) 
also, ask any mapper or modder for that file and im sure they can just send it to u
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 7:24 pm
				by Drofder2004
				This is not a file you can simply 'share'.
For example:
codjumper.csv:
Code: Select all
rawfile,maps/mp/gametypes/dm.gsc
rawfile,maps/mp/gametypes/_cj_utility.gsc
rawfile,maps/mp/gametypes/_cj_punish.gsc
rawfile,maps/mp/gametypes/_cj_commands.gsc
rawfile,maps/mp/gametypes/_cj_setup.gsc
rawfile,maps/mp/gametypes/_codjumper.gsc
rawfile,maps/mp/gametypes/_globallogic.gsc
rawfile,maps/mp/gametypes/_gameobjects.gsc
rawfile,maps/mp/gametypes/_quickmessages.gsc
rawfile,maps/mp/gametypes/_hardpoints.gsc
material,cjbanner
material,sponsor
material,shortsponsor
material,cj_frame
menufile,ui_mp/hud.menu
menufile,ui_mp/wm_quickmessage.menu
menufile,ui_mp/scriptmenus/quickstatements.menu
menufile,ui_mp/scriptmenus/quickresponses.menu
menufile,ui_mp/scriptmenus/quickcommands.menu
menufile,ui_mp/scriptmenus/cj.menu
weapon,mp/beretta_mp
localize,cj
localize,cjmessage
The CSV file is what tells the compiler, what needs to be compiled and how to compile it.
The easy way to do things, is to use the compiler you are given, modbuilder.exe, it has a CSV creator built in.
 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 8:35 pm
				by lexalolsicnh
				ohh thanks. ive build mods mods before and made CSV's with the mod builder, i was editing weapon damage and stuff. and when it come to skinning i put 2 and 2 together and got 5. i feel like such a dumb ass. sorry for wasting peoples time.
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 9:03 pm
				by lexalolsicnh
				the mod builder doesn't seam to work.. it says that my file is invalid and that its skipping it, it does it with all iwi's i tested.
			 
			
					
				Re: makemod.bat error
				Posted: April 9th, 2009, 9:13 pm
				by Drofder2004
				Weapon files go in IWD's
Skins must be first converted to IWI and placed in the csv using "material,<material_filename>"
You may need to copy the files manually to the "raw" folders. The mod builder will not do this for you in all cases.
			 
			
					
				Re: makemod.bat error
				Posted: April 10th, 2009, 2:04 pm
				by lexalolsicnh
				i added it to my CSV manually so now all my CSV says is: material, weapon_g36_col.iwi when i click make mod it just make a mod.ff file?? i thought it was meant to be making a .iwd?
			 
			
					
				Re: makemod.bat error
				Posted: April 10th, 2009, 7:42 pm
				by Drofder2004
				Make your own IWD, or again use the built in function called "Make IWD". Tick which files you want to create.
the .ff files have nothing to do with the IWD files.
			 
			
					
				Re: makemod.bat error
				Posted: April 13th, 2009, 2:22 pm
				by lexalolsicnh
				i made my own .iwd but my game appears to completely ignore it? i put my .iwi(a weapon skin) into a folder called images then i zipped the folder,(using winzip 12.0)  and renamed the zip file to .iwd