Hey i've come across a bug, but my version of the game is modified with an exotic os.
Obviously it's unreasonable to expect you to fix errors caused by mods, or unsupported OS but i have the fix, and it's super simple.
Version 0.10.4
Modifications:
---Copied over nwjs-linux
---added cheat menu plugin and modified js/plugins.js (I'm certain this isn't the cause but it is part of my modification)
Bug:
Waterbottle.png wont display in item menu
Game gives a
fail to load error
when leaving item menu.
Reproduce:
Use Linux OS
Copy over latest nwjs over the game.
run the executable
nw now
Game.exe
Pick up water.
Open menu > Navigate to items,
Exit item section
Bug triggers.
Cause:
---Windows doesn't care about capitalization in file names but unix OS do (unless you do some hackery.)
---On windows the file
WaterBottle.png_ is read the same as
Waterbottle.png_
---On linuxthe file
WaterBottle.png_ is a completely different file from
Waterbottle.png_
Solution (Ideal):
---Just rename file
WaterBottle.png_ to
Waterbottle.png_ with lower case
b.
---if any; change any instance in code where you use the string "WaterBottle.png" to the new name.
Solution(Hacky): |
---make a copy of the file, but give it the same name but with lower case b.
Waterbottle.png_
Hack fix for linux user
--- Open up a terminal then navigate to the file location (
img/picture/Item/Usable/)
--- Make a link to the file using the following command
ln WaterBottle.png_ Waterbottle.png_
--- This will create a fake file which points to the og file when a program tries to load the image. minimum wasted space, and simple to do.