Jump to content

Installation on linux ! [GUIDE]


Rokitrame

Recommended Posts

Hello, I don't play the game often, but I was sad to see that the linux version is no longer supported, (there's nothing we can do about it, hoping it will be native again).

I don't know if I'm the best person to make a guide but I didn't see any on the forum so I propose myself.

 

I recommend you to use the staging version of wine.

Setting up the WINEPREFIX

 

Your default [iCODE]WINEPREFIX[/iCODE], which is pointless since it already has a default value of [iCODE]~/.wine[/iCODE] when undefined).

We will also set [iCODE]WINEARCH[/iCODE] to [iCODE]win32[/iCODE]. That will make this [iCODE]WINEPREFIX[/iCODE] only able to execute 32-bit apps, which is fine in our case. It is recommended to make your prefix 32-bit only if you don’t need 64-bit support(and there will be a problem later if we use the 64bits version.)

export WINEPREFIX="$HOME/.wine_pro" # This is the path to a hidden folder in your home folder.

export WINEARCH=win32 # Only needed when executing the first command with that WINE

 

Install [iCODE]winetricks[/iCODE]. It is included in repositories of most Linux distros.

Install .NET Framework 4.5: [iCODE]winetricks dotnet45[/iCODE]

Press next at every step.

If you’re prompted to reboot your computer, no matter the choice it won’t reboot and will be fine.

(maybe: If the process is stuck and the terminal is printing lines ending with “retrying (60 sec)”, open a new terminal, set the [iCODE]WINEPREFIX[/iCODE] variable and execute [iCODE]wineserver -k[/iCODE].)

 

Installing PRO

 

Make sure the environment variables are correct (you can use [iCODE]env[/iCODE] to print them)

Create an empty directory for PRO, and [iCODE]cd[/iCODE] into it

