You are here

[OUTDATED] Freeciv 2.2.0 portable Development Test 6

65 posts / 0 new
Last post
dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
[OUTDATED] Freeciv 2.2.0 portable Development Test 6

Application: Freeciv
Category: Games
Description: Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your mission is to lead your tribe from the stone age to the space age...

Download Freeciv Portable 2.2.0 Development Test 5 [16.2MB download / 45.0MB installed]
(MD5: ad3029300bb00cc59170181ba5b14bd2)

New discussion thread

Release Notes:

Development Test 6 (2010-02-11):

  • Updated to Freeciv 2.2.0

Development Test 5 (2010-02-11):
As per Bart.S's critique:

  • Attempted to make language files optional
  • Fixed category in appinfo.ini
  • Added more image sizes to appicon.ico
  • Removed unused DefaultData folder
  • Used common ini strings in FreecivPortable.nsi and FreecivPortable.ini
  • Added Readme.txt
  • Tweaked language selection

Development Test 4 (2010-01-15):

  • Added language support
    • Attempts to get information (including language from the INI file
    • If no INI exists, attempts to get language from PA platform
  • Updated Freeciv to version 2.1.10
  • Updated installer to PortableApps.comInstaller 1.02

Development Test 3 (2009-07-08):

Test Release 2 (2009-06-16):

  • launcher looking for the wrong executable
  • made launcher save files and settings are saved to the Data\settings directory
  • compressed of the files to reduce the footprint

Test Release 1 (209-06-12): Initial release

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Java

Thanks for making this. Can you confirm if it uses Java Portable or is it set to use the base java install? To be portable you'll need to instruct the app to use Java Portable. Having a look at Chris Morgan's efforts with Gantt Porject Portable and Sweet Home 3D Portable will give you good examples.

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
RE: Java - oops

I didn't even realize that FreeCiv used Java. I'll take a look at getting it to use Java Portable.

Thanks!

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Are you sure?

Are you sure that FreeCiv uses Java? The FreeCiv Sourceforge page says that it uses C.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-12-06 18:07
I just downloaded the source

I just downloaded the source code. Didn't see any JAVA at all...

The developer formerly known as ZGitRDun8705

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Maybe...

Did you mean GTK+ instead of Java? I did see that FreeCiv uses GTK+. I briefly looked at Pidgin Portable to see how GTK+ is done there, but I think I need to look at some other examples to figure it out. If anyone has any suggestions, I would be glad to hear them!

I also realized that I'm not saving the saved games. I don't know if there are any other settings I need to copy over too. I'm trying to get that figured out, then I'll upload a new installer.

Thanks,

Andy

Bart.S
Offline
Last seen: 5 months 6 days ago
Developer
Joined: 2008-07-23 07:56
GTK apps:

GIMP, Dia, Inkscape, ... and many more Smile

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Awesome!

Thanks for the references, I'll take a look at them later.

Andy

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
No GTKCommon

John said that PortableApps.com is moving away from GTKCommon, so there isn't anything I need to do with that.

Bart.S
Offline
Last seen: 5 months 6 days ago
Developer
Joined: 2008-07-23 07:56
I know :-)

You asked for examples and I listed some ...

... and my Dia Portable launcher doesn't support GTKCommon anymore. It still supports custom paths to the GTKDirectory (for the geeks ;)).

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Oh...

I didn't mean that as me telling you that. I wanted to put a note in the comments to say that I wasn't doing the GTKCommon thing, and this seemed the most appropriate place to put it. I had it in the main post, but removed it.

Bart.S
Offline
Last seen: 5 months 6 days ago
Developer
Joined: 2008-07-23 07:56
Ah, I see

Never mind Smile

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
My bad

I think I got FreeCiv and FreeCol mixed up.

PortableApps.com Advocate

enderandrew
Offline
Last seen: 14 years 4 months ago
Joined: 2007-07-27 07:26
Compression

Thanks for doing this! My only comment is that the .exe, .dll and .png files aren't compressed.

Edit: There is an even bigger problem. Your launcher is looking for freeciv.exe and not civclient.exe, so the launcher doesn't work. I renamed civclient.exe to freeciv.exe and then it worked fine here.

Nihilism makes me smile.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
RE: Compression

Check, I will do compression on all of the files to get them as small as possible. Thanks.

That's interesting that it didn't work on you computer. I was able to run it and it found the .exe file just fine. I'll take a look at it and get that problem fixed.

Thanks for the feedback!

jnw222
Offline
Last seen: 12 years 6 months ago
Joined: 2009-05-30 11:10
launcher

