
patchandtweakpack
Compatibility fixes and optional tweaks for shops, loot and weapons. Per-item shop availability, volume, XYZ hold position, damage and battery use, plus nearby prices, shop expansion and trapped item rescue. Host controls shared tweaks.patchandtweakpack
Author: ByteSizeMetal
Fixes common compatibility errors in supported R.E.P.O. mods and adds optional shop, run-flow and valuable-rescue tweaks. Each mod has its own switch, so you can choose which fixes to use.
Multiplayer settings
Shared tweaks follow the current host, and a client's own settings can't block or change them. That covers shop expansion, nearby shop prices, weapon hold position, mission crystals, trapped valuable rescue and skipping the disposal arena. Every player still needs this pack.
All per-item settings follow the host: shop availability, audio, XYZ hold position, damage and battery consumption. Your saved local values are used when you host or play offline. Other personal preferences, including MaximumLabels, stay local.
Patch switches run during startup, before joining a lobby. They stay fixed for that launch so saving a menu change cannot leave only part of a fix active. The pack checks startup settings against the host and names mismatches in the BepInEx log. Match the host's patch switches and additional-prefab lists, then restart normally before the next session. Loaded assemblies and initialized prefabs cannot safely be changed to another player's configuration mid-session.
No client config files are overwritten and no players are disconnected automatically. Use matching mod versions and gameplay configs across the lobby. Personal input and display preferences in other mods remain personal.
Choose which modded items sell in the shop
Open REPOConfig → patchandtweakpack → Shop items, grouped by source mod. Each discovered modded shop item has a checkbox: checked allows it; unchecked keeps it out of future shop stock. All items start allowed. The tooltip includes the displayed item name, source and asset name. Without REPOConfig, use the matching [Shop items - …] sections in BepInEx/config/PatchAndTweakPack.cfg.
The catalog discovers REPOLib-registered shop items automatically, including items from mods you install later. New mods normally appear after the next launch. SDK packs provide their author and mod name; older code registrations use a confirmed plugin origin when available. Items whose source cannot be confirmed appear under Unattributed mod items. Their switches still work. Small identifiers distinguish entries with similar names and keep them independent of mod version numbers.
Only the current host's choices affect the lobby. Save changes before the next shop is stocked. Existing shop stock, owned items, mission loot, vanilla items and upgrade-sharing rules are unchanged. Disable Shop item availability → Enabled to ignore all of these item switches. This is a general shop tweak, separate from per-mod repair switches. Discovery uses registration events, with no continuous item or prefab scans.
The filter covers the game's normal and secret shop candidate pools, including mods that add stock through those pools. A mod that creates shop objects directly outside the game's stock system can bypass it. Disabling many items can leave shelves empty.
Skip disposal arena
Enable Run flow → Skip disposal arena in REPOConfig → patchandtweakpack. It defaults off. Without REPOConfig, set Skip disposal arena = true under [Run flow] in BepInEx/config/PatchAndTweakPack.cfg before launching.
After a failed level, skip loading the disposal arena entirely and use the game's normal post-arena cleanup. Multiplayer returns the group to the lobby menu; offline starts a fresh run. The loss still ends the run, resets progress and uses normal failed-save handling. This does not preserve the failed run or award an arena winner.
Only the current host's setting controls the transition. Clients follow the game's existing level-change broadcast, so they do not need matching local choices or this pack for this particular tweak. Save an in-game change before the next loss; toggling the option itself does not require a restart. Successful extraction, shop visits and the normal arena-exit path are unchanged.
Colored Discounts and Markups
Enable Shop price browsing → Colored Discounts and Markups in the in-game config menu. It defaults off and follows the current host. It works on normal pointed-at prices and the nearby-price labels; nearby browsing can stay off.
- Regular prices use a softer red.
- Increasing discounts move from red through orange toward yellow as the price approaches zero.
- Free items are green.
- Increasing markups become a more saturated red with heavier font weight, reaching the far end at double the baseline price.
Supported pricing: vanilla Shopkeeper discounts, AdvanceMyShop 1.3.1 discounts/markups/free-item rolls, and AdvanceMyShop's MoreUpgrades pricing integration. AdvanceMyShop is optional: the base game already supports Shopkeeper discounts; AdvanceMyShop adds configurable random discounts, markups and free-item chances. Other mods can work when they keep prices in the native item-price path, but unverified pricing systems are not guaranteed.
The baseline is the typical price of that item in this shop: the average of what its copies generated before the observed discounts/markups. Copies of an item roll different prices, so sharing one baseline means a cheaper copy always shows a cheaper color. For AdvanceMyShop, normal shop/upgrade scaling and its configured base/type multipliers are included in that baseline; random sales, overpricing and free rolls are compared against it. The tweak reads the existing roll without generating another. It changes no prices, purchase rules, modifiers or random outcomes.
Install this version on each viewer for host baseline synchronization. Unknown baselines retain the normal game style. Font weight appearance depends on the game's font. The Mods → AdvanceMyShop switch controls its separate baseline adapter and requires a restart after changes.
Optional shop price curve
Turn on Shop price curve → Enabled in the in-game config menu. It defaults off, and only the host's settings count. Shop items then roll on a bell curve of prices, from free at one end to double at the other, with most near their normal price.
- Items rolled percent is how many items roll on the curve. The rest keep their normal price. The default is 50.
- Spread percent is how wide the curve is. About two in three rolled items land within this much of their normal price. The default is 40. Higher makes free and double items more common.
- Flatten percent flattens the bell. At 0, the default, most rolled items land near their normal price. Higher evens out the odds, and at 100 every price from free to double is equally likely. For that across the whole shop, set Items rolled percent to 100 too.
Prices are whole thousands, so cheap items move in bigger steps and reach free more easily. Turn on Colored Discounts and Markups to see where each item landed.
- Base price multiplier and Multiplier for each item category set normal prices, like AdvanceMyShop's multipliers. They default to 1 and only count while the curve is on.
With AdvanceMyShop: while the curve is on, its pricing is skipped, including its multipliers and rolls, so nothing is applied twice. Copy its multipliers here to keep the same normal prices. With the curve off, AdvanceMyShop works as normal. With Mods → AdvanceMyShop off, the curve stands down. Removing AdvanceMyShop is fine too.
Optional trapped valuable rescue
In REPOConfig → patchandtweakpack → Trapped valuable rescue, turn Enabled on before generating the next level. It defaults off. MaximumRescuesPerLevel defaults to 6 and is limited to 1–12. Only the host's choices control the operation; clients never run their own rescue pass.
The tweak looks for untouched valuables wedged in a wall or floor after loading, including ones only partly buried. It needs their collider shapes to be deep in the map at two separate checks, near a reachable navigation point. It then checks clear, supported spawn positions of the same size category. Vanilla valuables and eligible modded valuables registered through normal level generation are both included, regardless of whether their source mod has a compatibility patch in this pack.
It relocates the same valuable using the native network teleport. Its exact value, modded identity and original loot-pool selection stay intact: 0% value adjustment, no new items and no consumption of the game's random sequence. If a safe spot cannot be verified, the original is retained. This version does not spawn substitute valuables.
The pass waits for generation/settling, spreads queries across frames, and stops after a bounded initial window. It skips handled, discovered, moving, puzzle-controlled and unsupported articulated/complex objects, along with destinations near players. Usable navigation data is required. It will not recover every inaccessible item or monitor items dropped into walls later during play. Unity physics and multiplayer behavior still need live testing; use the per-level rescue log to report missed or incorrect candidates.
Mission shop items: Include mission shop items defaults on when rescue is enabled. The same conservative pass can now move initial shop-item spawns, including eligible weapons, tools and Power Crystals. It follows native item initialization rather than a list of spawner mod names, so different mods can use it. The installed All Shop Items In Level Plus spawn path was checked. Other spawners need to use normal ItemAttributes/PhysGrabObject initialization and the initial generation window.
The item must be attributable to a nearby ordinary authored valuable-spawn volume; a destination of the same category must pass the physical checks. Carried-in truck equipment, held or hotbar items, active items, late drops, carts/vehicles with linked bodies and ambiguous placements are retained. The original weapon/item is teleported: its charge, identity and value are not rerolled. MaximumRescuesPerLevel covers valuables and shop items together.
Use mission Power Crystals
Enable Mission items → Use Power Crystals to recharge truck in the in-game config menu. It defaults off. Hold a newly spawned mission Power Crystal and press your normal item activate/use binding (the game's Interact action, on keyboard/mouse or controller).
While you hold one, its label shows the key and Recharge truck, or why it can't be used right now, such as truck too full.
The host validates that you are holding the original mission crystal, consumes it once, and immediately grants one native crystal's energy plus its corresponding stock to the truck. With the base game's settings, that is 10 percentage points of truck energy. Stock and run charge are saved through the native paths, and the original truck crystal decorations are reused. Two players cannot consume the same crystal twice, and a consumed crystal cannot later earn another extraction reward.
The crystal stays intact unless its whole charge fits. Shop stock, crystals originally brought in with the truck, existing dropped/unequipped objects and unrelated crystal valuables are excluded. Newly spawned mission crystal drops can qualify later in the mission; rescue itself remains limited to initial generation. Unconsumed items retain their source mod's normal extraction behavior.
The current host's option controls the lobby. Install this pack on the host and each player who wants to use the action. Requests use bounded native player properties; stock/energy use the existing host-authenticated native stat and object-destruction paths. There are no new RPC names or custom event codes. Custom station layouts or charging overhauls may be unsupported; the item is retained when the required native contracts or original render-only crystal decorations cannot be verified.
Per-item audio, handling and weapon balance
The Shop items sections now keep each item's shop checkbox and adjustment sliders together, grouped by source mod. Save changes in REPOConfig → patchandtweakpack. Shop item availability → Item adjustments controls these adjustments separately from shop stock filtering.
| Control | Values | Who chooses |
|---|---|---|
| Volume reduction percent | 0 keeps the original volume; 85 is 85% quieter; 100 mutes | Host |
| Hold position X right metres | Positive moves right; negative moves left; −2 to +2 metres | Host |
| Hold position Y forward metres | Positive moves forward; negative moves backward; −2 to +2 metres | Host |
| Hold position Z up metres | Positive moves up; negative moves down; −2 to +2 metres | Host |
| Damage multiplier, on supported weapons and throwables | 1 keeps damage; 0 disables damage; 2 doubles it; up to 100 | Host |
| Battery use multiplier, on items with a native battery | 1 keeps consumption; 0 makes it free; 0.5 halves it; up to 20 | Host |
Combat sliders appear when the loaded item prefab has the relevant components. Guns, melee weapons, grenades, mines and other throwables can use the damage control when their damage goes through native HurtCollider or item-owned explosions. Referenced bullet prefabs inherit the emitting weapon's setting at supported spawn calls; a shared projectile without an identifiable emitter keeps its own damage. Enemy and player damage scale together. Blast radius, force, healing and damage to valuables are unchanged. Increased damage is capped at one million per damage call.
Battery use covers native continuous drains, supported shot/hit decrements, full-bar costs and SLR's battery helper. Fractional full-bar costs accumulate rather than rounding every use to a whole bar. Charging, saved charge and network snapshots are not rescaled. A grenade or mine without a battery gets damage controls, without an irrelevant battery slider; this does not preserve or duplicate consumed throwables. Other upgrades and mods can still modify damage and consumption, and these multipliers compose with those changes.
Audio follows native Sound one-shots and loops, plus resident AudioSources belonging to the item. XYZ controls offset the existing held target from the player's view, using your axes: X right, Y forward, Z up. All zero preserves the current position, including a saved hold-distance baseline. For example, X = 0.15, Y = 0.10, Z = −0.05 shifts it 15 cm right, 10 cm forward and 5 cm down. Offsets follow looking/turning, work with keyboard/mouse and controller, and do not accumulate between frames. Physics and collisions remain active; climbing, mounted vehicles and scripted grab points keep their own targets. The physical item moves, so its native muzzle follows it; aiming, recoil and projectile-origin code are not rewritten. Custom audio created elsewhere, fully custom damage systems, pooled projectiles outside the supported spawn calls and custom battery writes with a different shape may bypass a control.
Install 1.4.54 or newer on every player for shared XYZ and audio. Clients use the current host's published policy for every per-item control, whatever their own settings say. Host changes apply live, and a host change replaces the old policy. Older hosts/clients can still exchange the original distance and combat settings, but cannot supply or follow the new XYZ/audio fields. Missing or invalid policy keeps authored behavior. Discovery and reflection run during setup, and hot paths use cached references. The host publishes only changed non-default settings, with at most 256 actively adjusted items at once.
Existing preferences are imported automatically. The first Riff Ripper slider inherits your saved volume reduction (65% on a new installation). The Golden Deagle, Healing Gun, Freeze Gun, Rainbow Pistol and Water Gun inherit the old enabled gun-group distance only when their authored distance is still zero. Existing per-item settings always take precedence. Old Riff/group entries remain in the config as migration inputs, hidden from the menu; their old runtime adjustments no longer run, so values are not applied twice. Existing per-item hold-distance entries are retained as hidden baselines. New XYZ offsets start at zero, preserving those settings; use the XYZ sliders to fine-tune the position. All other new controls start neutral.
Connection
The game gives up on a quiet connection after about 5 seconds, so a short network blip can end a session. REPOConfig → patchandtweakpack → Connection gives it 15 seconds to recover, from 5 to 30. It's on by default.
Each player sets their own, and it matters most for the host. It can't save a connection that stays down, and one that has really gone takes this long to notice.
Weapon valuables
valuable packs include working melee weapons and guns as valuables, so they take damage and break like any valuable. REPOConfig → patchandtweakpack → Weapon valuables keeps them out of levels, and another valuable of the same size spawns instead. It's on by default. Turn off Include guns to keep gun valuables. weapons are not affected: they still sell in the shop and still spawn in levels as items. Only the host's settings count, and changes apply from the next level.
Cosmetic coin skip
Press a cosmetic token into the shop's cosmetic machine and the cosmetic unlocks straight away, with no reveal and no wait. The machine stays free, so everyone can spend tokens at once, and you can press again for the next one. Each unlock shows a short message on screen, and only the messages queue. A token whose cosmetics you already own pays the game's usual money through the host. It's on by default under REPOConfig → patchandtweakpack → Cosmetic coin skip. The host decides, and every player using it needs this pack. If someone without the pack is using the machine, wait for them to finish.
Shop price scale
All items percent sets the base price of every shop item, vanilla and modded: 100 is normal. Extra percent per player adds that much for each player beyond the first, so +10% makes a four-player lobby pay 130%. Each modded item also has its own Base price multiplier in its section. All three change the base price first, then discounts, markups and the Shop price curve apply. The game's lowest price of $1K still applies. Only the host's settings count, from the next shop.
Lobby password
The game asks for a password every time you create a private lobby. Turn on REPOConfig → patchandtweakpack → Lobby → Skip password prompt when hosting to go straight in, with no password set. It defaults off, and each player sets their own. Joining a lobby that has a password still asks for it.
Stall record
A frozen game leaves nothing useful in its logs, and the next launch replaces them. If the game freezes in a lobby or level, this saves patchandtweakpack-stall.txt and patchandtweakpack-stall.dmp in the BepInEx folder after 30 seconds. Set the wait from 15 to 120 in REPOConfig → patchandtweakpack → Stall record. It's on by default, and each player sets their own.
It only records, so it won't unfreeze the game. The files stay on your PC and the next stall replaces them. Windows pauses the game for a moment while the second file is written.
Shop expansion
A bigger shop that doesn't need MoreShopItems. Turn it on in REPOConfig → patchandtweakpack → Shop expansion. It's off by default, and it stands down while MoreShopItems is installed.
- Extra shelves: a floor shelf is two of the game's own shelves back to back, with 29 item slots: 14 upgrades, 3 health packs, 4 small, 4 power crystals, 2 medium and 2 large. A one-sided shelf is a single shelf with 14 upgrades and 3 health packs, placed anywhere it fits, with its back to a wall where there is one. The main room and side rooms take turns, so shelves split evenly between them. Spots against walls fill first, and the middle of a room only fills once the walls have run out. The host sets the minimum, the maximum (up to 12) and the chance of each shelf above the minimum. Shelves go where they leave walkways, doors and the extraction point clear, so a shop stops early if it runs out of room.
- Stock: every item slot in the shop is filled, on the extra shelves too, so the shelf settings decide how big the shop gets. Shop expansion limits sets how many copies of each item a type can have, for modded items too. Items limited to a number of purchases keep their limit. A slot stays empty if nothing left in stock fits it.
- Only the host's settings count. Every player needs this version to see the shelves. If someone doesn't have it, the host still gets the stock but no extra shelves, or no wall shelves if they're on 1.4.35 to 1.4.40.
Included fixes
| Mod | What the pack helps with |
|---|---|
| SillyValuables | Older game APIs, melee networking errors, missing item lights and health-item visuals |
| SillyWardrobe | Laser Sword's repeated networking errors; this is separate from SillyValuables |
| SteampunkItems | Melee networking errors, older movement calls and headset control-prompt formatting |
| MinecraftStrongholdLevel | Diamond Sword networking errors, the minecart's missing value display, and fireworks and rejected food not releasing in multiplayer |
| JNL_Assist / Jake and Liv's Retro Smashpack | Yappuccino chat/voice errors and older movement calls |
| MoreUpgrades | Older input calls, shop compatibility and duplicate manager errors |
| FragileValuables | Discovery UI errors when its target is missing |
| SharedHealthPacks | A used pack heals teammates once, when it's used, instead of when a pack is destroyed. This changes play, and the host decides |
| KeybindLib | Input setup compatibility, while keeping saved native controls |
| REPOPresents | Registration, spawning, valuable pools, value ranges, older chance-effect chat/damage calls and the enemy present's destroy/sound calls |
| SharedUpgradesPlus | Expected missing-field discovery messages; sharing behavior is handled by the separate compatibility mod |
| Extra Battle Upgrades | Older movement calls |
| Wesley's Enemies | Voodoo's older movement, visual-effect and damage calls |
| Abiotic Factor Valuables | Older freezing-effect and physics-material calls, and the Energy Pistol sending a network message every frame |
| SLRUpgradePack | Prevents the old Heart of Gold view-zero send; newer Heart of Gold implementations pass through |
| Rosay's Valuables | MirrorTrap's older visual-effect and camera calls, and the Whoopee Cushion's explosion |
| JustOtaku's Valuables | Older chat, explosion, mine and Tiny Car physics-material calls |
| Backrooms | The ladder's older physics-material calls, level loading failing in six of its start rooms, and a door's repeated network error |
| Gang | The Hylian Shield's repeated melee errors; the shield itself plays the same |
| patisewstuff | Repeated network errors from its melee weapons, repeated errors from unfinished trap scripts and radiation sounds, and an error when its radioactive items break |
| AllTheValuables | Repeated errors from an unfinished trap script |
| Horror Valuables | Repeated errors from an unfinished trap script, and an error when items with no money particles break |
| PokemonValuables | Repeated errors from Cyndaquil's unfinished trap script; it keeps its spin |
| TaylorsValuables | A duplicate grab script on 14 items, which may change how they feel to grab |
| Dafi's Mega Valuables Pack | A setup error on 15 healing valuables |
| Battery items in any mod | Repeated errors from items with no on-item battery display |
| Tolian Levels | Doors in Mirefort and Vaultline that could not set up, and errors when Vaultline's barrels and boxes are hit |
| Peach's Castle | Doors with no sounds or physics preset |
| The Stanley Parable | Doors that could not set up |
| Tokucade Loot | Older valuable registration and chat calls that stopped all of its valuables loading |
| After Hours | Creature registration stopping after 3 of 42, and older movement and visual-effect calls |
| Valorant Weapons | Unsupported glow effects, while keeping weapon models |
| Dandy's World Items | Multiplayer hosts freezing and disconnecting when Medium Bassie Plushie spawns, missing uranium-loop audio, and errors when its radioactive items or Party Popper break |
| MelanieMelicious's levels | Prevents selection of the known incomplete Mel Mausoleum map until its required entrances are fixed |
| ALL Shop Items spawn in Level | Correct multiplayer prefab paths for registered items |
| REPOGambling | Older wheel announcement chat calls; prize selection is unchanged |
| ScalerCore | Expected missing ground-marker warnings; scaling and fallback behavior are unchanged |
| Nikki's Upgrades | Registers the Investor network manager for clients even when its local shop upgrade is disabled; does not enable or grant the upgrade |
| Base game render textures | Detaches and restores the main render target's own camera bindings during resize; optional under Game fixes |
| REPOLib | Reports harmless duplicate-name registrations as warnings while keeping the original registration behavior |
Other identifiable REPOLib content can receive the same targeted prefab checks, with its own configuration switch. Patches apply only when the source mod and supported problem are detected. Missing or disabled mods are left alone. Semibot RPG is excluded from these repairs.
For identified mod items, the pack also handles a missing Collider during a temporary material reset. It leaves the remaining timer logic and valid colliders alone, without adding physics parts or changing collider lists. Unknown sources remain visible with a brief diagnostic.
Some broken assets still need their author's attention. The pack leaves unknown problems visible rather than inventing physics parts or hiding every error. It also adds brief source diagnostics to help identify missing audio or physics references. It does not claim to fix an unrelated crash or network timeout.
Installation and upgrading
Install matching versions on the host and clients, then restart normally. The pack requires BepInEx; supported content mods remain optional and are not included.
This replaces the older Modlist-patchpack, ValuablesPatchpack and SillyValuablesFix builds. Remove or disable their old packages before installing this release. For a manual upgrade, remove the old ValuablesPatchpack.dll, ValuablesPatchpack.Preloader.dll and any old SillyValuablesFix.dll preloader. Keep only the new pair:
BepInEx/plugins/PatchAndTweakPack/PatchAndTweakPack.dll
BepInEx/patchers/PatchAndTweakPack/PatchAndTweakPack.Preloader.dll
Both DLLs are required. Older released ZIPs do not need to be deleted.
Configuration
With REPOConfig installed, open the in-game Mods menu and choose patchandtweakpack.
The settings are kept simple:
- Shop price browsing comes first: turn nearby prices on or off, then adjust radius and height. The host controls these settings for the lobby. Use the menu's save/apply action; shop changes can take effect while playing.
- Mods comes next: one switch for each source mod's patch set. Save your changes and restart the game to fully apply patch changes. These switches control this pack's fixes, not the original mods.
The menu edits the same saved settings used by the pack:
BepInEx/config/PatchAndTweakPack.cfg
Your old ValuablesPatchpack.cfg is copied automatically if the new file does not exist. Existing new settings always take priority, and the original file is kept.
Advanced prefab-name lists and diagnostic options remain available in the config file, keeping text fields out of the normal menu. REPOConfig is optional; without it you can edit the file while the game is closed. No exception lists need to be typed for the included fixes.
Optional nearby shop prices
The feature is off by default. Enable it in the host's config:
[Shop price browsing]
Enabled = true
RadiusMeters = 2
HeightAboveBelowMeters = 1.5
MaximumLabels = 64
Each player with the pack can then see several shop prices around their own camera, without pointing at each item. The range is a cylinder: horizontal radius plus a separate distance above and below. The host controls the lobby's settings; offline play uses local settings. Clients need this pack to see the extra labels.
Radius is limited to 0.5–4 metres. Height is limited to 0.25–2 metres in each direction. The display reuses up to MaximumLabels labels, closest items first (0 shows every item in range, up to 512), and checks a limited number of items every 0.2 seconds. Prices, stock and purchases are unchanged. In-game config-editor changes are picked up automatically; disk edits need a normal config reload or restart.
The shop feature retains its existing offline checks. The new menu integration has passed installed-API checks; live appearance and multiplayer behavior still need in-game confirmation.
Backups and removal
Some older mods need their DLL references updated before loading. The pack keeps verified backups under BepInEx/cache/PatchAndTweakPack. Matching older backups are carried forward only when needed; the original backup folders are retained.
Before removing the pack entirely, disable the affected compatibility modules and launch once to restore their original calls, or reinstall those content mods. Keep both pack DLLs installed until restoration is complete. Game files, saves and upgrade counts are not rewritten by this pack.
Reporting an issue
Include the affected item/mod, game and mod versions, relevant settings and the affected player's log. For a multiplayer problem, the host log alone may not show what happened on a client.
Checked against R.E.P.O. 0.5.0 and REPOLib 4.3.0 where applicable. Future game or mod updates may need another compatibility check. JNL's old voice option has no exact replacement in the current game; its adapter keeps the supported pitch values and uses the game's current defaults.
Original mods and content remain credited to their creators. This package contains compatibility code, not their assets.