Giter Club home page Giter Club logo

opengamecamera's Introduction

What is OpenGameCamera?

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.

How can I help?

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.

Discord Server

For communication, support, sharing, and development, join our Discord server: OpenGameCamera Discord

Instructions

  1. Install this C++ redistributable: Download
    (OpenGameCamera will not work without this.)

  2. Download the injector: Download
    (Your browser or anti-virus may falsely flag this as dangerous. You must allow the file on your PC.)

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

  4. Make awesome content.
    (Practice may be required!)

Key Bindings

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

Building

Code Structure

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.

Building guide

The code is designed to be easily built. You don't even need the DirectX SDK installed.

  1. Clone, or download and extract
  2. Open OpenGameCamera in Visual Studio
  3. Build (Ctrl-B)

Docs

Here you can find extended documentation, as well as explantions on various concepts.

opengamecamera's People

Contributors

coltonon avatar dangercato avatar galaxyeham avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.