working on launcher
woot! first time i have studied NSIS

jnw222
Offline
Last seen: 12 years 6 months ago
Joined: 2009-05-30 11:10
working launcher

http://rapidshare.com/files/244960543/FreeCivPortable_2.1.9_English.paf....

temporary link to an modified version with a out -of-box working launcher

changes:
launcher points to civclient.exe instead of freeciv.exe
installer version .91.3

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Feedback

* Here you can find a screenshot confirming that FreeCiv Portable is not currently working on a fresh install.
* You cannot label FreeCiv a pre-release. This is done once it had been tested and approved to go to pre-release stage by the release team.
* Thanks again for creating this = )

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Oops, yeah...

Thanks for the screenshot. I think I've already fixed the problem, but I haven't had a chance to test it in a VM yet.

I've been out for a while, and I wasn't thinking when I labeled it Pre-Release. I
have now changed it to Test-Release, which, I hope is less official.

I hope to have the save files figured out soon, and I'll post another test when I get that working.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Test Release 2

I updated the post, but that doesn't register in the forum, so I'm posting to let people know that I've updated this.

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Thanks dagardner

Will test tonight = )

EDIT: I was impatient and did a quick test at work. I can confirm it works on XP SP3 without admin rights. Great work mate. Also I noticed the icon looks like it has a halo. Can I recommend getting an icon from the FreeCiv development team rather than this one which looks like you've extracted from a screenshot. Alternatively I found this one thru a google image search. It's in jpeg format but using IcoFX (Portable launcher here) you can easily convert it to a ico file.

Hope this helps = )

EDIT2: Confirming the game works with admin rights on XP. Regshot results below:

Regshot 1.8.2
Comments:
Datetime:2009/6/17 08:39:10  ,  2009/6/17 08:54:02
Computer:TOWER_7200 , TOWER_7200
Username: , 

----------------------------------
Values deleted:4
----------------------------------
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\DiskCleanerPortable\DiskCleanerPortable.exe: "Disk Cleaner Portable"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\DiskCleanerPortable\App\DiskCleaner\dclean.exe: "Disk Cleaner main module"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\RegshotPortable\RegshotPortable.exe: "Regshot Portable"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\RegshotPortable\App\regshot\regshot.exe: "regshot"

----------------------------------
Values added:8
----------------------------------
HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List\G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe: "G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe:*:Enabled:civserver"
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List\G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe: "G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe:*:Enabled:civserver"
HKU\.DEFAULT\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe: "civserver"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\LangID: 09 04
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe: "civserver"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\@xpsp3res.dll,-20000: "Network Diagnostics for Windows XP"
HKU\S-1-5-21-796845957-789336058-839522115-500\Software\Microsoft\Windows\ShellNoRoam\MUICache\@C:\WINDOWS\system32\netshell.dll,-1200: "Network Connections"
HKU\S-1-5-18\Software\Microsoft\Windows\ShellNoRoam\MUICache\G:\PortableApps\FreeCivPortable\App\FreeCiv\civserver.exe: "civserver"

----------------------------------
Values modified:8
----------------------------------
HKLM\SOFTWARE\Microsoft\Cryptography\RNG\Seed: 0B 3F CF 11 50 55 F8 DF 53 0C 08 8B E0 9F C9 C2 4A 73 C0 A1 32 58 8F 40 26 16 7E 8E A5 95 A7 0B E3 A4 61 5C 9A B6 96 D2 2B E4 A1 56 9C F3 C5 78 50 79 AF 1B F9 6F B4 30 87 A9 D0 C8 2D 18 FC EB 64 E3 0D 81 4A E7 38 61 90 AA 45 B0 FD 8F CA 5B
HKLM\SOFTWARE\Microsoft\Cryptography\RNG\Seed: CC 61 94 70 9B BD A0 C9 3B BA 52 0E 26 08 1C 8A D6 BA 31 06 6A B6 CB AF 5D 92 65 F8 A9 77 53 48 A4 46 AD DE 43 70 87 FF 7A CE CF 19 6E 9A 46 BB 52 24 D4 8C 6A 87 55 5F 1A 71 4F CB E4 AE 46 3C C6 B9 29 1E 1D 8C 61 57 95 E2 29 5D 65 87 69 26
HKLM\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       0: 0x0000C28F
HKLM\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       0: 0x00008F5C
HKLM\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       1: 0x0000C28F
HKLM\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       1: 0x00008F5C
HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Epoch\Epoch: 0x00001163
HKLM\SYSTEM\ControlSet001\Services\SharedAccess\Epoch\Epoch: 0x00001166
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       0: 0x0000C28F
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       0: 0x00008F5C
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       1: 0x0000C28F
HKLM\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#USB#VID_046D&PID_0A07&MI_00#6&7A0040C&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#GLOBAL\Device Parameters\Mixer\       0\Controls\       1\Channel       1: 0x00008F5C
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch\Epoch: 0x00001163
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch\Epoch: 0x00001166
HKU\S-1-5-21-796845957-789336058-839522115-500\SessionInformation\ProgramCount: 0x00000003
HKU\S-1-5-21-796845957-789336058-839522115-500\SessionInformation\ProgramCount: 0x00000001

