Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Softdisk-era id games open sourced
Pages (2): [1] 2 »  
Author
All times are GMT. The time now is 17:06. Post New Thread    Post A Reply
sgtcrispy
Forum Regular


Posts: 792
Registered: 06-00


Looks like the folks at Flat Rock Software have released the source code of id's games from their time at Softdisk, which includes the various Catacomb games and Hovertank 3D. FRS apparently owns the rights to the games. Read more at Phoronix.

Old Post 06-07-14 18:42 #
sgtcrispy is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
reality 2.0
Junior Member


Posts: 183
Registered: 10-13


ah cool. I'll be sure to toy with the source code(s) today.

Old Post 06-07-14 19:49 #
reality 2.0 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
J.B.R
Junior Member


Posts: 234
Registered: 08-12


YEAH!!!
Finally someone can make a source port for these games, which is a good thing because it removes the need to use DosBox.
And not only that, it could be possible to make mods for them.

Old Post 06-08-14 11:05 #
J.B.R is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Stygian
Member


Posts: 376
Registered: 09-05


Awesome. I can't wait to play around with this when I finish my Summer semester.

Kind of makes me wonder how much of it is written in C and how much is assembly code.

Old Post 06-08-14 18:56 #
Stygian is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



Stygian said:
Awesome. I can't wait to play around with this when I finish my Summer semester.

Kind of makes me wonder how much of it is written in C and how much is assembly code.


Progressively less ASM as the games get older, though none of them are entirely without.

Old Post 06-08-14 20:56 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ETTiNGRiNDER
Mini-Member


Posts: 86
Registered: 03-14



Quasar said:

Progressively less ASM as the games get older, though none of them are entirely without.


Interesting. I would've predicted the reverse.

Old Post 06-08-14 22:14 #
ETTiNGRiNDER is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
yukib1t
Will DDR for food


Posts: 2538
Registered: 06-02



ETTiNGRiNDER said:

Interesting. I would've predicted the reverse.

Hand-tuned ASM used to be faster (usually, not always) than compiler-produced code. Still is in some cases, but the difference is now much more negligible.

Catacomb was written in Turbo Pascal.

Old Post 06-09-14 05:58 #
yukib1t is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



yukib1t said:
Hand-tuned ASM used to be faster (usually, not always) than compiler-produced code. Still is in some cases, but the difference is now much more negligible.

Catacomb was written in Turbo Pascal.


In this case I think the relative non-maintainability of ASM was a big factor, particularly as the latter Catacomb 3D sequels weren't programmed by Carmack but by other people who had to build on top of his code without his advice to run on.

