Jump to content


Photo

[SOLVED] BiG World Install.bat


  • Please log in to reply
8 replies to this topic

#1 Starbrow

Starbrow
  • Member
  • 7 posts

Posted 09 December 2011 - 06:06 PM

SOLVED - 'BiG World Install.bat' does NOT automatically download and install mods, as I mistakenly assumed, so if you don't wish to install a mod, rather than needing to modify the batch installer, simply don't download the mod! Also, for those confused, as I was for a bit, BiG World Fixpack =/= BG2 Fixpack. They are SEPARATE mods.



Due to lack of an updated BWP Setup, I'm stuck modifying the BiG World Install.bat manually, and it's confusing me to no end. It says, and I quote:

How to delete mods from the install.bat?

In both the Standard as the Expert version you can deselect mods just by typing "rem " before the mod without the quotation marks but with the space.

...but what lines specifically do I "rem "? There's no example to look at and learn from. If someone could show me how to do it to this section, I might be able to grasp the concept easier. Do I "rem " the whole mod section, or just particular line(s)?

%IFX% Call %INST% Oversight "0"
%.%
%.%
%.%3. NEJ | %M%
%.%
%.%
%IFN% BWP_CSharTeel %NTST% %IFXS%NeJ2.exe Call %INST% NeJ2Biffer "0"
%IFN% BWP_CSharTeel %NTST% %IFN2% %IFX% Call %INST% NeJ2 "0 7 8 9 10"
%IFN% BWP_CSharTeel %NTST% %IF2% %IFX% Call %INST% NeJ2 "0 1 7 8 9 10"

findstr /I /M "NEJ2.TP2~.*#.*#7" WeiDU.log
if %errorlevel%==0 (
%IFN2% Call %INST% BGTNeJ "0"
Call %INST% NeJ2v602 "0"
%IFN% BWP_CKeepYosh %IFS%TS-BP.exe Call %INST% NeJ2v602 "2"
copy /Y ".\%BWFP%\_override\NEJ2\*.*" ".\override" | %M%
%IFS%randomiser.exe copy /Y ".\NeJ2\NEJ-BIFF\override\obsdem01.cre" ".\override" | %M%
)
%.%
%.%
%.%4. BIG BG2 MODS | %M%
%.%
%.%


Edited by Starbrow, 10 December 2011 - 12:55 AM.

Posted Image

#2 Leonardo Watson

Leonardo Watson
  • Modder
  • 531 posts

Posted 09 December 2011 - 11:37 PM

If there is no NEJ2 (exactly setup-NEJ2.exe) in your SvA folder the install.bat skips the relevant lines. The other posibillity: just delete these lines from the install.bat

#3 Starbrow

Starbrow
  • Member
  • 7 posts

Posted 10 December 2011 - 12:29 AM

I realize the first point you made, and I could figure out the second, but more specifically, I'm talking about mods which would normally be installed in a Standard installation, such as Imoen Friendship vs Imoen Romance. As far as I can tell, one or both are included in a Standard installation (unless I'm confused and mis-reading the BATCH file), they're conceptually incompatible, and I'd pre-....ooooh, wait, I see. You mean to tell me that the BiG World Install does NOT download selected mods that are not already in the BGII - SoA folder?! Urgh, that's even more of a pain in the tush than BiG World Setup. Just so we're clear, I have to -MANUALLY- download each mod I want, extract it, and then try modifying and running BiG World Install.bat? Sounds like it might just be easier for me to update the BiG World Setup for v10.3, or revert to using BWS v9.10...in any case, I still can't get the Install to recognize BG2 Fixpack, for whatever reason. I have BiG World Fixpack v10.3.3 extracted to the proper folder, but BiG World Install.bat is looking specifically for BG2fixpack.exe, which isn't in the download at http://www.shsforums...ds&showfile=521.


EDIT: Annnnd, I'm a bubblehead. Just figured out that BiG World Fixpack and BG2 Fixpack are two different projects. >_< No WONDER I was having problems with that.

EDIT 2: Thinking about it some more, makes sense for it NOT to automatically download and install all selected mods, otherwise, anyone wanting a non-standard installation (such as myself) would need to remove those unwanted mods from the BATCH installer. Thanks, you solved my issue nicely, I believe!

Edited by Starbrow, 10 December 2011 - 02:01 AM.

Posted Image

#4 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 10 December 2011 - 01:31 AM

I have to -MANUALLY- download each mod I want, extract it, and then try modifying and running BiG World Install.bat?

Yes !
The BWS would have done all this were there have been the ability to maintain it, but it was shot down by faith.
And just do you know, the .bat file is a DOS operated program, that's the one before the Windows even existed. :P

Deactivated account. The user today is known as The Imp.


#5 Starbrow

Starbrow
  • Member
  • 7 posts

Posted 10 December 2011 - 01:42 AM

Tehehe, I know about BATCH files and MS-DOS. By Hanali, I was probably learning BASIC and beginner's .BAT files before you were born, on my old x286 / x386 systems, neither of which came with Windows. I later installed Windows 3.1 on the 386, though. :P I used to make simple games using the 10 / 20 / 30 line formatting and a bit of IF / THEN / GOTO statements. Sadly, I didn't see much need for continuing an education in BASIC / QBASIC / Visual BASIC at the time. If I had continued, I might have been able to figure this stuff out myself! :doh:

