Author Topic: [FF7] Original and Outdated Tutorial - Bootleg Configurator  (Read 1447172 times)

StrayOff

  • *
  • Posts: 37
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #75 on: 2011-07-30 22:14:54 »
my fault. but i got the current prp version, just messed something up.
mhhh maybe i patched something wrong in char.lgp by using the manual version of bootleg a week ago
just hard to have an overview of ~400 models in this ;)

 i don't know how bootleg.exe setup looks like because it doesn't install on my system (i run it as admin and tried several params). it shows the bootleg logo in cmd and then it quits some seconds later. don't know what im doing wrong

if you are interested i could make an nsis installer for bootleg project in august or september. i earned much knowledge with this last weeks by making one for my personal purpose. it would be much more pretty with an installer/uninstaller and some checkboxes/live overview of "what does this f**king installer right now?", also including some system cleanup (delete old links)
« Last Edit: 2011-07-30 22:21:23 by StrayOff »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #76 on: 2011-07-30 23:08:41 »
I'm not sure if an NSIS installer would work.
Bootleg.exe is really just a .bat file that looks for each downloaded mod, extracts it from whatever archive, installs it and then applies some fixes I've made to get all of the mods working together.
Bootleg.exe won't do anything by itself.  You have to download all the individual mods into a single folder along with Bootleg.exe.  Then run Bootleg.exe as administrator.

NSIS would be awesome if I could rip all the individual mod pieces out and put them together in one setup file.  Alas, I don't have permission to do that.
Plus, this way if there is an update, one only need download the new mod and a small Bootleg.exe. 

I've considered creating a series of binary patches that would work well with NSIS.  But, if everything were together in one setup, it would be over 5GB.  Not to mention I wouldn't be able to advertise or discuss it here; I'm not authorized to redistribute the work of others!

Bootleg.exe tries to clean up after itself.  It uses the folder \Users\USERNAME\AppData\Local\Temp\Bootleg_Setup folder to store everything while it's running.
If you look in that folder while Bootleg is running, you can see all the extracted files.

Just to be clear, you have to download all of the listed mods into a single folder.  Place Bootleg.exe in that same folder.  Run Bootleg.exe as administrator.  The mod will tell you if it can't find one to the .rar, .zip, .7z or .exe mod files.

Bootleg.exe accepts command line switches.  If I had a pretty front end, it could launch Bootleg.exe with the appropriate switches.  VB or Java should offer a simple enough solution.  There are quite a few logic decisions, loops, unzipping, unrarring and various file operations going on while the Bootleg is running.  That stuff might be too cumbersome with NSIS.  Also, Bootleg.exe isn't installed to the FF7 folder.  It goes in the folder where the mods archives are stored.

The biggest obstacle to an NSIS installer is that one has to download each mod individually before Bootleg.exe will even work.  Does NSIS support dynamic linking so that it can download the mod files on the fly during installation?

You're right though.  I need something prettier than a blinking cursor for this installer!

-PitBrat

StrayOff

  • *
  • Posts: 37
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #77 on: 2011-07-31 09:29:22 »
Quote
Just to be clear, you have to download all of the listed mods into a single folder.  Place Bootleg.exe in that same folder.  Run Bootleg.exe as administrator.  The mod will tell you if it can't find one to the .rar, .zip, .7z or .exe mod files.
yes i did! word for word from readme.txt but it seems to be dislike me

i made my nsis installer with zip-extracting because my personal setup is over 5gb so i keep smaller zip files external from the nsis setup. that allows keeping the mods to their original archives and also allows the individual config of mods. the nsis setup should only contain the "patch engine" and an online updater, which would be no problem because nsis supports this on-the-fly-downloading wery well even with proxy - all as you mentioned.

