Author: Moerderhoschi
Author Website: http://moerderhoschi.bplaced.net

Version: 1.2

Short description: mdhClassReplace.jar is a simple javaprogram to replace classes in all sqf, sqm files in the folder and subfolders of the toollocation.

Date: 2016-09-19 13:06


Comments: (0)
Rating:



 



mdhClassReplace

by
Moerderhoschi


Description:
mdhClassReplace.jar is a simple javaprogram to replace classes in all sqf, sqm files in the folder and subfolders of the toollocation. Set classnames in the mdhClassReplace.cfg file.
I wrote it to replace all the A2 classnames of my arma 2 missions with the CUP ones. So the tool scans all sqm, sqf files and replace the classnames with the ones set in the mdhClassReplace.cfg.



Installation / Usage:
how does it work:
1. create and write log messages into the mdhClassReplaceLog.txt
2. read the mdhClassReplace.cfg to get the old and new classnames for the replacement
3. check every sqm, sqf file in the folder and subfolders of the toollocation for the old classnames and replace them with the new one

how to use it, example to port A2 mission to A3 with CUP:
1. download the mdhClassReplace.7z
2. extract it to an empty folder
3. put your arma 2 missions into the same folder
4. doubleklick the mdhClassReplace.jar file
5. check the mdhClassReplaceLog.txt file to see what the tool has done
6. copy your arma 2 mission into your arma 3 missions folder and open it in the 3D editor (hopefully it works :D)


Changelog:
v1.2
- added more replacements to the mdhClassReplace.cfg
- update of Javaprogram .sqs and .ext files now also checked along with .sqm and .sqf

v1.1
- fixed issue with case sensitivity at classname replace -> now the class replacement is case insensitiv
- added more classes to replace to the mdhClassReplace.cfg


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Classes,   Program,   Tools