waysgasil.blogg.se

Lugaru mods
Lugaru mods













lugaru mods lugaru mods

# Now move the main game and its save files back # Set everything back up so that the game can run. # Make the saves directory if it doesn't exist already, and copy over the save files if they exist. Shutil.move("./tocopy/Textures/"+f,"./Data/Textures/") Shutil.move("./tocopy/Campaigns/"+f,"./Data/Campaigns/") If os.path.isfile("./Data/Campaigns/"+f): # Sorry, but I couldn't figure out how to make python copy everything.yet.

lugaru mods

# If you picked an actual mod, copy over the contents of Campaigns, Maps, and Textures. Print " other than a number will cause the mod manager to fail." Print "Please pick which mod you would like to load. # If for some reason the Data folder already existed in the Mods folder, assume the script crashed and # If the file in question is already in the save folder, delete it if it's in the data folder. # This will make the necessary folders if they don't already exist. # Don't forget to move the saves to the saves folder. # Copy over the Data folder if it isn't already in the Mods folder. # Create the Mods dir if it doesn't exist # Don't edit anything below this unless you know what you're doing. # For Mac, I believe that it's the same as linux, but I do not know for sure. # For Windows users, it should be Lugaru.exe. # IMPORTANT!!!! MAKE SURE THAT THE VARIABLE BELOW IS THE PROPER COMMAND TO LAUNCH LUGARU FROM THE DIRECTORY CONTAINING THE EXECUTABLE. # Chances are that the author, through no fault of his own, didn't have everything packaged just right for this script to work. # One final note: If for some reason a mod doesn't work right, such as textures not working right, check the mod folder's structure. # I am unsure about other Linux Desktop Environments or Mac. In Linux w/Gnome, you can tell it to run in terminal when you launch it. # When you run this script, you'll need to run it in a console or terminal window, or else it will hang. If you can do a better job, please correct me. If you don't know what I mean, then I'm sorry that I'm horrible at # be in the directory directly below the main mod's folder. # That means that any the mod's textures folder (which would have its contents copied into Data/Textures) should be named Textures and # For the mod folders, make sure that the contents of the folder are in the same directory structure as the main data folder. # Place all of the mod folders in this directory. # When first ran, this script will create a Mods directory if it isn't present. # This script should be placed in the main Lugaru directory # READ THROUGH EVERYTHING AND FOLLOW ALL INSTRUCTIONS UP TO THE LINE I MADE # through the use of this script, even though no damage should be inflicted at all. # Neither iLag nor any other contributor is responsible for any damage which might be inflicted upon your computer Windows Support (and a grammatical error) fixed by Xuor Just make sure to follow the directions at the top of the file and to start out with a clean Data file.Īll listed updates are already put into the main script. Copy and paste the following text into a text file with an extension of.

lugaru mods

So, if for some reason something goes wrong, I'm not responsible.Īnyway, here is the script. There's always a chance that something can go wrong, especially if you're running Windows or Mac, as I have not tested this script on either operating system. I have tested this script and it SHOULD work. You can get it here if you don't have it, but make sure to get the 2.6 version, as I have not tested it on version 3. You will need to download the python interpreter for this to work. I've made a basic mod manager for Lugaru, and I'm releasing it here. It's probably some really simple thing that I haven't realized yet, but that's beside the point. My mod manager is programmed in python, so that it's cross-platform, there's no compiling because it's an interpreted language, and because I can't for the life of me figure out how C even works. Keep in mind that I'm not a very good programmer, but I at least know something. After corrupting my Lugaru install after trying out several mods, I thought, "somebody needs to make a mod manager for this awesome game." So I volunteered myself made one.















Lugaru mods