The official "ZDoom on Linux" thread.
Moderators: GZDoom Developers, Raze Developers
Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
-
- Posts: 186
- Joined: Sun Dec 21, 2003 1:11 am
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
-
- Posts: 186
- Joined: Sun Dec 21, 2003 1:11 am
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
-
- Posts: 186
- Joined: Sun Dec 21, 2003 1:11 am
-
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
Then look at zdoom-2.1.1-0.src.rpm's specfile - it is precise instructions as can be.Bio Hazard wrote:I really want to write an ebuild of it since currently most Linuxers who don't do compiling only have the options of doomsday or god forbid... legacy. The only problem is I have no idea how to do this. I have the docs right here but I'm not sure about some of the things I need to do.
BSD/DSC. If you find any GPL, you can keep it and stick it to your wall like a pictureWhat's ZD's Licence? Should I just put "Doom licence"? "ID Software Licence"? I know this isin't based off the GPL version.
A good packaging system should auto-find any dependencies.The dependancies would be fmod, flac, nasm, and SDL?
zdoom-2.1.1-src.tar.bz2 (download stats on SF show it's preferred over 7z)Can you make a .tar.bz2 file for us Linuxers?
See specfile, /usr/games for binaries, /usr/share/PACKAGENAME for data. Also see Patch1 of the src.rpm.Where would the installation part put it?
It does not come with an install target.Does the makefile automatically install it when I run "make install"?
/usr/share/zdoom (after applying Patch1)Where do I tell the user to put the IWAD without editing the INI?
Doom will start with the defaults if there is none.Does there need to be a ZDoom.ini file?
Using OpenGL might help. (I also get only 83 fps in 320x200 mode using vid_fps when looking at a simple wall - this is a known X11 "problem". Under DirectX, I get somewhat over 799 fps.)Strange, ZDoom is running excruciatingly slow. I can't run it at anything above 640x480 at 35 FPS. Are there any compiler hacks I could use to speed it up a bit?
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
Bio, are you setting CFLAGS? I actually don't have any arch-specific settings set (no -march=yourarch).
If you have things setup right, this should give a good speed boost:
If that simply makes it crash, then tell me what you get when you run
and this:
As for your other questions:
The license for ZDoom is the conjunction of several licenses including the orginal Doom license and the license Ken Silverman released build under. The dependancies are flac, flac++, fmod, nasm, SDL, and zlib. The most simple summary of these licenses is: For noncommercial use only. Also, as I said before, there is no install target in the makefile. Lastly, distributing a zdoom.ini file is neither necessary nor useful.
If you have things setup right, this should give a good speed boost:
Code: Select all
$ export SDL_VIDEODRIVER=dga
$ ./zdoom
Code: Select all
$ ls -l /dev/mem
Code: Select all
$ grep -n kmem /etc/group
The license for ZDoom is the conjunction of several licenses including the orginal Doom license and the license Ken Silverman released build under. The dependancies are flac, flac++, fmod, nasm, SDL, and zlib. The most simple summary of these licenses is: For noncommercial use only. Also, as I said before, there is no install target in the makefile. Lastly, distributing a zdoom.ini file is neither necessary nor useful.
-
- Posts: 186
- Joined: Sun Dec 21, 2003 1:11 am
-
- Posts: 3288
- Joined: Sun Oct 03, 2004 8:57 am
- Preferred Pronouns: They/Them
- Location: South Africa
I would use ALSA if I could, but for some reason neither OSS or ALSA work correctly. Also on a different system, which was using ALSA correctly, I noticed that it would only play sounds from a single application at once.Jim wrote:ESD and aRts (the funny capitalization is not a mistake, aRts is ) are crap for things that require low-latency and they are both no longer being developed. Use ALSA (or OSS failing that) for games and multimedia.
Although I think my problem is with my onboard sound's driver
I don't know enough about Linux right now to know how to fix it. At some point I hope to upgrade from Ubuntu 5.10 to 6.06. I'm just waiting for an opportunity to get the ISO and write myself a CD. I don't feel like downloading another ISO with my 56k.
-
- Posts: 186
- Joined: Sun Dec 21, 2003 1:11 am
-
- Posts: 309
- Joined: Sat Nov 27, 2004 12:39 am
- Location: Teh Intarwebivurs
-
- Posts: 17
- Joined: Tue Aug 08, 2006 9:42 am
- Location: Padova, Italy
Hello to everybody!
This is my first post!
Today i'v made a working ebuild of ZDoom (version 2.1.4) for Gentoo Linux
This is a "work-in-progress", i'll submit it on Gentoo Bugzilla as soon as possible!
Some instruction (i'll insert them in ebuild):
This is my first post!
Today i'v made a working ebuild of ZDoom (version 2.1.4) for Gentoo Linux
This is a "work-in-progress", i'll submit it on Gentoo Bugzilla as soon as possible!
Some instruction (i'll insert them in ebuild):
- Create an overlay and put the ebuild in games-fps/zdoom dir
- put IWAD files in /usr/share/games/doom-data
- run zdoom without parameters to choose IWAD from menù, or use -iwad <game>.wad switch
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
:')
I'll do my best to iron out bugs!
Come Krillancello! We must join forces! Onward to portage victory!
On another note, I really need to clean out this thread. Most of it can go on the wiki.
EDIT: ZDoom isin't GPL-2. It's something like "Random mashup of licences V4.78.9.8.2.98.4"
I'd probably just stick with "DOOM" for the licence.
I'll do my best to iron out bugs!
Come Krillancello! We must join forces! Onward to portage victory!
On another note, I really need to clean out this thread. Most of it can go on the wiki.
EDIT: ZDoom isin't GPL-2. It's something like "Random mashup of licences V4.78.9.8.2.98.4"
I'd probably just stick with "DOOM" for the licence.