Two projects using same data folderMonkey Forums/Monkey Beginners/Two projects using same data folder
| Is it possible for two, for example, HTML5 projects to use the same data folder?|
For example, It's quite annoying having one folder for the editor and one for the actual game and both basically containing the same files.
| No, not possible. |
| It's possible if to change transcc.monkey before or load data files from custom folders in the one of project |
| Creating a symlink should do it |
| Ah yes, good idea ziggy! |
| As Nikolay stated, yes it is possible, but you need to alter MonkeyX's trans code. |
| I've answered this question so many times, but here we go again:|
Go look for a symbolic linking tool for your OS. (For Windows, there's 'Link Shell Extension')
That's the only nice way of doing it, otherwise you'll have to modify Monkey's compiler (Known as 'transcc' internally, and 'Trans' externally). I normally use symbolic-links for STDCPP (C++ Tool) projects which rely on the 'data' folder. This is useful when writing dedicated servers and the like, especially when you rely on the same code-base for the server and your normal game.
And in case you're looking for version control, click here.