Desktop FreeCiv in 3D?

Various topics about the game, the website, or anything else Freeciv related that doesn't fit elsewhere.
User avatar
Blake00
Posts: 11
Joined: Tue Apr 03, 2018 3:51 am
Contact:

Desktop FreeCiv in 3D?

Postby Blake00 » Mon Feb 18, 2019 7:29 am

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
Image
Blake's Sanctum: Retro site for retro games! Civ, MoM, C&C, Dune, HoMM, B5, Star Trek, Doom, TES & more!

User avatar
Corbeau
Elite
Posts: 983
Joined: Mon Jan 13, 2014 11:13 pm

Re: Desktop FreeCiv in 3D?

Postby Corbeau » Mon Feb 18, 2019 11:26 am

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.

User avatar
Blake00
Posts: 11
Joined: Tue Apr 03, 2018 3:51 am
Contact:

Re: Desktop FreeCiv in 3D?

Postby Blake00 » Mon Feb 18, 2019 12:02 pm

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.
Image
Blake's Sanctum: Retro site for retro games! Civ, MoM, C&C, Dune, HoMM, B5, Star Trek, Doom, TES & more!

User avatar
Corbeau
Elite
Posts: 983
Joined: Mon Jan 13, 2014 11:13 pm

Re: Desktop FreeCiv in 3D?

Postby Corbeau » Mon Feb 18, 2019 2:39 pm

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.

madmax
Veteran
Posts: 56
Joined: Sun Mar 26, 2017 5:34 pm

Re: Desktop FreeCiv in 3D?

Postby madmax » Mon Feb 18, 2019 7:06 pm

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.

Lachu
Elite
Posts: 379
Joined: Sat May 04, 2013 2:19 pm

Re: Desktop FreeCiv in 3D?

Postby Lachu » Tue Feb 19, 2019 6:06 pm

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.

madmax
Veteran
Posts: 56
Joined: Sun Mar 26, 2017 5:34 pm

Re: Desktop FreeCiv in 3D?

Postby madmax » Tue Feb 19, 2019 7:20 pm

I don't really know. I've not touched the WebGL part, and I don't have the required knowledge.

louis94
Hardened
Posts: 211
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Desktop FreeCiv in 3D?

Postby louis94 » Tue Feb 19, 2019 10:16 pm

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.