----------------------------------
Files added:4
----------------------------------
C:\WINDOWS\Prefetch\CIVCLIENT.EXE-055C2BE0.pf
C:\WINDOWS\Prefetch\CIVSERVER.EXE-04BA6FB1.pf
C:\WINDOWS\Prefetch\FREECIVPORTABLE.EXE-0144AAC2.pf
C:\WINDOWS\Prefetch\RUNDLL32.EXE-3F3109C1.pf

----------------------------------
Files [attributes?] modified:5
----------------------------------
C:\Documents and Settings\Administrator\Local Settings\Application Data\Logitech\LCD Software\LCD Manager\LGLCDDB.TXT
C:\Documents and Settings\Administrator\ntuser.dat.LOG
C:\WINDOWS\system32\config\default.LOG
C:\WINDOWS\system32\config\software.LOG
C:\WINDOWS\system32\config\system.LOG

----------------------------------
Total changes:29
----------------------------------

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Icon and stuff

I was able to find a relatively high res PNG of the FreeCiv logo on DeviantArt. I have now updated the icon and the next time I do a release, it should be fixed. I got the previous icon from the freeciv.org favicon; I guess that icon wasn't high quality.

Thanks for doing the Regshot; Is there anything that needs to be addressed from that?
- The deleted values appear to be unrelated (related to Disk Cleaner and Regshot)
- The added values appear to be ones added when you run any program. Do portable apps typically clean those up?
- I don't see anything in the modified values that is related to FreeCiv.
- Do I need to clean up the prefetches?
- I don't think that there is anything I can do about the modified files

I'm new to this, so any guidance would be appreciated.

Thanks,

Andy

TaffinFoxcroft
TaffinFoxcroft's picture
Offline
Last seen: 10 years 11 months ago
Developer
Joined: 2006-12-14 17:24
Clean shot

That regshot is clean, all of the things there that were added are generally acceptable to not worry about. Usually its only things in HKCU\Software, HKLM\Software and HKU\*\Software (although this translates to HKCU\Software).

But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Sweet

Thanks for the interpretation of the runes. I'm glad everything came up clean.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Has anyone tried this?

Any comments/suggestions/bugs?

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
It's all good here = )

It's all good here = )

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Can anyone tell me?

Aside from the uploaded file name, is there anything that I need to change about this to get it into the offical PortableApps.com release format? I've looked at what is there, and I think that I have it all; I want to double check before I change the file name (since that would be the only change that I am making) and upload again.

Thanks,

Andy

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Still no problems

I've been playing this off and on and have encountered no functionality issues whatsoever. I can't comment on advanced things such as code but from an end user perspective this is all good. Hopefully the Release Team give this a look soon.

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Thanks!

I'm glad to hear that there aren't any issues.

scremingwhisper1720
scremingwhisper1720's picture
Offline
Last seen: 2 months 2 days ago
Joined: 2009-07-15 18:50
file hosting

hey can you upload your files with http://willhostforfood.com/ theirs click to download screen like media fire and you don't get all those ads and pop ups only a direct link if you become a member you get the upload size is 100mb

60\/\/ 2 /\/\3 4 1 4/\/\ 12007
bow to me for i am root

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Firefox + AdBlock Plus

If you are having a problem with ads and pop ups, I recommend that you use Firefox + AdBlock Plus; I use Firefox and I wasn't even aware that the site had ads and pop ups.

finalbob
Offline
Last seen: 14 years 9 months ago
Joined: 2009-04-15 06:27
seems to work

I installed it, and it seems to work properly.
i don't know if it respect the specifications (and i can't control it... XD).

Just one point, how can i change the language from english to french ?
I searched on the official website, trough the folders of the app but didnt' find anything...
On the website there is an aticle about gettext, but nothing about installing new language. (I use win XP).

thank you for this great job !

