mkrupczak3 / Freedoom-for-Android

Freedoom with GZDoom for Android
GNU General Public License v2.0
91 stars 17 forks source link

Multiplayer doesn't work #38

Closed DoomStar closed 4 years ago

DoomStar commented 5 years ago

idk if this is the right place for this but i just wanna say something about this

I have played D-Touch before, and with it I could play multiplayer with my friends using the -host and -join commands.

Now, I found this gem and played it with little problems. I wanted to try multiplayer, so me and my friends attempt the -host and -join commands again. But now, after tapping launch game, the app goes into a black screen and doesn't respond.

Any way around this? Or is multiplayer with this app simply not supported?

mkrupczak3 commented 5 years ago

Hi Doomstar,

Multiplayer is currently not supported in this app. I tried to hack it in when modifying nvllsum's "GZDoom for Android" by adding networking permissions to the app, but it seems getting networking working with code running in the android NDK is generally a bit trickier than just this simple change.

Supposedly, it would require something like writing some kind of network handler written in the Java portion that would serve requests made by the C/C++ portion.

I don't know if I currently have the tools in place to do this, especially considering the main issue currently plaguing this app is the need to recompile towards Armv8.

I would welcome pull requests or another set of eyes on the problem. As it stands, I think this entire app could serve from a rebase of a newer version of beloko's delta touch if such open source components were once more made available.

mkrupczak3 commented 4 years ago

@doomstar #41 is really plaguing me right now, and with how junky this app is put together right now I can't see multiplayer coming about too easily.

I welcome anyone to take a look at it, but for now I'm closing this issue under "won't fix".

I think that this app could serve from a complete rewrite/rebase from beloko's delta touch, were he willing to publish parts of his app once again under the GPL.