Author Topic: ZDoom  (Read 26668 times)

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
ZDoom
« on: June 19, 2014, 06:02:17 pm »
Here's one of my old Dingux porting projects: ZDoom. It's based on the latest OpenAL branch (Oct 23, 2013)

Installing
* Install the OPK;
* copy your WAD files to your device;
* add the ".bin" extension to your WADs (doom.wad -> doom.wad.bin);
* run ZDoom and then select your desired WAD to play.

Settings
* You can set most of the configurations through the options menu. If you want more advanced settings, edit the  /media/data/local/home/.config/zdoom/zdoom.ini file.

Known Issues
* There's no music.

TODO
* Enable midi music playback;
* translate pc keys name to GCW-Zero buttons name (escape -> select, enter -> start, etc);
* adjust the save screen to allow enter some unique label (a timestamp, maybe);
* full automate the building process.

Download
ZDoom.opk (2014-06-15)

Note: this is a development build, so there's a lot of things to do.
You can follow my code commits here: https://github.com/Shin-NiL/zdoom/commits/gcw0
« Last Edit: June 23, 2014, 12:52:06 pm by Shin-NiL »

Goggles2114

  • Posts: 90
Re: ZDoom
« Reply #1 on: June 19, 2014, 07:08:38 pm »
Thanks for working on it.

joebro88

  • Posts: 28
Re: ZDoom
« Reply #2 on: June 19, 2014, 08:48:48 pm »
Hey, thanks a ton!  :D I don't know if this is a dumb question, but is there a way to switch weapons?...or can you map it in the options? Thanks! (Edit)-Nevermind, taken care of
« Last Edit: June 19, 2014, 08:55:36 pm by joebro88 »
R.I.P. in peace

Goggles2114

  • Posts: 90
Re: ZDoom
« Reply #3 on: June 19, 2014, 09:31:21 pm »
Can someone post the button layout here in thread?

Also why do wads need tovbe renamed to .bin?

Gab1975

  • Posts: 1165
Re: ZDoom
« Reply #4 on: June 19, 2014, 10:07:07 pm »
Thanks a lot for this release! :)
I made a quick test with Doom, Doom II, Heretic, Hexen and Strife... all of them seem to run very well... ;)

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: ZDoom
« Reply #5 on: June 20, 2014, 01:25:52 pm »
Also why do wads need tovbe renamed to .bin?
Only this way you can find your WAD files using gmenu2x selector. This happens because only files with valid extensions  for its mime-type are listed.

Give a try removing the ".bin" extension ;)

Goggles2114

  • Posts: 90
Re: ZDoom
« Reply #6 on: June 20, 2014, 03:47:16 pm »
....ew.

zear

  • Moderator
  • Posts: 2381
Re: ZDoom
« Reply #7 on: June 20, 2014, 04:27:32 pm »
Also why do wads need tovbe renamed to .bin?
Only this way you can find your WAD files using gmenu2x selector. This happens because only files with valid extensions  for its mime-type are listed.
This isn't the right solution. Please report to us what mime-type you need added in gmenu2x file selector and it will be present in the next firmware update.

surfi80

  • Posts: 252
Re: ZDoom
« Reply #8 on: June 20, 2014, 08:36:37 pm »
muito obrigado amigo
play with the best? die like the rest!

http://www.elotrolado.net/wiki/PS_VITA_Usuarios_EoL

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: ZDoom
« Reply #9 on: June 22, 2014, 02:10:18 pm »
Also why do wads need tovbe renamed to .bin?
Only this way you can find your WAD files using gmenu2x selector. This happens because only files with valid extensions  for its mime-type are listed.
This isn't the right solution. Please report to us what mime-type you need added in gmenu2x file selector and it will be present in the next firmware update.

Thanks zear, I didn't know that.
The mime-type is "application/octet-stream" and the file extension is "wad".

Noisepurge

  • Posts: 14
Re: ZDoom
« Reply #10 on: June 27, 2014, 09:17:05 am »
thanks for working on ZDoom! :)

KickingCooler

  • Posts: 79
    • YouTube Channel
Re: ZDoom
« Reply #11 on: June 30, 2014, 09:33:22 pm »
I made a video about running Brutal Doom with this engine.

https://www.youtube.com/watch?v=XzRU8nGFaTU

Sorry about my weird voice. I'm 10 years old.
« Last Edit: June 30, 2014, 11:50:15 pm by KickingCooler »
I'm back. (for the third time) :P

opt2not

  • Posts: 210
Re: ZDoom
« Reply #12 on: July 01, 2014, 12:37:20 am »
I made a video about running Brutal Doom with this engine.

https://www.youtube.com/watch?v=XzRU8nGFaTU

Sorry about my weird voice. I'm 10 years old.
Thanks for taking the time to upload a video, KickingCooler! Your voice isn't weird! 8)