youplaboum !

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Translations

I guess I need to look at translations. The way it is done with the non-portable version of FreeCiv is to set an environment variable LANG with the appropriate language abbreviation. That isn't presently built into FreeCiv Portable. But I will take a look at it.

finalbob
Offline
Last seen: 14 years 9 months ago
Joined: 2009-04-15 06:27
thank you thank you thank you

thank you thank you thank you !!!!!

youplaboum !

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Arrgh!

Nothing is as easy as it looks. I found on the Freeciv website that to change the language on Windows, sent an environment variable LANG equal to the two letter language code, but that doesn't seem to work.

Do you have a computer that uses French by default? Freeciv is supposed to use the local language without any modification; I'm curious as to whether that is actually working.

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Still working great here

Been giving this the occasional thorough tst and even installed it for a friend and no complaints as yet. Looking forward to the pre-release and thanks again for your work Smile

PortableApps.com Advocate

jamvaru
Offline
Last seen: 5 months 1 week ago
Joined: 2009-08-20 15:39
also thanks

a great accomplishment

is better than i remembered

;>jamvaru

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Language support

One thing I'd like to see is language support. Is there a chance that you can add this?

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Haven't been able to figure it out

I've looked at Language support since the request was made for French, but I can't figure out how to get it to work. I've done what their wiki says for language support, but it didn't change the language. I'm not sure whether I'm doing something wrong, missing necessary files, or language support is just broken.

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
It works

I installed the latest version with all languages and copied it over to the portable version. It works.

If you want it, drop me an email (its on my account page) and I'll send it to you.

I made some other refinements too:

  • I found a better Icon (extractes from the main exe)
  • Now it copies the 2 files stderr.txt and stdout.txt from the App to the Data folder (these are some standard SDL files I found in other Apps too)
  • It uses the Language from the PortableApps.com Platform and if it cant find it uses the local LANG variable
  • I removed the MUI stuff as I think it not longer necessary.
  • I Changed the Launcher version to 1.5 because it shoudnt be the Applications version but the launcher version.

One question (just curious) : Why do you have the installer not remove the App folder?

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Languages

Where do you get the language files? I think that is at least part of what is messing me up. I don't have all of the language files on my install, and I don't know where do download them.

Thanks

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Install

When I installed it locally (to get the files), it asked me if I wanted to install al the languages too and I said yes. That's how I got them.

Now they are in my X:\PortableApps\FreeCivPortable\App\FreeCiv\share\locale folder and I can use the LANG variable to set the language or use the system one (german in my case).

EDIT: I have these language files in my install: ar, ca, cs, da, de, el, en_GB, eo, es, et, fa, fi, fr, he, hu, it, ja, ko, lt, nb, nl, no, pl, pt, pt_BP, ro, ru, sv, tr, uk, zh_CN

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Cool, thanks

I need to update to the latest version of Free Civ anyway. You mentions something about the installer not deleting the App directory; What did you mean by that?

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
In your \App\AppInfo folder,

In your \App\AppInfo folder, there is an installer.ini which says RemoveAppDirectory=false and I wondered why you put it there.

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Copy/Paste

I created this launcher by copying and pasting, so it is there because the original app had it. I don't know what it does. Should it be removed?

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
yes

I'd remove it.

Normally the installer removes the /App and the /Other folders before it copies the new files but this tells him to net remove the App folder. I'd say its better to have it removed as there might be files in the new version interfering with not-removed old files from a previous version.

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Refinements

Please send your changes to me and I will update:

  • Where did you get improved icon? The one I used was extracted from the main executable as well. Maybe I just need to update.
  • How do you get the language from the PA.com platform?
  • What MUI stuff isn't necessary any more?
  • Where did you set the launcher version? Really the launcher hasn't even reached 1.0 yet because it hasn't been officially released

Thanks for the help!

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
how

