Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Linux version hang on new game

A topic by HiNAv9sMmS created Apr 17, 2019 Views: 271 Replies: 4
Viewing posts 1 to 3

So I'm on Linux and when starting a new game it stops loading at 41% and the output in the terminal says:

Code:


SCRIPT ERROR: _process: Invalid call. Nonexistent function 'show_error' in base 'Node (LoadScreen.gd)'.   At: res://files/scripts/LoadScreen.gd:50.
SCRIPT ERROR: _process: Invalid call. Nonexistent function 'show_error' in base 'Node (LoadScreen.gd)'.   At: res://files/scripts/LoadScreen.gd:50.
SCRIPT ERROR: _process: Invalid call. Nonexistent function 'show_error' in base 'Node (LoadScreen.gd)'.   At: res://files/scripts/LoadScreen.gd:50.
SCRIPT ERROR: _process: Invalid call. Nonexistent function 'show_error' in base 'Node (LoadScreen.gd)'.   At: res://files/scripts/LoadScreen.gd:50.
SCRIPT ERROR: _process: Invalid call. Nonexistent function 'show_error' in base 'Node (LoadScreen.gd)'.   At: res://files/scripts/LoadScreen.gd:50.

Over and over again.
:(

  :(

same here :(

(1 edit)

These people seemed to have the same problem, seems to be some file discrepancies: https://itch.io/t/403045/linux-port-error
Seems they fixed it by downloading the windows version and using some files from it.

If you feel up to it, I'd like you to try something which may tell us exactly which file it's looking for. Open "files/scripts/Loadscreen" from the game files with a text editor and replace both "show_error()" lines with "print('Error loading resource: ' + str(path))". This will print the path of the resource it is looking for instead of calling a nonexistent function. You will probably still need to download the windows version for it's resources. But if you post what resources it prints out, it may help Maverik fix it. edit: spelling

Hello, I'm not the OP.

The script calls "show_error()" inside "func goto_scene(path)" and in "func _process(delta)". So replacing "show_error()" with "print('Error loading resource: ' + str(path))" inside "func _process(delta)" gives a parse error because there is no "path" variable. Please if you want your users to help you, at least provide correct instructions. Please understand that I'm saying this because most users are not programmers, so they can feel lost if they don't understand what's wrong.

Anyway, I replaced "show_error()" inside "func goto_scene(path)" with "print('Error loading resource: (path)' + str(path))" and "show_error()" inside "func _process(delta)" with "print('Error loading resource (delta): ' + str(delta))". Here the output:

ERROR: _load: No loader found for resource: res://files/buttons/sexicons/rope.png
   At: core/io/resource_loader.cpp:186.
ERROR: poll: res://files/interactionpanel.tscn:12 - Parse Error: [ext_resource] referenced nonexistent resource at: res://files/buttons/sexicons/rope.png
   At: scene/resources/scene_format_text.cpp:439.
ERROR: load: Condition ' err != OK ' is true. returned: RES()
   At: core/io/resource_loader.cpp:149.
ERROR: _load: Failed loading resource: res://files/interactionpanel.tscn
   At: core/io/resource_loader.cpp:186.
ERROR: poll: Can't load dependency: res://files/interactionpanel.tscn
   At: core/io/resource_format_binary.cpp:659.
Error loading resource (delta): 0.253009

I searched "rope.png" and found out that files/buttons/sexicons/rope.png.import was missing in the linux port. So I copied all the win64 content over the linux version and now it works.

My 2 cents

Sorry about that, that was lazy of me, I made a bad assumption. Seems only the first "show_error()" can easily be replaced, the second one just needs to be removed. The other one would take more work to get a path from.
I'm not a dev or part of the team, just another user that got tired of bugs and tried to help the devs fix them. I'll pass on your findings to an actual dev through Discord.