PDA

View Full Version : *README* Resources & Help


normal
06-03-2002, 12:01 AM
(Thanks to all the people who have contributed to this thread.. namely UGG, and other forum lurkers.. :D)


Quake 3 Coding-related sites:
Code3Arena (http://www.planetquake.com/code3arena/)
Q3 Center's Coding Tutorials (http://www.q3center.com/codingindex.phtml)
Quake Style's Tutorials (http://quakestyle.telefragged.com/tuts.shtml)
Juz's Coding Tutorials (http://www.juz.org.uk/index.php?tutes=1)
Jazzd's Coding Tutorials (http://www.planetquake.com/prsoftware/jazzd/tuts/tuts.html)
Urban Software's Quake 3: Arena Coding Tutorials (http://www.captured.com/urban/tutorials/index.htm)
"Making Q3ASM Actually Work" (http://planetquake.com/hardhavoc/tut_compiling.htm)
Quake3World's Coding Tutorials (http://www.quake3world.com/editing/guides-coding-source.html)
Human Debris Coding Tutorials (http://www.planetquake.com/humandebris/tutorials.asp)

Star Trek: Elite Force Coding-related sites:
Compiling QVMs without Visual C++ (http://neurallink.tripod.com/compiling.html)


Misc Coding-related sites:
Quake III: Team Arena Menu Files (http://www.linux.ucla.edu/~phaethon/q3tamenu/q3tamenu.html)
Quake DeveLS (http://www.planetquake.com/qdevels/) (Quake 2)
half-life programming (http://www.planethalflife.com/hlprogramming/tutorials.asp) (Half-Life)
Quake 2 DLL Programming (http://www.quake2.com/dll/tutorials/index.html) (Quake 2)
Inside3D Q2 Tutorials (http://www.quake2.com/dll/tutorials/index.html) (Quake 2)
Quakesource (http://www.quakesrc.org/) (Quake 1, Quake 2, Hexen II)
Bluesnews DLL Basics (http://www.bluesnews.com/guide/dll.htm) (Quake 2)
QuakeC Extreme Tutorials (http://qcx.telefragged.com/qc/qc.html) (Quake 1)


Quake 3 Coding-related forums:
Quake3World: Modifications Programming (http://www.quake3world.com/cgi-bin/forumdisplay.cgi?action=topics&number=4)
QDeveLS - Q3A Message Board (http://dynamic.gamespy.com/~assim2/wwwshow.cgi?board=quake3)
PlanetQuake | Quake 3 Mod Making (http://www.forumplanet.com/planetquake/forum.asp?fid=2259)


Misc forums:
Raven Software (http://www2.ravensoft.com/cgi-bin/ubb/Ultimate.cgi) (UBB - Old)
Raven Software (http://204.97.248.99/ib/ikonboard.pl) (IkonBoard)


Compilers / IDEs:
GameIDE (http://www.planetquake.com/q3ide/) (Q3IDE?)
Borland C++ Builder (http://www.borland.com/products/downloads/download_cbuilder.html)
Borland C++ 5.5 Free Command Line Tools (http://www.codecutter.net/tools/Bcc55Tools/Bcc55JFE.htm)
V IDE for GNU g++ & Java (http://www.objectcentral.com/vide.htm)


Tools:
Q3Font (http://www.q3f.com/q3font.html)


Need the SDK?
Download it from JK2Files.com (http://www.jk2files.com/file.info?2888)


Does the source require Microsoft Visual C++ to compile the source?
No -- you can use the compiler that comes with the SDK to compile directly to a .qvm. It's merely an additional enhancement to use MSVC.


How can I use the compiler that came with the SDK?
There are four .bat files that came with the SDK, buildvms.bat, cgame.bat, game.bat, and ui.bat -- when run, they will do two passes of compilation, the second one generating the .qvm(s).


Getting syntax errors or file not found errors when trying to use the build VM .bat files?
Try using the ones from this site (thanks UGG!):
http://ugg.codealliance.ca/modbat/


Does the SDK include both Single player and Multiplayer source code?
The SDK only includes multiplayer sourcecode.


What effect does sv_pure 1 have?: (From Quake3World Forums) Only PK3 files can be loaded - no discrete files at all with the exception of..
.. Files with a .cfg or .menu extension can always be loaded.
Only PK3 files that the server has can be loaded by clients.
Each PK3 the server has thus-far loaded is required by all clients.
PK3 files must match identically (same byte-size and CRC) between server and client.

Get an error similar to this?
ERROR: Bad cgame system trap: 302
Update Jedi Knight II: Outcast to the latest patch (as of this time, 1.3).


Get an error similar to this?
==== ShutdownGame ====
VM_Restart()
Loading vm file vm/jk2mpgame.qvm.
********************
ERROR: programStack corrupted in compiled code
********************
----- Server Shutdown -----
recursive error after: programStack corrupted in compiled codeTry packing the .qvm file into a .pk3 (don't forget to include the path!)


Want to load your DLL files into the game?
Run JK2 with this command line:
X:\JK2\GameData\jk2mp.exe "+set r_fullscreen 0 +set fs_game modname +set vm_game 0 +set vm_cgame 0 +set vm_ui 0 +set sv_pure 0"
To check if your DLL(s) was/were loaded, type
vm_game
vm_cgame
vm_ui
If any of them return "2", then that DLL has been loaded.

An alternative method is setting viewlog to 1 (+set viewlog 1), and it'll report something like loading <module> dll instead of loading <module>.qvm. if it's done correctly.


Reply here if you have any other good resources / help.. :)

UGG
06-03-2002, 12:31 AM
I got some of those for ya! :)

This is a great EF compiling guide, if a little messy.
http://neurallink.tripod.com/compiling.html

This is good too, but the author needs to be smacked in the head with a web design book ;)
http://planetquake.com/hardhavoc/tut_compiling.htm

I'm trying to get the code to work with other compilers and IDEs, but not having much luck. My limited knowledge of this is really showing up :( Anyway, if you want a stab at it, try these.

http://www.borland.com/bcppbuilder/freecompiler/
http://www.objectcentral.com/vide.htm
http://www.codecutter.net/tools/Bcc55Tools/Bcc55JFE.htm
http://www.planetquake.com/q3ide/

normal
06-03-2002, 11:56 AM
*BUMP*

:jawa

DarthFreak
06-03-2002, 12:08 PM
Good job normal, this thread should be put as a sticky.

:vadar:

UGG
06-03-2002, 01:44 PM
Quake3 mod forum with some coding topics.
http://www.forumplanet.com/planetquake/forum.asp?fid=2259

Raven's BBS might be helpful, though they don't have an Outcast forum yet.
http://www2.ravensoft.com/cgi-bin/ubb/Ultimate.cgi


The rest are old Quake or Quake2 coding links. They're still good for learning how DLLs and mods work.

Huge Quake 2 coding site by the Code3Arena guys. http://www.planetquake.com/qdevels/

Quake2 Coding tutorials.
http://www.planethalflife.com/hlprogramming/tutorials.asp
http://www.quake2.com/dll/tutorials/index.html
http://www.inside3d.com/q2tut/
http://www.quakesrc.org/

Quake2 DLL basics.
http://www.bluesnews.com/guide/dll.htm

QuakeC tutorials
http://qcx.telefragged.com/qc/qc.html

normal
06-03-2002, 01:46 PM
UGG, do you mind if I put the URL's you've mentioned into the main topic?

normal
06-04-2002, 12:57 AM
*BUMP*

:jawa

UGG
06-04-2002, 02:15 AM
I don't mind, but I'd wait until the thread gets a lot bigger.

normal
06-04-2002, 05:10 PM
Ok, that's a good idea, UGG.

emorog
06-04-2002, 05:11 PM
Raven won't have an Outcast forum since we all go to this one. But the SoF2 forum there may provide some help for general coding tips.

normal
06-04-2002, 08:36 PM
*BUMP*

Some new stuff added. :cool:

:jawa

normal
06-05-2002, 01:20 PM
*BUMP*

:jawa

Tchouky
06-06-2002, 05:26 AM
this one must be sticky !! we need a moderator in this section !!!

Nemios
06-07-2002, 11:00 AM
Originally posted by normal
Does the source require Microsoft Visual C++ to compile the source?
No -- you can use the compiler that comes with the SDK to compile directly to a .qvm. It's merely an additional enhancement to use MSVC.


How? Command line? Special instructions?

Then what I have to do to apply the built source code? (Please include these answers in your first post)

normal
06-07-2002, 10:51 PM
*BUMP* wait -- why am I bumping it? it's sticky! .. lol

Slightly-major update, I added all of UGG's links into the main post, fixed up the post a little, added a question for Nemios' request. And, the biggest thing of all, mattwindu made this topic sticky. Yay! :D :cool:

:jawa

normal
06-27-2002, 10:27 AM
Added a couple new sites to the list! :band:

:jawa

normal
07-05-2002, 10:06 PM
Error added.

Commodus
07-07-2002, 10:23 PM
Originally posted by Nemios


How? Command line? Special instructions?

Then what I have to do to apply the built source code? (Please include these answers in your first post)

You run the .bat files in the source code folders - there's one for each module, game.bat, cgame.bat and ui.bat. There's also a general buildvms.bat which makes the vms for all three modules at once (so you don't have to run the three bats separately...)

Primesghost
09-01-2002, 09:20 PM
Here's a link I found:

http://www.idiom.com/free-compilers/

It's a list of free compilers for various languages.

MadDaBombz
09-15-2002, 10:44 PM
Agh. On Win98 and spent several hours trying to get the .bat files to work only to find out that I have to download new ones. And now, for some reason, the cgame.bat one isn't working (though the game.bat worked fine). I compiled the client side game dll dealio and followed the exact same process as for the game vm. Is the cgame.bat file that came from http://ugg.codealliance.ca/modbat/ faulty as well or am I just an idiot?

Wudan
12-25-2002, 10:32 AM
I used a program called DoxyGen on the MP source, just to see what it would do. It didn't do the best job of crossreferencing, but it doesn't look bad.

Why do this? - you might ask?

Because I often spend a lot of hours away from my IDE machine, and it's nice to be able to read the source, even when not coding.

http://users.sisna.com/tokyopop/jk2mp/

seniorfrito
05-23-2003, 02:00 PM
-----------------------
----- Server Shutdown -----
---------------------------
bad parameter in external weapon data 'firingforce'
I have edited the game a little and now it is giving me this error everytime I try to start a new game. What do I do?
e-mail your answer to me at seniorfrito030388@hotmail.com.
Thanks...