CLre/README.md

44 lines
2.1 KiB
Markdown
Raw Normal View History

2020-10-01 14:46:16 +01:00
# CLre
2020-10-01 14:21:44 +01:00
2020-10-01 15:00:48 +01:00
Always eat your celery, so you'll grow up to be big and strong like me.
Work-in-progress mod for [CardLife](http://cardlifegame.com/).
CardLife has stopped receiving updates, but that doesn't mean it's free from bugs.
CLre is a mod to rejuvenate CardLife by fixing old bugs and adding some modding tools ontop.
2020-10-01 14:21:44 +01:00
## Setup
2020-10-01 14:46:16 +01:00
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.
2020-10-01 15:00:48 +01:00
The project is pre-configured to look in a folder called cl in the solution's main directory or one level up from that.
2020-10-01 14:21:44 +01:00
2020-10-01 15:00:48 +01:00
You can make sure CLre can find all of `.dll` files it needs by copying your Cardlife folder beside this repo's folder and renaming it to `cl`, but that's a bit of a waste of disk space.
2020-10-01 14:46:16 +01:00
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.
2020-10-01 15:00:48 +01:00
For example, if you cloned the repo into a folder called `CLre_repo`, this is what your folder structure would look like.
```
CLre_repo/ -- CLre repository files
CLre/ -- Code files
README.md -- This file
etc.
cl/ -- CardLife files
Cardlife_Data/
Managed/ -- Cardlife C# Assemblies
```
2020-10-01 14:21:44 +01:00
2020-10-01 14:46:16 +01:00
For any mod to work, you will have to patch your game with the Cardlife adaptation of [GCIPA](https://git.exmods.org/modtainers/GCIPA/src/branch/cardlife).
2020-10-01 15:00:48 +01:00
The installation process is roughly the same as for Gamecraft, except there's no pre-compiled download available: [GCIPA Gamecraft install guide](https://git.exmods.org/modtainers/GCIPA/src/branch/master/README.md#how-to-install).
2020-10-01 14:21:44 +01:00
## Building
2020-10-01 14:46:16 +01:00
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.
2020-10-01 14:21:44 +01:00
2020-10-01 14:46:16 +01:00
If you've successfully completed setup, you should be able to build the CLre project without errors.
2020-10-01 14:21:44 +01:00
If it doesn't work and you can't figure out why, ask for help on [our Discord server](https://discord.gg/xjnFxQV).
## Installation
2020-10-01 15:00:48 +01:00
To install the CLre mod, copy the build's `CLre.dll` into the `Plugins` folder where Cardlife is installed.