A lot of the ASM that is in there was compiled from C code (which is at least in some cases also included) and then hand-tuned. You can tell as the lines of corresponding C code are interspersed with the assembly in those files, helping to serve as some documentation (should make porting off 16-bit x86 easier too for people who aren't real mode wizards).

Old Post 06-09-14 13:28 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13


Anyone tried compiling these sources? I cant find a copy of Borland 3.1, or is it 2.0, to compile them with, much less a copy of turbo pascal.

Old Post 06-09-14 13:34 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



doomgargoyle said:
Anyone tried compiling these sources? I cant find a copy of Borland 3.1, or is it 2.0, to compile them with, much less a copy of turbo pascal.

For the Pascal you'd probably have to try to port it to a different more modern Pascal compiler, as I don't think Turbo Pascal was released freely later on like Turbo C/C++ was. Either that or port it to C, which is fairly straight forward - aside from a couple of gotchas, Pascal has more or less the same semantics as C with a different syntax.

Old Post 06-09-14 13:39 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13



Quasar said:

For the Pascal you'd probably have to try to port it to a different more modern Pascal compiler, as I don't think Turbo Pascal was released freely later on like Turbo C/C++ was. Either that or port it to C, which is fairly straight forward - aside from a couple of gotchas, Pascal has more or less the same semantics as C with a different syntax.



Thing is, im not a programmer, it'd be the first time i port pascal to c syntax. :D Was turbo c/c++ released freely? Is there a url to it?

Old Post 06-09-14 14:51 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



doomgargoyle said:


Thing is, im not a programmer, it'd be the first time i port pascal to c syntax. :D Was turbo c/c++ released freely? Is there a url to it?


http://edn.embarcadero.com/article/41337

Old Post 06-09-14 16:00 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Member


Posts: 519
Registered: 06-04


Note that if you're looking to port the Pascal to C, just use second game's code base. It's pretty close to a straight Pascal->C source. I think OLDCAT.C is a backup from after the straight port was done.

Quasar said:
I don't think Turbo Pascal was released freely later on like Turbo C/C++ was.

Turbo Pascal 5.5 has been. Doesn't look like the later versions were though.

Old Post 06-09-14 20:51 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13


Ok, I was able to find a copy of Borland 3.x, and I compiled Hovertank, and it compiles and runs, but when I compiled Catacomb 3d, it compiles, but when executing the program it gives this error:

MM_Getptr: Out of memory!

Old Post 06-10-14 15:41 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13



J.B.R said:
YEAH!!!
Finally someone can make a source port for these games, which is a good thing because it removes the need to use DosBox.
And not only that, it could be possible to make mods for them.



There's already mods for Hovertank.

http://www.moddb.com/mods/demon-hunter

Requires the game to work. With the source it could be a standalone game.

Old Post 06-10-14 16:22 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Rohit_N
Mini-Member


Posts: 88
Registered: 10-09


Any way of compiling Catacomb 3D without the supplied OBJ files in the source?

Old Post 06-10-14 18:29 #
Rohit_N is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Patrol1985
Member


Posts: 652
Registered: 07-13


Chocolate Catacomb 3D / Hovertank for the win! :D

Old Post 06-10-14 18:42 #
Patrol1985 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Member


Posts: 519
Registered: 06-04



doomgargoyle said:
but when I compiled Catacomb 3d, it compiles, but when executing the program it gives this error:

Probably your data files not being the correct version to match the source release. I can confirm that the source works just fine with the id Anthology data.

Rohit_N said:
Any way of compiling Catacomb 3D without the supplied OBJ files in the source?

Yes, but it wouldn't be of much use. The OBJ files provided are the headers for the game data and the intro screen (which tells you about your hardware). You could extract the C3D files out of the headers and remove the intro screen. To do the former you need to change a define so that it reads the external file instead of the linked data. (Look for where it reads the EGAHEAD.) Not entirely sure what good it would do you though.

Old Post 06-10-14 21:24 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Solarn
Member


Posts: 564
Registered: 09-08


Does the open sourcing include the Catacomb Fantasy Trilogy or just the original Catacomb 3D?

Old Post 06-11-14 17:27 #
Solarn is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
ETTiNGRiNDER
Mini-Member


Posts: 86
Registered: 03-14



Solarn said:
Does the open sourcing include the Catacomb Fantasy Trilogy or just the original Catacomb 3D?

The trilogy's on there.

Old Post 06-11-14 17:49 #
ETTiNGRiNDER is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13


We need source ports!

Old Post 06-11-14 18:24 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



doomgargoyle said:
We need source ports!

I wouldn't hold your breath. It could be years before people figure this stuff out enough to port it anywhere, let alone start modifying it. The amount of interest is also low. These were never "big" games like Wolf3D or Doom. Most people barely remember them if they know about them at all.

Old Post 06-11-14 20:23 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13



Quasar said:

I wouldn't hold your breath. It could be years before people figure this stuff out enough to port it anywhere, let alone start modifying it. The amount of interest is also low. These were never "big" games like Wolf3D or Doom. Most people barely remember them if they know about them at all.



Then I'll start figuring it out myself! Well, at least this source release will at least put these games on people's attentions. Would you say these codebases are simpler to understand than wolf3d/doom's to the complete beginner? Any tips on how/where to start learning?

Old Post 06-11-14 21:51 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6088
Registered: 08-00



doomgargoyle said:


Then I'll start figuring it out myself! Well, at least this source release will at least put these games on people's attentions. Would you say these codebases are simpler to understand than wolf3d/doom's to the complete beginner? Any tips on how/where to start learning?


Absolutely not, because they are mired very deeply in 16-bit real mode architecture with x86 assembly both inline and out, and use highly tuned approaches that only work under DOS on the bare metal.

This is not a "my first program" job, for sure, unless you just finished cutting your teeth on Abrash's Black Book and consider Dr. Dobbs to be bathroom reading material.

Old Post 06-11-14 23:30 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11229
Registered: 07-07



Quasar said:
These were never "big" games like Wolf3D or Doom.


I'd say Doom or Quake instead of Wolf3D or Doom. As far as the source port scene goes at least. Plenty of choices with Doom or Quake, but the Wolf3D port scene is mostly vanilla or Wolf4SDL with some copy-pasted code to make custom executables for a particular mod, and that's all.


Good thing there's ECWolf. (Which actually may end up being our best hope for a port of Hovertank 3D and the Catacomb games.)

Old Post 06-12-14 11:13 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13



Quasar said:

Absolutely not, because they are mired very deeply in 16-bit real mode architecture with x86 assembly both inline and out, and use highly tuned approaches that only work under DOS on the bare metal.

This is not a "my first program" job, for sure, unless you just finished cutting your teeth on Abrash's Black Book and consider Dr. Dobbs to be bathroom reading material.



ok, what about the first pascal Catacomb game?

Old Post 06-12-14 14:10 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13



Gez said:


I'd say Doom or Quake instead of Wolf3D or Doom. As far as the source port scene goes at least. Plenty of choices with Doom or Quake, but the Wolf3D port scene is mostly vanilla or Wolf4SDL with some copy-pasted code to make custom executables for a particular mod, and that's all.


Good thing there's ECWolf. (Which actually may end up being our best hope for a port of Hovertank 3D and the Catacomb games.)



Yes, ECWolf is probably the only port that support wolf3d engine and the like era games these days.

Old Post 06-12-14 14:12 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
doomgargoyle
stupid and pointless


Posts: 425
Registered: 12-13


Im trying to figure out the source code for Catacomb II , known too as The Catacomb, since it looks like the simplest codebase for begginers. The code mentions a level editor. Could any coder here please point out if there´s a functioning level editor in the codebase ?

Old Post 07-04-14 18:03 #
doomgargoyle is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Solid Snake
Member


Posts: 412
Registered: 06-09


Something funny i found from the Hovertank 3D code:

NOTICE TO ANYONE READING THIS:

This is the last gasp of our old routines! Everything is being rewritten
from scratch to work with new graphic modes and utilities. This code
stinks!

Old Post 07-15-14 23:08 #
Solid Snake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Crasger
Member


Posts: 526
Registered: 10-13


Well isn't it nice that we'll get Hovertank source ports soon?

__________________
Wow look at this insignificant text.

Old Post 07-16-14 01:48 #
Crasger is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:06. Post New Thread    Post A Reply
Pages (2): [1] 2 »  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Misc. > Doomworld News > Softdisk-era id games open sourced

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is OFF
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.