Anyway...so what exactly needs to be done to maintain the BWS, and how is it programmed? I might be willing to give a v10.3 update a try. Is the source available, or...? I do have some background with Ubuntu, so I'm not entirely unfamiliar with throwing together source and compiling it.

EDIT: Never mind, you're older than I am, but not by much  :blink: Anyway, if its just a matter of setting up download links in the BWS for each mod, I can probably host a few gigs of them myself and edit in the download URLs. Ubuntu One offers roughly...I think 50 GB right now of cloud storage, and its fairly cheap. I could easily maintain a full set of v10.3.3 mods, and perhaps update them all every, say...v0.5 or v1.0 of the BWP? Then we'd have semi-regular, semi-stable releases in a an easy-access place, without a need for worrying about whether or not a mod is missing or wrong version.

Edited by Starbrow, 10 December 2011 - 01:50 AM.

Posted Image

#6 dabus

dabus
  • Member
  • 1982 posts

Posted 10 December 2011 - 04:08 AM

Nobody wanted to maintain the BWS from here, there was a guy though that coded something with c#.net, but it seemed like he left after doing the download-part (which also needs links to be maintained) and release a beta which kind of modified the BiG World Install.bat.

On the other forum (which also hosts the link-list), a few guys try to program a web frontend to maintain the BWS.

If you think you only need to maintain download-links only, you either did not fetch all the information that's in the BWS or you got the older version (download-spot is owned by Leomar).
There's much more to do (infos about the mods, conflicts, dependencies, translations, components and so on).

If you want to edit the BWS, you already have the source in hands after you downloaded it.
The *.au3-files in there are script-files that are executed by AutoIt3, the interpreter.
All what it does is handled by files in the config-folder, which are text-files itself as you might have noticed, so no need to know about scripting itself.
You can see a documentation about how to do it in the docs-folder if you grab the 9.10 version (spot is owned by Leonardo).
You can do anything you want with it as long as it goes along with the GPL v2, so I guess you are pretty free.

The idea of hosting bundled mod-downloads was disliked by the owners of some mods who want to keep their mods in their control - update them and delete them if they want to. If you still want to try that, you'll have to argue with them.
(It's kind of the same problem as guys wanting to keep their NSIS-installers. ;) )
THINK! - It's not illegal.

#7 Starbrow

Starbrow
  • Member
  • 7 posts

Posted 10 December 2011 - 04:42 AM

Hmmm. A fairly large task altogether, to be sure. Out of curiosity, how is the compatibility data gathered and entered into the PDFs? Some way to get that data into the BWS, instead of just the PDF, would be nice. An ideal solution would be some way to directly integrate a BW PDF into the BWS, and have the BWS get its instructions from there, but I can think of no way to do that with a PDF. Rather than raw text, it would have to be in some form of readable table, like a spreadsheet, I suppose. That sort of thing might pay off in the long run, though. Then, you'd need only one version of the BWS, and to install a particular version of the BWP, you'd simply need the available links and the matching Big World data spread.

EDIT: I was actually too busy the last few hours to even download the BWS, and I never actually popped it open to look at its innards, which was why I was asking :P

EDIT 2: Actually, Javascript injection via PDF might work...though I'm not sure how well security programs would like that, and I'm less than a beginner with JS anyway.

Edited by Starbrow, 10 December 2011 - 04:45 AM.

Posted Image

#8 dabus

dabus
  • Member
  • 1982 posts

Posted 10 December 2011 - 07:46 AM

Leonardo writes the documentation in Quark Express - if I'm not mistaken - and does not want to use wikis and stuff. Export into OpenOffice works - at least that's the last info I got about both issues.

Leomar (who helped for 2 years or so) and myself tried to change the format to something readable when being converted to text, but that was not used (don't know why - never was involved in the creation of the PDF) and so I opted to use my own format (the batches were also some more "littered" at that time and didn't offer that much information about multiple-choice-components and component-based dependencies).
Doing some copy and paste to get the info about the mod is not too much work. But together with checking the changes in the BiG World Install.bat and the PDF and fetching download links and keep them up to date, see if new mods offer new stuff/conflicts/... piles up to be a bit of work though. ;)

Of course there was the idea to parse the batch but as Leonardo was adding new stuff constantly and wasn't too comfortable with changing stuff with/in the BWS, Leonardo kept the batch and I was kind of trailing his path.

Edited by dabus, 10 December 2011 - 07:51 AM.

THINK! - It's not illegal.

#9 disari

disari
  • Member
  • 55 posts

Posted 10 December 2011 - 11:48 AM

Well Dabus, whatever happened we miss you and we miss bws. I generally play through once a year since I have time during the holidays. I put it on my laptop for something to do at my inlaws... I get to play the new mods that came out in the last year as well as my old favorites. I am wading through the long version of installation.. It has been a major hassle.. Last year was much easier.. So know you and your fabulous creation are missed. I see by the boards here I am not the only one with this sentiment. Happy holidays to all Disari

Edited by disari, 10 December 2011 - 11:49 AM.