Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

This sucks so much! I’m currently working on finding out why certain computers aren’t loading the game 💔 When I find the error I’ll make a dev log post and update the game! For now, I can only suggest updating graphic drivers or trying a different computer 😔🩷

(2 edits) (+2)

Hi, I think I found the problem and fixed it on my end. 

I’m on macOS and the game crashes on launch with

OverflowError: can't convert negative value to unsigned int 

The traceback points to: 

renpy.display.presplash.start → pygame.display.Window

It seems to be related to Ren’Py’s presplash window creation on macOS, where a negative window size/position is being passed to pygame, so this looks like a build-specific issue.

The way I fixed it is that I disabled the presplash entirely by adding an early return in Ren’Py’s presplash.py

After doing this and deleting the compiled cache file, the game launches fine and I’ve been able to play with no problems so far. 

(+1)

Thank you!! I’ll look into this and give an update once I do!! This helps a ton and hopefully I can get it fixed!

Anyway you can explain how to fix it? I've been trying all night. 

(+6)

1) open terminal. (Mac)

2) run:    nano ~/Desktop/YourAfflictionLesterDiaz.app/Contents/Resources/autorun/renpy/display/presplash.py

(You should see the file text and, at the bottom, the nano menu like: ^G Get Help ^O WriteOut ^W Where is ^X Exit.)

3) press Control W. 

( At the bottom it will say something like: Search:)

4) run:   def start( 

then press enter.

5) under the line    def start(basedir, gamedir):  

add    return

PS: This is the correct code should look like: 

def start(basedir, gamedir):

    """

    Called to display the presplash when necessary.

  """

    return   # <-- ADD THIS LINE (four space before the word) 

        if "RENPY_LESS_UPDATES" in os.environ:

        return

    foreground_fn = find_file("presplash_foreground", root=gamedir)

6) save the file: Control + O

At the bottom, nano will show: File Name to Write: presplash.py

Press Enter to save the file.

7) Exit nano: Control + X

8) Delete the cached bytecode so Ren’Py uses your edited file:

run:   rm -f ~/Desktop/YourAfflictionLesterDiaz.app/Contents/Resources/autorun/renpy/display/__pycache__/presplash.cpython-312.pyc

9) launch the game 

cd ~/Desktop/YourAfflictionLesterDiaz.app/Contents/MacOS && ./YourAfflictionLesterDiaz

Let me know if you have questions, happy to help! 

Deleted 10 days ago
(+2)

You are a goddess! Thank you so much. I'm so new to this i screwed it up so many times, but it's finally working!

(+1)

dear god, can i just pay you to do it on my laptop for me lmaooo?

(+1)

It worked perfectly. Super clear and easy to follow.

Thank you so much for sharing this tutorial!( ¯꒳¯̥̥ )♡