Is there any way to create folder with event, command, plugin
Is there any way to create folder with event or command?
RPG Maker MV SupportDo you want to create folders on your disk/game project directory while playing? What is your plan?
i would like on disk
Here's a nice tutorial about Node/JavaScripts fs library: https://www.w3schools.com/nodejs/nodejs_filesystem.asp
You can call custom code via event tab 3 -> Script.
Remember: As soon as you type
You can call custom code via event tab 3 -> Script.
Remember: As soon as you type
require('fs') (or require with any other argument), your game will no longer be playable as a browser game because a browser game cannot simply read or write from/on your disk.Also, the obligatory "consider what you're doing" post.
If you simply need a folder in the game directory that isn't a part of what RPG Maker creates, you can just put it there in the deployed game directory before distributing the game.
If you're considering doing this to make folders in other locations on the player's computer, many people would consider that inappropriate behavior and will delete your game.
If you simply need a folder in the game directory that isn't a part of what RPG Maker creates, you can just put it there in the deployed game directory before distributing the game.
If you're considering doing this to make folders in other locations on the player's computer, many people would consider that inappropriate behavior and will delete your game.
Well it is not uncommon for an app to save data in your user profile directory.
Because in the old days apps are installed in program files folder and they may not have write access to the files in that folder.
nodejs.org
Because in the old days apps are installed in program files folder and they may not have write access to the files in that folder.
OS | Node.js v26.10.0 Documentation
Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-way-to-create-folder-with-event-or-command.171857/