foldex / r2mod_cli Goto Github PK
View Code? Open in Web Editor NEWA Risk of Rain 2 Mod Manager in Bash
License: GNU General Public License v3.0
A Risk of Rain 2 Mod Manager in Bash
License: GNU General Public License v3.0
I was attempting to install MMHOOK, and because I had written it as XOXFaby instead of XoXFaby, it gave me the "Cannot parse JSON error, instead of "Not a valid mod name" error, and made things much confusing than they would otherwise be.
Heyo, so I'm confused on how I'm supposed to play modded when r2mod run is disabled on the flatpak? Just launching the game on Steam doesn't seem to work
KingEnderBrine-LobbyVotesSave and KingEnderBrine-InLobbyConfig
install in a way that bepinex cant find the right file location
./r2mod ins Rune_580-Risk_Of_Options
→ Updating API Cache...
✓ R2Mod Up to Date
→ Installing Risk_Of_Options...
✖ Failed to Parse JSON for Rune_580-Risk_Of_Options
I'm on NixOS. Is there anything that can be done to get more information about or (preferably) fix the issue?
The script would seem to have succeeded in installing mods, but when run, the game would be vanilla, even if run through the script and with the modded option selected. I successfully changed my enviroment variable to refer to the game, this did not make any difference.
Additionally, I tried using R2ModManager, and after doing so I found myself unable to run Risk of Rain 2 at all, even after verifying the game files, and uninstalling and reinstalling, and switching over to an empty profile in R2ModManager. Not sure if this is related.
it may be a bit hard to get it to work with alot of computers but you could maybe just have someone launch the game with the launch options "PROTON_DUMP_DEBUG_COMMANDS=1 %command%" then it would be in /tmp/proton_$USER/run
basically what the title says, not sure if you used to and the way it uses codes changed or something. But it's becoming really hard for my friend (who's on windows) and I to share mods.
where would I change the source to work with native steam, or is there just some sort of option. (I'm compiling from source code)
[:~] $ r2mod setup
✦ RiskofThunder-HookGenPatcher Missing, Installing
→ Installing HookGenPatcher...
→ HookGenPatcher: Updating to Version 1.2.1...
→ Moving Patcher Files...
mv: cannot move '/media/nvme0n1p1/SteamLibrary/steamapps/common/Risk of Rain 2/BepInEx/plugins/RiskofThunder-HookGenPatcher-1.2.1/BepInEx/patchers/Bepinex.MonoMod.HookGenPatcher' to '/media/nvme0n1p1/SteamLibrary/steamapps/common/Risk of Rain 2/BepInEx/patchers/RiskofThunder-HookGenPatcher': No such file or directory
→ Setup New BepInEx Install? y/n
choosing y runs the installer but then it's not detected again on the next run.
in .bash_profile
:
export R2MOD_INSTALL_DIR="/media/nvme0n1p1/SteamLibrary/steamapps/common/Risk of Rain 2"
export R2MOD_COMPAT_DIR="/media/nvme0n1p1/SteamLibrary/steamapps/compatdata/632360"
my guess is the file is not being created, or is created somewhere else.
5.15.12-arch1-1, installed from AUR
A few months back the host for r2modman profiles changed. You'll probably want to switch over to the new host as the old site is down.
Trying to install mods entirely from the command line is a bit of a pain currently, as (at least for me) the zsh completion only matches results from the beginning of the string. For example, if I want to install the TooManyFriends mod, I type r2mod install too
then hit tab, but it wouldn't return anything. I'd have to first type r2mod install wildbook
then hit tab and it would then list all the mods that they've uploaded to thunderstore.
I'm not sure if this is a configuration error with my own .zshrc or if the zsh completion script could be updated to support this feature. I'd also suggest that case insensitive completion be supported, as it would help with finding mods as well.
Currently r2mod checks for BepInEx and winhttp.dll before allowing anything to run which does not exist on a fresh install and prevents the setup from running
Lines 131 to 133 in e9ef3d3
For context I'm using Konsole on Steam Deck, when I try to run "r2mod setup" or any r2mod command it says "bash: r2mod: command not found". This is likely a problem regarding my lack of experience with linux, but would still appreciate the help. Thank you!
This script assumes that Risk of Rain 2 is installed to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Risk of Rain 2
or $HOME/.local/share/Steam/steamapps/common/Risk of Rain 2
and as a result will not if Risk of Rain 2 is installed to a different location (in my case, I keep my steam library on a separate drive).
I've temporarily solved the problem by symlinking my install to $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Risk of Rain 2
, but it would be nice if there was an option to specify the install location
Hi,
Can you add the ability to disable only a selected mod ?
Currently, I have just created a plugins_disabled folders on BepInEx root folder and move them manually from/too plugins folder.
It will be nice if the plugins from the disabled folder can be updated too. (Usefull when waiting for a plugin fix for a new version of the game).
Thanks you.
Regards,
I'm requesting that the ability to have multiple profiles, where different mods and their configs can be installed to. Allowing you to swap, create, and delete them with ease. As far as I can tell the codes generated by the export command dont last long.
P.S. Don't know where else I can put this so im putting it here, thank you very much for making this mod manager!
[:~] $ r2mod setup
✦ RiskofThunder-HookGenPatcher Missing, Installing
→ Installing HookGenPatcher...
jq: error: Could not open file /tmp/r2mod/pkgs.json: No such file or directory
✖ Failed to Parse JSON for RiskofThunder-HookGenPatcher
followup from #19
I'm super used to using apt, so whenever I try to remove a mod I keep putting in remove instead of uninstall out of habit.
This is an awesome tool, thanks for your work on it. Do you have any plans to have it be distributed via flatpak?
Hello,
At the start of r2mod, you check the R2MOD_INSTALL_DIR env var.
Can you check to R2_COMPAT too ?
On my system, I need to force it, because "$HOME/$FLATPAK_DIR/steamapps/compatdata/$STEAM_ID" nor "$HOME/$STEAM_DIR/steamapps/compatdata/$STEAM_ID" exist.
[r2mod_cli]$ export STEAM_ID="632360"; export STEAM_DIR=".local/share/Steam"
[r2mod_cli]$ ls $HOME/$STEAM_DIR/steamapps/compatdata/$STEAM_ID
ls: cannot access '/home/auser/.local/share/Steam/steamapps/compatdata/632360': No such file or directory
[r2mod_cli]$ ls $HOME/$FLATPAK_DIR/steamapps/compatdata/$STEAM_ID
ls: cannot access '/home/auser//steamapps/compatdata/632360': No such file or directory
=> My steam library as multiples folders : RoR2 is on an alternate drive.
/media/Data-4-2000/Jeux/.steam_depot_3_wine_steam/steamapps/common/Risk of Rain 2
/media/Data-4-2000/Jeux/.steam_depot_3_wine_steam/steamapps/compatdata/632360
A little dirty patch :
if [[ -f $(dirname $0)/r2mod.ini ]]; then source $(dirname $0)/r2mod.ini; elif [[ -f ~/.config/r2mod.ini ]]; then source ~/.config/r2mod.ini; fi
if [[ ! -n "$R2_COMPAT" ]]; then ... fi
It will be even better to check the steam configuration file to automatically find the good RoR2 folder, but...
Nice script by the way.
Regards,
OS : Arch Linux.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.