dhewm / dhewm3

dhewm 3 main repository
https://dhewm3.org/
GNU General Public License v3.0
1.81k stars 348 forks source link

Add an Android build please? #269

Closed Destroyer5150 closed 3 years ago

Destroyer5150 commented 4 years ago

Android has bfg edition but no touch screen support or mod support. Also I'm running diii4A almost perfectly on my galaxy S9 but it'll only run Doom 3 without resurrection of evil or mod support and it's old (2013) and dead and like I said "almost perfect" no fps drops at all. Xash3d Android (Half Life) has a decent touch screen control scheme that would work well for Doom 3. Thank you for your work

Destroyer5150 commented 4 years ago

Here's what I've been using to play doom 3. The source code is inside the apk just extract it like a zip. https://diii4a.en.uptodown.com/android

RinMaru commented 4 years ago

Id be glad for a Vulkan Version

Destroyer5150 commented 4 years ago

And Beloko ported your engine to android! ( https://play.google.com/store/apps/details?id=com.opentouchgaming.deltatouch ) Can you please create your OWN android build?

DanielGibson commented 3 years ago

no.

tunbridgep commented 2 years ago

And Beloko ported your engine to android! ( https://play.google.com/store/apps/details?id=com.opentouchgaming.deltatouch ) Can you please create your OWN android build?

Is this even legal?

From my understanding, dhewm3 is gpl3. Delta Touch is a closed-source, proprietary application. Even if it's just calling up the android version of dhewm3, wouldn't that version still have to be GPL3 source available?

If so, where's the dhewm3 port?

I want to play GZDoom and Doom 3 on Android without paying some schmuck to play games I already own

The play store even says "This is a GPL source port" but from what I understand, there's nowhere to actually download the source.

This seems really shady to me.

DanielGibson commented 2 years ago

I think the GPL only requires you to give the source to your users, which in this case are paying customers (and then those users are allowed to redistribute the source for free under GPL), i.e. you are not required to make your source openly available.

However, isn't https://github.com/emileb/d3es-multithread the source of "Deltatouch" (or at least the Doom3 part of it)?

tunbridgep commented 2 years ago

GPL in theory means you only have to give the source to your customers, but the fact that nobody has made it available, forked it or released their own version makes me think nobody has actually ever had access to it, including paying customers. It's really not practical for the source of any paid open-source project to remain anything but completely open since, as soon as people get their hands on it there's a decent chance someone will release some variant of it, especially if there's no legal ramifications for doing so.

I have seen certain projects sell "ready to go" versions of their software on storefronts, with the code publicly available in an unbuilt state, there are plenty of honest ways to use GPL for paid software. But this is something else. But I am not a lawyer, so I could be wrong about the legality of all this.

I guess I am biased. Delta Touch just rubs me the wrong way, because I kind of feel like it's taking the years of hard work done by the Doom 2 and Doom 3 source port communities, slapping an android control scheme on top of it, and then selling it, which seems kind of dickish to me. It's the kind of thing I would expect Bethesda to do.

At least now I now have a free and open source android version of Doom 3 to look at thanks to suggestions in this thread, even if it's a somewhat outdated version, so thanks for that. Now I don't have to pay for software I don't feel comfortable paying for.

DanielGibson commented 2 years ago

GPL in theory means you only have to give the source to your customers, but the fact that nobody has made it available makes me think nobody has actually ever had access to it, including paying customers.

No idea, but as long as paying customers get it when they ask for it, that's ok. (In fact, they could even ask for money for the "work" involved with that, I think this rule goes back to the pre-internet days when GPL software was shared by sending around tapes)

I guess I am biased. Delta Touch just rubs me the wrong way, because I kind of feel like it's taking the years of hard work done by the Doom 2 and Doom 3 source port communities, slapping an android control scheme on top of it, and then selling it, which seems kind of dickish to me.

Don't know, it's not that expensive and I personally would neither want to deal with implementing a mobile control scheme nor with building and packaging for Android. Also, dhewm3 as it is wouldn't work on Android, because most Android devices only support OpenGL ES, not "normal"/"desktop" GL that's used by Doom3 (and certainly not this legacy GL with ARB shaders), so there was some more work to be done than "just adding an Android control scheme" (though they likely took the OpenGL ES renderer from the old abandoned Dante source port).

tunbridgep commented 2 years ago

I just think we're all better off if Android versions of doom were handled by community effort, rather than some guy doing all the work and not helping anyone else.

But it's mainly gzdoom that annoys me. That's a source port with a long history of community involvement, and the main reason people use Delta Touch over the many other free open source mobile versions of doom is for playing GZDoom mods. Literally the only market Delta Touch has is one that relies on it leveraging itself on community work.

But I will stop preaching. I will check out that openGL ES version of Doom 3. I still think it's worth the community getting it the best it can be on Android, but I understand that's out of scope for this project, which is fair enough.

DanielGibson commented 2 years ago

For GZDoom on Android, https://github.com/emileb/gzdoom might be worth a try

(but IDK, I don't even have a smartphone)