Results 1 to 5 of 5

Thread: DelphiQuake

  1. #1

    Cool DelphiQuake

    DelphiQuake is the translation of the game Quake to the Delphi programming language.
    I started this convertion back in 2005 but never managed to make it work properly, after 2-3 months of work I finally came up with a stable but buggy release.

    Some years later thanks to fixes by http://www.pascalgamedevelopment.com...www.sibvrv.com a full working version made possible.

    After the 1st PGD Challenge I tried to change mood (from programming to gaming) but I unfortunatelly (or fortunatelly ) I ...wasn' t lucky: Using my new laptop I realized that was impossible to play Quake! DelphiQuake chashed, original GLQuake 0.95 (published by id software) crashed, was was wrong So gaming was over and programming started again

    Well, the bug wasn't that serious, the problem was the glGetString(GL_EXTENSIONS) function, in modern hardware returns a BIG string, Quake (as well Quake 2) uses a limited 1K buffer for string manipulation, so I've changed that and woo...hooo, working again!! I 'd like to make a parenthesis in this point and say that DelphiQuake string manipulation is using "PChars", just as the original source code, I didn't convert them to the flexible pascal strings as I did in DelphiDoom.

    But you know how ...addictive programming is, so instead of gaming I started to clean up the source code, trying to optimize a little bit of this, a little bit of that, added external texture support inside pk3 external files (re-using the units from the DelphiDoom project) etc.

    The project now is hosted in Sourceforge (http://sourceforge.net/projects/delphiquake/), you can download the latest version at:

    http://sourceforge.net/projects/delphiquake/files/

    Inside the latest version I've also included the shareware game data. If you want to play it with hi-res textures you must download the textures from the Quake Retexturing Project page at http://qrp.quakeone.com/downloads/, download the QRP_map_textures_v.1.00.pk3 and QRP_item_textures_v.0.73_dp.pk3 files and start the game with the following cmd:
    "dquake -pakfile QRP_map_textures_v.1.00.pk3 QRP_item_textures_v.0.73_dp.pk3"

    Attached screenshot is using extenal textures from QRT.
    Attached Images Attached Images
    Last edited by Jimmy Valavanis; 30-03-2012 at 03:40 PM.

  2. #2
    Hehe, your story sounds familiar

    Nice work there.

  3. #3
    Hmmm, my ideal gaming experience is to have delphi/pascal source for each game and playing it and debugging it at the same time....
    It's more fun this way! LOL
    Last edited by Jimmy Valavanis; 30-03-2012 at 03:41 PM.

  4. #4
    It's a pity it isn't LazarusQuake . Then for sure I'd give it a try, unfortunately I don't own Delphi. Nevertheless impressive work.

  5. #5
    Unfortunatelly I'm not experienced with FPC to make it myself, I've tried it some time in the past but with no luck. If someone could port it to FPC using SDL would be great, and a cross platform version would be easy to implement
    Last edited by Jimmy Valavanis; 30-03-2012 at 03:41 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •