When will A-Tanks version 3.9 be released in Portable Apps format?
You are here
A-Tanks
September 11, 2009 - 1:03pm
#1
A-Tanks
September 11, 2009 - 7:06pm
#2
I am
working on it. It takes a little longer than expected because they changed the setings file and I have to get the language switching working again.
There will be a prerelease first because I changed some things in the Launcher too.
September 17, 2009 - 9:22am
#3
Lol,
they changed the settings file again
Need help?
Use this:
;(NSIS Plugins) !include TextReplace.nsh ;(Custom) !include ReplaceInFileWithTextReplace.nsh
and that:
AdjustLanguage: ReadEnvStr $PLATFORMLANGUAGE "PortableApps.comLocaleCode2" ${Select} $PLATFORMLANGUAGE ${Case} "de" ;German StrCpy $APPLANGUAGE "3" ${Case} "en" ;English StrCpy $APPLANGUAGE "0" ${Case} "fr" ;French StrCpy $APPLANGUAGE "2" ${Case} "pt" ;Portuguese StrCpy $APPLANGUAGE "1" ${Case} "ru" ;Russian StrCpy $APPLANGUAGE "5" ${Case} "sk" ;Slovak StrCpy $APPLANGUAGE "4" ${CaseElse} Goto LaunchNow ${EndSelect} ${For} $0 0 5 ${If} $0 != $APPLANGUAGE ${ReplaceInFile} "$SETTINGSDIRECTORY\.atanks\atanks-config.txt" "LANGUAGE=$0" "LANGUAGE=$APPLANGUAGE" ${EndIf} ${Next} LaunchNow:
8)