Advice on running doom iwads
Advice on running doom iwads
Hey, Community I am working on a 3d engine for doom well it's not been my first engine ever made but I wanted to make a whole remake of doom and still keep the original aspect you all know and love about what made doom great. So, I thought I would ask Is there some code I could look at on GitHub or somewhere else that could give me an idea on how to run doom Iwads in my new engine with parameters like most doom source ports are designed to run. Because Doom 3 BFG uses a method for running the Iwads also so there should be a way to do this.
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: Advice on running doom iwads
Here's the complete GZDoom source code.John101 wrote:So, I thought I would ask Is there some code I could look at on GitHub or somewhere else that could give me an idea on how to run doom Iwads in my new engine with parameters like most doom source ports are designed to run.
- Kinsie
- Posts: 7401
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: Advice on running doom iwads
I could have swore there were lightweight libraries floating around for reading and manipulating WAD files, but I'm coming up short. The closest I could find was this copy of libwad in the Sonic Robo Blast 2 source.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Advice on running doom iwads
The only reason that ZDoom's resource management isn't lightweight is the support for all the different formats. The WAD reader itself is not that complicated.