Man, I'm really happy to see this working!

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: ZDoom
« Reply #13 on: July 01, 2014, 03:40:17 am »
I made a video about running Brutal Doom with this engine.

https://www.youtube.com/watch?v=XzRU8nGFaTU

Sorry about my weird voice. I'm 10 years old.

Thanks for sharing your nice video,  KickingCooler  ;D

Hey guys, anybody knows if is possible to run timidity as standalone on GCW-Zero? ZDoom is trying to execute the follow command through execvp():
Code: [Select]
timidity  -EFchorus=0 -EFreverb=0 -s22050 -OdS1 -id  /tmp/zmidsHBLYSBut there's no timidity on the path ???

EDIT: I've tried to compile timidity exe by own, but I'm getting the following errors:
Code: [Select]
alsa_a.c:(.text+0x8f4): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x8fc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x92c): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x934): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x950): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x968): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x974): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa74): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa7c): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa94): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xaac): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xad8): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xadc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xaf0): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xafc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xb58): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xb5c): undefined reference to `[email protected]_0.9'

Any help? Thanks.

johnnyonflame

  • Posts: 219
Re: ZDoom
« Reply #14 on: July 04, 2014, 05:18:17 pm »
I made a video about running Brutal Doom with this engine.

https://www.youtube.com/watch?v=XzRU8nGFaTU

Sorry about my weird voice. I'm 10 years old.

Thanks for sharing your nice video,  KickingCooler  ;D

Hey guys, anybody knows if is possible to run timidity as standalone on GCW-Zero? ZDoom is trying to execute the follow command through execvp():
Code: [Select]
timidity  -EFchorus=0 -EFreverb=0 -s22050 -OdS1 -id  /tmp/zmidsHBLYSBut there's no timidity on the path ???

EDIT: I've tried to compile timidity exe by own, but I'm getting the following errors:
Code: [Select]
alsa_a.c:(.text+0x8f4): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x8fc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x92c): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x934): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x950): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x968): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0x974): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa74): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa7c): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xa94): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xaac): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xad8): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xadc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xaf0): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xafc): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xb58): undefined reference to `[email protected]_0.9'
alsa_a.c:(.text+0xb5c): undefined reference to `[email protected]_0.9'

Any help? Thanks.

That won't work. You'll have to code your own midi backend, or adapt the one already present in the game.

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: ZDoom
« Reply #15 on: July 05, 2014, 04:31:26 pm »
Thanks for the info, Johnny ;)

zear

  • Moderator
  • Posts: 2381
Re: ZDoom
« Reply #16 on: July 06, 2014, 08:03:58 pm »
Also why do wads need tovbe renamed to .bin?
Only this way you can find your WAD files using gmenu2x selector. This happens because only files with valid extensions  for its mime-type are listed.
This isn't the right solution. Please report to us what mime-type you need added in gmenu2x file selector and it will be present in the next firmware update.

Thanks zear, I didn't know that.
The mime-type is "application/octet-stream" and the file extension is "wad".

Turns out the doom wad mime-type is already present in the released FW. Goes under "application/x-doom".
For the full list of available mime-types, consult: https://github.com/gcwnow/shared-mime-info/blob/6039c5a5de02b021a920bc6e6c13fde95d696cfc/freedesktop.org.xml.in

TimeDevouncer

  • Posts: 231
Re: ZDoom
« Reply #17 on: July 06, 2014, 08:21:41 pm »
Thanks for your work ;).

I hope you can enable the music soon  ;D
Look behind you! A three-headed monkey!

Shin-NiL (OP)

  • Posts: 355
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: ZDoom
« Reply #18 on: July 07, 2014, 10:41:33 pm »
Also why do wads need tovbe renamed to .bin?
Only this way you can find your WAD files using gmenu2x selector. This happens because only files with valid extensions  for its mime-type are listed.
This isn't the right solution. Please report to us what mime-type you need added in gmenu2x file selector and it will be present in the next firmware update.

Thanks zear, I didn't know that.
The mime-type is "application/octet-stream" and the file extension is "wad".

Turns out the doom wad mime-type is already present in the released FW. Goes under "application/x-doom".
For the full list of available mime-types, consult: https://github.com/gcwnow/shared-mime-info/blob/6039c5a5de02b021a920bc6e6c13fde95d696cfc/freedesktop.org.xml.in

Thanks again, zear. I was looking for this list a long time...

Orion4874

  • Posts: 229
Re: ZDoom
« Reply #19 on: July 08, 2014, 09:24:39 am »
I've tried most of the wads from this page, http://zdoom.org/wiki/IWAD and can confirm they all work. I haven't gotten too far in most of them but what I've tried so far ran great. Thanks for all your work Shin-Nil!!

 

Post a new topic
Post a new topic