JK2SourceCodeTr!Force wrote:Some people asked me for a jk2 source ready to compile (to make code-mods), so i will share here my current project i have on GitHub, (i copied exactly the readme below), Here we go
Full Source Code of Jedi Knight II ready to use (1.02, 1.03 and 1.04 versions)
Features
- JK2 1.02, 1.03 and 1.04 version projects
- Main Compilers (cpp.exe, lcc.exe, q3asm.exe, rcc.exe)
- Configured Batch Compilers (game_2.bat, cgame_2.bat, ui_2.bat)
This first upload only aim to get the main game-code QVM's ready to use.
- Server Side jk2mpgame.qvm
- Client Side cgame.qvm
- User Interface ui.qvm
To get the main QVM's for each version, you just need to join to a jk2 version folder and choose what you want to compile, For example: to compile the server-side part, enter to the game folder and run game_2.bat, then read the console output, if everything is ok you should see something like writing to jk2mpgame.qvm. After that, back to the base folder and QVM's will store in the vm folder.
For Developers
This repository aims to make mods for JK2, if you want to modify the engine code instead the game code, you should follow another project called JK2MV (Multi Version), it supports all three game versions and comes with various features and optimizations.
Requirements
- Windows XP SP2 or higher
- Visual Studio C++ 2008 or higher
The initial release for the game-code was released in 2002 in the JK2 Editing Tools. These tools are released "as is" and are unsupported by Raven Software, Activision or LucasArts.
The full release was in 2013 and can be found on SourceForge, posted by James Monroe and Rich Whitehouse. Thanks to Raven Software for making this available to us.
Code: Select all
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
If you have a GitHub account, you can fork the project to get it in your account, if not, just press the "Download ZIP" button at the right corner.
https://github.com/TriForceX/JK2SourceCode