Skip to content

Instantly share code, notes, and snippets.

@luzfcb
Created June 14, 2024 13:53
Show Gist options
  • Save luzfcb/319b28fac77da55f33057f736aa55d26 to your computer and use it in GitHub Desktop.
Save luzfcb/319b28fac77da55f33057f736aa55d26 to your computer and use it in GitHub Desktop.
Paw Patrol: On A Roll! fixes for Steam, SteamDeck, Wine, Proton, ProtonGE, Language, Linux

https://www.protondb.com/app/758730

https://store.steampowered.com/app/758730

The game has two big problems:

1 - The game does not have a GUI or an in-game option to select languages, and it is required to set an environment variable to force the game executable to load the desired language.

2 - When opening the game, a resolution and graphics quality configuration window is displayed, making life difficult for anyone using it via Steam Deck or Steam Link.

Fortunately, we have solutions for both problems

Solution for 1:

The expected environment variable to define the language is HOST_LC_ALL=<supported_language_code>.UTF-8

On Steam HOST_LC_ALL=<supported_language_code>.UTF-8 %command% needs to be added in the section of "Launch Option" in the Steam game properties.

The supported languages codes are:

Brazillian Portuguese:

HOST_LC_ALL=pt_BR.UTF-8 %command%

English:

HOST_LC_ALL=en_US.UTF-8 %command%

French:

HOST_LC_ALL=fr_FR.UTF-8 %command%

Italian:

HOST_LC_ALL=it_IT.UTF-8 %command%

German:

HOST_LC_ALL=de_DE.UTF-8 %command%

Spanish:

HOST_LC_ALL=es_ES.UTF-8 %command%

Dutch:

HOST_LC_ALL=nl_NL.UTF-8 %command%

Polish:

HOST_LC_ALL=pl_PL.UTF-8 %command%

Solution for 2:

Thanks to AnadeB for this solution

To disable the resolution and graphics quality configuration window, you need to edit a binary file, so it is not a simple task to do on Windows, but on Linux/SteamOS it is simple, as long as you have access to the terminal.

1 - Open the game, configure the resolution you want, etc., open the game normally, and then close it. (Note that you have to do this before the next steps, or you will have to undo everything to be able to access this window again)

2 - Open a terminal inside the PawPatrol_Data folder in the directory where the game is installed (you can find out which one it is by going to the game settings on Steam, then "Installed Files" and then the "Explore" button). The directory that the terminal needs to be in is the same directory that contains the globalgamemanagers file.

3 - Using the commands below, create a backup of the globalgamemanagers file and apply the change to the binary

cp -aiv globalgamemanagers{,.orig} # backup

# patch byte at position 4417:
dd if=/dev/zero bs=1 count=1 conv=notrunc seek=4416 of=globalgamemanagers

cp -aiv globalgamemanagers{,.patched} # backup the patched version

Comparing the original and the patched file:

cmp -l globalgamemanagers{.orig,} # compare and show changes

After patching and comparing, you should see differing bytes:

  4417   1   0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment