Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

r3drooster

5
Posts
1
Following
A member registered Oct 06, 2015

Recent community posts

Turns out there was one last issue:

https://github.com/renpy/renpy/issues/1326

It seems that by default, there's an issue with how macOS deals with file attributes. I followed the terminal command to clear the folder attribute for it to launch, otherwise it crashes upon launch.

If you're able to do that before distribution, that should help with this last problem. Otherwise I can provide a zip with my modifications so that you can distribute that version.

Ah, it's simpler than I thought.

Could you try exporting via the "Windows, Mac, Linux for Markets" option? That should result in the appropriate file structure for this to work.

Giving a quick update: this is going to be slightly more complicated than I thought.

I'm assuming you're working off of the code that was provided from this Reddit thread: https://bit.ly/2Hsdp1d

If so, then the big thing to figure out is how to replicate the file structure of Doki Doki Literature Club (DDLC). As it currently stands, that piece of code will try to look inside the .app file for the Mac, whereas you want the file to be generated on the same level as the .app file. This means that you'll want to replicate the file structure of DDLC. A quick examination on Steam shows that it packages a .app file separately from the rest of its scripts and resources, so that way basedir will be able to find the .app file. Maybe someone who is more proficient with Ren'py can help with this, as it seems like a potential paradigm that can be repeated for file distribution. Otherwise, I'll try taking a stab at this later.

Willing to help test/debug. Quick search yielded this GitHub issue that might help:

https://github.com/renpy/renpy/issues/266

I'll try to reproduce with a renpy snippet when I get to a computer.

Letting you know that this isn't working properly on my Mac right now. How are you writing the file for the manual? Trace:

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 663, in <module>
IOError: [Errno 30] Read-only file system: u'/private/var/folders/q1/k2j0gk697bsc6l40b9_1c9wr0000gn/T/AppTranslocation/B1AA84AA-2100-447D-864C-0323C06653E2/d/Spectra.app/Contents/Resources/autorun/CONSOLE_manual.txt'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "script.rpyc", line 661, in script
  File "/private/var/folders/q1/k2j0gk697bsc6l40b9_1c9wr0000gn/T/AppTranslocation/B1AA84AA-2100-447D-864C-0323C06653E2/d/Spectra.app/Contents/Resources/autorun/renpy/ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/private/var/folders/q1/k2j0gk697bsc6l40b9_1c9wr0000gn/T/AppTranslocation/B1AA84AA-2100-447D-864C-0323C06653E2/d/Spectra.app/Contents/Resources/autorun/renpy/python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 663, in <module>
IOError: [Errno 30] Read-only file system: u'/private/var/folders/q1/k2j0gk697bsc6l40b9_1c9wr0000gn/T/AppTranslocation/B1AA84AA-2100-447D-864C-0323C06653E2/d/Spectra.app/Contents/Resources/autorun/CONSOLE_manual.txt'

Darwin-17.7.0-x86_64-i386-64bit
Ren'Py 7.0.0.196
Spectra 1.0
Sun Mar 10 16:41:54 2019
[/code]

I've tried to move the folder to various locations on my computer, but it seems that it's always trying to write to the path above.