MCPcopy Index your code
hub / github.com/KobaltBlu/KotOR.js

github.com/KobaltBlu/KotOR.js @v0.0.03

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.03 ↗ · + Follow
6,213 symbols 18,287 edges 656 files 52 documented · 1% updated 17d agov0.0.03 · 2023-03-18★ 140
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

KotOR.js

A remake of the Odyssey Game Engine that powered KotOR I & II written in JavaScript

This project is still in it's early stages. Things like displaying Ingame Menus, Models, Sound, Particle Effects, and Scripting are all in various stages of working. While some parts of the game are playable to some extent, there is still a long ways to go before it can play either game from beginning to end. My hope is that this project will eventually be able to play KotOR and TSL in full.

There is also very early attempt at a Modding Suite called KotOR Forge packaged inside.

The code is written in Javascript. It uses THREE.js for the rendering engine, and Electron to package and run the code as an app.

If you plan on trying to run either game you will have to already have them, or purchase them from an official retailer like GoG or Steam. Once you attempt to launch either game from the KotOR.js launcher for the first time you will be asked to locate the install directory of said game.

Discussion Thread
KotOR.js Youtube Channel

Supported Games

Getting Started

You will need to have installed npm (Node Package Manager), then download the KotOR.js repository. You can then follow the steps below to run the project.

Console/Shell

# Install dependencies
npm install
# Rebuild compiled dependencies
npm run rebuild
# Run the app
npm start

Windows

  • Navigate to the KotOR.js root directory
  • Run install.bat (You only need to do this before the first run)
  • Run start.bat to launch the program

Screenshots

KotOR.js Launcher KotOR - Taris: Undercity KotOR - Dantooine
KotOR.js Launcher KotOR - Taris: Undercity KotOR - Dantooine
KotOR II - TSL: Awaken Scene KotOR II - TSL: Awaken Scene 2
KotOR II - TSL: Awaken Scene KotOR II - TSL: Awaken Scene 2

Videos

KotOR JS - Combat Animations Progress Jan 2021 KotOR Forge - WIP: Lip Sync Editor Jan 2019 KotOR JS - Lighting & Lipsync Progress Nov 2018
KotOR JS - Combat Animations Progress Jan 2021 KotOR Forge - WIP: Lip Sync Editor Jan 2019 KotOR JS - Lighting & Lipsync Progress Nov 2018
KotOR JS : TSL - Gameplay Compilation Sep 2018 KotOR JS: The Endar Spire Sep 2018
KotOR JS : TSL - Gameplay Compilation Sep 2018 KotOR JS: The Endar Spire

Influences & Credits

Without these people below I couldn't have gotten this far.
xoreos
The KotOR Modding Community

And many many more!

License

GPL 3.0 (GNU General Public License)

Core symbols most depended-on inside this repo

AddField
called by 1483
js/resource/GFFObject.js
push
called by 1294
js/actions/Action.js
GetFieldByLabel
called by 1260
js/resource/GFFObject.js
GetValue
called by 953
js/resource/GFFObject.js
SetValue
called by 908
js/resource/GFFObject.js
$
called by 829
js/libs/ractive.js
getControlByName
called by 760
js/gui/Menu.js
set
called by 692
js/ConfigManager.js

Shape

Method 3,457
Function 1,846
Class 910

Languages

TypeScript100%

Modules by API surface

js/three/three.js657 symbols
js/libs/ractive.js445 symbols
js/module/ModuleCreature.js137 symbols
js/module/ModuleObject.js129 symbols
js/nwscript/NWScriptCompiler.js109 symbols
js/libs/jquery.layout_and_plugins.js98 symbols
js/libs/jquery.layout.js96 symbols
js/resource/GFFObject.js93 symbols
js/gui/GUIControl.js93 symbols
js/libs/jquery-1.12.3.min.js86 symbols
js/module/Module.js81 symbols
js/libs/jquery.layout_and_plugins.min.js73 symbols

For agents

$ claude mcp add KotOR.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page