PDA

View Full Version : Delphi-Heretic



Jimmy Valavanis
29-10-2007, 07:53 AM
DelphiHeretic is the conversion of the game Heretic (publish in 1995 by RAVEN) in Delphi. It is based on DelphiDoom latest source code.

http://img141.imageshack.us/img141/7231/htic001bo6.th.jpg

Major features include:

-32 bit software renderer.
-True 3D emulation.
-Supports external 32 bit textures.
-Supports external mp3 music.
-Supports wav format sounds inside WADs.
-Support for Dehacked files.

Download available at:
http://delphidoom.sitesled.com/downloads.html (Under the Work in progress section).
or
http://files.filefront.com/DelphiHeretic+01212zip/;9031451;/fileinfo.html

Source code (requires Delphi 6.0 or higher), executable and shareware game data included.

technomage
29-10-2007, 08:34 AM
Worked fine here :)

Brought back some memories :wink: good job.

WILL
29-10-2007, 10:35 AM
Hey, pretty neat. ;)

Nice job! :thumbup:

JSoftware
29-10-2007, 10:42 AM
Pretty nice

It crashed on me though. Can't remember where and why though. I think it was while strafing and firing at the same time

arthurprs
29-10-2007, 04:00 PM
good times with my PI-133 :)

The first run crashed, but the second worked :)

paul_nicholls
29-10-2007, 09:35 PM
Downloaded :)
I will try it tonight :-)

Thanks for the nostalgia!

cheers,
Paul

wodzu
30-10-2007, 02:09 PM
I loved Raven's work much more then ID Software.
I've especially liked Hexen II it had great multiplayer because of all this special items you could collect. Also Heretic 2 had very innovative multiplayer.

Good job mate:)

chronozphere
30-10-2007, 04:25 PM
Pretty sweet... reminds me of DOOM :) (You also have created Delphi-DOOM :razz:)

Jimmy Valavanis
02-11-2007, 09:09 AM
Thanks guys, I've had much fun making the conversion, the source code is there for all of you to play and learn. Any ideas for improvements are wellcome, feel free to experiment with the source code, and maybe make a conversion of Hexen game as well (witch is based on Heretic original source).
By the way, if someone take a look at i_net.pas (witch is the hard-network code) and make the game work in a network I 'd appreciate to give me a note. I've rewritten the network code about a thousand times (while working on DelphiDoom) but I've never succeded to make it work. :(

WILL
02-11-2007, 11:27 AM
If I'm not mistaken, and I might be, Heretic (like Doom 1 & 2) was a Pre-Win95 era game. Network gaming was quite primitive back then and usually required the use of accessing hardware ports in some cases.

If you are running almost any modern Windows these days though the game might still run, the port access rules have changed big-time. This might be a part of your problem and would likely require a total rewrite.

It's been ages since I've played these DOS games so I can't remember exactly what the multiplayer networking options were back then. (Could you please list them for us for edification purposes?) But I don't think that TCP or even UDP (when was it that games started using this one instead of TCP?) was available back then.

IPX was popular for some time in the pre-Windows 2000(NT takeover years) OS versions, but I guess it fell into a redundant category since game developers found TCP/UDP to be easier to work with alone I guess. Though I'm sure that you can still install the protocol if you managed to find a friend that would want to come by with his laptop and hook into your LAN. :)

Jimmy Valavanis
02-11-2007, 11:54 AM
I use WinSock.pas unit and tried using UDP. After a lot of of experiments using 2 computers connected in LAN running simultaneously DelphiHeretic(and DelphiDoom) I'm managed to send packets (PacketSend procedure in i_net.pas works) but could not receive none of them (procedure PacketGet in i_net.pas does not work, recvfrom() function returns error = WSAEWOULDBLOCK). I'm tottally unexperienced in network programming, and I don't even know what does that error mean, sorry. Maybe I 'll make a post in Help me! section of forums, but I don't even describe clearly the problem. The only hope is that someone checks the i_net.pas and rewrite it.

To debug a network game you must run DelphiHeretic with theese parameters (in 2 seperate computers):

heretic32.exe -net 1 addr2 -players 2
heretic32.exe -net 2 addr1 -players 2

where addr1/addr2 is the computer name or IP address of the computer you want to comunicate.

WILL
02-11-2007, 12:18 PM
You could make a 'Help Me!' post. But why not create a thread in the Networking forum specifically? So many people use the 'Help Me!' forum as a first resort and this often has some who would help normally ignore such requests as it usually comes out pushy.

That aside explaining as best you can the situation and perhaps a copy of i_net.pas too in the network forum might be the best way to initiate good feedback from other developers who know more about networking.

Nothing not mentioned is ever brought to attention. ;)

Jimmy Valavanis
13-11-2007, 10:56 AM
Mirrored to FileFront: http://hosted.filefront.com/delphidoom.

Also added hi-resolution texture pack link: http://files.filefront.com/HERETIC+HIRESpk3/;9046264;/fileinfo.html

To use the high resolution textures download the HERETIC-HIRES.pk3 file from the above link and place it in the same directory as heretic32.exe. Then edit the default.cmd file and add the following line:
-pakfile HERETIC-HIRES.pk3

or run it using the following command line parameters:
heretic32 -pakfile HERETIC-HIRES.pk3

WILL
13-11-2007, 07:02 PM
You know what might help bolster interest? Post a couple of videos of your translated game projects on YouTube!

Something with a keyword as popular as 'Doom' or 'Heretic' would definitely bring these older id Software engine translation projects to the attention of a lot of gamers. More bug reports, feedback, etc...

Plus it might bring to the attention to a lot of game developers that Delphi or Object Pascal in general has great compilers to make games with.

Jimmy Valavanis
15-11-2007, 07:30 AM
You know what might help bolster interest? Post a couple of videos of your translated game projects on YouTube!

Something with a keyword as popular as 'Doom' or 'Heretic' would definitely bring these older id Software engine translation projects to the attention of a lot of gamers. More bug reports, feedback, etc...

Plus it might bring to the attention to a lot of game developers that Delphi or Object Pascal in general has great compilers to make games with.

That's a good idea, thanks:
I've make some videos, you can watch them here: http://delphidoom.sitesled.com/videos/videos_heretic.html

I've also uploaded them in Youtube and Veoh:
<embed src="http://www.veoh.com/seriesplayer_embedded2.swf?perma]http://www.youtube.com/profile_videos?user=delphidoom[/url]
http://www.veoh.com/series/DelphiHeretic

www.sibvrv.com
14-12-2007, 11:12 AM
:D