|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
@pakrat2k2
DVD5 size 3.77 gb content.png Create the patch bsdiff oldfile newfile patchfile (e.g. bsdiff autorun.dat autorun_edited.dat patch.bin) Apply the patch bspatch oldfile newfile patchfile (e.g. bspatch autorun.dat autorun_patched.dat patch.bin) RemoveTBS (Remove trailing backslash from targetdir "INSTALLLOCATION") Code:
dim tempInstalldir
tempInstalldir=Session.Property("INSTALLLOCATION")
if Right(tempInstalldir,1)="\" then
tempInstalldir=Left(tempInstalldir,Len(tempInstalldir)-1)
Session.Property("INSTALLLOCATION")= tempInstalldir
end if
Code:
Set wshShell = CreateObject ("WSCript.shell")
wshShell.Popup Chr(13) & Chr(10)& "Extracting FreeArc archive contents... ",1,"Setup",0
wshshell.run Session.Property("SourceDir") & "MOH_arc.exe" & " -x -d" & chr(34) & Session.Property("INSTALLLOCATION") & chr(34) & " -y -s2" , 0, True
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
Set wshShell = CreateObject ("WSCript.shell")
wshShell.Popup Chr(13) & Chr(10)& "Re-compressing Precomp PCF file... ",1,"Setup",0
wshshell.run Session.Property("SourceDir") & "binaries\precomp038.exe" & " -r -o" & chr(34) & Session.Property("INSTALLLOCATION") & "\MOH_arc.exe" & chr(34) & " " & chr(34) & Session.Property("INSTALLLOCATION") & "\MOH_arc.pcf" & chr(34), 0, True
fso.DeleteFile Session.Property("INSTALLLOCATION") & "\MOH_arc.pcf"
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
Set wshShell = CreateObject ("WSCript.shell")
wshShell.Popup Chr(13) & Chr(10)& "Extracting 7zip archive contents... ",1,"Setup",0
wshshell.run chr(34) & Session.Property("INSTALLLOCATION") & "\MOH_arc.exe" & chr(34) & " x -aoa -y -o" & chr(34) & Session.Property("INSTALLLOCATION") & "\MOHAGame\CookedPC" & chr(34), 5, True
fso.DeleteFile Session.Property("INSTALLLOCATION") & "\MOH_arc.exe"
chr(charcode)= Returns the character associated with the specified ANSI character code Last edited by peterf1999; 23-10-2010 at 02:48. |
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INDEX - CD2DVD Conversion Index **UPDATED: 17-07-2024** | Grumpy | PC Games - CD/DVD Conversions | 252 | 16-07-2024 20:35 |
| Medal of Honor: Airborne (UK) (DVD9 to 2x DVD5) | BarryB | PC Games - CD/DVD Conversions | 7 | 09-06-2010 21:07 |
| Phantasy Star Universe (DVD9 to 2 DVD5 OR DVD9 to 1 DVD5) | Heretic666 | PC Games - CD/DVD Conversions | 6 | 26-12-2006 06:28 |