If you do not receive your verification email after registering, please check your spam folder. You can also get in contact with us via other methods.
Если вы не получили письмо c подтверждением регистрации, пожалуйста, проверьте папку спам. В случае отсутствия письма и там напишите нам другим способом.

[OS X] Invalid Launch Directory Error

Any non-technical Umineko-related stuff.
Всё что угодно на около-Umineko-подобные нетехнические темы.
Post Reply
backstagehands
Posts: 3
Joined: 02 Jun 2019, 06:17
Gender: Female

[OS X] Invalid Launch Directory Error

Post by backstagehands » 02 Jun 2019, 06:31

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 291 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.

backstagehands
Posts: 3
Joined: 02 Jun 2019, 06:17
Gender: Female

Re: [OS X] Invalid Launch Directory Error

Post by backstagehands » 02 Jun 2019, 09:36

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...

User avatar
vit9696
Администратор
Posts: 1533
Joined: 24 Feb 2015, 00:48
Gender: Male

Re: [OS X] Invalid Launch Directory Error

Post by vit9696 » 02 Jun 2019, 13:55

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

backstagehands
Posts: 3
Joined: 02 Jun 2019, 06:17
Gender: Female

Re: [OS X] Invalid Launch Directory Error

Post by backstagehands » 03 Jun 2019, 00:02

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!! 🙇

Post Reply