You are not logged in.

#1 2016-03-02 06:31:34

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

DOOM Retro on Bunsenlabs?

Hi,
there is this great classic DOOM engine on Windows:

http://doomretro.com/

And the wiki says it is compilable on GNU Linux.
I know there are yet other classic DOOM ports natively available (Zandronum, Chocolate etc.) but DOOM Retro is really a beautiful engine and it would be a nice addition in Bunsenlabs (and Linux) panorama.

I've contacted the author and he will add a page in the official wiki about getting a Linux version if someone will contribute with some tests.
So, even if I'm not an expert, I'd like to try to compile, with your help, DOOM Retro on Bunsenlabs.

I've yet installed by terminal GIT and cloned the source code in a folder on my home, but I can't find any configure or make... how can I proceed?

Thank you very much.

Offline

#2 2016-03-02 06:53:17

damo
....moderator....
Registered: 2015-08-20
Posts: 5,058

Re: DOOM Retro on Bunsenlabs?

There is a Makefile in the `src` directory, but the README says the app is for Win PC. It may compile on Linux, but would it run natively? Perhaps you can run it with PlayonLinux if not.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-03-02 08:25:39

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

Hi damo and thank you for your answer!
DOOM Retro runs correctly under Wine, but I'd like to test / discover if it could run natively without a Windows wrapper.

So what should I do as next steps? Maybe should I install via apt-get some tools before compilation?
Thank you very much for your patience!

Last edited by Scandy (2016-03-02 08:26:27)

Offline

#4 2016-03-06 08:10:06

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

Wooho! I did it! big_smile

Sent the building steps to the author.
DOOM Retro is a very nice engine, it works flawlessly even with xboxdrv.

24907583663_de75fef97b_m.jpg

24907579413_8abee2d133_m.jpg

If someone's interested I can post the building process here.

Mod Note: Oversized images replaced with thumbnail links, please limit images to ~250x250px, thank you.
-HoaS

To Mod: OK, excuse me!

Last edited by Scandy (2016-03-06 10:53:18)

Offline

#5 2016-03-06 08:23:26

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 643

Re: DOOM Retro on Bunsenlabs?

^You mean, you compiled it natively on Linux? No Wine? And it works? Congratulations!

By all means, please post the process here.


Postpone all your duties; if you die, you won't have to do them ..

Online

#6 2016-03-06 10:10:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: DOOM Retro on Bunsenlabs?

Scandy wrote:

If someone's interested I can post the building process here.

Yes please smile

I'm sure many will find that very useful.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#7 2016-03-06 10:49:09

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

Glad to hear it, here we go! big_smile

Step 1: Get the tools

sudo apt-get install libsdl2-dev libsdl2-mixer-dev build-essential pkg-config autotools-dev autoconf git

Step 2: Locally clone the source

sudo git clone https://github.com/bradharding/doomretro.git

Step 3: Build DOOM Retro

cd doomretro/src
sudo make

Step 4: Enjoy!
At the end of the build process, a doomretro binary will be created in the src folder.
Place doomretro binary, doomretro.wad (located in the res folder) and an official IWAD (e.g. doom1.wad) in the same directory, then enjoy DOOM Retro on Linux:

./doomretro -iwad doom1.wad

Bonus:
DOOM Retro is fully compatible with Xbox controllers (force feedback included!) so:

 sudo apt-get install xboxdrv 

Please let me know if these steps work also on your systems.
Thanks!

Offline

#8 2016-03-06 11:23:21

damo
....moderator....
Registered: 2015-08-20
Posts: 5,058

Re: DOOM Retro on Bunsenlabs?

Hi Scandy, are you OK with posting this as a HowTo in Scripts,Tutorials & Tips?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-03-06 11:28:16

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

damo wrote:

Hi Scandy, are you OK with posting this as a HowTo in Scripts,Tutorials & Tips?

Of course, I would be happy.
How can I proceed? Should I open a new thread in that section?
Thank you!

Offline

#10 2016-03-06 11:30:44

damo
....moderator....
Registered: 2015-08-20
Posts: 5,058

Re: DOOM Retro on Bunsenlabs?

Yeah, just start a new topic, and c&p your post above. Add any other info you think is relevant, images etc. Maybe add a link back to this thread as a reference. Thanks smile


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-03-06 11:56:00

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

