killingtime
Senior Newbie 
Humm
|
 |
«
Posted
2003-02-15 17: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
|
|
|
|
|
Herkules
|
 |
«
Reply #1 - Posted
2003-02-16 07: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....
|
|
|
|
killingtime
Senior Newbie 
Humm
|
 |
«
Reply #2 - Posted
2003-02-16 09:59:38 » |
|
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!
|
|
erikd
|
 |
«
Reply #3 - Posted
2003-02-16 11:38:31 » |
|
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.
|
|
|
|
oNyx
|
 |
«
Reply #4 - Posted
2003-02-16 11:57:47 » |
|
>You could make it a webstart app that requires the original CD. u could simply use the pak files  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.
|
|
|
|
erikd
|
 |
«
Reply #5 - Posted
2003-02-16 13:41:03 » |
|
u could simply use the pak files Yeah well, which ever way you choose to load the copyrighted material without distributing them.  In java, you can't check if the user has the original CD anyway.
|
|
|
|
killingtime
Senior Newbie 
Humm
|
 |
«
Reply #6 - Posted
2003-02-16 17:52:18 » |
|
Yeah well, which ever way you choose to load the copyrighted material without distributing them.  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  .
|
|
|
|
|
Todi
JGO Visitor
Java games rock!
|
 |
«
Reply #7 - Posted
2003-03-12 18:36:23 » |
|
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  . 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.
|
|
|
|
|
princec
|
 |
«
Reply #8 - Posted
2003-03-13 20: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
| 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) return cddir;
SetErrorMode (SEM_FAILCRITICALERRORS);
drive[0] = 'c'; drive[1] = ':'; drive[2] = '\\'; drive[3] = 0;
done = true;
for (drive[0] = 'c' ; drive[0] <= 'z' ; drive[0]++) { 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; }
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  Besides I think we might add a CD API to LWJGL at some point. Cas 
|
|
|
|
killingtime
Senior Newbie 
Humm
|
 |
«
Reply #9 - Posted
2003-03-14 11:40:07 » |
|
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  Besides I think we might add a CD API to LWJGL at some point. Cas  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!
|
|
|
|
Rob Grzywinski
Junior Member  
Reality Interactive
|
 |
«
Reply #11 - Posted
2003-09-09 18: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.
|
|
|
|
|
jherber
Junior Member  
Java games rock!
|
 |
«
Reply #12 - Posted
2004-01-02 12: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.
|
|
|
|
|
cwei
Senior Newbie 
Let the robots do.
|
 |
«
Reply #13 - Posted
2004-05-06 14:48:02 » |
|
Check this. Jake2 a Java port of the Quake2 engine. Try the playable version from http://www.bytonic.deThe current version supports demo and single player mode. bye Carsten
|
|
|
|
|
|