Giter Site home page Giter Site logo

codengine / redloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonimacaroni/redloader

0.0 1.0 0.0 38.06 MB

Sons Of The Forest Modloader built on top of MelonLoader

License: Apache License 2.0

Shell 0.04% JavaScript 0.16% C++ 45.54% C 17.41% Objective-C 0.07% C# 30.08% Rust 0.70% PowerShell 0.04% CSS 0.30% Objective-C++ 1.05% GLSL 0.01% Batchfile 0.01% ASP.NET 4.61%

redloader's Introduction


RedLoader

... is a mod loader and sdk that started as a fork of MelonLoader. It's main purpose is to make mod development for Sons Of The Forest more streamlined by adding some much needed improvements and features. As well as making it a bit more user friendly.


๐Ÿ“™ Documentation and Wiki ๐Ÿ“™

โญ Star the repo at the top if you like this project โญ


FEATURES:

  • Automatic asset bundle loading and mapping to class
  • Automatic addressables catalog loading
  • A powerful UI framework
  • Status screen
  • Toggle console at runtime
  • Save and set console position
  • Directly load into test scene
  • Define mod using manifest.json
  • Load sounds at runtime
  • Quickly setup debug GUIs using attributes
  • Bunch of helpers for game features

INSTALLATION:


Automatic
Download the RedManager.
The RedManager is a single file (no installation needed) application that can detect your game installation and install/update/remove RedLoader as well as other extras for you.


Manual

  1. Download the latest release from here (RedLoader.zip)
  2. Unpack the zip directly into your game directory (the _RedLoader folder should end up in the same directory as SonsOfTheForest.exe)
  3. Make sure you have installed all requirements (listed below)

Configuration

Command Line

These can be added through the steam launch options or through a shortcut

Argument Example Description
--sdk.loadintomain Immediately loads the game into a test environment world.
--savegame --savegame 1440719049 Immediately loads the game into a savegame (specified by savegame id).

Config

These can be changed in the UserData/_RedLoader.cfg file

Entry Type Description
Readable Exceptions bool Makes the exceptions more readable.
Disable Notifications bool Disable the popup notifications.
Auto Fix Reshade bool Automatically rename dxgi.dll in the game folder to make Redloader able to load Reshade.
Redirect Debug Logs bool Redirect Debug Logs of the game to the console.
Skip Intro bool Skip the EndNight intro.
Muted Sounds List[string] List of sounds that should be muted.
Toggle Console Key KeyCode Key used to toggle the in-game console.
Don't Auto Add Scenes bool Indicates whether additional scenes should not be added automatically.
Don't Load Saves bool Indicates whether the game should skip the activation process and not load saves.
Activate World Objects bool Indicates whether world objects such as trees, bushes, and rocks should be activated or not.
Player Debug Speed float Multiplier for the speed of the player in the test world.
Skip Building Animations bool Indicates whether building animations should be skipped.
Enable Bow Trajectory bool Indicates whether the bow trajectory should be displayed when aiming.
No Consume Animation bool Whether to not play any animations when consuming items.
No Auto Equip Stones bool Don't automatically equip stones when picking them up.
Instant Inventory Open bool Instantly open the inventory without animations.

In-Game Debug Console

These can be invoked through the in-game debug console (open with F1 key)

Command Example Description
togglegrass Toggles the visibility of grass
xfreecam Freecam mode without "exiting" the player
cancelblueprints Cancel all blueprints in a radius
noforest Removes trees, bushes and (including billboards) for debugging purposes
clearpickups Clears all pickups in a radius
gotopickup Go to a pickup by name (picks the first one that contains the name). Useful for finding story items.
goto Go to a coordinate, goto-location or gameobject.
addcharacter Spawn a new character into the world.
virginiasentiment Add sentiment to virginia
virginiavisit Invokes a virginia visit event
dump Dump various data from the game. dump [items, characters, prefabs]
playcutscene Play a cutscene by name
toggleshadows Toggles the shadow rendering (Shadows, Contact Shadows, Micro Shadowing)

Compiling from source

  1. Install .NET 6.0 SDK
  2. Install Nuke globally with dotnet tool install Nuke.GlobalTool --global
  3. Install Rust (tripple:x86_64-pc-windows-msvc nightly)
  4. Clone the repository
  5. Adjust the game path in .nuke/parameters.json and Directory.Build.props
  6. Run nuke pack --configuration Release --restore-packages in the repo directory

REQUIREMENTS:

LICENSING & CREDITS:

RedLoader is a fork of MelonLoader which is licensed under the Apache License, Version 2.0
See LICENSING & CREDITS on the original MelonLoader readme for the full list of credits and licenses.

redloader's People

Contributors

tonimacaroni avatar codengine 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.