Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So I've followed the install instructions, but when I go to launch the new project, it crashes and I see a text file with the following:

I'm sorry, but an uncaught exception occurred.

While loading the script.

  File "game/options.rpy", line 40, in <module>

    define config.save_directory = Starcrossed

NameError: name 'Starcrossed' is not defined

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

Full traceback:

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\bootstrap.py", line 359, in bootstrap

    renpy.main.main()

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\main.py", line 455, in main

    renpy.game.script.load_script() # sets renpy.game.script.

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\script.py", line 359, in load_script

    self.load_appropriate_file(".rpyc", [ "_ren.py", ".rpy" ], dir, fn, initcode)

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\script.py", line 957, in load_appropriate_file

    self.finish_load(stmts, initcode, filename=lastfn) # type: ignore

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\script.py", line 602, in finish_load

    node.early_execute()

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\ast.py", line 2199, in early_execute

    value = renpy.python.py_eval_bytecode(self.code.bytecode)

  File "C:\Users\aepal\Downloads\renpy-8.2.1-sdk\renpy\python.py", line 1202, in py_eval_bytecode

    return eval(bytecode, globals, locals)

  File "game/options.rpy", line 40, in <module>

    define config.save_directory = Starcrossed

NameError: name 'Starcrossed' is not defined

Windows-10-10.0.19045 AMD64

Ren'Py 8.2.1.24030407

Starcrossed 

Fri May 29 14:56:54 2026

(+1)

The game directory needs to be in quotes! So, define config.save_directory = "Starcrossed" but specifically I really recommend you add some random numbers like define config.save_directory = "Starcrossed-023894873" because this is a folder that's gonna live on every person's computer who installs your game, and you want to guarantee it's unique.