Jump to content
  • Advertisement
Sign in to follow this  

Unity 3D Realms releases Shadow Warrior source

This topic is 4805 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

===================================================== Shadow Warrior (v1.2 CD Version) Source Code Release - April 1, 2005 ===================================================== LEGAL STUFF ----------- "Shadow Warrior" is a registered trademark of Apogee Software, Ltd. (a.k.a. 3D Realms). "Shadow Warrior" copyright 1997 - 2005 3D Realms. All trademarks and copyrights reserved. This is the complete source code for Shadow Warrior version 1.2, buildable as detailed in the next section. The code is licensed under the terms of the GPL (gnu public license). You should read the entire license (filename "GNU.TXT" in this archive), so you understand your rights and what you can and cannot do with the source code from this release. All of the Shadow Warrior data files remain copyrighted and licensed by 3D Realms under the original terms. You cannot redistribute our data or data files from the original game. You can use our data for personal entertainment or educational purposes. If you need the data, you can order a Shadow Warrior CD from our store on our website (http://www.3drealms.com). Please do not contact us for possible commercial exploitation of Shadow Warrior -- we will not be interested. Please note that this is being released without any kind of support from Apogee Software, Ltd / 3D Realms Entertainment. We cannot help in getting this running and we do not guarantee that you will be able to get it to work, nor do we guarantee that it won't blow up your computer if you do try and use it. Use at your own risk. SPECIAL THANKS -------------- Very large thanks to Frank Maddin (one of the original Shadow Warrior programmers) for digging up the code and providing some help getting it off the ground. Also thanks to Jonothan Fowler (responsible for the JonoF port of Duke 3D) for lending his experience with the Build Engine to help track down the last major issues, thus making the released source as full featured and bug free as possible. I couldn't have done it without these guys. Thanks also to Ken Silverman and Jim Dose for allowing us to include some of their source in this build, so we have it all in one archive. Finally, thanks to all the fans of 3D Realms and Shadow Warrior. You guys emailing us over and over is part of what motivated us to finally put this release together! We can't wait to see what people do with it. And we really look forward to being able to play the game under XP, with sound, internet play, hardware acceleration and everything else we've seen evolve out of the Duke Nukem 3D source community. :) I had fun putting this source release together, especially given the lack of a complete source code archive for the game and the challenges that presented. Charlie Wiederhold 3D Realms ================================================ HOW TO COMPILE THE SOURCE CODE ================================================ This source code release was compiled on March 31st, 2005 using the materials in this archive. This code has been updated to allow Shadow Warrior to compile under the free version of the Watcom compiler available from their webpage (http://www.openwatcom.org). It was compiled under Open Watcom 1.3 for Windows which is free to download. This means, thankfully, that anybody can work with this code right away without trying to find an out of production compiler or wait for someone to port it to other modern compilers. Step 1) Install Watcom C/C++ onto your system. Step 2) When you install, make sure that you select DOS 32 Bit as one of your target environments to build for. Step 3) Choose a place you want to work from and unzip the contents of this .ZIP file into that directory. From here you must use the IDE to compile (the IDE is the software that manages your files, options for compiling, editing files, debugger, etc). There is a MAKEFILE included in the extras folder, but I didn't spend the time testing it to see if it works, which I seriously doubt. USING THE WATCOM IDE -------------------- - Start up the Watcom IDE and go to File -> Open Project. - Find the directory where you've unzipped the Source files into, and you should see a SW.WPJ. Select this and hit "OK". - Click the "Make Current Target" button, or press "F4", or go to the menu Targets -> Make. You'll see a couple Warnings as it compiles, that's normal. - This will create a SW.EXE file in the same directory where the SW.WPJ was located, which can then be copied in the directory with your Shadow Warrior data and run. ONCE YOU HAVE SW.EXE COMPILED ----------------------------- - If you own Shadow Warrior version 1.2 (registered): You are set... simply copy your new SW.EXE into the directory and run it. - If you don't own Shadow Warrior: Download the shareware version 1.2 of Shadow Warrior from http://www.3drealms.com (go to Downloads). Install it and copy your new SW.EXE into the directory and run it. - This should allow you to play the game well enough to test, though unfortunately there will still be some minor issues and any attempt to play the second episode will result in a crash. Your best results will come from owning the full copy of Shadow Warrior version 1.2, which can still be purchased from the 3D Realms website. This is enough to get you started. Unfortunately nobody at 3D Realms will be able to devote the time to answer any support questions if you do encounter problems. However, go to http://www.3drealms.com/forums.html and you will find people discussing it in the Shadow Warrior Source category who are also probably able to answer questions. Thanks to the prior release of the Duke 3D Source Code, there is already a wealth of knowledge and experienced people around to help out. ===================================================== MISC NOTES ABOUT THIS RELEASE ===================================================== - All changes I made from the original are indicated by a "// CTW" style comment. I made as few changes as possible since the fun for people is working on the Shadow Warrior original code, not my personal rewrite/interpretation. Unfortunately, there was a significant amount of work and hacking needed to get this up and running compared to the Duke 3D release. I was provided with a large list of files with no clue how they needed to be organized, what was actually used, etc. Also, several key files were missing entirely and required borrowing from the Duke 3D source code. - This source includes the Build Engine data (.OBJ files) needed for compiling. The Build Engine is a separate entity from Shadow Warrior, though Shadow Warrior is built upon the Build Engine. - The KENBUILD.ZIP file contains all of the data you need from Ken Silverman's released version to compile the Build Engine itself. Instructions for doing this are contained within that file. I have tested this with the free versions of Watcom and it works. More information about this code found at Ken's webpage here: http://www.advsys.net/ken/buildsrc/default.htm - The AUDIOLIB.ZIP file contains all of the data you need from Jim Dose's sound engine that was used in Rise of the Triad, Duke 3D, and Shadow Warrior to compile the actual Audio Library itself. Instructions for doing this are contained in that file. I have not tested this personally to see if it compiles under the free version of Watcom. - In order for saving/loading to work, you will need to follow the instructions given at the start of the GAME.C file. - Sound will be sketchy if you are on any modern system and is likely to slow game performance down to a crawl. I don't advise turning sound on until someone is able to update it to a modern audio system. - Networking is completely untested. Other minor quirks you might encounter are listed at the top of the GAME.C file. - If you would like to play Shadow Warrior in high res Vesa modes instead of 320x200, download Ken's utility here: http://www.advsys.net/ken/build.htm - The files in the EXTRAS folder are there purely for curiosity and educational purposes. You can find a whole lot of potentially interesting tests, as well as older versions of the source files that ultimately made it into the game. None of these are necessary and are purely, well, extra. - Shadow Warrior used DOS/4GW for its DOS Extender. Watcom 1.3 comes with a couple free DOS Extenders; however you will need to bind it to the extender in order to distribute the EXE you create to other computers where it wasn't compiled. How you do this depends on which extender you choose to use. I trust that once you get to the point of distributing an EXE you can figure out how to bind it to the extender if necessary. Since DOS/4GW was a commercial licensed product, we can't distribute the resources we used to do this. - All references to TEN (Total Entertainment Network) have been commented out of the version that will be compiled, but left in for the curious to look at. The same goes for the 3DFX Glide support. Any source code files that were written by these respective companies are not included in the release for obvious legal reasons. - The Duke 3D Source Code has taken on a life of its own and gone beyond what any of us originally imagined. Now, on the two year anniversary of that release, we all look forward to seeing the same support finally added to Shadow Warrior so that the dedicated legion of Lo Wang fans can enjoy the game in an all modern environment. - And last but not least... "Whoooo wanta some Wang?!"

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Tags

  • Popular Now

  • Advertisement
  • Similar Content

    • By Hive Entertainment
      I have already chosen my favorite from the concept artist which one do you like better 1 2 or 3?
      Also still looking for a writer and a 3d artist message if you are interested!

    • By Armaan Gupta
      Hey There,
      I am a developer and Im working on a blockchain based infinite runner type game. Right now, I am working on releasing the beta version with a couple other game developers, but would love to expand the team and have other talented and bright people contributing. The game portion of the project isnt very complicated, and wouldnt require anyone to pull thier hair out for it.
      If you are interested in joining a project, interested in the idea, or would like some more information, please don't hesitate to ask either by commenting, discord (username: Guppy#7625), or by email (armaangupta01@gmail.com).
      Thank you!
    • By Joydeep Mani
      I am trying to build a particle system for unity based on "Destiny particle architecture " released in Siggraph.
      I encounter a problem in trying to understand how they iterated this:

      Converted to spline function and the result is

      i wanted to know how did they converted the function in the editor to represent the graph ??
    • By Xerath Dragons
      This is my first experiment use for create my original character little cute dragon chibi use zbrush and blender and use unity3d assest free for enviroment scene you have feedback?

    • By Aryndon
      Project Redemption is an semi-fantasy RPG with a linear story and an elaborate combat system.
      We are building in Unity and are currently looking animators and artists.
      What we are looking for
      -Someone who is okay with split revenue/profits when finished
      -Collaborate with others in the team. Do you have an idea/thought on what should be included? Tell us!
      -Someone who wants to work with people that are passionate about this project
      If you are interested. Please message me and I will get back to you as soon as possible! Or add me on Discord AJ#6664
    • By Aggrojag
      I'm working on a game that is a narrative driven dark comedy with some small aspects of platforming and puzzle solving. The project is rather small as well. It touches on topics such as suicide, mental illness, family, corruption, free-will, and redemption.
      This project is exercise in polish, this means some experimentation will be needed along with some reworking of assets as they're provided.
      This will be a revshare model.
      First, I'm looking for a 2D sprite artist, not pixelated, that can compliment the style of the attached images, and be similar to the temporary character.
      We are looking to bring on a SFX designer at this time. Full list of required SFX will be available upon request, as well as a build with all elements related to sound implemented in some form (many SFXs pulled from the web for now). Will likely require some field recording, and some pretty strange SFX for when things get weird. I imagine a good portion of these will be quite fun to create.
      Lastly, I'm looking for a male voice actor, English should be your primary language. There will be at minimum two characters that will need to be brought to life through vocals. The first voice is similar to Marvin from Hitchhiker's Guide to the Galaxy. A reference for the second voice would be a mix of Ren (Ren & Stimpy), and Android 21 (DragonBallFighterZ). Due to formatting, I'm not including YouTube links in the post, sorry.
      WIP Scene with our custom shaders attached (platforms are lazily placed, as this was an asset test):

      A scene with dynamic lighting and temp character:

      Unshaded asset:

      If you made it to the bottom, thank you, and I look forward to hearing from you.
    • By SickTwistGames
      Ok, firstly, Hi.
      This is my first post on this forum. I am an Indie Dev making my first game so bear with me when I say dumb stuff, I'm on a huge learning curve.
      My first question is about inventory systems for unity. I am trying to make a survival type game with crafting. I have purchased Inventory manager pro by devdog from the unity asset store and it seems like a pretty powerful assett but for an intermediate coder its a little tough to use.  I'm beginning to wonder if it was the right purchase.
      So my question is.... does anyone have any experience of inventory plugins / systems for unity and can anyone reccomend a system to me?
      It needs to have the following: Loot system, crafting system, character sheet, blueprint system,  character stats system. Ideally with as little coding as possible.
    • By ethancodes
      I've got a bug with my brick breaker style game. The bricks move down one line at a time ever 1.5 seconds. What appears to be happening is occasionally the ball will be just about to hit the brick when the brick moves down a line, and now the ball is behind it. I'm not sure how to fix this. I have two ideas but I'm not sure of implementation. 1 solution would be to check where they were and where they are going to be before rendering the frame. Then if they crossed paths, then register the brick as hit. Solution 2 would be change how the bricks move. I could maybe slide them down line by line, instead of a jump down. I'm not sure of this will fix the issue or not. Any ideas?
    • By Pixeye
      I wrote an extension for unity inspector that allows to group/fold variables. 
      Available on github  , cheers!

    • By rakshit Rao
      I'M interested in programming tools (For animation, UI, etc). Can anyone suggest me the resources where I can start learning or which technologies I need achive it.
  • Forum Statistics

    • Total Topics
    • Total Posts

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!