Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Quake 2 Java  (Read 6046 times)
0 Members and 1 Guest are viewing this topic.
Offline killingtime

Senior Newbie




Humm


« Posted 2003-02-15 16:22:31 »

Someone, a while back, mentioned that a Quake 2 Java conversion was tried and id Software stopped it. Anyway I don't see why since they released the code under the GPL so I thought I'd have a go at doing a port anyway I set up the project yesterday at http://sourceforge.net/projects/quake2java/. It's quite a lot of code to port, and along with the mismatch which is C to Java (ah, if only they had used C++), I was hoping for some help.

Gary
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2003-02-16 06:58:46 »

The code might be free, but what about the graphics?

Anyway, I remember a Java-Quake running in a browser (although very low res, 320x200?) that could even be played over the net! But it vanished quickly for ID didn't like the idea.....

I fell that today there should be better ways to create a FPS in favor of porting Quake? But it still would be cool....

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline killingtime

Senior Newbie




Humm


« Reply #2 - Posted 2003-02-16 08:59:38 »

Quote
The code might be free, but what about the graphics?


You are indeed correct about the graphics, a person, to use the source, needs to own the original Quake 2 CD.

I figured it is of interest, because we would be showing a port of a game which did very well (I'd love to port Quake 3 instead if they open sourced that), hopefully running well under Java. It would also provide a GPL engine to use (with a total conversion as Mr Carmack pointed out).  It would also be interesting to see if we can get it to work with the original servers, and the original game to work with Java servers.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #3 - Posted 2003-02-16 10:38:31 »

Quote
You are indeed correct about the graphics, a person, to use the source, needs to own the original Quake 2 CD.  


You could make it a webstart app that requires the original CD.

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #4 - Posted 2003-02-16 10:57:47 »

>You could make it a webstart app that requires the original CD.

u could simply use the pak files Tongue

this way they have to own the game... otherwise they doesnt have the graphics.

eg the different quakeworld clients are all without any original media.

弾幕 ☆ @mahonnaiseblog
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2003-02-16 12:41:03 »

Quote
u could simply use the pak files


Yeah well, which ever way you choose to load the copyrighted material without distributing them.  Tongue

In java, you can't check if the user has the original CD anyway.

Offline killingtime

Senior Newbie




Humm


« Reply #6 - Posted 2003-02-16 16:52:18 »

Quote


Yeah well, which ever way you choose to load the copyrighted material without distributing them.  Tongue

In java, you can't check if the user has the original CD anyway.


It doesn't really matter anyway I can't remember what version they disabled CD checking but they disabled it in one of them and we are obviously porting the most recent version.

Basically in the end, it should be the case of just pointing the jar to the pak file location and away you go, thats the hope anway Grin.
Offline Todi

Innocent Bystander




Java games rock!


« Reply #7 - Posted 2003-03-12 17:36:23 »

Quote



Basically in the end, it should be the case of just pointing the jar to the pak file location and away you go, thats the hope anway Grin.


One may also have a look if nobody made a good mod using other paks.

I downloaded the source. Will have a look if its worth the effort.
Online princec

JGO Kernel


Medals: 391
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2003-03-13 19:45:56 »

Go on, you might as well do it. All the icky glue code is already written for you in LWJGL too - all you've got to port is the game itself.

BTW, the CD check in Q2 is this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
/*
================
Sys_ScanForCD

================
*/

char *Sys_ScanForCD (void)
{
      static char      cddir[MAX_OSPATH];
      static qboolean      done;
#ifndef DEMO
      char            drive[4];
      FILE            *f;
      char            test[MAX_QPATH];

      if (done)            // don't re-check
           return cddir;

      // no abort/retry/fail errors
     SetErrorMode (SEM_FAILCRITICALERRORS);

      drive[0] = 'c';
      drive[1] = ':';
      drive[2] = '\\';
      drive[3] = 0;

      done = true;

      // scan the drives
     for (drive[0] = 'c' ; drive[0] <= 'z' ; drive[0]++)
      {
            // where activision put the stuff...
           sprintf (cddir, "%sinstall\\data", drive);
            sprintf (test, "%sinstall\\data\\quake2.exe", drive);
            f = fopen(test, "r");
            if (f)
            {
                  fclose (f);
                  if (GetDriveType (drive) == DRIVE_CDROM)
                        return cddir;
            }
      }
#endif

      cddir[0] = 0;
     
      return NULL;
}

/*
================
Sys_CopyProtect

================
*/

void      Sys_CopyProtect (void)
{
#ifndef DEMO
      char      *cddir;

      cddir = Sys_ScanForCD();
      if (!cddir[0])
            Com_Error (ERR_FATAL, "You must have the Quake2 CD in the drive to play.");
#endif
}

[size=0]GPL code[/size]

i.e. it's not a very clever check at all is it Smiley Besides I think we might add a CD API to LWJGL at some point.

Cas Smiley

Offline killingtime

Senior Newbie




Humm


« Reply #9 - Posted 2003-03-14 10:40:07 »

Quote
Go on, you might as well do it. All the icky glue code is already written for you in LWJGL too - all you've got to port is the game itself.

i.e. it's not a very clever check at all is it Smiley Besides I think we might add a CD API to LWJGL at some point.

Cas Smiley


Thanks for that. Keith (another member of the project) proposed that we convert it to C++ first, and there already is a project that has partially done this.  That way in an extreme programming like style we can convert parts of it and still have it work with the rest.  I've done a bit of work, though I'm still behind schedule, but I want to complete a package or two before I cvs it.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pepe

Junior Member




Nothing unreal exists


« Reply #10 - Posted 2003-06-21 07:15:01 »

no quake 2, not playable, but here is a quake 1 demo.
Of course, you'll need to dowload a (free) pak file to make it work.
http://www.realityinteractive.com/software/index.html


Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Offline Rob Grzywinski

Junior Member




Reality Interactive


« Reply #11 - Posted 2003-09-09 16:15:09 »

Thanks pepe for the plug.

I should mention that the reason that we have not made our playable version of the Quake clone available is that you would need to have a registered copy of Quake to play it.  We feel that this is a significant barrier of entry.

I will also say that a significant chunk of our technology preview is Quake 2.  This was done as a proof of concept to show that our framework could support disparate components working in a common manner.
Offline jherber

Junior Member




Java games rock!


« Reply #12 - Posted 2004-01-02 11:08:48 »

the graphics are only copywritten.  you should be able to have an artist produce an interpretation of them, as long as he/she does not copy or use parts of the original.  
Offline cwei

Senior Newbie




Let the robots do.


« Reply #13 - Posted 2004-05-06 12:48:02 »

Check this.

Jake2 a Java port of the Quake2 engine.

Try the playable version from http://www.bytonic.de

The current version supports demo and single player mode.

bye
Carsten
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (40 views)
2014-09-24 16:13:29

Pippogeek (31 views)
2014-09-24 16:12:22

Pippogeek (21 views)
2014-09-24 16:12:06

Grunnt (47 views)
2014-09-23 14:38:19

radar3301 (29 views)
2014-09-21 23:33:17

BurntPizza (65 views)
2014-09-21 02:42:18

BurntPizza (37 views)
2014-09-21 01:30:30

moogie (43 views)
2014-09-21 00:26:15

UprightPath (53 views)
2014-09-20 20:14:06

BurntPizza (55 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!