Potential trouble for auto-update
#1 -jcompton-
Posted 08 September 2003 - 02:10 PM
Now, I can solve this problem by obtaining a touch-like tool, but unfortunately the bigger problem here would seem to be that a mod user who has a lesser WeiDU update occur at any time between the release of that mod and the time of install is going to be "stuck" with an earlier version of WeiDU.
#2 -jcompton-
Posted 08 September 2003 - 02:17 PM
To amuse myself I re-copied Setup-KelseyTOB.exe (WeiDU 135) from my development drawer into the BG2 dir, overwriting Setup-KelseyTOB.exe (WeiDU 134.)
This was the result. As you can see, WeiDU 135 is still replacing itself with WeiDU 134, it's doing so twice, and now it's running the wrong TP2 to boot.
[D:\games\bg2\Setup-KelseyTOB.exe] WeiDU version 135
Newest WeiDU is [Setup-GBThfKp.exe], updating!
Copying [Setup-GBThfKp.exe] -> [Setup-GBThfKp.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-FWKetoDEV.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-ElvenResizer.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Ascension.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-oasis.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-NPCFlirt.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-natlia.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-LMA.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-KelseyOPC.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Kelsey104.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Kelsey.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-katiemod.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-josh.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-ItemUpgrade.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-IronGhrey.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-IronCuv.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-ict.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-GRoA.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Valen.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Tactics.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-StJo2.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-StJo.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Solaufein.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-simebanters.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-replacetriggerlehtin.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Player1Test.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Oversight.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-lilith.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-KizIM.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-KelseyLoopKill.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-Ease.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-DungeonBeGone.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-CWS.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-circle.exe]: true
Copying [Setup-GBThfKp.exe] -> [setup-bantergoose.exe]: true
Copying [Setup-GBThfKp.exe] -> [Setup-AshesofEmbers.exe]: true
[Setup-GBThfKp.exe] WeiDU version 134
Newest WeiDU is [Setup-AshesofEmbers.exe], updating!
[Setup-AshesofEmbers.exe] -> [Setup-AshesofEmbers.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Oversight.exe]
[Setup-AshesofEmbers.exe] -> [setup-lilith.exe]
[Setup-AshesofEmbers.exe] -> [Setup-KizIM.exe]
[Setup-AshesofEmbers.exe] -> [Setup-KelseyLoopKill.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Ease.exe]
[Setup-AshesofEmbers.exe] -> [Setup-DungeonBeGone.exe]
[Setup-AshesofEmbers.exe] -> [Setup-CWS.exe]
[Setup-AshesofEmbers.exe] -> [setup-circle.exe]
[Setup-AshesofEmbers.exe] -> [setup-bantergoose.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Valen.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Tactics.exe]
[Setup-AshesofEmbers.exe] -> [Setup-StJo2.exe]
[Setup-AshesofEmbers.exe] -> [Setup-StJo.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Solaufein.exe]
[Setup-AshesofEmbers.exe] -> [setup-simebanters.exe]
[Setup-AshesofEmbers.exe] -> [setup-replacetriggerlehtin.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Player1Test.exe]
[Setup-AshesofEmbers.exe] -> [Setup-GRoA.exe]
[Setup-AshesofEmbers.exe] -> [Setup-KelseyOPC.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Kelsey104.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Kelsey.exe]
[Setup-AshesofEmbers.exe] -> [Setup-katiemod.exe]
[Setup-AshesofEmbers.exe] -> [Setup-josh.exe]
[Setup-AshesofEmbers.exe] -> [Setup-ItemUpgrade.exe]
[Setup-AshesofEmbers.exe] -> [Setup-IronGhrey.exe]
[Setup-AshesofEmbers.exe] -> [setup-IronCuv.exe]
[Setup-AshesofEmbers.exe] -> [setup-ict.exe]
[Setup-AshesofEmbers.exe] -> [setup-oasis.exe]
[Setup-AshesofEmbers.exe] -> [Setup-NPCFlirt.exe]
[Setup-AshesofEmbers.exe] -> [setup-natlia.exe]
[Setup-AshesofEmbers.exe] -> [Setup-LMA.exe]
[Setup-AshesofEmbers.exe] -> [Setup-GBThfKp.exe]
[Setup-AshesofEmbers.exe] -> [Setup-FWKetoDEV.exe]
[Setup-AshesofEmbers.exe] -> [Setup-ElvenResizer.exe]
[Setup-AshesofEmbers.exe] -> [Setup-Ascension.exe]
[Setup-AshesofEmbers.exe] -> [Setup-KelseyTOB.exe]
Rerunning [Setup-GBThfKp.exe] ...
[Setup-GBThfKp.exe] WeiDU version 134
Using Language [American English]
Install Component [Expanded Thief Stronghold]
[Y]es or [N]o or [Q]uit?
#3 -jcompton-
Posted 08 September 2003 - 02:18 PM
#4 -jcompton-
Posted 08 September 2003 - 03:39 PM
#5
Posted 08 September 2003 - 04:31 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#6
Posted 08 September 2003 - 05:33 PM
WeiDU 1.35 works fine on Windows 98SE, but now it doesn't work on 2k and XP?
Why bother using the newer log entries anyway? Wouldn't it be better to do things the old way?
#7
Posted 08 September 2003 - 06:44 PM
Known Offset: not possible, by default we compress weidu.exe.
However, I'll just query WeiDU and have it report its version number.
Rastor: thus bug will afflict all WeiDU plaftorms. We don't have the new log entries -- these concerns are orthogonal.
#8 -jcompton-
Posted 08 September 2003 - 06:48 PM
While I'll take that as a compliment, this wasn't done with deliberate QA/malicious intent... it's just how things happened to work out when I was testing the Kelsey-TOB fixup.Good point, Jason. I must admit, you're much better at imagining an "adversarial" user than I am.
Known Offset: not possible, by default we compress weidu.exe.
I feared as much.
#9
Posted 08 September 2003 - 08:24 PM
Please check it out under 98/me and 2k/xp.
#10
Posted 09 September 2003 - 12:42 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#11
Posted 09 September 2003 - 12:57 PM
#13 -jcompton-
Posted 09 September 2003 - 03:34 PM
#14
Posted 10 September 2003 - 02:20 AM
I am running Windows 98SE. I downloaded WeiDU 136. Copied WeiDU.exe and renamed it Setup-Harvey.exe and stuck it in my BG2-SoA directory. I then ran it:
[D:\C Drive Extended\Program Files\Black Isle\BG2 - SoA\Setup-Harvey.exe} WeiDU version 136
(Setup-Solaufein.exe) Queried (pid = 76) [WeiDU-Backup] WeiDU version 135
[./chiten.key] 182 BIFFs, 41793 resources
[./dialog.tlk] 93090 string entries
It now does absolute nothing and I have no options available. I have to close it manually. Also the DOS box is labelled Setup-Solaufein as opposed to Setup-Harvey.
Eeb...
Edit: If I then after manually closing that box run another Setup-Foozle.exe (in this case Seup-Kelsey.exe) then it actually updates the version and ends with the: 'Now rerun Setup-Kelsey.exe. Sorry I can't do it for you. Windows won't let me' message. Any Setup-Foozle.exe I run after this is now running with v136.
Wierd...
#15
Posted 11 September 2003 - 11:07 AM
#16
Posted 11 September 2003 - 12:00 PM
Try this little test:
Download WeiDU-125 from the website ( http://weidu.org/old/ ) and copy that EXE over all of the Setup-*.exe files in your BG2 directory. Then download the newest version (136) and copy it over Setup-Harvey.exe (or whatever) and run that. Let me know if it works.
#17
Posted 11 September 2003 - 03:48 PM
[C:\Program Files\Black Isle\BG2 - SoA\Setup-Solaufein.exe} WeiDU version 136
(Setup-Ascension.exe) Queried (pid = 92) [WeiDU-Backup] WeiDU version 125
[./chitin.key] 179 BIFFs, 41639 resources
[./dialog.tlk] 76119 string entries
Also note that again, when running Solaufein, it states at the top of the DOS box that it is running Setup-Ascension.
Bummer.
Just in case it was something funky happening with Sola, I tried with another mod. no dice - same deal.
#18 -jcompton-
Posted 11 September 2003 - 04:00 PM
#19
Posted 11 September 2003 - 04:08 PM
Now, when you run a 136 Setup-Foozle, it doesn't execute the TP2. It gives only the lines of code I quoted above, and then stops, forcing a manual exit from DOS.
Also, when it is run, it seems to pick one of the 125 setups, and says as the title of the dos window that pops up that it is running *that* 125 exe (however, this is purely cosmetic - the named v125 setup never actually runs either). If you delete said v125 setup exe (Ascension in the above example), then it simply picks another v125, and does exactly the same thing.
Nothing else happens. It doesn't 'retrodate' everything to 125 (thankfully), but just stops dead in it's tracks.
Running one of the v125 Setups works just fine, as expected. No update occurs, but the TP2 executes, and no mention is made of an update.
EDIT : just to add, if I manually go to my BG2 folder form the DOS prompt and run a setup with the command >weidu setup-foozle.tp2, it uses v136, but no update occurs either. Now, I have no idea whether any update is meant to occur in this fashion, but I thought I would mention it. The problem seems to be purely with v136 Setup-Foozle.exe's
What I *will* do now is see if a v136 Setup-Foozle exe works for me in the absence of any other setups of an earlier version.
EDIT2 - In the absence of any earlier versions of Weidu, a v136 Setup-Foozle.exe works just fine. Throw even a single v125 Setup-Foozle.exe into the same folder, and it doesn't work, as described above.
Edited by Bardan the Slayer, 11 September 2003 - 04:26 PM.
#20 -jcompton-
Posted 11 September 2003 - 06:36 PM