https://github.com/kaydax/examplemod-uml
An example coremod template for Unreal Mod Loader
https://github.com/kaydax/examplemod-uml
Last synced: 3 months ago
JSON representation
An example coremod template for Unreal Mod Loader
- Host: GitHub
- URL: https://github.com/kaydax/examplemod-uml
- Owner: Kaydax
- License: other
- Created: 2022-02-22T18:49:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-18T04:51:23.000Z (about 3 years ago)
- Last Synced: 2025-03-16T19:34:49.698Z (over 1 year ago)
- Language: C++
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UML Example Mod
Just a simple example template for making coremods for [Unreal Mod Loader](https://github.com/RussellJerome/UnrealModLoader)
To get started, either clone/fork the repo, else click "Use this template".
Then do `git submodule init` then `git submodule update`
After compiling, the output should exist in x64/Release/ExampleMod.dll
If you want to change your mods name, just rename the files and class, as well as update the modname itself in the header. If you change the header file name / class name, make sure to update the stuff inside of dllmain.cpp with the new class and header file.
# Compiling on Linux
This is probably the most stupidest thing you could ever do... but you can do it
Firstly, you need to install [msvc-wine](https://github.com/mstorsjo/msvc-wine)
Follow the Clang/LLD in MSVC mode instructions for msvc-wine, but make sure you set the destination to `~/.msvc` as the build.sh file will be expecting msvc to be there. The vsdownload command you should run should be: `./vsdownload.py --dest ~/.msvc Microsoft.VisualStudio.Workload.NativeGame` as this will make sure to also download the needed files for DirectX.
Now after you went through the hell of installing the msvc toolchain with clang, you now get to experience the fun of hoping this project will compile correctly.
Just run `build.sh` and it should compile everything