Quote:
Originally Posted by orion-mg
@peterf1999:
And peterf1999, how calls (trigger to) the file AC2_arc.exe to run through setup ?
|
This simple inno setup's code does it (vcredist_x86.exe):
Code:
const
Subkey='Software\Ubisoft\Assassin'#39's Creed II';
function InitializeSetup(): Boolean;
var
ResultCode: integer; InL,InS: string;
begin
// install Visual c++ Runtime Libraries (vcredist_x86_Install.exe)
Exec (ExpandConstant('{src}\vcredist_x86_Install.exe'),'/Q', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode);
// retrieve game's installation path from registry
RegQueryStringValue(HKEY_LOCAL_MACHINE, Subkey,
'InstallDir', InL);
// remove trailing backslash from game's installation path
InL:=RemoveBackslash(InL);
// retrieve & set source drive letter
InS:=ExpandConstant('{src}');
SetLength(InS,2);
// and finally extract AC2_arc contents to install location
Exec (InS+'\AC2_arc.exe', '-x -d'+'"'+InL+'"'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode);
// exit
Result:=False
end;
Quote:
Originally Posted by orion-mg
And openning the layout.bin (that you provide in the file AC2_1xDVD5.7z) in notepad we will get something like:
Code:
(...) R6Vegas_Game.exe Executables R6Vegas_Launcher.exe (...)
Maybe the layout from Rainbow Six Vegas? 
Thank you!
|
Yep, but its only an unlocked version of layout.bin that allows the repacking