Page 1 of 1

[OS X] Invalid Launch Directory Error

Posted: 02 Jun 2019, 06:31
by backstagehands
Hello! I just did a fresh download for Umineko Project for OS X (not upgrading from a previous version, just grabbed all the files new yesterday), but trying to run the engine gives me an Invalid Launch Directory error. It seems like this is usually because of the missing default.cfg, but I seem to have that file and most the other relevant ones in the directory so I'm unsure what is causing this T__T

I did my extraction for all the resource folders and scripts, then overwrote with Chiru files, then overwrote with the Extra files.
c097c5980c88e54496b2043e73c32efa.png
c097c5980c88e54496b2043e73c32efa.png (620.23 KiB) Viewed 7456 times
Sorry for the trouble but if anyone would be able to help I would be eternally grateful > < ! I'm running OSX 10.14 at the moment, let me know if more specs would help.

Re: [OS X] Invalid Launch Directory Error

Posted: 02 Jun 2019, 09:36
by backstagehands
I realized I am missing an ons.cfg file that most other players here seem to have, but for the life of me can't figure out where it is on the current downloads page– apologies if I'm missing something painfully obvious...

Re: [OS X] Invalid Launch Directory Error

Posted: 02 Jun 2019, 13:55
by vit9696
Hello,

I have just checked the macOS version, and it worked fine for me.

On the good side, I do not see any immediate issue with how you placed the files, and it is actually the same way for myself. default.cfg is used to generate ons.cfg once you set the game preferences, so it is actually expected for this file to not exist before running the game, no worries.

I think the case for this error on macOS can be related to macOS quarantine. If the initial .7z file was flagged as externally downloaded, and that flag was not unset by the program you extracted the app with, then ONScripter-RU may not be able to determine the directory it works from. To fix this open Terminal and enter the following command:

Code: Select all

xattr -cr <drag & drop onscripter-ru app here>
Afterwards the game should launch fine. In case it does not, check the contents of default.cfg file with any text editor of your choice, it should look as follows:

Code: Select all

game-script=en.file
window-width=1280
scale
Vit

Re: [OS X] Invalid Launch Directory Error

Posted: 03 Jun 2019, 00:02
by backstagehands
Oh, yep, running xattr that did fix it! I used the Unarchiver which was probably not unsetting it– all works now. Thanks so much for the help Vit!! 🙇