Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

A fix for the user agreement file is changing the code a bit, where it should look up the base folder of the game's executable, instead of the base folder. For example, to return the folder for saving that file, it could be like this:

return path.join(path.dirname(base), "UserConfig");

base (in this case) would be the executable (usually found with something like 

var path = require('path');
var base = path.dirname(process.mainModule.filename);

Send me a screenshot, when you are able to.