You are viewing a potentially older version of this package. View all versions.
hyy-UnlimitedPhysicalStrength-0.1.1 icon

UnlimitedPhysicalStrength

Unlimited Physical Strength.

By hyy
Date uploaded 6 months ago
Version 0.1.1
Download link hyy-UnlimitedPhysicalStrength-0.1.1.zip
Downloads 1897
Dependency string hyy-UnlimitedPhysicalStrength-0.1.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
nickklmao-REPOConfig-1.2.3 icon
nickklmao-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.3

README

Unlimited Physical Strength v0.1.1

Author: hyy
Game: REPO
BepInEx Version: 5

Description

A mod that provides unlimited stamina and prevents other mods from modifying stamina values.

Features

  1. Infinite Stamina (configurable on/off)
  2. Block other mods from modifying stamina
  3. Automatic stamina regeneration
  4. No stamina drain mode
  5. Instant stamina recovery
  6. Stamina multiplier adjustment
  7. Hotkey toggle (default: F8)

Installation

  1. Ensure BepInEx (version 5 or 6) is installed
  2. Copy the compiled UnlimitedPhysicalStrength.dll to:Steam\steamapps\common\REPO\BepInEx\plugins\
  3. Launch the game, the mod will load automatically

Configuration File

After launching the game, a configuration file will be generated at:Steam\steamapps\common\REPO\BepInEx\config
Filename: hyy.REPO.UnlimitedPhysicalStrength.cfg

Usage

  1. Press F8 in-game to quickly enable/disable the mod
  2. Adjust settings in the configuration file
  3. Enable debug mode for detailed information in logs

Building Instructions

Visual Studio 2022 Setup

  1. Create a new "Class Library (.NET Framework)" project
  2. Target Framework: .NET Framework 4.8
  3. Project structure: UnlimitedPhysicalStrength/ ├── UnlimitedPhysicalStrength.csproj ├── Properties/AssemblyInfo.cs ├── UnlimitedPhysicalStrength.cs ├── Patches/PlayerStaminaController.cs ├── Config/ModConfig.cs └── README.md

Required References

Add these references (Browse to game directory):

Reference Path
BepInEx.dll D:\Steam\steamapps\common\REPO\BepInEx\core\BepInEx.dll
BepInEx.Harmony.dll D:\Steam\steamapps\common\REPO\BepInEx\core\BepInEx.Harmony.dll
0Harmony.dll D:\Steam\steamapps\common\REPO\BepInEx\core\0Harmony.dll
UnityEngine.dll D:\Steam\steamapps\common\REPO\REPO_Data\Managed\UnityEngine.dll
UnityEngine.CoreModule.dll D:\Steam\steamapps\common\REPO\REPO_Data\Managed\UnityEngine.CoreModule.dll
Assembly-CSharp.dll D:\Steam\steamapps\common\REPO\REPO_Data\Managed\Assembly-CSharp.dll

Build Steps

  1. Open the project in Visual Studio 2022
  2. Verify all reference paths are correct
  3. Select Release configuration
  4. Build → Build Solution
  5. Compiled DLL will be in bin/Release/ directory

Configuration Options

Setting Default Description
EnableMod true Enable/disable the entire mod
InfiniteStamina true Enable infinite stamina
BlockOtherMods true Block stamina modifications from other mods
EnableAutoRegen true Enable automatic stamina regeneration
NoStaminaDrain true Completely prevent stamina drain
InstantStaminaRecovery true Instant stamina recovery
StaminaMultiplier 1.0 Stamina multiplier (only works if infinite stamina is off)
ToggleMod F8 Hotkey to toggle mod on/off
DebugMode false Enable debug mode for detailed logs

Troubleshooting

Compilation Errors

Error: "未能找到类型或命名空间名'IEnumerable<>'"

  • Add using System.Collections.Generic; to the top of your C# files
  • Ensure you're targeting .NET Framework 4.8

Error: "Could not find type or namespace"

  • Check all reference paths in the project file
  • Verify DLLs exist in the game directory

Mod Not Working

  1. Check BepInEx installation

  2. Verify the mod is in the correct plugins folder

  3. Check game logs for loading messages:D:\Steam\steamapps\common\REPO\BepInEx\LogOutput.log

  4. Enable DebugMode in configuration for more information

Conflicts with Other Mods

  1. Try disabling other stamina-related mods
  2. Turn off "BlockOtherMods" in configuration
  3. Check load order in BepInEx\plugins folder

Technical Details

  • Uses Harmony for non-destructive patching
  • Dynamic method finding and patching
  • Three-layer protection system:
  1. Main stamina controller (Update/FixedUpdate/LateUpdate)
  2. Setter method interception
  3. Universal protection layer

Compatibility

  • Tested with BepInEx 5.4.21
  • Compatible with REPO game version: [Check your game version]
  • May conflict with other stamina modification mods

Support

For issues or questions:

  1. Check the logs in BepInEx\LogOutput.log
  2. Enable DebugMode for detailed information
  3. Contact the author if problems persist

Changelog

v0.1.1 (Current)

  • Initial release
  • Basic infinite stamina functionality
  • Block other mods feature
  • Configuration system
  • Hotkey support (F8)

License

This mod is provided as-is. Use at your own risk.

Disclaimer

This is a fan-made modification. Not affiliated with the game developers. Make backups before use.