16
Suggestions & Requests / Re: Better folder structure
« on: January 06, 2010, 05:07:20 PM »Because you're doing to have to define a "base path" for the config files to go in AppData and the add-ons and saves to go in the User folder or wherever. You're then going to have to go and find every reference to these file paths and add this "base path" to it. You're then going to have to go and modify how the Resource Manager works which is a nightmare to change anyway, so that the engine knows the files exist. You then have to hack up the existing security that prevents external folder access and allow it only access to the two base paths you defined.Ok, riddle me this. Why weren't all these paths that need to be modified loaded from some central location? If all the strings are hard coded, that sounds like a nightmare in itself. Global_Paths_Addons, Global_Paths_InstalledFolder, etc would have been easier to manage from the beginning.
Sounds like a mess to me.
Also, would a project wide find-replace not work on all the paths? Since strings are double quoted, you wouldn't have to worry about accidentally replacing something that shouldn't have been modified.
As for your mention of the resource manager, are you telling me that the files are not loaded by string name?
You edited your post after I began replying. I've never written a game using a prebuilt engine. I've always written mine from scratch, the few that I've written. I don't write things as simple as a notepad. And Visual Basic sucks, I don't use it.