How to convert LSF to LSX in batches
Now you can only convert one LSF to LSX, how can you achieve batch conversion?
There is "Batch convert" section in "LSX / LSB / LSF / LSJ Tools" :) It recursively convert all files from a root directory and all subdirectories.
put this in a file *.bat bg3divine is the path to divine.exe root1 is the path of the mods to converts
------------------------------------------------------------------------- Bat file ------------------------------------ @echo off
set bg3divine=C:\Tools\divine.exe set root1=C:\FULL-RELEASE\
echo on
@echo will convert all LSX (XML) files to Binary LSF @echo using divine.exe
%bg3divine% -g "bg3" -s %root1% -d %root1% -a "convert-resources" -i "lsx" -o "lsf"
pause
put this in a file *.bat bg3divine is the path to divine.exe root1 is the path of the mods to converts
------------------------------------------------------------------------- Bat file ------------------------------------ @echo off
set bg3divine=C:\Tools\divine.exe set root1=C:\FULL-RELEASE\
echo on
@echo will convert all LSX (XML) files to Binary LSF @echo using divine.exe
%bg3divine% -g "bg3" -s %root1% -d %root1% -a "convert-resources" -i "lsx" -o "lsf"
pause
Thanks a lot :) I didn't know there was a command-line tool :) I just tried "ConverterApp.exe" in a command prompt with usual /?, --help and -h options but it never printed any help message :(
but i was not able to convert XML to LOCA maybe somebody knows how ?
but i was not able to convert XML to LOCA maybe somebody knows how ?
Even when changing the extension ? You just need to put .xml for the source and .loca for the destination :) It's using the format defined with the extension.
not working i think that loca can not be converted in a Batch