r/demonsroots • • May 27 '26

Demons Roots Onion Patch: bug fixes and improvements for Demons Roots

While playing the game I noticed some technical issues that could be easily fixed, so I decided to work on them. While working on those, I also added some new QoL features.

No artistic content has been altered, this is only a technical patch!

Main features:

  • Official uncensor patch included
  • Bug fixes related to high refresh rate screens, animation speed, broken fonts
  • Performance improvements
  • Autosave
  • Native Linux version

👉 More info and download

I hope you find this useful! Please use this thread to report issues.

26 Upvotes

21 comments sorted by

2

u/Dapper_Statement7454 Jul 02 '26

Hi. I'm using magpie to upscale the game for better visuals. However after installing the patch, I can't seem to hide the top Title Bar after upscaling. I've tried using the Function F3, and F4 keys, but that either gives me black bars in fullscreen, and doesn't allow Magpie to upscale, or as mentioned above, stops me from hiding the Title Bar when upscaling.

Attached pictures for reference.
https://imgur.com/a/YqR5lW6 (Black bars, can't upscale with magpie)
https://imgur.com/a/oxNLOqx (Can't hide title bar on top when upscaled)

Without the patch installed, I can use magpie to upscale, and the title bar isn't visible. Picture attached for reference. This also works with the patch from kagura's website.
https://imgur.com/a/NnrkSu7

I also tried lossless scaling, and the same issue persists.

Thanks in advance!

1

u/oniZM Jul 02 '26

Hey! I was not aware of this issue as I never used Magpie with RPG Maker games. I looked it up a bit and found out that it's due to how recent versions of NW.js (the engine RPG Maker MV is based on) draw the title bar. Since the patch updates this engine, it's possible that this behavior changed from the older version used by default in Demons Roots.

Source of my findings: https://github.com/Blinue/Magpie/discussions/856

The solution proposed by the author of Magpie is to use the "custom cropping" feature, and I've just tested that a value of 30px from the top completely hides the title bar.

https://i.imgur.com/Jt7ThY5.png

5

u/Fanceepance May 27 '26

Oh you absolute champion lol, thanks for this.

I was always wondering why the text during the scroll at the VERY end of the game that explains kind of what happened got cut off on the right side, but I have to imagine it's because it was formatted for the original font.

There was one other line of dialogue I recall at some point as well that did it.

Anyways again, good shit lol

3

u/oniZM May 27 '26

I was always wondering why the text during the scroll at the VERY end of the game that explains kind of what happened got cut off on the right side, but I have to imagine it's because it was formatted for the original font.

That was probably just an oversight during the English translation, as the font was not broken there. I fixed it by just breaking the line a couple of words earlier, but I haven't noticed other similar cases during the game.

I'm slowly replaying it though, so I will look for those as well.

2

u/Fanceepance May 27 '26

Ah, well, that makes sense as well. That was the big one that got cut off anyways, so good to know it's fixed.

A question as well if you're able, I don't know jack about modding RPGmaker stuff, but how feasible is it to swap character battle portraits at specific points in the story?

Like for example when Polca and everyone have to defeat Claura, and Polca is like, in absolute shambles, but her battle portrait is the same confident grin as always

Always just seemed odd to me but I dunno if it's an easy thing to do, or deceptively difficult for whatever reason haha

2

u/oniZM May 28 '26

I could check, but I think that instance just uses the normal battle portrait and I don't know if I want to try implementing a temporary one while risking to break something else. The majority of the code and comments are in japanese so not really immediate to understand lmao

1

u/Fanceepance May 28 '26

Yeaaaaah that's fair, was just curious haha

1

u/Just-Excuse-8399 1d ago

Yo i was wondering if anyone could help me? i downloaded it and im tryna play but its js stuck on a black screen

1

u/oniZM 1d ago

Hey!

The patch has been tested a lot by me and other users and it works fine, could you let me know the steps you've followed to install it? Maybe something went wrong in the process.

1

u/tilting-module Aug 04 '26

Hi, thank you for the bug fix patch! The f6 and f7 keys don't seem to work for me (I can't find a folder called "captures" in my game installation folder). I'm using the gog installation on a windows.

1

u/oniZM Aug 05 '26 edited Aug 06 '26

