FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   NecroVisioN (DVD9 to 2xDVD5) (https://fileforums.com/showthread.php?t=85972)

assegno18 25-02-2009 09:26

NecroVisioN (DVD9 to 2xDVD5)
 
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):
Code:

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:
Code:

autorun.inf
data1.cab
data1.hdr
engine32.cab
layout.bin
setup.exe
setup.ibt
setup.ini

9. Edit autorun.inf in NecroVisioN 2 folder:
Code:

[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

1 Attachment(s)
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

Quote:

Originally Posted by mktiger (Post 368455)
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 :
Code:

@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

ravd 27-02-2009 14:37

1 Attachment(s)
Quote:

Originally Posted by jamd (Post 368470)
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

Quote:

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)

Quote:

try to use some of that
Code:


#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:
Code:

      RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninstall\{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
Code:

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\Uninstall\{81FF29CE-2D23-45FC-8BDE-7491A15F2B02}') then
   
    begin

  // retrieve installpath of necrovision

    RegQueryStringValue(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninstall\{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

3 Attachment(s)
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

Quote:

installer doesnt skip if regkey exists - always run
Code:

function InitializeSetup(): Boolean;

var
ResultCode: integer;

begin

if not RegKeyExists(HKEY_LOCAL_MACHINE, 'Software\Microsoft\Windows\CurrentVersion\Uninstall\{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

Code:

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

Quote:

Originally Posted by mondragon (Post 368554)
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

Quote:

Originally Posted by mondragon (Post 368556)
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

Quote:

Originally Posted by mondragon (Post 368559)
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:

pusat 01-03-2009 05:26

mondragon's fixed is.exe works. thanx mondragon and peterf1999.

peterf1999 03-03-2009 03:26

Quote:

@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:

Code:

[default]
program=IS.exe
show=1

or

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



All times are GMT -7. The time now is 03:57.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com