lfnetwork.com mark read register faq members calendar

Thread: *README* Resources & Help
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-03-2002, 12:01 AM   #1
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*README* Resources & Help

(Thanks to all the people who have contributed to this thread.. namely UGG, and other forum lurkers.. )


Quake 3 Coding-related sites:
Code3Arena
Q3 Center's Coding Tutorials
Quake Style's Tutorials
Juz's Coding Tutorials
Jazzd's Coding Tutorials
Urban Software's Quake 3: Arena Coding Tutorials
"Making Q3ASM Actually Work"
Quake3World's Coding Tutorials
Human Debris Coding Tutorials

Star Trek: Elite Force Coding-related sites:
Compiling QVMs without Visual C++


Misc Coding-related sites:
Quake III: Team Arena Menu Files
Quake DeveLS (Quake 2)
half-life programming (Half-Life)
Quake 2 DLL Programming (Quake 2)
Inside3D Q2 Tutorials (Quake 2)
Quakesource (Quake 1, Quake 2, Hexen II)
Bluesnews DLL Basics (Quake 2)
QuakeC Extreme Tutorials (Quake 1)


Quake 3 Coding-related forums:
Quake3World: Modifications Programming
QDeveLS - Q3A Message Board
PlanetQuake | Quake 3 Mod Making


Misc forums:
Raven Software (UBB - Old)
Raven Software (IkonBoard)


Compilers / IDEs:
GameIDE (Q3IDE?)
Borland C++ Builder
Borland C++ 5.5 Free Command Line Tools
V IDE for GNU g++ & Java


Tools:
Q3Font


Need the SDK?
Download it from JK2Files.com


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?
Quote:
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?
Quote:
==== ShutdownGame ====
VM_Restart()
Loading vm file vm/jk2mpgame.qvm.
********************
ERROR: programStack corrupted in compiled code
********************
----- Server Shutdown -----
recursive error after: programStack corrupted in compiled code
Try 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..

Last edited by normal; 07-05-2002 at 10:05 PM.
normal is offline   you may: quote & reply,
Old 06-03-2002, 12:31 AM   #2
UGG
 
Join Date: Nov 2001
Posts: 80
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/
UGG is offline   you may: quote & reply,
Old 06-03-2002, 11:56 AM   #3
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*BUMP*

normal is offline   you may: quote & reply,
Old 06-03-2002, 12:08 PM   #4
DarthFreak
 
DarthFreak's Avatar
 
Join Date: Mar 2002
Location: Italy
Posts: 167
Thumbs up

Good job normal, this thread should be put as a sticky.



The Dark Side of the marshmellow power is with me!
DarthFreak is offline   you may: quote & reply,
Old 06-03-2002, 01:44 PM   #5
UGG
 
Join Date: Nov 2001
Posts: 80
Quake3 mod forum with some coding topics.
http://www.forumplanet.com/planetqua...m.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/hlprog.../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
UGG is offline   you may: quote & reply,
Old 06-03-2002, 01:46 PM   #6
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
UGG, do you mind if I put the URL's you've mentioned into the main topic?
normal is offline   you may: quote & reply,
Old 06-04-2002, 12:57 AM   #7
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*BUMP*

normal is offline   you may: quote & reply,
Old 06-04-2002, 02:15 AM   #8
UGG
 
Join Date: Nov 2001
Posts: 80
I don't mind, but I'd wait until the thread gets a lot bigger.
UGG is offline   you may: quote & reply,
Old 06-04-2002, 05:10 PM   #9
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
Ok, that's a good idea, UGG.
normal is offline   you may: quote & reply,
Old 06-04-2002, 05:11 PM   #10
emorog
 
emorog's Avatar
 
Join Date: May 2001
Location: Madison, WI, USA
Posts: 47
Exclamation

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.
emorog is offline   you may: quote & reply,
Old 06-04-2002, 08:36 PM   #11
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*BUMP*

Some new stuff added.

normal is offline   you may: quote & reply,
Old 06-05-2002, 01:20 PM   #12
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*BUMP*

normal is offline   you may: quote & reply,
Old 06-06-2002, 05:26 AM   #13
Tchouky
 
Tchouky's Avatar
 
Join Date: Apr 2002
Location: Eclipse (jeedai secret base)
Posts: 543
*bump*

this one must be sticky !! we need a moderator in this section !!!
Tchouky is offline   you may: quote & reply,
Old 06-07-2002, 11:00 AM   #14
Nemios
 
Nemios's Avatar
 
Join Date: May 2001
Location: Italy
Posts: 202
Re: *README* Resources & Help

Quote:
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)


"I find your lack of first person lightsaber disturbing" - Darth Vader
"May the first person lightsaber be with you" - Obi-Wan Kenobi
Nemios is offline   you may: quote & reply,
Old 06-07-2002, 10:51 PM   #15
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
*BUMP* [edit] wait -- why am I bumping it? it's sticky! .. lol [/edit]

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!

normal is offline   you may: quote & reply,
Old 06-27-2002, 10:27 AM   #16
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
Added a couple new sites to the list!

normal is offline   you may: quote & reply,
Old 07-05-2002, 10:06 PM   #17
normal
 
normal's Avatar
 
Join Date: May 2002
Location: California, USA
Posts: 234
Error added.
normal is offline   you may: quote & reply,
Old 07-07-2002, 10:23 PM   #18
Commodus
 
Commodus's Avatar
 
Join Date: Apr 2002
Posts: 216
Re: Re: *README* Resources & Help

Quote:
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...)
Commodus is offline   you may: quote & reply,
Old 09-01-2002, 09:20 PM   #19
Primesghost
 
Primesghost's Avatar
 
Join Date: Jul 2002
Posts: 116
Here's a link I found:

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

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

Primesghost is offline   you may: quote & reply,
Old 09-15-2002, 10:44 PM   #20
MadDaBombz
 
MadDaBombz's Avatar
 
Join Date: Sep 2002
Posts: 1
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?
MadDaBombz is offline   you may: quote & reply,
Old 12-25-2002, 10:32 AM   #21
Wudan
Got Balance?
 
Wudan's Avatar
 
Join Date: Oct 2002
Location: Salt Lake, UT
Posts: 1,442
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/


Mt-Wudan.com
I made a silly little program called Dragon, which is an animation tool for the GLA format, used in Jedi Outcast, Jedi Academy and Krakatoa.
Wudan is offline   you may: quote & reply,
Old 05-23-2003, 02:00 PM   #22
seniorfrito
 
Join Date: May 2003
Location: Rota, Spain
Posts: 18
Exclamation I'm getting this error.

-----------------------
----- 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...


You Can Think What You Wanna Think Every Time...

Last edited by seniorfrito; 05-23-2003 at 02:14 PM.
seniorfrito is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > General Editing > *README* Resources & Help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:58 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.