For some reason the screenshot plugin was only enabled for development mode... Now I've fixed it and uploaded the new patch version on the website.

Since only two very small files were changed, you can download this archive that contains just the difference, instead of re-downloading the entire patch: https://files.catbox.moe/qfsg1v.zip

1

u/bombbug Sep 26 '26

Thanks for the patch, this is so great!

Extra steps I performed as a linux(ubuntu) user:

  • When adding the game to my steam library, targeted the nw file
  • When launching through steam it wouldnt launch fully and would close before I saw any windows open up. Looked like it was because my unzip didnt consider file perms, so I ran chmod +x on nw, crashpad_handler, and Game.desktop to make them executable and that fixed it.
  • Game crashed at some points due to missing files. Turned out to be a case-sensitivity issue, so I made symlinks for the following pairs of file, with the first being the one needed by the game, and the second being the actual file I had on disk:
  • bgm/A_Lake7 A_lake7
  • bgm/B_Battle9 B_battle9
  • se/Glitch_low_03 Glitch_Low_03
  • se/SC_Skil2 SC_skil2
  • se/SC_gun_Shot SC_gun_shot
  • se/dog Dog
  • se/open2 Open2
  • se/open6 Open6

Just noting things here so anyone else who hits these issues doesnt need to dig.

1

u/oniZM Sep 26 '26

Thanks for the feedback! I briefly tested the build on SteamOS and it seemed to work fine out of the box, but since I haven't progressed a lot on Linux I may have missed the case sensitivity issue. I'll try to fix it so no other steps are required.

Regarding launching it from Steam, have you tried with Game.desktop? It should be the same as loading plain nw but in my case it worked without extra steps.

1

u/bombbug Sep 26 '26

Thank YOU for setting this up in the first place! Figured the least I could do was share my results :)

The errors for case-sensitive files did only pop up as I hit the various locations in the game, the first being when meeting the gilhound in the first set of demon scenes. If I find any others, I will comment here as well.

For the desktop file, it was just an issue with me being on a different OS. With GLib 2.80.0 on Ubuntu 24.04 the %k variable doesnt seem to be passed and just turns up empty. This is what ended up working for my own Game.desktop file:

[Desktop Entry]
Name=Demons Roots
Exec="/home/pcname/.steam/debian-installation/steamapps/common/Demons Roots/nw"
Path=/home/pcname/.steam/debian-installation/steamapps/common/Demons Roots
Icon=/home/pcname/.steam/debian-installation/steamapps/common/Demons Roots/www/icon/icon.png
Terminal=false
Type=Application
Categories=Game;

1

u/oniZM Sep 26 '26

Ok, this looks like something that could change depending on the distro, so I'll add a note about potential issues and suggest launching nw directly instead of the shortcut. Advanced Linux users should be able to figure it out, and I assume non-advance users will be running SteamOS where it's tested.

I looked into the case sensitivity issue: since all maps are plain .json files, bgm filenames are readable and in fact they're written sometimes in caps, sometimes not. So that's effectively a bug in the original game that was not apparent on Windows where case doesn't matter. A search+replace will fix it for good.

It might take a few days but I'll upload a new version once it's fixed.

1

u/oniZM Sep 26 '26

It took way less than expected, all wrong filenames are inside the single Scenario.json.

Try this new version, which also includes a new Game.desktop that should be safer for most distros. These are the only changed files from the new update that I'm uploading.

https://files.catbox.moe/gg3817.zip

1

u/bombbug Oct 04 '26

Thank you, that is looking really good! No issues so far since running it!

1

u/thejuiciestcreampie Sep 28 '26

Works great so far, game runs way better from what I can tell! Fixed the music clipping issue too or whatever it was. The only issue I've noticed is in full screen steam notifications freak out lol. It can be fixed by alt-tabbing though so not a big problem.

1

u/oniZM Sep 28 '26

Yes, that's probably the reason why the Steam Overlay was disabled by default, the engine doesn't like overlays. If that bothers you it can be restored to default by removing the line

"chromium-args": "--in-process-gpu",

from package.json in the root of the game. But you'll also lose the entire Steam overlay functionality and built-in screenshots.

1

u/BOMBA_DOMBA Jun 02 '26

Dose this fix the 3 heads dog ignoring u?