{"action":"created","issue":{"url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/17","labels_url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/17/comments","events_url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/17/events","html_url":"https://github.com/Nooskewl/monster-rpg-3/issues/17","id":101136064,"number":17,"title":"Can't run Nooskewl_Runner outside of its directory","user":{"login":"ecj2","id":7719836,"avatar_url":"https://avatars.githubusercontent.com/u/7719836?v=3","gravatar_id":"","url":"https://api.github.com/users/ecj2","html_url":"https://github.com/ecj2","followers_url":"https://api.github.com/users/ecj2/followers","following_url":"https://api.github.com/users/ecj2/following{/other_user}","gists_url":"https://api.github.com/users/ecj2/gists{/gist_id}","starred_url":"https://api.github.com/users/ecj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecj2/subscriptions","organizations_url":"https://api.github.com/users/ecj2/orgs","repos_url":"https://api.github.com/users/ecj2/repos","events_url":"https://api.github.com/users/ecj2/events{/privacy}","received_events_url":"https://api.github.com/users/ecj2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-15T03:32:05Z","updated_at":"2015-08-15T17:08:35Z","closed_at":null,"body":"It fails to load libNooskewl_Engine.so if executed outside of its directory. I'm not sure how it works in SDL, but prepending the game path to resources would likely fix this issue."},"comment":{"url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/comments/131401054","html_url":"https://github.com/Nooskewl/monster-rpg-3/issues/17#issuecomment-131401054","issue_url":"https://api.github.com/repos/Nooskewl/monster-rpg-3/issues/17","id":131401054,"user":{"login":"ecj2","id":7719836,"avatar_url":"https://avatars.githubusercontent.com/u/7719836?v=3","gravatar_id":"","url":"https://api.github.com/users/ecj2","html_url":"https://github.com/ecj2","followers_url":"https://api.github.com/users/ecj2/followers","following_url":"https://api.github.com/users/ecj2/following{/other_user}","gists_url":"https://api.github.com/users/ecj2/gists{/gist_id}","starred_url":"https://api.github.com/users/ecj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecj2/subscriptions","organizations_url":"https://api.github.com/users/ecj2/orgs","repos_url":"https://api.github.com/users/ecj2/repos","events_url":"https://api.github.com/users/ecj2/events{/privacy}","received_events_url":"https://api.github.com/users/ecj2/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T17:08:35Z","updated_at":"2015-08-15T17:08:35Z","body":"I understand. I still think Nooskewl_Runner should be able to be executed outside of its own directory and run without issue. Even if the game is under `/home/eric/mo3`, and the CWD is `/home/eric`, if I were to execute `./mo3/Nooskewl_Runner` from a CLI, it would still fail. Likewise, if I execute Nooskewl_Runner within its own directory from a file manager, it fails. So in other words, it only works if run within its own directory from CLI.\r\n\r\nFor ease of use, executing the binary from a GUI should work at least."}}