Including FileUtils in project

I've never liked writing functions for working with files and directories manually and want to just use FileUtils.


What is a good way to organize a project to include this extra library?


I would like a standard place where people put extra libraries. System folder?
You can create a scripts folder directly on the same directory as your game's main executable. By default, this location of the game's executable is included in the $LOAD_PATH variable, and you can load files using the require statement. So what I would do is include an external lib directory in your project path, and include any files that might go with your game. I'm not entirely sure how this plays out if you package your game, but this works at least for development.
Thanks, I wasn't sure what to search for but it was the $LOAD_PATH that I needed.


I have just done some quick tests and like the results.


I'm planning on using the System folder as the main library folder since the RM devs decided to stick their DLL in there.
I've never liked writing functions for working with files and directories manually and want to just use FileUtils.

What is a good way to organize a project to include this extra library?

I would like a standard place where people put extra libraries. System folder?
I wouldnt use extra libraries only because it adds more to the project and with some people complaining that 100mbs is too big for a game......
No one's going to complain about an extra 10 KB when they're already downloading 100 MB.


That's a questionable reason to not use external libraries.
100mbs too big for a game in general? A lot of games I see nowadays are at least 10GB...

anyway, better put it on the System folder... that looks like a nice idea...
No one's going to complain about an extra 10 KB when they're already downloading 100 MB.

That's a questionable reason to not use external libraries.
it is when I try and keep the download size small. 
Targeting script files that are less typically less than 10 KB is not really the first things you should be trying to optimize when it comes to file size.


I wouldn't mind inflating the size of my project by 100 KB if it means saving me weeks of coding things that already exist.

Original thread: https://forums.rpgmakerweb.com/threads/including-fileutils-in-project.16236/