i decided to make a little example installer for you during next 2 or 3 weeks -as you know a perfect mod needs much time ;) (don't have really much time because i am going to write a huge and hard test in university) if you agree ;-) just to show you what an nsis setup can do by installing one or two little mods to an lgp or something else by live downloading and/or using locally downloaded files + cleanup/system checks/...and so on
if it's going to be a good one maybe we could make up a bigger setup which contains the whole bootleg
« Last Edit: 2011-07-31 09:31:24 by StrayOff »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #78 on: 2011-07-31 17:57:16 »
The NSIS installer needs to launch the separate installers for each mod.
Extract the .rar, .7z or .zip; find and launch the .exe if it exists; wait for that mods proprietary installer to finish; copy the files to where they belong; and apply any fixes before continuing.
The trickiest part I've encountered so far is reading all the file names.
Some of the mods have single quotes, tons of spaces and even some foreign characters in the names.
A sparkly installer will be nice!

-PitBrat


pico

  • Guest
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #79 on: 2011-07-31 18:57:16 »
Hi PitBrat,

Thanks for making this much-needed program! However I am having some problems ...

I have downloaded all the files into the same folder with bootleg.exe. When I run it as administrator, I see the ASCII art flash briefly onscreen before the window closes. I am running Win XP Pro, do you have any idea why it might not be working for me?

The only thing I can think of myself is if a download for one of the numerous mods quit halfway-through or something like that. Would incorrect file sizes cause a problem with bootleg.exe?

Anyway, I have read through the readme and the thread here, and I think you may need to remove the "Millenia's Custom Weapons.exe" from the file listing below the download link for the bootleg, because it should be contained within cloudswords_installer.rar, right? Thank you.
« Last Edit: 2011-07-31 19:22:30 by pico »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #80 on: 2011-08-01 15:28:10 »
Bootleg runs on XP.

EDIT: An issue with Gjoerulvs' Hardcore Mod may prevent that installer from running on XP.  The Bootleg continue without the Hardcore Mod.

The file ff7102zx.zip must be in the same folder with Bootleg.exe.
You must already have a fresh install of FF7 to one of these folders:
    C:\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\
or
    C:\Program Files\Square Soft, Inc\Final Fantasy VII\

The Bootleg will NOT work if FF7 is installed elsewhere.

Thanks, I removed the extra file from the list.

-PitBrat
« Last Edit: 2011-08-01 15:34:48 by PitBrat »

pico

  • Guest
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #81 on: 2011-08-01 18:02:13 »
OK, well I have followed all these instructions to the best of my ability, but it still isn't working. There are some odd quirks with my machine though; there could be a problem on my end, for example with dual-booting and windows un-recognized drive partitions. Maybe I will try again when I get around to fresh-installing everything. For that matter, would your bootleg work under Linux?

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #82 on: 2011-08-01 23:18:01 »
The main engine behind the Bootleg is a .bat file.
Anything that supports a Windows NT or later CMD window should run the Bootleg.
The main requirements are:
    A fresh install of FF7 to the default location on the system drive
        .\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\
       or
        .\Program Files\Square Soft, Inc\Final Fantasy VII\
    The official 1.02 patch
        ff7102zx.zip

I'm currently implementing the ability to pass the FF7 installation directory as a command line argument.
That should allow support for non standard installations.

EDIT: Bootleg installs to a custom Final Fantasy VII install folder with the /D switch.  Bootleg searches for mods in the folders specified with the /F switch.
« Last Edit: 2011-08-03 13:07:10 by PitBrat »

shadowfox

  • *
  • Posts: 20
  • Hold My Beer
    • View Profile
    • Shadowfox Productions
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #83 on: 2011-08-01 23:47:07 »
Shadowfox,
I think the cause of the model glitches you're experiencing is most likely that you've added files that belong in high-us.lgp, world_us.lgp or flevel.lgp into char.lgp.

Thanks,
-PitBrat

I am thinking the same thing, I have been going over my install one step at a time and hadn't been checking back *chuckle*. I'm going to dump the install and start over with everything new from your new BAT. Unlike everyone else here though I have all of the original files now /wink  :)

Oh by the way I meant to ask; The install process has taught me ALOT about modifying the files in FF7, do you know of a complete list of file names for each character in battle and field files? This would help in identifying what needs to be fixed and pming/posting fixed files to be passed around to get it done faster.
« Last Edit: 2011-08-01 23:48:56 by shadowfox »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #84 on: 2011-08-01 23:58:59 »
I've tried the Bootleg on multiple machines here at home with no problem.  I believe the biggest hurdle is making sure every one of the mods is in the same folder as Bootleg.  And that each mod's file name remains unchanged from the original download.

