LengSword-BetterRoomShare icon

BetterRoomShare

Enhanced room sharing features.

Last updated 2 days ago
Total downloads 332
Total rating 0 
Categories Mods Quality Of Life Client Side Host Only All Clients AI Generated
Dependency string LengSword-BetterRoomShare-0.1.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301

README

BetterRoomShare

Adds custom room codes and improves Steam invites for PEAK.

Use BetterRoomShare 0.1.4 or newer with PEAK 3.1.

Features

Custom room names

Replace the random part of a hosted room code with your own suffix by enabling EnableCustomRoomName.

PEAK 3.1 generates eight-character room codes like <region><platform+mod-state><random-chars>. With this feature enabled, hosted rooms are named:

<region><platform+mod-state><suffix>

For example, DAABCD23 is a possible eight-character code for an EU room on Windows marked as using mods, with the default ABCD23 suffix. Players can enter an eight-character ASCII code without this mod when the game recognizes its region and platform codes. Manual code entry displays a warning before joining rooms marked as using mods.

Existing configured suffixes are preserved when upgrading, including the old ABCD default. To let players without BetterRoomShare enter your code in PEAK 3.1, set CustomRoomNameSuffix to six characters, giving an eight-character code including the prefix. Players entering a shorter or longer code need the variable-length option below.

By default, the game's original region and combined platform/mod-state character are preserved. Set CustomRoomPlatformCode to override the second character. Only the first character of a non-empty value is used, exactly as configured. This overrides both the platform and mod-state information used by the join screen: on Windows, A/B indicate mods and C/D indicate no mods. Use an uppercase character; leave the setting empty to preserve the game's generated value.

The suffix can contain non-ASCII characters, such as Chinese. Steam invites transmit these room names as UTF-8. Both the host and the invited player need BetterRoomShare 0.1.2 or newer to join a non-ASCII room name through a Steam invite. ASCII room names remain compatible with the game's original invite encoding. For manual code entry, use uppercase ASCII letters in the suffix and platform code: the join screen converts the entered code to uppercase, while the hosted room name is used as configured.

Variable room code length

Lift the fixed length restriction on the join room input.

Vanilla PEAK 3.1 requires exactly eight characters. With EnableVariableRoomCodeLength enabled, the join screen accepts codes of at least two characters, including codes created with a shorter or longer suffix. A player entering a code whose length is not eight needs this option enabled on their own client. The rest of the game's validation and join flow is unchanged.

This option changes the game's room input field. Steam's gamepad text input dialog still uses the game's eight-character limit.

Configuration

Section Key Default Description
General EnableCustomRoomName false Use a custom suffix for hosted room names.
General CustomRoomNameSuffix ABCD23 Suffix appended after the region and platform/mod-state characters; use six characters for vanilla PEAK 3.1 code entry.
General CustomRoomPlatformCode Empty Override the second character, including its platform and mod-state information; an empty value preserves the game's generated character.
General EnableVariableRoomCodeLength false Allow manual entry of room codes with lengths other than eight.