can I contact you?
I think the easiest way is if you drop me an email and then I send you the updated version.

  • I got the Icon from the main exe. Maybe they increased its resolution...
  • The Platform has several variables (PortableApps.comLocaleWinName, PortableApps.comLocaleCode2, PortableApps.comLocaleglibc and others)where it lets you get the language from.
  • On line 59-62, your launcher has MUI stuff which I removed because I think its not necessary any more (other launchers don't have it either)
  • Line 25 says "!define VER "2.9.1.0"". That's the version of the launcher. It has nothing to do with the App being officially released or not. The current version of Johns launchers is 1.6.6 or something like that. I set it to 1.5 but you can basically set it to what you want. Its just for the dev to keep track of what changes he made to the launcher.

Glad I can help!

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

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Sent email

I sent an email to the address listed in your user profile.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Icon

Isn't line 61 necessary to set the icon for the launcher?

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 weeks ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think

its only necessary if you need the MUI (=Modern User Interface). Our Launchers dont display anything except for the splash screen which has its own plugin. The Icon is specified in line 61.

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

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Thanks dagardner for

Thanks dagardner for continuing to develop this. It's a great game. Looking forward to the update and for the test team to promote it to Pre-Release status Smile

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Test Release 4 now available

I've updated to the latest version of Freeciv and added language support. Thanks to Simeon for the help on the language support!

Bart.S
Offline
Last seen: 5 months 6 days ago
Developer
Joined: 2008-07-23 07:56
Critique

Tested Freeciv 2.1.10 Dev Test 4

  1. Freeciv is multilingual and the non-english files are big. You could use an installer.ini and make the non-english files optional. (Look at Dia or Gimp for instance)
  2. appinfo.ini: Category should be Games, Language should be Multilingual
  3. appicon.ico: more formats are required
  4. folder DefaultData could be deleted, it's empty
  5. FreecivPortable.ini and *.nsi: May I suggest using common Ini-Strings. (FreecivDirectory, SettingsDirectory, FreecivExecutable, AdditionalParameters, DisableSplashScreen instead of AppDir, DataDir, AppEXE, Params, Splash). It would be easier for the users and less confusing.
  6. Readme.txt is missing
  7. FreecivPortable.nsi:
    • IMHO, remove the stdout.txt and stderr.txt renaming. Both files are just logs (created and overwritten on each launch) and thus not considered as important Data
    • The language set in FreecivPortable.ini will never be used. The launcher reads LANG in line 92, but it always overwrites it in line 102
    • It would be easier to use the environment variable "PortableApps.comLocaleglibc" for the language switching code (Freeciv is an GTK app). Also a check is missing, whether the language files /folders exist or not before setting the environment variable "LANG". If you don't want to reinvent the wheel take a look at Gimp or Dia for a working solution.
    • line 143: I don't know if KillProcDLL::KillProc "$APPEXE" should be used in that place. Maybe just "Abort".
  8. a file "Data.sav.gz" is created in my FreecivPortable folder.

Ok, that's all for now.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Good stuff

Thanks for the feedback Bart.S, I'll take a look at these soon.

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Updated installer

7d. KillProcDLL::KillProc "$APPEXE" doesn't make sense on line 143 because that line is for when $APPEXE doesn't exist.

8. I didn't find Data.save.gz. EDIT: I did find my save files, and they are where I would expect them to be unders Data\settings. Please double check to make sure that isn't an old save file. By default, Freeciv saves games in the user directory rather than in the app directory.

Bart.S
Offline
Last seen: 5 months 6 days ago
Developer
Joined: 2008-07-23 07:56
Data.save.gz

Hmm, I can't reproduce it now. All savegames are at Data\settings\.freeciv\saves, but Data.save.gz is located beside the FreecivPortable.exe. It has the same date and filesize (but different name) as my first real savegame. Strange. Really strange. Maybe it was a first time and never came back bug Blum

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Yay! I like bugs that just go

Yay! I like bugs that just go away. Let me know if you see it again. Thanks again for the good feedback!

ypsy
Offline
Last seen: 14 years 9 months ago
Joined: 2008-08-21 07:19
THX!!!!

I love this game! Will test it on the weekend!

thank you very much for this portable version!! Smile

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Updated to Freeciv 2.2.0

Sorry it took so long.

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Thanks for the update :)

Thanks for the update Smile

PortableApps.com Advocate

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Nudge

Hey dagardner

Hope you don't mind but thought I'd tap you on the shoulder to let you know FreeCiv has been updated. The new 2.2.1 introduces over a 100 bug fixes and improvements.

Thanks again for this game Smile

PortableApps.com Advocate

dagardner
dagardner's picture
Offline
Last seen: 5 years 3 months ago
Developer
Joined: 2007-09-20 14:41
Don't mind

I don't mind, thanks for letting me know. I've been keeping track of updates via RSS feed, but I didn't see that come through. I'll see if I can get an update in the next week or so.

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Thanks :)

Thanks Smile

PortableApps.com Advocate

Soulmech
Offline
Last seen: 12 years 4 months ago
Joined: 2010-03-03 10:52
+1 I would definitely like to

+1

I would definitely like to see 2.2.1 released! Thank you!

SWAG

Log in or register to post comments