Coder Social home page Coder Social logo

anfora's Introduction

Anfora

ModLoader attempt for the 2007 PC Game Crazy Machines 2

Building

Requirements

JetBrains's CLion is recommended

Preparation

Download the CM2 Reference repository, complete its requirements and the preparation steps.

Add the root of the reference repository to a new system enviroment variable named CM2_ROOT.

Download the Microsoft Detours repository and build the library for 32 bits by following guide in the README.

Copy Microsoft Detours's headers into lib/detours/include and the built library into lib/detours/x86.

Compiling

Build first the loader (anforaloader) target and copy the output anforaloader.lib file into lib/anforaloader/x86 (If you want you can automate the process with a CMake post build custom command).

Then build the launcher (anfora) target.

Building a mod

Building a mod follows the same process as building the modloader.

Refer to the CMake example-mod target and to the source src/example-mod/mod.cpp for API documentation.

Once your mod is built, copy it into the mods folder (gets created after first anfora.exe startup).

Important notes

This modloader is not meant to be stable, it was born as a tool to help reverse engineer the game with a single mod loaded.

There are most likely specific cases left undefined that I am not aware of.

The state of the project might change later on, but as of now I am doing it out of fun without the objective of proper stability.

anfora's People

Contributors

itztacosofficial avatar

Stargazers

 avatar

Watchers

 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.