Shell project for Cardlife mods. Use this as a quick-start project structure for your own mods, or to learn how modding works.
This project requires most of Cardlife's .dll
files to function correctly.
Most, but not all, of these files are stored in Cardlife's Cardlife_Data\Managed
folder.
The project is pre-configured to look in a folder called ref in the solution's main directory or one level up from that.
You can make sure CLre can find all of .dll
files it needs by copying your Cardlife folder beside this repo's parent folder and renaming it to cl
, but you'll have to re-copy it after every Cardlife update.
You can also create a symbolic link (look it up) to your Cardlife install folder named cl
in the same spot to avoid having to re-copy files.
For any mod to work, you will have to patch your game with the Cardlife adaptation of GCIPA. The installation process is roughly the same as for Gamecraft: GCIPA Gamecraft install guide.
After you've completed the setup, open the solution file CLre.sln
in your prefered C# .NET/Mono development environment.
I'd recommend Visual Studio Community Edition or JetBrains Rider.
If you've successfully completed setup, you should be able to build the CLre project without errors. If it doesn't work and you can't figure out why, ask for help on our Discord server.
To install the CLre mod, copy the build's CLre.dll
into the Plugins
folder in Cardlife's main folder.