Open edave64 opened 2 years ago
@Murmele not sure if this is due to the GitHub actions, or if the script was already broken. Probably the latter.
Sounds like the latter one, because I just copy pasted the build of the windows CI file. I will check out in the CI file if I forgott something. Are you able to reproduce the buildlocally to find out if it is a package issue or an application issue?
I am removing the broken artifacts from the release, for investigating the bug you can get them from here:
ok thanks!
When I am looking into the executable, l18n is here: mods/tuxemon/l18n/
Tried with wine I get the same error message
the l18n is normaly located in .tuxemon/cache or?
When executing the installer, l18n is in .wine/drive_c/Program Files (x86)/Tuxemon/mods/tuxemon/l18n/
Yes, l18n is usually within .tuxemon/cache
There are two folders called l18n each containing en_US/LC_MESSAGES and then a single file:
base.po (pre-compiled translations) is within mods/tuxemon, base.mo (compiled translations) is within the cache.
@Murmele could you comment out the automatic windows publishing (leave the build) until somebody fixes this?
@kerizane yes I can do
I looked into it: The reason for the bug is that LIBDIR on Windows is exe.win-amd64-3.12\lib\tuxemon
, the mods folder is calculated in the code with mods_folder = os.path.normpath(os.path.join(LIBDIR, "..", "mods"))
, so it searches in \exe.win-amd64-3.12\lib\mods
, which doesn't exist. The only mods folder on disk that actually exists is exe.win-amd64-3.12\mods
. So it should be really easy to fix. (Unfortunately I don't understand the code well enough to understand the desired behaviour and submit a PR.)
Describe the bug An error occurs when I try to run the "run_tuxemon.exe". Details in the screenshot.
To Reproduce I just used the tuxemon_windows_binary.zip for v0.4.34. The same issues happens when using the current tuxemon-installer.exe
Expected behavior I would expect the game to launch.
Screenshots
Note that neither the folders "C:\hostedtoolcache" nor "D:\a" actually exist.
Desktop (please complete the following information):
Additional context Building from source doesn't work for me either, but that's a different issue that I'll have to look into.