View Full Version : NecroVisioN (DVD9 to 2xDVD5)
assegno18
25-02-2009, 09:26
NecroVisioN MULTI4: ENGLISH/FRENCH/SPANISH/ITALIAN DVD9 to 2xDVD5
1. Make 2 folders: "NecroVisioN 1" and "NecroVisioN 2"
2. Extract ISO to NecroVisioN 1 folder.
3. Download this file (from EndWar):
http://rapidshare.com/files/202129086/ISCAB-3GB.rar
4. Extract files from ISCAB-3GB.rar file to NecroVisioN 1 folder (say yes to overwrite).
5. Run repack_cabs.bat file.
6. Wait until its complete. Delete the following 6 files from temp folder:
repack_cabs.bat, MediaBuild40.dll, make_list.bat, list.ini, ISTools.dll, ISCAB.exe.
7. Move data3.cab to NecroVisioN 2 folder.
8 Copy the following fle and cabs from NecroVisioN 1 to NecroVisioN 2:
autorun.inf
data1.cab
data1.hdr
engine32.cab
layout.bin
setup.exe
setup.ibt
setup.ini
9. Edit autorun.inf in NecroVisioN 2 folder:
[autorun]
OPEN=0
ICON=Setup.exe
LABEL=NecroVisioN
10. Make ISO images.
Install Sequence DVD1 - DVD2
Tested. Working at 100%
Sorry for my imperfection, but I'm Italian.
peterf1999
27-02-2009, 07:21
NecroVisioN EURO DVD9-1DVD5 conversion (1 Language INNO Setup+Freearc )
1- Make folder 'Necrovision'
2- Copy DVD9 content to 'Necrovision'
3- Extract & overwrite all content of NecroVisioN_dvd5_proper.rar to 'Necrovision'
4- Launch repack.cmd,select your language and wait for repacking
5- Install the game from DVD9
6- Launch freearc, browse game's folder and start compression:
http://i42.tinypic.com/nnp3qg.jpg
7- Move NV_arc.exe to 'Necrovision'
8- Edit setup.ini under [Languages] label:
from
[Languages]
Default=0x0009
count=4
key0=0x0009
key1=0x040c
key2=0x0010
key3=0x000a
to (for English)
[Languages]
Default=0x0009
count=1
key0=0x0009
to (for French)
[Languages]
Default=0x040c
count=1
key0=0x040c
to (for Italian)
[Languages]
Default=0x0010
count=1
key0=0x0010
to (for Spanish)
[Languages]
Default=0x000a
count=1
key0=0x000a
9-Burn or make iso with label 'NecroVisioN'
DVD size 3.91 gb
Last attachment Update 10-march-09
peterf1999
27-02-2009, 09:18
any label for images??
use labels of your choice
ex: NecroVisioN_1 NecroVisioN_2
peterf1999
27-02-2009, 10:35
Download attached archive updated (see above message) or replace the repack.cmd content with this :
@echo A) English
@echo B) Italian
@echo C) Spanish
@echo D) French
@set choice=
@set list=
@echo.
@set /p choice=Please select your language:
@if %choice%==A set list=list_en.ini
@if %choice%==B set list=list_it.ini
@if %choice%==C set list=list_es.ini
@if %choice%==D set list=list_fr.ini
@echo.
@echo Inserting dummy files into cabs and repacking...
@iscab data1.cab -i"%list%" -a
@pause
@rd maps data /s /q
@del *.dll *.pak list_fr.ini list_it.ini list_en.ini list_es.ini iscab.exe repack.cmd
sry for inconvenient, now it works also under xp :p
Extract this file and add to windows/system32 dir in win xp.
That very OLD choice.exe isn't compatible with newer choice.exe parameters
Example:
Choice /D ABCD <-- New, doesn't work with OLD choice
Choice /D:ABCD <-- Old, but works with newer also
And case sensitivity and timeout parameters are totally incompatible with OLD and NEW
I also prefer use choice nowadays rather than SET and some other which are now included in Vista which were never in XP but was in Server 2003 and Support Tools packs, (forfiles.exe, robocopy.exe etc.)
Vista's versions of these (v6) doesn't work in XP, it needs v5
So anyone who uses Vista and Choice alot then include attached choice exe in package so its compatible with XP
peterf1999
01-03-2009, 01:47
can u add original reg entries ? from hklm\software
if i good remeber it use {} and without code isnt possible to put that to setup section
yes, u must use line like this
{code:getNVpath} in DefaultDirName (setup section)
try to use some of that
#define regkey "SOFTWARE\Blizzard Entertainment\Starcraft"
#define regkval1 "InstallPath"
[setup]
DefaultDirName={code:QueryfromREG|Param}
[code]
Function QueryfromREG(Param:String):String;
begin
RegQueryStringValue(HKEY_LOCAL_MACHINE, '{#regkey}', '{#regval1}', Param}
Result:=Param;
end;
is same:
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', path)
set of DefaultDirName is no needed
i used CurStepChanged event (postinstall) for retrieve installpath from registry
and unpacking NV_arc.exe
procedure CurStepChanged(CurStep: TSetupStep);
var
path: string; ResultCode: integer;
begin
if CurStep=ssPostInstall then
begin
// if necrovision is installed
if RegKeyExists(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}') then
begin
// retrieve installpath of necrovision
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', path)
// and execute NV_arc.exe to unpacking content to game's folder
Exec (ExpandConstant('{src}\NV_arc.exe'), '-x -d'+path+'\data'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
end;
end;
end;
mondragon
01-03-2009, 03:50
weird any of that things not works correctly :P
installer doesnt skip if regkey exists - always run
installer dont run nv_arc.exe if regkey exists :)
now i only know that its loader for original installer and after that run sfx archive
edit
my version based on peterf1999
and both script mine and peterf1999's
edit2
ofcourse thanks for peterf1999 for showing that pro method :)
im glad to see so new pro users :)
peterf1999
01-03-2009, 04:40
installer doesnt skip if regkey exists - always run
function InitializeSetup(): Boolean;
var
ResultCode: integer;
begin
if not RegKeyExists(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}') then
begin
Exec (ExpandConstant('{src}\setup.exe'),'', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
Result:=TRUE
end else
begin
Exec (ExpandConstant('{src}\setup.exe'),'', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
// return false and abort inno setup, original setup.exe launched and it asks
// if u want to remove the game
end;
InitializeSetup event does it :P
installer dont run nv_arc.exe if regkey exists :)
procedure CurStepChanged does it
look carefully the code
it's not a joke, i tested it and works 100%
peterf1999
01-03-2009, 05:00
check my last post :)
you must check for non space paths - that im sure
im test and it always run setup - maybe i dont have original installer and thats why it always want to install [can u share original installer?]
only setup.exe is useless
yes always run original setup,but if the game is installed asks if u want to remove it and nv_arc.exe is not launched at end of installation
LOL i have no more words for say that it works 100%
mondragon
01-03-2009, 05:06
hehe
that's im thinking on beginning [but now im not acces to original installer]
and thats way i cannot test in 100% :)
then u only need to fix parameters for sfx archive for example "c:\game necro\"
because -d param doesnt works without -d"c:\game necro\"
peterf1999
01-03-2009, 05:12
hehe
that's im thinking on beginning [but now im not acces to original installer]
and thats way i cannot test in 100% :)
then u only need to fix parameters for sfx archive for example "c:\game necro\"
because -d param doesnt works without -d"c:\game necro\"
var path has right value and return it(ex. f:\necrovision)
Exec (ExpandConstant('{src}\NV_arc.exe'), '-x -d'+path+'\data'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
mondragon
01-03-2009, 05:15
but try to change in registry that folder with empty space and try to run :)
what u get?
-d"'+path+'\data"'
that's correct
peterf1999
01-03-2009, 05:17
but try to change in registry that folder with empty space and try to run :)
what u get?
-d"'+path+'\data"'
that's correct
yes my fault :
Exec (ExpandConstant('{src}\NV_arc.exe'), '-x -d'+'"'+path+'\data'+'"'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
i always used path without space :P for game's folder:mad:
mondragon's fixed is.exe works. thanx mondragon and peterf1999.
peterf1999
03-03-2009, 03:26
@Mondragon
DefaultDirName={pf}
this trick avoids inno defaultdirname folder error and creation of an empty folder (windows program folder still exists)
DefaultDirName value in my script is not used (files section is absent).
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', path)
retrieves path of Necrovision's installation folder to unpack NV_arc.exe.
I discovered a strange inno's bug with my script:
When compiled script start with /silent or /verysilent parameters and it's located in read-only unit (iso mounted or burned dvd)
original necrovision's setup.exe is launched but inno process strangely disappears (from process task) and nv_arc.exe is not unpacked.
this does not happen when i use hdd folder (conversion works like a charm)
Therefore, for users who have used the conversion i suggest:
1)from install.ini remove /verysilent parameter:
[default]
program=IS.exe
show=1
or
1)delete install.ini & install.exe
2)rename IS.exe to Install.exe
3)edit autorun.inf :
[autorun]
OPEN=Install.exe
ICON=install.exe,0
LABEL=NecroVisioN
mondragon
03-03-2009, 13:39
NecroVisioN [MULTI4] DVD9 to DVD5 [ONE LANG]
FreeArc + inno
rather more Proper than method by peterf1999
MESS WITH CABS :)
1) copy dvd9 to temp folder.
2) download attached archive and unpack to temp folder.[use v2 version]
3) Run: [only one bat file at the same time]
01_layout.bat [unblock cabs]
02_extract.bat [extract needed files]
03_move_files.bat [move needed files to safe place]
04_add_and_replace.bat [create fake files, and update cabs]
05_CLEAN.bat [:P]
4) move from temp\compress\ folder DirectX to temp folder
MESS WITH FREEARC AND COMPRESSING
1) install freearc, go to temp\compress
select all files except that files that u dont want to install [screenshot show english only installation]
3) select add and check both screenshot to know how to set freearc
http://images46.fotosik.pl/75/1807a792673c5919m.jpg (http://www.fotosik.pl/pokaz_obrazek/pelny/1807a792673c5919.html)http://images50.fotosik.pl/75/b953f48e5066b57bm.jpg (http://www.fotosik.pl/pokaz_obrazek/pelny/b953f48e5066b57b.html)
[all files compress separately -2nd screenshot]
4) all compressed files move to temp\inno [create inno if not created already]
5) final temp folder for eng
http://images50.fotosik.pl/75/cd472162f89d8c79m.jpg (http://www.fotosik.pl/pokaz_obrazek/pelny/cd472162f89d8c79.html)
additional steps - stolen from peterf1999 :P
8- Edit setup.ini under [Languages] label:
from
[Languages]
Default=0x0009
count=4
key0=0x0009
key1=0x040c
key2=0x0010
key3=0x000a
to (for English)
[Languages]
Default=0x0009
count=1
key0=0x0009
to (for French)
[Languages]
Default=0x040c
count=1
key0=0x040c
to (for Italian)
[Languages]
Default=0x0010
count=1
key0=0x0010
to (for Spanish)
[Languages]
Default=0x000a
count=1
key0=0x000a
NOTE:
inno installer handle these name of files to unpack [must be in inno folder]
maps.pak.exe
models.pak.exe
sounds.pak.exe
textures.pak.exe
textures1.pak.exe
voiceovers_english.pak.exe
other languages and folders maps [folder maps isnt removed from cabs - need to do that manually if someone wants to compress it]
voiceovers_italian.pak.exe
voiceovers_spanish.pak.exe
voiceovers_french.pak.exe
maps.exe
uninstaller work flawless :)
not tested too many times - only from temp folder
So far best version from a dvd drive ( virtual or physical) is using peterf1999's version with :
1)delete install.ini & install.exe
2)rename IS.exe to Install.exe
3)edit autorun.inf :
Code:
[autorun]
OPEN=Install.exe
ICON=install.exe,0
LABEL=NecroVisioN
However, this launches both the modified setup and the official Necrovision setup at the same time using xp pro sp3.
To get it to work you need to click and run the official installer first - then the modified one to unpack the arc file.
Installing from hard disc with "original" install.exe this doesn't happen - It installs all parts automatically.
Getting close so there must be a simple solution around the corner.
mondragon
04-03-2009, 01:07
@jamd
checked last peterf1999 post for fix ?
im working on mine fix :)
now it ready almost in first version
but probably change it to other version
ofcourse i post it from a while to test because dont have acces to game and other than xp sp2
edit
if u already create conversion try to use attached fix
peterf1999
06-03-2009, 01:05
Now Inno and original windows setup are not displayed at same time.
I have made some cosmetic changes to Inno setup, one click is needed to complete installation.
peterf1999
10-03-2009, 12:23
My proper conversion :)
Here (http://fileforums.com/attachment.php?attachmentid=881&d=1236716767)
peterf1999
11-03-2009, 01:41
two loaders ?
idont have time to do this.
One loader (dxsetup.exe), the other is original directx setup (dx.exe)
function InitializeSetup(): Boolean;
var
ResultCode: integer; InS: string; InL: string;
begin
// Directx setup
Exec (ExpandConstant('{src}\DX.exe'),'', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
//
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallSource', InS)
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', InL)
//unpack freearc archive and exit
Exec (InS+'NV_arc.exe', '-x -d'+'"'+InL+'\data'+'"'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
Result:=FALSE
//
end;
peterf1999
11-03-2009, 02:26
then dxsetup will be loaded twice
once by inno and second by original installer on the end
one time
function InitializeSetup(): Boolean;
var
ResultCode: integer; InS: string; InL: string;
begin
// Directx setup
Exec (ExpandConstant('{src}\DX.exe'),'', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
//
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallSource', InS)
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninsta ll\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}',
'InstallLocation', InL)
//unpack freearc archive and exit
Exec (InS+'NV_arc.exe', '-x -d'+'"'+InL+'\data'+'"'+' -y -s2', '', SW_SHOW,
ewWaitUntilTerminated, ResultCode)
Result:=FALSE
//
end;
the original setup calls inno loader (Dxsetup.exe) and it exits after unpacking & directx installation (Result:=FALSE) .
Just burned same files to a physical DVD - works fine and Installs properly with one autorun - crc checked all installed files ok too. Thx for the help.
Joe Forster/STA
21-03-2009, 06:41
Here are the pictures, zipped in an attachment.
NecroVision (DVD9 to 2xDVD5)
1) create a folder and copy the contents of DVD9 (ex. C:\Necrovision)
2) Download the file and extract it iscab to c:\Necrovision and overwrite if needed
http://rapidshare.com/files/202066622/ISCAB.rar
3) Run repack_cabs.bat and wait repackage working
4) delete these files
ISCAB.exe
make_list.bat
repack_cabs.bat
list.ini
ISTools.dll
MediaBuild40.dll
5) Move file data3.cab to Another Folder (ex c:\ )
6) burn folder contents with DVD Label : disk1
7) Move again file data3.cab to Folder c:\Necrovision
Delete File data2.cab
Edit autorun.inf
[autorun]
OPEN=0
ICON=Setup.exe
LABEL=NecroVisioN
9) burn folder contents with DVD Label : disk2
DVD 1 - disk1
DVD 2 - disk2
Sequence : DVD 1 - DVD 2
DVD size:
DVD 1: 4,02 Gb
DVD 2: 1.58 gigabytes
Sorry for My Bad english
Tested by me and 100% Working on XP SP2
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.