https://github.com/xetrinityz/thatskyloader
A mod loader for the game Sky: Children of the Light
https://github.com/xetrinityz/thatskyloader
Last synced: 10 days ago
JSON representation
A mod loader for the game Sky: Children of the Light
- Host: GitHub
- URL: https://github.com/xetrinityz/thatskyloader
- Owner: XeTrinityz
- License: mit
- Created: 2025-05-13T18:54:52.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-04T18:20:58.000Z (about 1 year ago)
- Last Synced: 2026-07-18T09:35:46.368Z (10 days ago)
- Language: C++
- Homepage:
- Size: 20.9 MB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.MD
- License: LICENSE.txt
Awesome Lists containing this project
README
> **Note:** This repo is by [XeTrinityz](https://github.com/XeTrinityz) created from the [original project](https://github.com/lukas0x1/sml-pc) by [Lukas](https://github.com/lukas0x1) which is no longer maintained. This repo includes significant optimizations and enhancements to the original codebase.
## Overview
ThatSkyLoader is a powerful mod loader for Sky: Children of the Light on PC. It integrates with the game through a Vulkan layer, allowing for dynamic loading and management of mods without modifying the original game files.
## Features
- **Dynamic Mod Loading**: Load and unload mods at runtime
- **User-Friendly Interface**: ImGui-based interface for managing mods
- **Mod Management**: Enable/disable mods individually
- **Custom Font Support**: Configurable font settings for the mod interface
- **Vulkan Integration**: Seamless integration with the game's rendering pipeline
## Prerequisites
- Windows 10 or later
- Visual Studio 2022 with C++ development tools
- CMake 3.20 or higher
- x64 Native Tools Command Prompt for VS 2022
## Installation
### 1. Clone the Repository
```sh
git clone https://github.com/XeTrinityz/ThatSkyLoader.git
cd ThatSkyLoader
```
### 2. Extract Dependencies
Before building, extract the compressed library files:
```sh
# Extract libmem.7z in the lib/release directory
7z x lib/release/libmem.7z -o./lib/release/
```
### 3. Build the Project
Due to linking issues with libmem in Visual Studio, build using the command line:
```cmd
# Open x64 Native Tools Command Prompt for VS 2022
mkdir build
cd build
cmake .. -G "NMake Makefiles" -D CMAKE_BUILD_TYPE="Release"
nmake
```
### 4. Installation
After building, the mod loader will be available as `powrprof.dll` in the `lib/release` directory. To install:
1. Copy `powrprof.dll` to your Sky: Children of the Light installation directory
2. Create a `mods` folder in the same directory if it doesn't exist
3. Place your mod files (`.dll`) in the `mods` folder
## Usage
1. Launch Sky: Children of the Light
2. Use the interface to enable/disable mods
3. Enjoy your modded gameplay experience!
## Creating Mods
Mods for ThatSkyLoader are DLL files that follow a specific API. A basic mod structure includes:
```cpp
// Example mod structure
extern "C" {
// Required mod info function
__declspec(dllexport) ModInfo GetModInfo() {
ModInfo info;
info.name = "Example Mod";
info.version = "1.0.0";
info.author = "Your Name";
info.description = "A simple example mod";
return info;
}
// Called when the mod is loaded
__declspec(dllexport) bool OnLoad() {
// Initialization code
return true;
}
// Called when the mod is unloaded
__declspec(dllexport) void OnUnload() {
// Cleanup code
}
}
```
## Project Structure
- `src/` - Source code files
- `layer.cpp` - Vulkan layer implementation
- `mod_loader.cpp` - Core mod loading functionality
- `menu.cpp` - ImGui interface implementation
- `main.cpp` - Entry point
- `include/` - Header files
- `lib/` - External libraries
## Contributing
Contributions are welcome! This fork is actively maintained by [XeTrinityz](https://github.com/XeTrinityz). Please feel free to submit a Pull Request.
1. Fork the project
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
## License
This project is licensed under the terms of the license included with the repository.
## Contact
For questions or issues specific to this optimized fork, please contact [XeTrinityz](https://github.com/XeTrinityz) or open an issue on GitHub.
---
Made with ❤️ for the Sky: Children of the Light community