The programmer can say Give me the current users data folder and I'll save the files in there. Referencing files using Special Folders makes more sense. Its possible that a user would delete this folder by mistake or an upgrade might wipe it all together. If the Minecraft programmers used a specific folder path then they would have to create that folder during the install. As we all know, each version of Windows has its own file structure and these change as each new version comes out. This technique makes it easy to store files such as Saved Games in a place relevant to the currently logged on user and independent of the operating system version. Special Folders provide a layer of abstraction that programmers can reference instead of referring to an absolute folder path. Windows Special Folders Before we go into the details we take a look at Windows Special Folders and explain what they are and why programmers prefer to use them. We cover both instances here and point you in the right direction. However Windows can make it a little tricky to it and lots of people get lost along the way! Also remember that the Minecraft Save Game files are in a different place on the MAC. Minecraft saves all save game files in a common folder on your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |