Materialize Labs Mobile app development & FreeOrion
Moderator: Oberlus
-
- Space Krill
- Posts: 1
- Joined: Thu Jan 09, 2020 10:28 pm
Materialize Labs Mobile app development & FreeOrion
Hi, I'm interested in porting FreeOrion to mobile devices. Is there any documentaiton on this? Do you guy's plan on releasing a mobile version? (So that I won't have to spend time trying to port it).
Re: Materialize Labs Mobile app development & FreeOrion
There were old thread https://freeorion.org/forum/viewtopic.php?f=24&t=5593
As I know no one working on it, so feel free to try.
As I know no one working on it, so feel free to try.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: Materialize Labs Mobile app development & FreeOrion
I'm not involved in the development, but I think it would be a substantial task. I don't think it's that easy to port C++ programs to mobile platforms.
Re: Materialize Labs Mobile app development & FreeOrion
The most interesting part to port or reimplement is the client i guess.
Else you could try to crosscompile to wasm
Else you could try to crosscompile to wasm
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Materialize Labs Mobile app development & FreeOrion
A major problem for porting the FreeOrion client to a mobile platform is that the client-server communication uses the C++ library Boost serialization. If you can't compile and use C++ libraries on another platform, then you'd need to find or implement a compatible serialization library. Then you could in theory connect a mobile client to a server and play a game.
Re: Materialize Labs Mobile app development & FreeOrion
There is a project https://github.com/moritz-wundke/Boost-for-Android which builds Boost serialization (I've tried it).Geoff the Medio wrote: ↑Sat Jan 11, 2020 9:53 am A major problem for porting the FreeOrion client to a mobile platform is that the client-server communication uses the C++ library Boost serialization. If you can't compile and use C++ libraries on another platform, then you'd need to find or implement a compatible serialization library. Then you could in theory connect a mobile client to a server and play a game.
As we are going to replace FOCS syntax to python3 syntax we should try to build python libraries and enable boost-python in a build scripts above.
And most complex is to get Android compatible UI.
If we are going to have full game on the phone I think we will get more issues with the game state. I suppose on Android we have to load client, server and AIs into the same java process, and directly exchange messages without network (or even serialization), and because of high usage of global static variables it can lead to incorrect data exchange.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Materialize Labs Mobile app development & FreeOrion
I've managed to build python and boost with python support for Android: https://github.com/python-cmake-buildsy ... m/pull/262 and https://github.com/moritz-wundke/Boost- ... d/pull/190
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Materialize Labs Mobile app development & FreeOrion
Hi, I'm interested in porting FreeOrion to mobile devices. Is there any documentaiton on this? guy's plan on releasing a mobile version?
Edit by Oberlus: remove link to other websites unrelated to this thread. This account is probably a spammer, but let's see.
Edit by Oberlus: remove link to other websites unrelated to this thread. This account is probably a spammer, but let's see.
Last edited by rohit7261 on Mon Jan 11, 2021 7:27 am, edited 1 time in total.
Re: Materialize Labs Mobile app development & FreeOrion
We have some ideas but its not official or any supported yet.rohit7261 wrote: ↑Mon Jan 11, 2021 7:26 am Hi, I'm interested in porting FreeOrion to mobile devices. Is there any documentaiton on this? guy's plan on releasing a mobile version?
Edit by Oberlus: remove link to other websites unrelated to this thread. This account is probably a spammer, but let's see.
I've opened PR based on Godot client https://github.com/freeorion/freeorion/pull/3202 . Part of it was merged to master.
It only provides APK could be built, but it doesn't even read assets.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
-
- Space Krill
- Posts: 6
- Joined: Sat Sep 22, 2018 6:40 am
Re: Materialize Labs Mobile app development & FreeOrion
Any news about that project? It does sound rad, and I'd love to have FreeOrion on my phone, as I get too distracted if I launch it on my computer when I still have a couple hours of work left before I can finally leave the world of the Spain property investment visa and actually rest...
Re: Materialize Labs Mobile app development & FreeOrion
No news for it, there some issues with Godot and I'm waiting some PR to be accepted.Voskhod_02 wrote: ↑Sat Jan 30, 2021 7:34 pm Any news about that project? It does sound rad, and I'd love to have FreeOrion on my phone, as I get too distracted if I launch it on my computer when I still have a couple hours of work left before I can finally leave the world of the Spain property investment visa and actually rest...
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Materialize Labs Mobile app development & FreeOrion
As far as I'm aware, we discussed and agreed to wait on the open pull requests until the Godot client is basically functional, before merging Godot-related stuff into master. If there's something that should be merged before than, or things are basically functional, please ping me with a comment on GitHub about it...
Re: Materialize Labs Mobile app development & FreeOrion
I meant Godot's PR I'm waiting not FreeOrion's ones.Geoff the Medio wrote: ↑Sun Jan 31, 2021 12:28 pmAs far as I'm aware, we discussed and agreed to wait on the open pull requests until the Godot client is basically functional, before merging Godot-related stuff into master. If there's something that should be merged before than, or things are basically functional, please ping me with a comment on GitHub about it...
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm