Page 1 of 1

Desktop FreeCiv in 3D?

Posted: Mon Feb 18, 2019 7:29 am
by Blake00
Apologies in advance if this is a dumb noob question asked many times before.

The 3D mode on the FreeCiv web version looks awesome yet I cannot find anything about installing it for the regular offline desktop version? Is it even possible? If so can someone point me in the right direction?

Image

Re: Desktop FreeCiv in 3D?

Posted: Mon Feb 18, 2019 11:26 am
by Corbeau
It is exclusively web version. I think it may be possible to install the server locally, but you'd have to compile it from scratch. Probably adjust stuff in the code. I'm not a programmer, but that is my impression. I know I wouldn't be able to do it IF it is even possible.

Re: Desktop FreeCiv in 3D?

Posted: Mon Feb 18, 2019 12:02 pm
by Blake00
Corbeau wrote:It is exclusively web version. I think it may be possible to install the server locally, but you'd have to compile it from scratch. Probably adjust stuff in the code. I'm not a programmer, but that is my impression. I know I wouldn't be able to do it IF it is even possible.
Thank you for your reply, yeah I'm not a programmer either. I've done a few graphics mods and scenarios for the early 2D Civ games but I've never messed with Freeciv!

That's a shame as the web version of FreeCiv doesn't have a guaranteed future (like all online server based games) whereas a mod for the offline desktop version can be preserved by fans and never be lost!

The 3D mod is quite stunning! I was just watching a video on youtube of someone playing it and its filled with unhappy comments from people complaining about servers being down etc.

Re: Desktop FreeCiv in 3D?

Posted: Mon Feb 18, 2019 2:39 pm
by Corbeau
Well, the code is open source and is freely available on Github and anyone with the required skill can get it running. The problem is that "required skill" here is at a pretty high level. But then again, the game is completely free so people get infinitely more for their money than with literally any game that they actually have to pay for ;) Even if it doesn't work most of the time, which isn't the case because it works most of the time ;)

The problem I see here is that a huge quantity of people who would be interested in this kind of game are simply not informed of the all incarnations readily available right now.

Re: Desktop FreeCiv in 3D?

Posted: Mon Feb 18, 2019 7:06 pm
by madmax
Getting it to run in your own PC should not be very difficult. If you have a powerful machine it may be enough to install vagrant and virtualbox, clone or download the repo, run `vagrant up`, wait (a lot) for the installation in the VM to finish and, if everything goes well, point your browser to http://localhost or http://localhost:8080.
If something goes wrong, the easy part is gone.

Re: Desktop FreeCiv in 3D?

Posted: Tue Feb 19, 2019 6:06 pm
by Lachu
MadMAX: It could be hard to port it to the desktop SDL2/OGL? WebGL is based on OGL:ES and JavaScript have not far, but less similar syntax to C.

Re: Desktop FreeCiv in 3D?

Posted: Tue Feb 19, 2019 7:20 pm
by madmax
I don't really know. I've not touched the WebGL part, and I don't have the required knowledge.

Re: Desktop FreeCiv in 3D?

Posted: Tue Feb 19, 2019 10:16 pm
by louis94
Lachu wrote:MadMAX: It could be hard to port it to the desktop SDL2/OGL? WebGL is based on OGL:ES and JavaScript have not far, but less similar syntax to C.
The main difficulty is that different tilesets would need to be supported. The JS implementation is also far from optimal and will be slow on large maps or weak systems. I consider it more as a proof-of-concept than production-ready code.

Re: Desktop FreeCiv in 3D?

Posted: Thu Apr 08, 2021 6:09 pm
by AndreasR
The 3D version of Freeciv-web can be run locally on your own PC. For someone who is creative and interested in 3D and Three.js, then it's possible to contribute towards the Freeciv 3D version.

Here is more information:
https://github.com/fciv-net/fciv-net

Re: Desktop FreeCiv in 3D?

Posted: Fri Apr 30, 2021 5:58 am
by Blake00
Ooooh thank you so much! I'll have to give it a try!