Fear & Hunger
This Community Hub is marked as 'Adult Only'. You are seeing this hub because you have set your preferences to allow this content.

Fear & Hunger

111 ratings
[UPD]Optimizing the game for Steam Deck/Linux distros
By [GTH]
The guide has been updated with the new performance fix method!
The guide on fixing the poor performance on Steam Deck and Linux distros.
12
8
4
3
   
Award
Favorite
Favorited
Unfavorite
Introduction
Long story short, RPG Maker MV is a barely working mess of a game engine. Unless a game has an official Linux port, it'll be barely playable as windows versions of RPGMMV games just don't function properly on Linux under wine.
Though F&H is marked as a "verified" Steam Deck game, it's framerate is terrible, it barely holds about 20 FPS most of the time and drops to unplayable 1-5 FPS on the locations in the endgame. This guide is dedicated to fixing this problem.
About the guide update
Thanks to Savvy Kat, the much more elegant solution for Steam Deck has been found!
Now you neither need to change the executable file in the properties of the game, nor add it through the browser of Steam as a non-Steam game.
Downloading and configuring the required files
First of all, we need to download NW.js. To do so:

1) Open Google, type "nw js" and open the first link to appear in the search.


2) Open the "Downloads" tab.


3) Press the "Previous releases" button.


4) Find "v0.57.1" folder.


5) Download the "nwjs-v0.57.1-win-x64.zip" file.


After the download we need to extract the files from the archive to the game folder and do some configuring actions.


The path to the game may vary, the default one is:
/home/.steam/steam/steamapps/common/Fear & Hunger/

Having unpacked the files, we need to remove the original "Game.exe" file.


Having uninstalled the original executable file, we need to rename the "nw.exe" file to "Game.exe", it'll become the new launcher for the game.


And that's it! The game should work perfectly fine with this new method now and there should be no problems using it in Steam Deck's Gaming Mode!
Conclusion
That's it. Go on and enjoy the game now.

Thank you for reading, hope the guide was helpful. I'd appreciate it if you pressed the like button and added the guide to favorites.

58 Comments
wast01d 17 May @ 2:44pm 
an actual lifesaver tysm
nagl23 14 May @ 12:49pm 
Thank you! Worked perfectly for F&H2.
[GTH]  [author] 13 May @ 6:23am 
This fix is used to deal with the screen freezing in rpg maker games made with VX Ace in general, not only in F&H, I was pretty sure I had mentioned it in the guide, lol.
Thanks for mentioning it, I'll update the guide later.
(Chris)1998 13 May @ 6:10am 
Following this guide and editing a config file. Fixed all performance issues, and freezing. Here is the config edit guide:


From DadeKuma from reddit.
*In home, change the settings to show hidden files, for .steam to show up*
Using Desktop Mode, go to the game directory (default should be /home/deck/.steam/steamapps/common/Fear & Hunger)

Open this file: www/js/rpg_core.js and go to line 1872

Modify this: if (this._skipCount === 0) { to this: if (this._skipCount <= 0) {
[GTH]  [author] 10 May @ 8:41pm 
Thanks for sharing!
I suppose, it should work for SD too in case you simply disable the pacman block enabled by default. Might check it out later on PC or SD.
Davitens 10 May @ 1:18am 
Found a solution for Arch Linux machines. Source: https://www.reddit.com/r/linux_gaming/comments/13cfxpn/getting_an_rpgmaker_game_to_run_better_on_linux/
from user qeadwrsf.

1)install nwjs-bin (yay -S nwjs-bin)

2) install nwjs-ffmpeg-codecs-bin (yay -S nwjs-ffmpeg-codecs-bin )

go into games folder.

3 )edit if below line exist in package.json from:

name: ""
to:
name: "{}"

4) open game in terminal with
LD_PRELOAD=/opt/nwjs/libffmpeg.so nw .

It works perfectly for me. Removes all FPS drops, including Mahabre
issablack 27 Mar @ 9:32pm 
I tried it also it doesn’t work at all and the game.exe files looks different from the original
Solanine 22 Jan @ 10:08am 
Tried this, didn’t change anything. I have followed the guide so I am unsure, I’ve tried playing with Linux but nothing helps. I really want to play the game but it’s very frustrating having to fix this!
[GTH]  [author] 27 Dec, 2024 @ 11:53pm 
Frankly speaking, I have no idea why this happens.
I believe that it's on RPG Maker's side, RPGM MV (the game engine) is infamous for being a barely working hot garbage. As if it wasn't enough, it runs even worse (the reason the guide exists) and even more buggy under Linux.
The same thing happened for me multiple times, sometimes the game just refuses to launch.
The only pattern I've noticed is that the game is guaranteed to break if you change Proton's version AFTER the first launch of the game. And the only way to fix it that I know is to delete the game, the proton folder and redo everything from scratch. For some reason, it made everything work, even when I literally redid all the steps without a single change.
bergerachter 27 Dec, 2024 @ 10:56pm 
Hey, so I just followed this guide step by step, but whenever I go to extract the folder, it never extracts the nw.exe file. So I tried copying it over, deleting the original Game.exe file, and then renaming the nw.exe to Game.exe and it just makes it so the game won’t even start up. Any ideas?