Saved Bookmarks
| 1. |
Solve : Need help with symbolic links!? |
|
Answer» Okay, so in a nutshell, I made a batch file that would rename .minecraft(minecraft's directory) to minecraft(3), then it would rename minecraft(2) to .minecraft, before renaming minecraft(3) to minecraft(2). This effectively allows me to, by the click of a mouse, switch between a modded game directory, and the regular version of the game. The modded directory is also a game version that has support for specific MODS, while the regular directory is the up to date version. But I have one remaining problem. Whichever directory I am playing with at the time of a save, holds the save files in a folder titled "saves", which it must be titled to in order for minecraft to find the saves. This means that the other directory will not have the world saved at the spot I left off in the current directory, so if I switch directories I'd have to copy the saves to the new one, which is about 90% of the space in the whole directory. This would make the batch file - which is basically just for convenience, sense I wouldn't have to copy files - pointless. So sense minecraft can't read a shortcut file(I tried putting a shortcut to one directories saves to the other, and retitled it from "saves - shortcut" to simply "saves"), I'm resorting to symbolic links. I'm trying to use a command line with the MKLINK command. But everytime I type in the link and the target, it tells me "Cannot create a file when that file already exists." I've never used this before, and seeing how the first time it was used it gave me this error, I obviously can't actually have the file. So I'm assuming there's something wrong with my command line, which is where I need some help. Here's my command line: C:\Users\Noah>MKLINK /J C:\Users\Noah\AppData\Roaming\minecraft(… C:\Users\Noah\AppData\Roaming\.minecraft… Legit is a folder, titled by minecraft when you create a world. So in other words, I have a world on minecraft named Legit, and in my saves folder, one of the folders is called Legit, and it contains the world's files. In case this is part of the problem, there IS another folder inside of the folder aswell. It is titled region, and contains more files(no folders). The folder in it's entirety contains 2 .dat files, a .lock file, a .settings file, and a folder containing 9 .mcr files. and as I said before, I'm GETTING the error, "Cannot create a file when that file already exists." Thanks for any help.Bump(not sure if I can bump my own thread) Quote from: Noahmcdx on November 21, 2011, 01:56:51 PM Bump(not sure if I can bump my own thread) You can, in the trivial sense that it is possible to for you to bump your own thread, but if you meant you weren't sure if it was good forum etiquette, the answer is "no it isn't". It really isn't. Bumping to raise your thread to the top of the recent posts list is seen as screaming for attention, and can DETER PEOPLE from answering, except in the MANNER of this post. If anyone (a) knows how to help you and (b) wants to, they will. using multiple MC versions in this manner only requires you to rename the minecraft.jar file. I've been doing that since around Beta 1.3 when I need to. Basically, I'd have a batch file for each version, which first copies minecraft.jar and VERSION files to backups, then renames a given file (like say Minecraft121.jar for Minecraft Beta 1.2_01, or Minecraft13.jar for 1.3, etc. to minecraft.jar, and another VERSION file to VERSION. Then it executes nlauncher (the new Minecraft Launcher) (using /wait if necessary) and afterwards it copies the backup files back. You could give this jar switcher a whirl, instead. http://www.minecraftforum.net/topic/514289-tool-minecraft-jar-switcher-and-backup-tool-v10/ |
|