The next release of the Bootleg (Beta 4) has fixes for Barret's flickering face and for the HQ Aerith flickering face.

I'm debating whether to release it tonight or hold off until I implement the ability to enter a different FF7 install path via the command line.

-PitBrat[/b]

shadowfox

  • *
  • Posts: 20
  • Hold My Beer
    • View Profile
    • Shadowfox Productions
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #85 on: 2011-08-02 00:01:55 »
I'm currently implementing the ability to pass the FF7 installation directory as a command line argument.
That should allow support for non standard installations.


ya know.... one of the things I hated most when I came to these forums first off was "your install HAS to be in the default...." I never asked why, I didn't care to know why, i still don't want to know why. I just hated it. I thought to myself wow this community is awesome, but we can't get out of the default install directory rofl.

sl1982

  • Administrator
  • *
  • Posts: 3749
  • GUI Master :P
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #86 on: 2011-08-02 00:06:53 »
Most mods that use nsis with my code or other similar code will install to any ff7 directory, wherever it is.

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #87 on: 2011-08-02 00:13:31 »
I use a single variable to store the FF7 install path, so it is simple to change.
I only enforced the default path to maintain compatibility with some of the older mods.
Here's a bit of the sloppy code.  This was a quick fix that I never intended to leave unchanged.
Code: [Select]
SET BootSource=%~dp0
SET BootlegTemp=%temp%\Bootleg_Setup\
IF NOT EXIST "%SystemDrive%\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\ff7.exe" GOTO x86
SET FF7Path=%SystemDrive%\Program Files (x86)\Square Soft, Inc\Final Fantasy VII\
GOTO BootlegBegin
:x86
IF NOT EXIST "%SystemDrive%\Program Files\Square Soft, Inc\Final Fantasy VII\ff7.exe" GOTO EndBootleg
SET FF7Path=%SystemDrive%\Program Files\Square Soft, Inc\Final Fantasy VII\
:BootlegBegin

I'm working on an NSIS installer for the Bootleg.
I'll have an NSIS front end ready before long.
I'd like to have it download missing mods on the fly during installation.

EDIT:I'm a bit stumped as to how to get NSIS to download a file from places like mediafire or google docs.

The Bootleg really doesn't install much.  It's a script that runs through all the other mods' installers in the most compatible order.
The only thing the Bootleg installs are the fixes required to make all the mods work together.

EDIT:Bootleg .0002 now installs to a non standard path using the /D"D:\Games\Final Fantasy VII" switch.  The only hiccup is that some mods require that you enter the correct FF7 install path.  Bootleg notifies you of exactly what path to enter.

-PitBrat
« Last Edit: 2011-08-02 04:06:26 by PitBrat »

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #88 on: 2011-08-03 03:35:19 »
Shadowfox,
This forum topic offers a nice listing of FF7 files: FF7 File Reconstruction Project
Here is a direct link to the spreadsheet: Excel Spreadsheet

I've updated the Bootleg with switches to change the install path (/D) and to add search paths for mods (/F).
I hope someone tries it and lets me know the results.

-PitBrat

shadowfox

  • *
  • Posts: 20
  • Hold My Beer
    • View Profile
    • Shadowfox Productions
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #89 on: 2011-08-04 07:54:19 »
Shadowfox,
This forum topic offers a nice listing of FF7 files: FF7 File Reconstruction Project
Here is a direct link to the spreadsheet: Excel Spreadsheet

I've updated the Bootleg with switches to change the install path (/D) and to add search paths for mods (/F).
I hope someone tries it and lets me know the results.

-PitBrat

