makemod.bat error

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

makemod.bat error

Post by lexalolsicnh » April 8th, 2009, 11:31 pm

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.

User avatar
helium
CJ Spammer!
CJ Spammer!
Posts: 718
Joined: December 31st, 2007, 9:04 am
Location: Sweden

Re: makemod.bat error

Post by helium » April 9th, 2009, 12:45 pm

Open the makemod.bat file in notepad, copy everything that's in it and paste it here.
Image

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 9th, 2009, 2:06 pm

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

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: makemod.bat error

Post by Pedsdude » April 9th, 2009, 2:11 pm

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
Image
Image

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 9th, 2009, 2:26 pm

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?

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: makemod.bat error

Post by Pedsdude » April 9th, 2009, 2:30 pm

I'm not entirely sure what to do, I've never made a mod before :P

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).
Image
Image

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 9th, 2009, 2:36 pm

hi, i just added that line to the bottom and saved, then run the .bat this is what it said....
You do not have the required permissions to view the files attached to this post.

User avatar
helium
CJ Spammer!
CJ Spammer!
Posts: 718
Joined: December 31st, 2007, 9:04 am
Location: Sweden

Re: makemod.bat error

Post by helium » April 9th, 2009, 6:03 pm

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
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: makemod.bat error

Post by Drofder2004 » April 9th, 2009, 7:24 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 9th, 2009, 8:35 pm

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.

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 9th, 2009, 9:03 pm

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.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: makemod.bat error

Post by Drofder2004 » April 9th, 2009, 9:13 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 10th, 2009, 2:04 pm

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?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: makemod.bat error

Post by Drofder2004 » April 10th, 2009, 7:42 pm

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.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

lexalolsicnh
CJ Wannabe
CJ Wannabe
Posts: 33
Joined: November 25th, 2007, 9:13 pm

Re: makemod.bat error

Post by lexalolsicnh » April 13th, 2009, 2:22 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests