[Maybe later] Petition to make a Chrome OS compatible version of GZDoom

Moderator: GZDoom Developers

Petition to make a Chrome OS compatible version of GZDoom

Postby BillyBobbyBilly » Fri Apr 24, 2020 9:57 pm

I think that it would be cool to do this, Chrome OS already runs on OpenGL, but it can't run things like EXE files and installers (files that Chrome OS can run https://support.google.com/chromebook/answer/183093?hl=en). Or a downloadable port on the chrome web store. It would be nice if it would run on Doom wads, I have DOSbox, but it cannot run wads and is not able to run the game without specific files that allow it to install in DOSbox, and you're not able to copy and paste those specific files from other games. Because of that, it is impossible to run some games without making your own files and changing everything to another file type. It has things like BAT, DAT, 2, 1 (have no idea what 2 or 1 files are), and EXE files. those can run with DOSBox but can't work with wads. And I Know nothing about the coding required, the only languages I know, is some HTML 5, CSS, C#, python, and java, and of those, I really only know a lot of HTML 5 and CSS. I couldn't program it myself, or get someone to program it for me. I know it is a lot to ask and that it most likely won't happen, but I really hope it can. Chrome OS can run Linux, but the way to access that is so complex that I don't want to attempt it and mess up my Chromebook. It involves getting Crouton, accessing something called developer mode, and then using crouton to install Linux than from there install wine (I read a few online articles but I don't want to even attempt that.) The only way I could think that this could work is getting this on the chrome web store, or getting a .rar file to work for it.
Please provide your feedback and give me any advice you may have. (also this is my first post on any forum so sorry if it seems aggressive, or anything like that.)
BillyBobbyBilly
 
Joined: 25 Apr 2020
Operating System: Mac OS X 10.7 or earlier
Graphics Processor: Not Listed

Re: Petition to make a Chrome OS compatible version of GZDoo

Postby Eonfge » Sat Apr 25, 2020 5:01 am

I doubt that the Chrome OS App Store is GPL compatible.Same as Mac App Store:
https://www.fsf.org/blogs/licensing/mor ... nforcement

Long answer short: GZDoom cannot legally appear on those platforms.

Consider buying a more user-respecting laptop or use something like Crostini:
https://chromium.googlesource.com/chrom ... and_vms.md
Eonfge
 
Joined: 10 Sep 2019
Github ID: https://github.com/eonfge
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Petition to make a Chrome OS compatible version of GZDoo

Postby Rachael » Sat Apr 25, 2020 5:11 am

First and foremost, this requires a developer who:
a) Has a Chromebook
b) Actually wants to port GZDoom to said Chromebook
c) Wants to muck around with the idiosyncrasies of the Google Play store.

I'm closing this because there's nothing a productive discussion will really change, unless a developer that fits the all 3 previous criteria appears somehow.

That being said, if you are willing to get your hands dirty and dive into the Linux-ey parts of Chrome OS, GZDoom already compiles and runs just fine from what I've heard.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Petition to make a Chrome OS compatible version of GZDoo

Postby kevansevans » Tue Apr 28, 2020 3:21 pm

I have a chromebook. While I'm not going to be bothering with the app store a whole lot, I can poke around and see if it can be installed through the linux side of things. it's base is on Gentoo, so if there's a Gentoo focused build I can poke around and see if I can get some reliable instructions.
User avatar
kevansevans
Disciple of the Great God Imp
Spotlight Team
 
Joined: 05 Oct 2010

Re: Petition to make a Chrome OS compatible version of GZDoo

Postby Rachael » Tue Apr 28, 2020 3:33 pm

Instructions will be much the same as any other system except you'll use "emerge" (part of portage) instead of apt.

I have no experience doing this with Gentoo, but I know it's not extremely hard if you are already familiar with Linux, in general.

I think what would definitely be appreciated is if someone who's actually done it in Gentoo/ChromeOS before writes a step-by-step guide, including what specific packages to install.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Petition to make a Chrome OS compatible version of GZDoo

Postby kevansevans » Tue Apr 28, 2020 6:10 pm

So can confirm that GZDoom Latest can be compiled and does run on Chrome OS. I have an Acer Chromebook 15.

These are your instructions:

1) in chrome OS settings, opt into the linux beta. This will install a Debian based linux VM. When it's done installing, it will automatically open up a terminal.
2) run the command "sudo apt-get update" without quotes.
3) Run these commands one by one to install a dependency:

Code: Select allExpand view
cd /your/projects/folder
git clone https://github.com/coelckers/zmusic
mkdir zmusic/build
cd zmusic/build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j9
sudo make install


4) Follow the Debian instructions on the wiki: https://zdoom.org/wiki/Compile_GZDoom_on_Linux

if you can't make sense of that, copy these commands one by one (copy and paste in the whole block then press enter):

Code: Select allExpand view
sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev
sudo apt-get install libbz2-dev libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev
sudo apt-get install libmpg123-dev libsndfile1-dev libgtk-3-dev timidity nasm
sudo apt-get install libgl1-mesa-dev tar libsdl1.2-dev libglew-dev


Code: Select allExpand view
a='' && [ "$(uname -m)" = x86_64 ] && a=64
c="$(lscpu -p | grep -v '#' | sort -u -t , -k 2,4 | wc -l)" ; [ "$c" -eq 0 ] && c=1
cd ~/gzdoom_build/gzdoom/build &&
rm -f output_sdl/liboutput_sdl.so &&
if [ -d ../fmodapi44464linux ]; then
f="-DFMOD_LIBRARY=../fmodapi44464linux/api/lib/libfmodex${a}-4.44.64.so
-DFMOD_INCLUDE_DIR=../fmodapi44464linux/api/inc"; else
f='-UFMOD_LIBRARY -UFMOD_INCLUDE_DIR'; fi &&
cmake .. -DCMAKE_BUILD_TYPE=Release $f &&
make -j$c


These will take awhile, chromebooks are not known for their speed, and I was surprised it was even able to handle a dev branch. Once it's done, and assuming everything has gone perfectly, you can navigate to ~/gzdoom_build/gzdoom/build, place your wads in there, then run ./gzdoom to launch.

EDIT: Fixed some instructions.
User avatar
kevansevans
Disciple of the Great God Imp
Spotlight Team
 
Joined: 05 Oct 2010


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest