Skip to content

Commit

Permalink
inDev 0.8
Browse files Browse the repository at this point in the history
This update is split into two smaller parts. The next one will be released in the future.
Updates:

    Upgraded to SFML-GUI 0.1.3
    Improved version list
    Added a patch notes list (incomplete for now)
    Introduced three SFML-GUI color themes
    Added a console window
    Added detection of BetterBuildMod .world files
    Added mod detection in both instances and the launcher
    MultiMod for version 0.2.6 is now included with the launcher
    Integrated Depot Downloader
    Restored Steam account password prompt
    Extended Steam profile functionalities
    Added automatic launcher update checking
    Added instance management
    Added credits

Fixes:

    Fixed list scrolling issues
    Fixed instance deletion
    Fixed mouse position detection in text boxes
    Fixed config loading when certain keys are missing
  • Loading branch information
MinecraftSRDEV committed Oct 17, 2024
1 parent 42d3e94 commit f57c398
Show file tree
Hide file tree
Showing 129 changed files with 4,433 additions and 350 deletions.
Binary file modified .github/screenshots/instances.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/screenshots/main_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"windowsSdkVersion": "10.0.17763.0",
"compilerPath": "C:/Compillers/C++/MinGW64/bin/g++.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"cppStandard": "c++20",
"intelliSenseMode": "gcc-x64"
}
],
Expand Down
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"ignoreFailures": true
}
],
"preLaunchTask": "build",
"miDebuggerPath": "C:/Compillers/c++/MinGW64/bin/gdb.exe",
"internalConsoleOptions": "neverOpen",
"logging": {
Expand Down
11 changes: 6 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"type": "shell",
"command": "windres",
"args": [
"${fileDirname}/resources/resources.rc",
"${workspaceFolder}/src/resources/resources.rc",
"-o",
"${fileDirname}/resources/resources.o"
"${workspaceFolder}/src/resources/resources.o"
],
"group": {
"kind": "build",
"isDefault": false
"isDefault": true
},
"problemMatcher": []
},
Expand All @@ -21,6 +21,7 @@
"type": "shell",
"command": "g++",
"args": [
"-std=c++20",
"-I",
"C:/SFML-2.6.1/include",
"-I",
Expand All @@ -33,7 +34,7 @@
"C:/C++Libs/curl-8.9.0/lib",
"-g",
"${file}",
"${fileDirname}/resources/resources.o",
"${workspaceFolder}/src/resources/resources.o",
"-o",
"${workspaceFolder}/SRLauncher.exe",
"-lsfml-graphics",
Expand All @@ -48,7 +49,7 @@
},
"problemMatcher": ["$gcc"],
"dependsOn": "compile-resources",
"detail": "Generated task by Debugger."
"detail": "Compile SRLauncher."
}
]
}
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ Early release! You are using on your own risk!

# Requirements
- [Visual C++ Redist](https://learn.microsoft.com/en-en/cpp/windows/latest-supported-vc-redist?view=msvc-170)

- Net Runtime 8.0.8<br>
or
- [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD)

- Steam account with purchased Slime Rancher

# Requirements to compile the code
- [SFML 2.6.1](https://www.sfml-dev.org/download/sfml/2.6.1)
- [MinGW 13.1.0](https://www.mingw-w64.org/downloads)
- [SFML-GUI Lib 0.1.2 or later](https://github.com/MinecraftSRDEV/SFML-GUI)
- [SFML-GUI Lib 0.1.3 or later](https://github.com/MinecraftSRDEV/SFML-GUI)

# About
An open-source launcher designed to make it easier for users to manage various instances of the game Slime Rancher. It allows for the creation of individual game instances so you can separate the VANILLA game from modified versions and play any version of the game without the need to manually swap entire folders.
Expand Down Expand Up @@ -38,12 +42,10 @@ For a folder to be recognized as an instance, it must contain an "info.json" fil

When a user selects an instance from the list, its folder is swapped with the one in the Steam game folder. YOU CANNOT HAVE MULTIPLE INSTANCES MOUNTED AT THE SAME TIME! **IF THE FOLDER IS NOT DETECTED AND ALREADY CONTAINS FILES FROM ANOTHER INSTANCE, IT MAY BE OVERWRITTEN!**

Unmounting an instance restores the instance folder to its original location. If the instance does not contain the downloaded game, a script will run to download it using SteamCMD.
Unmounting an instance restores the instance folder to its original location. If the instance does not contain the downloaded game, a script will run to download it using Included specially modified [DepotDownloader](https://github.com/MinecraftSRDEV/SRLauncherDepotDownloader) or SteamCMD.

You will need to log in to your Steam account with the game.

It is recommended to enter your login credentials in the profile settings. However, if you are concerned about your login details, you can enter them later directly in SteamCMD.

Your gamesaves, options and achivements are automatically separated for each instance.

Notes:
Expand Down
Binary file modified SRLauncher.exe
Binary file not shown.
Binary file added assets/components/downloader/DepotDownloader.dll
Binary file not shown.
Binary file added assets/components/downloader/DepotDownloader.exe
Binary file not shown.
13 changes: 13 additions & 0 deletions assets/components/downloader/DepotDownloader.runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"rollForward": "LatestMajor",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
Binary file added assets/components/downloader/QRCoder.dll
Binary file not shown.
Binary file added assets/components/downloader/SteamKit2.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added assets/components/downloader/protobuf-net.dll
Binary file not shown.
Binary file added assets/components/mods/SRMultimod.dll
Binary file not shown.
Loading

0 comments on commit f57c398

Please sign in to comment.