Reloaded on Linux: Difference between revisions

From FOnline: Reloaded Wiki
Jump to navigation Jump to search
m (→‎Troubleshooting, misc: forum link added)
m (more wine-mono troubleshooting)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
| image = Repair.gif
| image = Repair.gif
| description = Want To Play On Linux?
| description = Want To Play On Linux?
| season = All
| season = Season 4+
| status = worked when tested
| status = S4 client successfully tested on Debian and Manjaro,<br> S5 client successfully tested on Debian
| complete = unknown
| complete = unknown
| authors = many (thanks)
| authors = many (thanks)
| chapter = Title Page
| chapter = Title Page
| chapters = Title Page only
| chapters = Title Page only
| notes =  
| notes = if it doesn't work check for '''wine-mono''' first, then 32bit wine env
}}
}}
You want to run a 32 bit WinXP executable on your 64 bit Linux operating system?<br>
You want to run a 32 bit WinXP executable on your 64 bit Linux operating system?<br>
Line 20: Line 20:
Install the software packages you need to run [[FOnline: Reloaded]] via Wine<br>
Install the software packages you need to run [[FOnline: Reloaded]] via Wine<br>
'''NOTE''': expect ~1GB downloads
'''NOTE''': expect ~1GB downloads
* '''Example 1''': get 32 bit Wine to run on '''Debian''' 12 stable
* '''Example 1''': get 32 bit Wine to run on '''Debian''' 11 stable
** <code>sudo dpkg --add-architecture i386 && sudo apt update</code>
** <code>sudo dpkg --add-architecture i386 && sudo apt update</code>
** <code>sudo apt install wine wine32 wine64 libwine libwine:i386 fonts-wine</code>
** <code>sudo apt install wine wine32 wine64 libwine libwine:i386 fonts-wine</code>
<br>
<br>
* '''Example 2''': get 32 bit Wine to run on '''Manjaro''' 23
* '''Example 2''': get Wine to run on '''Manjaro''' 23
** <code>pamac update</code>
** <code>pamac update</code>
** <code>pamac install wine wine-mono</code>
** <code>pamac install wine wine-mono</code>
Line 37: Line 37:
* or run it via Wine in right-click menu
* or run it via Wine in right-click menu
* or run <code>wine "$HOME/games/FOnline Reloaded/UpdaterEx.exe"</code>
* or run <code>wine "$HOME/games/FOnline Reloaded/UpdaterEx.exe"</code>
* if it asks to install '''mono''' and/or '''gecko''' allow it to, it might take a while
* if it asks to install '''wine-mono''' allow it to, it might take a while
* if it already works now: install updates, maybe check configs, run ''FOnline.exe'' next and have fun, you don't need to make a game launcher
* if it already works now: install updates, maybe check configs (see below), run ''FOnline.exe'' next and have fun, you don't need to make a game launcher


===Game Configuration===
===Game Configuration===
Line 58: Line 58:
* name it ''launchReloaded.sh'' and save it in your ''games'' folder
* name it ''launchReloaded.sh'' and save it in your ''games'' folder
* allow the new launcher to be executed as a program, for example by <code>chmod +x $HOME/games/launchReloaded.sh</code>
* allow the new launcher to be executed as a program, for example by <code>chmod +x $HOME/games/launchReloaded.sh</code>
* if you want a desktop shortcut you can link it to this launcher
* if you want a desktop shortcut you can link it to this launcher or
* alternatively create a desktop starter that directly runs <code>env WINEPREFIX="$HOME/wine-FOnline-Reloaded" wine "$HOME/games/FOnline Reloaded/FOnline.exe"</code>
* the prefix is not a must have, but nice for separating Wine instances
* the prefix is not a must have, but nice for separating Wine instances
* the first time you start Reloaded via Wine it will take some time for preparing the new prefix
* the first time you start Reloaded via Wine it will take some time for preparing the new prefix
* it might also want to install '''mono''' and/or '''gecko'''. If it doesn't: everything is probably fine already, if it does: allow it to.
* it might also want to install '''wine-mono'''. If it doesn't: everything is probably fine already, if it does: allow it to.


==Start the Game==
==Start the Game==
'''NOTE''': Again, the first time you start Reloaded via Wine it will take some time and you might be asked for installing '''mono''' and/or '''gecko'''. If it doesn't: good, otherwise: allow it to.
'''NOTE''': The first time you start Reloaded via Wine it will take some time and you might be asked for installing '''wine-mono'''. If it doesn't: good, otherwise: allow it to.
<br><br>
<br><br>
Run your freshly created ''launchReloaded.sh'' via terminal or by double clicking it, or use a desktop starter/shortcut.<br>
Run your freshly created ''launchReloaded.sh'' via terminal or by double clicking it, or use a desktop starter/shortcut.<br>
Line 74: Line 75:
==Troubleshooting, misc==
==Troubleshooting, misc==
* If something with your wineprefix doesn't work at any point, you can delete ''wine-FOnline-Reloaded'' in your home directory. Next time you start the launcher it will be freshly generated.
* If something with your wineprefix doesn't work at any point, you can delete ''wine-FOnline-Reloaded'' in your home directory. Next time you start the launcher it will be freshly generated.
* Manjaro allows to install ''wine-mono'' from the packet manager, Debian doesn't, but you you can find help in the [https://wiki.debian.org/Wine#Mono_and_Gecko Debian Wiki], if you need to.
* The terminal is your friend. Run wine in your terminal instead of using a launcher or double clicking, to see it tell you what doesn't work yet.
* Manjaro offers to install '''wine-mono''' from the packet manager. Debian doesn't, but you can manually download the [https://dl.winehq.org/wine/wine-mono/ wine-mono-XX.Y.Z-x86.msi] and install it by running [https://askubuntu.com/questions/841847/mono-package-for-wine-is-not-installed/1448770 <code>wine msiexec /i wine-mono-XX.Y.Z-x86.msi</code>] in your terminal. If you need to.
* If the game starts, but there is no text, you are probably missing ''fonts-wine''.
* If the game starts, but there is no text, you are probably missing ''fonts-wine''.
* If the game starts, but your screen stays black, check if your system is friends with your graphics card yet...
* If the game starts, but your screen stays black, check if your system is friends with your graphics card yet...
* Make sure you are running a 32bit WINE that has '''wine-mono'''.
* Since january 2023 the game client allows multilogging, see [[Changelogs]]. You can use one or multiple Reloaded installations as well as Wine prefixes.
* Since january 2023 the game client allows multilogging, see [[Changelogs]]. You can use one or multiple Reloaded installations as well as Wine prefixes.
* old [https://forum.fonline-reloaded.net/index.php?topic=2348.msg37343# forum post] with help for running Reloaded on Linux
* Old [https://forum.fonline-reloaded.net/index.php?topic=2348.msg37343# forum post] with help for running Reloaded on Linux


==See Also==
==See Also==
Line 85: Line 88:
* [[Guides]]
* [[Guides]]
* [[Item Highlighter]]
* [[Item Highlighter]]
* [https://www.ubuntubuzz.com/2022/12/beginners-guide-to-run-windows-apps-and-games-via-wine-on-ubuntu.html ubuntubuzz beginners guide for Wine]
* [https://www.ubuntubuzz.com/2022/12/beginners-guide-to-run-windows-apps-and-games-via-wine-on-ubuntu.html ubuntubuzz beginners guide for Wine]
* [https://wiki.debian.org/Wine Wine on Debian Wiki]
* [https://wiki.debian.org/Wine Wine on Debian Wiki]

Latest revision as of 07:53, 8 January 2026

Reloaded on Linux
Want To Play On Linux?
Season Season 4+
Status S4 client successfully tested on Debian and Manjaro,
S5 client successfully tested on Debian
Completion unknown
Authors many (thanks)
This Chapter Title Page
More Chapters Title Page only
Notes if it doesn't work check for wine-mono first, then 32bit wine env


You want to run a 32 bit WinXP executable on your 64 bit Linux operating system?
One easy way to play FOnline: Reloaded on GNU/Linux is to use a 32 bit Wine.
Here you find two examples of how this can be done.

Preperation

System Software

Install the software packages you need to run FOnline: Reloaded via Wine
NOTE: expect ~1GB downloads

  • Example 1: get 32 bit Wine to run on Debian 11 stable
    • sudo dpkg --add-architecture i386 && sudo apt update
    • sudo apt install wine wine32 wine64 libwine libwine:i386 fonts-wine


  • Example 2: get Wine to run on Manjaro 23
    • pamac update
    • pamac install wine wine-mono

Game Client

  • read The Rules, download The Game
  • unzip the downloaded zip file, for example unzip FOnlineReloaded.zip -d $HOME/games
  • you should now find FOnline Reloaded in your games directory, containing a data folder and eleven files

Client Update

  • just try to start the UpdaterEx.exe with a double-click
  • or run it via Wine in right-click menu
  • or run wine "$HOME/games/FOnline Reloaded/UpdaterEx.exe"
  • if it asks to install wine-mono allow it to, it might take a while
  • if it already works now: install updates, maybe check configs (see below), run FOnline.exe next and have fun, you don't need to make a game launcher

Game Configuration

  • for manual configuration of game settings see Configuration, FOnline.cfg and Reloaded.cfg
  • you can also use FOConfig.exe and ReloadedConfig.exe with Wine, like you did with the UpdaterEx.exe
  • A few FOnline.cfg settings that might be useful to have seen:
    • FixedFPS = 30
    • ScreenWidth = 800
    • ScreenHeight = 600
    • Light = 30
    • FullScreen = False
    • VSync = False

Game Launcher

  • open a simple text editor, paste this:

#! /bin/sh
export WINEPREFIX=$HOME/wine-FOnline-Reloaded
wine "$HOME/games/FOnline Reloaded/FOnline.exe"

  • name it launchReloaded.sh and save it in your games folder
  • allow the new launcher to be executed as a program, for example by chmod +x $HOME/games/launchReloaded.sh
  • if you want a desktop shortcut you can link it to this launcher or
  • alternatively create a desktop starter that directly runs env WINEPREFIX="$HOME/wine-FOnline-Reloaded" wine "$HOME/games/FOnline Reloaded/FOnline.exe"
  • the prefix is not a must have, but nice for separating Wine instances
  • the first time you start Reloaded via Wine it will take some time for preparing the new prefix
  • it might also want to install wine-mono. If it doesn't: everything is probably fine already, if it does: allow it to.

Start the Game

NOTE: The first time you start Reloaded via Wine it will take some time and you might be asked for installing wine-mono. If it doesn't: good, otherwise: allow it to.

Run your freshly created launchReloaded.sh via terminal or by double clicking it, or use a desktop starter/shortcut.
Or, if this works on your system and you have no use for Wine prefixes: double-click the FOnline.exe or run wine "$HOME/games/FOnline Reloaded/FOnline.exe"

Good luck, have fun.

Troubleshooting, misc

  • If something with your wineprefix doesn't work at any point, you can delete wine-FOnline-Reloaded in your home directory. Next time you start the launcher it will be freshly generated.
  • The terminal is your friend. Run wine in your terminal instead of using a launcher or double clicking, to see it tell you what doesn't work yet.
  • Manjaro offers to install wine-mono from the packet manager. Debian doesn't, but you can manually download the wine-mono-XX.Y.Z-x86.msi and install it by running wine msiexec /i wine-mono-XX.Y.Z-x86.msi in your terminal. If you need to.
  • If the game starts, but there is no text, you are probably missing fonts-wine.
  • If the game starts, but your screen stays black, check if your system is friends with your graphics card yet...
  • Make sure you are running a 32bit WINE that has wine-mono.
  • Since january 2023 the game client allows multilogging, see Changelogs. You can use one or multiple Reloaded installations as well as Wine prefixes.
  • Old forum post with help for running Reloaded on Linux

See Also