Mod Installer

Discussion in 'Fallout General Modding' started by Wild_qwerty, May 1, 2007.

  1. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    Ever get sick of people asking you how to install your mod? Well if you use these program to generate an installer to do the work for you it makes the devilery of mods much easier and nicer.

    What you need:
    - Inno Setup - Setup Compilier
    - ISTool - Script Generator
    - A mod to package

    Waht it can do:
    - Delete Patch000.Dat file
    - Delete any existing Data folder
    - Install new Data Folder
    - Create Shortcuts
    - Generate uninstall file to remove your mod

    It's a freebie too, which is even better. I whipped up a package in no time for a mod and it works great. If you guys would find it usefull I could write a tutorial up at stome stage.
     
  2. jargo

    jargo Where'd That 6th Toe Come From?

    492
    May 25, 2003
    Yes Inno setup is very goos tool to creating installers.
    I used it for some of my projects like FSE.
    It can do everything what you need(rename/move/delete/create files/dirs etc).
     
  3. Cubik2k

    Cubik2k Where'd That 6th Toe Come From?
    Modder

    470
    Nov 22, 2005
    I used this tool for my item editor but the size of install file is increased, so not practical on slow internet connections
     
  4. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    Hey Guys,

    I've just finished making a new installer. The cool thing about the new one is that you can install your mod without doing anything to your other mods or the default install of fallout 2. You can play what ever you want just by clicking the correct icon in your start menu!



    Here's the technical break down for those of you interested.

    1) A patch for fallout2.exe is made with the "fallout patcher" that removes the city limit and changes the config file from "fallout2.cfg" to "modname.cfg" it also changes "patch000.dat" to "patchmod.dat" The file is called modname.exe and this file is used to run the mod.

    2) The installer copies this file into the fallout 2 folder

    3) The installer copies the mod files to into the fallout 2 folder, but instead of being names "data" the mod folder is called "moddata"

    4) The installer makes a copy of the fallout2.cfg file called modname.cfg

    5) The installer edits the modname.cfg file to look for the mods files in the moddata folder.

    6) A shortcut is placed in the start menu to the modname.exe file


    So when a player clicks on the normal fallout2 icon, everything runs like normal, but when they click on the mod icon your mod runs instead.

    Cool aye :)

    If you guys want I can upload a basic script for this or package your mods up for you
     
  5. Oracle

    Oracle Vault Senior Citizen

    May 19, 2003
    Frigging Great job Wild_qwerty!

    would it also be possible to play different mods together like Fame did? Sure.... some mods will conflict with each other but could it be made that you give priority to a mod that overwrites a mod a second one instead of crashing the game ?

    Anyways there are some mods I never played yet since I didn't want to mess up my modded fallout game. This will be useful!!!
     
  6. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    I going to start packaging up a couple of the main mods here such as kilaps fo2 patch and mibmega mod

    anyway if you have any requests please post them here and I'll package the mod up for you :)

    To be honest I'm not actaully sure where to download the mods from as I'm generally to busy moding to actaully play the game ;)
     
  7. killap

    killap Bear Dude Moderator Modder

    May 16, 2005
    I would appreciate that. Please hold out for a day or so though since I am releasing a final patch hopefully tomorrow.

    Thanks!
     
  8. Dude101

    Dude101 Vault Fossil
    Modder

    Aug 3, 2005
    That would be great, a repacked 2.1.1 megamod in an installer would really help the *EDIT* people out. it will make things alot easier, playing mutlipe copies of FO2 for different mods takes alot of my HD space, good work man.
     
  9. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    okay, can someone try this out and let me kno wif you want any changes:

    I can change pretty much anything, sorry about the icon, its a little crusty to be honest I'll see about improving it.

    *EDIT* - I've just updated this one
    http://rapidshare.com/files/35304580/Setup_MIB.exe
     
  10. Dude101

    Dude101 Vault Fossil
    Modder

    Aug 3, 2005
    Hey man, this is fantastic! It dosnt matter if it looks "crusty" which it dosnt IMO, it is very functional. I am sure the noobs will love this.
     
  11. MIB88

    MIB88 So Old I'm Losing Radiation Signs
    Modder

    Feb 22, 2005
    @wild_qwerty: Really cool that you are doing this. I commend you. Unfortunately, I am not in a position right now to see it for myself and test it out. Thanks.
     
  12. Wild_qwerty

    Wild_qwerty Sonny, I Watched the Vault Bein' Built!

    Feb 2, 2004
    Did you need a different version for each region? I can make a different installer for the US and the UK versions peice of cake, other langs could be tricky as the fallout 2 patcher only runs on the US/UK versions.

    Anyway, I think I found a bug in the version I uploaded yesterday. I'll upload the newest installer now.

    http://rapidshare.com/files/35497921/Setup_MIB.exe
     
  13. Lexx

    Lexx Testament to the ghoul lifespan
    Moderator Modder

    Apr 24, 2005
    A small tutorial for what-to-do would be nice too. I downloaded the programms, but... I don't know, what I have to do. :oops: