Skip to content

Romop5/mafia-camera-mod

Repository files navigation

CameraMod

CameraMod is a tool devoted for movie makers. It allows its users to use free camera mod, to create camera paths and then move camera along them together with hidden game GUI. More features (such as a complex composition of multiple tracks, multiple controlled objects, movement recording etc) are in progress.

Originally, the mod was coded in November 2014 to provide a movie making utility for Mafia:TCoLH.

Supported games

  • Mafia:The City of Lost Heaven (version 1.0)
  • more are possibly coming in future (would love to see GTA3 / Gothic)

CameraMod preview

Features

  • Run-time attachment
  • Linear point-to-point camera transitions
  • HUD disablement
  • Save/load in JSON format
  • Ingame GUI

In progress

  • local player's movement recording / replaying

Future features

  • Object's animation recording
  • Composition of tracks

Usage

Copy HotReloader.exe, camera_injector.exe and cameramod.dll to game's directory. Then run the original game, and run camera_injector.exe to load the modification.

D3D8to9 wrapper is required for mod to work correctly. Please, use Release package which contains the copy of .dll.

Use F2 key to control GUI ingame.

Credits

  • ImGUI
  • nlohmann JSON

Contributions

  • If you feel that something is wrong or something could be even better, you can take a part in developing and suggest changes using issues, or contact me directly.

What licence does it belong to ?

This project uses beerware licence. Do whatever you want with it, but when you meet me, buy me a beer, please :)