#Linux export broken

1 messages · Page 1 of 1 (latest)

sterile wraith
#

Hey there, I'm currently making a game, it's running well on windows and macos, But we had issues on linux, and tryed running it on a new computer under ubuntu, and the game juste start by giving this error :
failed to load translation.xx.translation, and for all of them, then it fail to load everything else, I already disabled text to crypted ressources, checked files paths and all.. Do you guys know how to resolve this issue ?
(xx, because all the translations bug)

rotund coral
#

Can you give more information about your linux export settings? Do you have the pck bundled with your executable or separate?

sterile wraith
#

i tried both, and it just crashes, could not fid any of my translations then keeep going on with errors

versed wagon
#

Could this be an upper/lower-case issue? Windows is case-insensitive while Linux is case-sensitive.
So on windows, a file with this name:
translation.EN.translation or translation.en.translation is the same. On Linux this won't be the same (they'd be 2 separate files).
While MacOS should be acting the same as Linux, it might be worth to double-check this.

sterile wraith
#

It's not the problem, I'll upload some pictures

#

ERROR: Cannot open file 'res://themes/translations/translations.de.translation'.
at: load (core/io/resource_format_binary.cpp:1220)
ERROR: Failed loading resource: res://themes/translations/translations.de.translation.
at: _load (core/io/resource_loader.cpp:343)

#

and the path I have :
res://themes/translations/translations.de.translation

#

I mean, maybe it's because it's nammed .de.translation ? and linux doesn't lmike this ?

#

ERROR: Cannot open file 'res://themes/translations/translations_de.translation'.
nope

#

even after renaming

#

whil it's working super fine in editor, but the export is broken with this

#

And it's not working for any of the translations so, then theres 10000 wrnings and erros that pops, but the start is thoses errors, and they might be the cause for all the next one ?

dense trench
#

Maybe it's looking in the wrong spot? Full disclosure, I'm moreso a linux dev than a godot one, but periods in the filename are fine, and the paths look right visually to me. I mean, if res:// is bound to the wrong spot somehow or for some reason the program accessing the file doesn't have the permissions to read it, it would definitely have some issues

sterile wraith
#

got this when i export from windows to here now ?

wet talon
# sterile wraith got this when i export from windows to here now ?

Ouvre le terminal, va sur le dossier contenant l'exécutable, fais chmod +x nom_de_lexec, puis ensuite ./nom_de_lexec
Enfin tu peux trouver des tutos général sur comment exécuter des exécutables sur linux, mais là ça n'a pas l'air d'être un problème spécifique à Godot

#

(Enfin sinon je crois que c'est possible en faisant click droit de pouvoir autoriser l'exécution du fichier, puis là le double clique fonctionne)

sterile wraith
sterile wraith
#

Pour toutes les trads

wet talon
sterile wraith
#

With godot it runs smoothly on my Ubuntu, i'll try the verbose

polar cobalt
#

you could just take a godot steam binary and rename it to the name of your pck

#

im not sure though if your project is c#