OMG how did I not find this post :( My google fu sucks apparently. Thanks much appreciated yay!

Installer worked fine off the default will try a few different long named directories to try and screw it up

DarkFang

  • Pirate
  • *
  • Posts: 730
  • Ponies! <3
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #90 on: 2011-08-04 08:03:31 »
Here is a direct link to the spreadsheet: Excel Spreadsheet

This is excellent! This must have taken ages to make.

shadowfox

  • *
  • Posts: 20
  • Hold My Beer
    • View Profile
    • Shadowfox Productions
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #91 on: 2011-08-04 08:09:19 »
This is excellent! This must have taken ages to make.

yeah I was checking out the forum thread, i can't believe I never saw that thread. I need to go out and shoot myself, afk a bit....

StrayOff

  • *
  • Posts: 37
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #92 on: 2011-08-04 16:19:18 »
Quote
EDIT:I'm a bit stumped as to how to get NSIS to download a file from places like mediafire or google docs.
That could be solved by integrating this http://svn.jdownloader.org/projects/show/jd into setup. It would be a huge programming task to do but it should be possible. but i think it's easier to make some download container (as i did, look below) as  prerequirement for installing because there's the problem that often downloads aren't stable. Sometimes they get removed because hoster changes something, file is illegal or file wasn't downloaded enough.

The other possibility could be to host all the mods on one place. Im not sure if somebody of the qhimm modders really set up a copyright to his project (i can't imagine). so making ff7 more beautiful it would be common sense to host them up on one source right?

sl1982

  • Administrator
  • *
  • Posts: 3749
  • GUI Master :P
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #93 on: 2011-08-04 21:37:31 »
Pitbrat:

This is a nsis function that will enable you to download files off the 'net.

http://nsis.sourceforge.net/Builtin_NSISdl_plug-in

Covarr

  • Covarr-Let
  • Administrator
  • *
  • Posts: 3938
  • Just Covarr. No "n".
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #94 on: 2011-08-04 22:02:22 »
Pitbrat:

This is a nsis function that will enable you to download files off the 'net.

http://nsis.sourceforge.net/Builtin_NSISdl_plug-in
It won't work with sites that give some sort of a confirmation screen, such as MediaFire; you need to be able to download directly. Some file hosting sites give this feature with paid accounts.

FileDen allows direct linking, and up to 5GB total transfer per month on a free account; this is probably not enough for what you're doing, though.

StrayOff

  • *
  • Posts: 37
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #95 on: 2011-08-04 22:35:54 »
The problem are the captchas, the password requests, ... on those websites. nsis only won't work. so you need a tool executing on installation performing the download like jdownloader program. something like that could work with an nsis execution.

i also searched something like a share hoster link converter but i think there's nothing in the net

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #96 on: 2011-08-04 23:56:17 »
Is it possible with NSIS to create a list of up to 5 radial buttons; when the user selects one button, the other 4 are deselected and an image is displayed?

That would make choosing between variations easier when starting a Bootleg install.

I'm updating Bootleg with the ability to read from an .ini file.
This will allow more control over mod file names and paths.
I've also considered adding download locations to the .ini.
The installer can update the .ini file to keep current with changing download links.

It would be nice to distribute everything as one package.  A torrent is the only feasible method of distributing a 6.5GB package though.

-PitBrat

CGalaxy

  • Guest
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #97 on: 2011-08-05 00:06:41 »
After having a ton of problems with the world map textures from the remix installer, I decided I'd give this a shot. I have all of the necessary files downloaded into the Bootleg folder, including bootleg.exe and the 1.02 patch. Bootleg.exe starts up okay, asking me about what patches to install. But then when it goes to install the 1.02 patch, it says the patch is missing and that I need to start over. I'm not sure what the issue is, since the patch is there. I downloaded the 1.02 zip file from the link Pitbrat posted, and I also tried one that I found elsewhere, but the result was the same.

Any ideas? Thanks!



StrayOff

  • *
  • Posts: 37
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #98 on: 2011-08-05 01:01:50 »
downloading torrents also require external programs as the installer itself. maybe we could push the mods to something like this: http://kiwi6.com
it's a hoster with direct linking and unlimited traffic

Quote
Is it possible with NSIS to create a list of up to 5 radial buttons; when the user selects one button, the other 4 are deselected and an image is displayed?
sure it's possible - i didn't try this but it seems to be an easy one:
http://nsis.sourceforge.net/RadioButtons

PitBrat

  • *
  • Posts: 1376
  • Change to feed the machine.
    • View Profile
Re: [Tutorial] Bootleg Edit for the FFVII Remix 2.5.1
« Reply #99 on: 2011-08-05 01:03:56 »
CGalaxy,
What version of Windows are you using?

This version of Bootleg requires Windows NT with all the services packs or a newer version of Windows.