User Tools

Site Tools


arma:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arma:misc [2009-07-13 20:16]
snakeman added unpacked addons part.
arma:misc [2009-12-10 18:38] (current)
Line 116: Line 116:
  
 Run ArmA and you should be able to edit the DIR contents and see edited results ingame after mission restart / new mission editor preview. Run ArmA and you should be able to edit the DIR contents and see edited results ingame after mission restart / new mission editor preview.
 +
 +
 +====== Howto run DOS tools ======
 +
 +To run DOS tools you need to open the dos box in windows (or cmd whatever its called).
 +
 +Its recommended to do this through a batch file (.bat), as this way all the work you are doing are by default saved, so you don't have to retype sometimes very difficult commands many times over.
 +
 +To create dos batch file do this:
 +
 +  - Using windows explorer (My Computer) browse to the directory where you want the command to be run.
 +  - Right Mouse Button (RMB) click and choose New -> Text Document.
 +  - Give it file name: _run_moveobject.bat
 +  - Open _run_moveobject.bat in your favorite text editor.
 +
 +Now you have created dos batch file and are ready to write some commands to it.
 +
 +The "​prefix"​ _run_ is just there for two reasons, the _ places it usually to the first on the alphabets so its first found in dir/​explorer list, the "​run"​ part describes it to be file that runs some util. You can call the .bat file what ever you like, totally up to you, this was just one example.
 +
 +Simple setup to run Mikero'​s MoveObject util would look like this:
 +<code dos>
 +MoveObject.exe camel_pilot.p3d ca\characters\data\ some\new\path\
 +pause
 +</​code>​
 +
 +First line would be the actual command line to run moveobject util, second line is "​pause"​ which means the dos box pauses until you press any key to continue, when you do this... there is no more commands to execute so the dos box closes itself automatically. So leaving out the pause command just opens the dos box for the duration of running the tool/​commands,​ which most cases is very short time and you can't even see what happened.
 +
 +Another example is BIS tool called pal2pace, here is how you convert all PNG files in the dir into PAA files:
 +<code dos>
 +for %%i in (*.png) do (\armatools\texview2\pal2pace %%i)
 +pause
 +</​code>​
 +This is bit more complicated command, it will process a loop where it goes through all PNG files found in the dir and executes the pal2pace util for them. Again the pause command on the second line causes the dos box to halt when pal2pace on the first line is done, so you can observe what happened.
arma/misc.1247516179.txt.gz ยท Last modified: 2009-07-13 20:16 (external edit)