You are here

A-Tanks

7 posts / 0 new
Last post
charlie_24
Offline
Last seen: 11 years 3 months ago
Joined: 2009-08-25 13:56
A-Tanks

When will A-Tanks version 3.9 be released in Portable Apps format?

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
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.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Lol,

they changed the settings file again Biggrin
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)

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
No I can handle it myself! :)

but I like txt files better than dat files!

I had an exam today so Ill post the new version in the next days.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Alright,

guess you could wait for the 4.0 release though, an alpha has been released already 8)

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Do you

check their site daily??? Wink

Iĺl do a prerelease to see if everything works and then well see how fast they are with 4.0.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Lol, nope :D

I just checked it yesterday, downloaded ATanks 3.9 and upgraded my portable install Smile

Log in or register to post comments