Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Wondering if next version of game, the "open mod folder" button could be updated to create the folder if it's missing?

Edit: I also found that the button doesn't even work, as it tries to run OS.shell_open with the user:// path, and that function doesn't auto-resolve the user:// part, it wants an absolute path on the system, did the following:

func _on_openmodfolder_pressed():
var dir = Directory.new()
dir.open("user://")
dir.make_dir("mods")
OS.shell_open(modfolder.replace("user:/", OS.get_user_data_dir()))