QUOTE(bajadulce @ Nov 15 2006, 11:00 AM)
Yes, one exe. is a good idea why didn't I think of that? (I guess 2 exe's. one Patching exe and one target smpq) thx.
Sorry, guess this was a bit confusing. I wrote BWAI3.1 by extracting install.exe's Setupdat folder and rewritting the code. Just open BWAI3.1.exe with winmpq to view any of the files. Originally, past versions actually did only "patch" one file and that was patch_rt.mpq. This turned out to NOT be a good thing
Installing SEMPQ's to the target directory was a much better solution. And works great... hassle free!
What quoted statement suggests is that one should be able to inject aiscript.bin into a SINGLE sempq within this same target directory.
This would be the necessary code changes to the individual files:
The Main screen (Main.scr) would contain a button such as this:
pressEvent = VScript SetupDat\Ai#1.vis;
File Ai#1.vis would contain:
event = Install SetupDat\Insane.ins;
file Ai#1.ins would contain:
FileBlock $(Build) = $(InstallPath)\AiSEMPQ.exe creatempq archived
{
("scripts\aiscript.bin")
}
And AiSEMPQ.exe should be archivable.
also sorry to digress from "showcase" to "discussion" in this thread.
and sunslap, did you have any further problems w/ the correct file?