Hi,
upon installing, I found 3 relative filepaths within the index.js file (something like "./server/foo/bar/") which should be replaced by paths including the __dirname, as it has been done on several other occasions within the index.js file.
Without this modification, calling the index.js file from any other place than the LD-ToyPad-Emulator-Directory won't work, which makes autostarting the node a pain in the ass.
With this modification, it's very easy to setup a autostart routine using the pm2 command set, which is neat, because now your emulator will start as soon as you turn on your console (also, I personally think it's just not very good style to use relative filepaths).
Maybe someone can adjust those three lines.
Nevertheless, great work, thank you to everyone who has contributed to this, works like a charm.
Hi, upon installing, I found 3 relative filepaths within the index.js file (something like "./server/foo/bar/") which should be replaced by paths including the __dirname, as it has been done on several other occasions within the index.js file. Without this modification, calling the index.js file from any other place than the LD-ToyPad-Emulator-Directory won't work, which makes autostarting the node a pain in the ass. With this modification, it's very easy to setup a autostart routine using the pm2 command set, which is neat, because now your emulator will start as soon as you turn on your console (also, I personally think it's just not very good style to use relative filepaths).
Maybe someone can adjust those three lines.
Nevertheless, great work, thank you to everyone who has contributed to this, works like a charm.
Best regards
Benny