OpenGameCamera (OGC) is a free, open-source camera tool for Frostbite games. Our aim is to build a cinematic tool with the freedom to allow content creators, modders and PC users to create stunning artwork.
We are open-source; we need people to help us flesh out OGC. Without support we will not be able to update OpenGameCamera with each new game update.
We are looking for people that know C++ or are willing to learn. Ideally you will also have some knowledge or experience in reverse engineering videogames, however, that is not totally necessary. If you think you can help then please contact us. If you don't have these skills but would still like to help, whether that you'd like to spread awareness, create promotional content or help with testing, please contact us.
For communication, support, sharing, and development, join our Discord server: OpenGameCamera Discord
-
Install this C++ redistributable: Download
(OpenGameCamera will not work without this.) -
Download the injector: Download
(Your browser or anti-virus may falsely flag this as dangerous. You must allow the file on your PC.) -
Inject OpenGameCamera.DLL with the injector.
(Star Wars: Battlefront II must be running when you inject OpenGameCamera.DLL, and must be done each time you launch the game.) -
Make awesome content.
(Practice may be required!)
Action | Key |
---|---|
Show/Hide OpenGameCamera | Home |
Enter/Exit camera | F5 |
Ignore input | F6 |
Show/Hide UI | F7 |
Time-freeze | F8 |
Move camera | WASD |
Cam up | Space |
Cam down | Ctrl |
Fast move | Shift |
Slow move | Alt |
Eject mod | End |
File | Purpose |
---|---|
Source.cpp | The entrypoint of the modification, and where all of the magic happens |
MouseManager.hpp | Management class for hooking the mouse state, allowing the mod to enable/disable the cursor at will |
KeyMan.cpp/hpp | HotKey management. Also defined here are the default keybindings. |
Renderer.hpp | Code for hooking into the engine's DebugRenderer functions. |
Menu.hpp | Using renderer.hpp, this code allows easily building and displaying menus. |
Candy.hpp | Hooking class. Allows VTable hooking, and a wrapper for MinHook. |
Typedefs.hpp | Contains typedefs used for our hooks. |
sdk.hpp | The reverse-engineered game classes. |
BasicTypes.hpp | Definitions for things like vectors and matrices. Serves to replate DirectX. |
The code is designed to be easily built. You don't even need the DirectX SDK installed.
- Clone, or download and extract
- Open
OpenGameCamera
in Visual Studio - Build (Ctrl-B)
Here you can find extended documentation, as well as explantions on various concepts.