damo wrote:

Yeah, just start a new topic, and c&p your post above. Add any other info you think is relevant, images etc. Maybe add a link back to this thread as a reference. Thanks smile

Done! wink

Offline

#12 2016-03-06 13:29:12

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 643

Re: DOOM Retro on Bunsenlabs?

Thanks a lot Scandy for your instructions.


Postpone all your duties; if you die, you won't have to do them ..

Online

#13 2016-03-11 08:34:27

d4rksenl4bs
Member
From: israel
Registered: 2016-03-06
Posts: 33

Re: DOOM Retro on Bunsenlabs?

ushould try brutal doom...

Offline

#14 2016-03-21 13:27:15

Scandy
Member
From: Italy
Registered: 2016-03-02
Posts: 25

Re: DOOM Retro on Bunsenlabs?

Brutal DOOM is too different from original DOOM for my (personal) tastes. DOOM Retro already rises slightly the level of violence, while SMOOTHED mod is really great!

Offline

#15 2016-05-02 20:47:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: DOOM Retro on Bunsenlabs?

I'm gonna give it a try. Thank you Scandy for the tuto!

While using #!, I tried to compile Warzone 2100 and it worked fine.

I also remember that once I tried to get a Settler's remake on linux to work. However this did not work out.

Offline

#16 2016-05-21 18:59:06

kbmonkey
Member
From: Southern Africa
Registered: 2016-05-20
Posts: 6

Re: DOOM Retro on Bunsenlabs?

When John Romero released his E1M8 remake earlier this year I went a bit nuts mapping out levels. Doom Retro is forked from Chocolate Doom, so it would play these limit-removing maps. However it claims no support for demo recording or playback, which is kind of a big deal when it comes to play-testing new maps smile

Offline

#17 2016-05-21 19:21:17

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: DOOM Retro on Bunsenlabs?

If memory serves correct with the original Doom one could use a joystick.
I still have my original DOS DOOM game here.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#18 2016-06-04 13:15:38

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: DOOM Retro on Bunsenlabs?

Got as far as sudo make when this error occurred:

v_video.c:52:23: fatal error: SDL_image.h: No such file or directory
 #include "SDL_image.h"
                       ^
compilation terminated.
Makefile:58: recipe for target 'v_video.o' failed
make: *** [v_video.o] Error 1

Offline

#19 2016-06-04 13:18:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: DOOM Retro on Bunsenlabs?

^ Do you have libsdl2-dev & libsdl2-mixer-dev installed?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#20 2016-06-04 14:40:55

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: DOOM Retro on Bunsenlabs?

Yes, I followed steps 1 & 2 without any error messages.
My /var/log/apt/history.log also shows them to be installed.

Offline

#21 2016-06-04 15:16:38

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: DOOM Retro on Bunsenlabs?

/usr/include/SDL2/SDL_image.h is in package  libsdl2-image-dev

Offline

#22 2016-06-04 17:14:39

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: DOOM Retro on Bunsenlabs?

OK I installed libsdl2-image-dev, cloned the source and ran sudo make.
The error this time is:

cc -O2 -g `sdl2-config --cflags` -DX11 -c m_misc.c -o m_misc.o
m_misc.c: In function ‘M_FileExists’:
m_misc.c:95:17: error: ‘errno’ undeclared (first use in this function)
         return (errno == EISDIR);
                 ^
m_misc.c:95:17: note: each undeclared identifier is reported only once for each function it appears in
m_misc.c:95:26: error: ‘EISDIR’ undeclared (first use in this function)
         return (errno == EISDIR);
                          ^
m_misc.c: In function ‘M_GetAppDataFolder’:
m_misc.c:177:25: warning: passing argument 1 of ‘M_StringJoin’ discards ‘const’ qualifier from pointer target type
     return M_StringJoin(buffer, DIR_SEPARATOR_S".config"DIR_SEPARATOR_S, PACKAGE, NULL);
                         ^
In file included from m_misc.c:54:0:
m_misc.h:74:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *M_StringJoin(char *s, ...);
       ^
Makefile:58: recipe for target 'm_misc.o' failed
make: *** [m_misc.o] Error 1

Offline

Board footer

Powered by FluxBB