i want to create a new skin but i have a problem with skin system
i run this command : java -cp . CreateSkin and receive this :
Usage: java CreateSkin <skin>
(to create the appropriate skin) or
java CreateSkin ALL
(to create all skins)
Available skins are:
debug
easy_glaze
easy_glaze_small
lila
lila_info
old
old_noborder
position_blue
silk
silk_button
standard
stuttgart
wooden
OK ! it no problem ! but after this i run this command : java -cp . CreateSkin standard
but i receive this error :
java.io.IOException: Cannot run program "mtasc.exe" (in directory "..\skins\stan
dard"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at CreateSkin.exec(CreateSkin.java:97)
at CreateSkin.compileSkin(CreateSkin.java:199)
at CreateSkin.main(CreateSkin.java:80)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 5 more
what is the problem ? mtasc.exe is on the root dir.
You have to update your PATH system variable as described in the documentation so that the executables can be called from every place regardless what root dir is.