Download the client: Windows Client x32 (x64 version doesn't work, it gives the error [iCODE]failed to load il2cpp[/iCODE])

unzip the compressed file (with your favorite zip manager or through the terminal)

Launch the client: [iCODE]wine PROClient.exe[/iCODE]

 

At this point, you should be able to play PRO already. Congratulations! but launching the game from the command line can be tedious so we'll simplify it.

I recommend creating a start script, in [iCODE]~/.local/bin/pokemon-revolution-online[/iCODE] for example:

 

#!/bin/sh
export WINEPREFIX="$HOME/.wine_pro"

cd ~/Games/Pokemon-Revolution-Online # Or wherever you have placed your game file
wine PROClient.exe "$@"

 

 

I also recommend to create a script to kill the program, maybe the game can freeze/crash or not start for whatever reason. In [iCODE]~/.local/bin/pokemon-revolution-onlinekill[/iCODE] for example:

 

#!/bin/sh
export WINEPREFIX="$HOME/.wine_pro"

wineserver -k

(Make sure [iCODE]$HOME/.local/bin[/iCODE] is in your PATH, otherwise do [iCODE]echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.profile[/iCODE] and restart your session.)

don't forget to make the scripts executable (with [iCODE]chmod +x ~/.local/bin/pokemon-revolution-online*[/iCODE]) and give them a try!

 

Adding Pokemon Revolution Online to your Applications

 

we will add Pokemon Revolution Online to your Applications menu to start it easily.

First, let’s download the Pokemon Revolution Online icon: wget -O ~/.local/share/icons/pokemon-revolution-online.png https://pokemonrevolution.net/img/logo.png

Next, open [iCODE]~/.local/share/applications/pokemon-revolution-online.desktop[/iCODE] and paste:

[Desktop Entry]
Type=Application
Name=Pokemon Revolution Online
Icon=pokemon-revolution-online.png
Exec=pokemon-revolution-online %u
StartupWMClass=PROClient.exe
Categories=Game;

 

 

Troubleshooting

 

The keyboard no longer works after an alt-tab:

I don't recommend you to make alt-tab or even change windows, you won't be able to use the keyboard on the game anymore.

If you ever do that, I found is to change her resolution and then put it back the way it was before.

or you need to activate emulate a virtual desktop via the [iCODE]winecfg[/iCODE] command with the [iCODE]WINEPREFIX[/iCODE]

 

If you have any problems or that you don't understand something. You can contact me on the forum or on discord: rokitrame#0002

My English may not be accurate but it is understandable.

Don't forget I'm not a pro! If there are mistakes somewhere or if there is room for improvement, let me know!

Edited by rokitrame
  • Like 4
Link to comment
Share on other sites

I moved this to the guide area. Thanks for putting in the effort.

...And all will burn, beneath the shadow of my wings.

Do not contact staff members for private support. Share your questions on the forums as they could be useful to others.

Remember to use the correct forum when posting. Unsolicited messages will be trashed. Thanks.

Link to comment
Share on other sites

If I have winecfg set to emulate virtual desktop (make it the same size as your fullscreen'd PRO) and I can change windows again|

(I am sorry I didn't realize you allready had this in your post) *edit

Edited by fuzzbop
  • Like 2
Link to comment
Share on other sites

If I have winecfg set to emulate virtual desktop (make it the same size as your fullscreen'd PRO) and I can change windows again|

(I am sorry I didn't realize you allready had this in your post) *edit

I tried to find a solution and it's the only one I could find for the moment! I'm still trying to find another one!

Link to comment
Share on other sites

  • 4 weeks later...

Just mean to once again play Pokemon Revolution, and learnt no more Linux support :(

Wine is so much confusing, and I am so bad in it.

I think I have no chance to play this game anymore.

Hope they will once again bring back the native linux support.

Sad :(

Link to comment
Share on other sites

  • 2 months later...

Hi! Good Day!

Im here to say that after the PRO Client Updates Patchs, is necessary to install the dotnet45 to be able to use it, because with dotnet40 you can't update the game.

However, one thing is happening in many other clients: patcherError.txt

If someone can solve that problem, that will be good.

 

UPDATE: April 23, 2019.

 

I got it. I Solve the patcherError.txt error.

I basically changed the extensions of old archives in the folder like "GameAssembly.dll" to "GameAssembly.dll.old", and the "GameAssembly.dll.new" to "GameAssembly.dll", do this on all archives downloaded, and you can run PRO.

 

Remember: Use wine 32 bits prefix, dotnet45, and make the steps above.

Edited by Berguito
Link to comment
Share on other sites

Hi! Good Day!

Im here to say that after the PRO Client Updates Patchs, is necessary to install the dotnet45 to be able to use it, because with dotnet40 you can't update the game.

However, one thing is happening in many other clients: patcherError.txt

If someone can solve that problem, that will be good.

 

UPDATE: April 23, 2019.

 

I got it. I Solve the patcherError.txt error.

I basically changed the extensions of old archives in the folder like "GameAssembly.dll" to "GameAssembly.dll.old", and the "GameAssembly.dll.new" to "GameAssembly.dll", do this on all archives downloaded, and you can run PRO.

 

Remember: Use wine 32 bits prefix, dotnet45, and make the steps above.

Greetings to you!

 

Thanks Berguito for your help! I hadn't checked the game for a while.

I had exactly the same problem, but I can't settle it with a fresh client. (Maybe I'm doing it wrong).

 

personally in the patchError.txt I have this error

NeedsAdmin check failed on "Z:\home\user\Games\Pokemon-Revolution-Online"

 

 

https://pokemonrevolution.net/forum/topic/125479-url/?do=findComment&comment=692083

Maybe it's coming from there, I spent some time I didn't find anything else... I'll see when they make an update. (I'll check every day.),

in the meantime I'll just update the guide to replace the dotnet version.

Link to comment
Share on other sites

 

personally in the patchError.txt I have this error

NeedsAdmin check failed on "Z:\home\user\Games\Pokemon-Revolution-Online"

 

 

I was able to execute the game with 'sudo' and log into it but after that my keyboard stopped working, thoguh mouse was working fine; I was able to interact with the menu.

Link to comment
Share on other sites

I was able to execute the game with 'sudo' and log into it but after that my keyboard stopped working, thoguh mouse was working fine; I was able to interact with the menu.

Your method works even if launching wine in sudo is not recommended!

 

 

For your keyboard problem, refer to troubleshooting,

i tried it and everything works after!

[...]

Troubleshooting

 

The keyboard no longer works after an alt-tab:

I don't recommend you to make alt-tab or even change windows, you won't be able to use the keyboard on the game anymore.

If you ever do that, I found is to change her resolution and then put it back the way it was before.

or you need to activate emulate a virtual desktop via the [iCODE]winecfg[/iCODE] command with the [iCODE]WINEPREFIX[/iCODE]

 

[...]

Link to comment
Share on other sites

I don't plan to add this thing to the guide at the moment, but people can read the comments and easily understand how to make the game work.

 

NEVER run Wine as root! Doing so gives Windows programs (and viruses) full access to your computer and every piece of media attached to it. Running with sudo also has these same risks but with the added bonus of breaking the permissions on your ~/.wine folder in the process. If you have run Wine with sudo you need to fix the permission errors as described in the next question, and then run winecfg to set Wine up again. You should always run Wine as the normal user you use to login.

(reference: https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F)

Edited by rokitrame
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...