Log in

View Full Version : Prototype 2 - DVD9 to 2xDVD5 *INNO SETUP*


REV0
24-07-2012, 06:27
Prototype 2: DVD9 to 2xDVD5
by REVO


*Released today.

Script by: yener90 / Setup theme by: REVO

-Game's OST was used as background music
-Supported Setup languages: English, German, Spanish, Italian, Polish, French, Russian, Turkish, Portuguese, Brazilian Portuguese

V1.0 - First Release
V1.01 - Actual Release
-Fixed icon
V1.02 - After 602th Download
-Registry Keys added about install location and exe name etc (not very very important
V1.03 - After 1222th Download
-Additional Regkeys were added for Language issues
-Font has been changed due problems in special characters.
V1.04 - After 193th Download
Some minor fix about Spanish language regkey

1. Go to installed game's folder and move redist folder to somewhere else.

2. Download the attachment below (end of the thread) Open installerscript.iss with Unicode version of INNO and change the following line according to your game's installed location:

#define ProgramFiles "D:\Program Files (x86)\Activision\Prototype 2"

3. Create 2 folders and name them as PROTO_1, PROTO_2. Move:

-Setup.cab, Setup.dll, Setup.exe, Setup.ico, Setup.ini to PROTO_1

Install-1a, 1b, 1c bin files to PROTO_1
Install-2a, 2b, 2c bin files to PROTO_2

4. Copy autorun.inf and Setup.ico files to all PROTO_* folders, edit autorun.inf like below except DVD1


[autorun]
OPEN=0
ICON=Setup.ico


5. Now move redist folder to PROTO_2.

6. Burn them to DVDs, and enjoy installer music pack during install.

Setup Screens:

http://img855.imageshack.us/img855/2821/99260088.jpghttp://img707.imageshack.us/img707/9417/40199056.jpg
http://img577.imageshack.us/img577/4276/96372364.jpg
http://img528.imageshack.us/img528/6587/93755865.jpg
http://img842.imageshack.us/img842/7043/96714468.jpg

MartinezPL
24-07-2012, 06:39
Nice job Thx!
can wait for 1xDVD5 conversion:)

REV0
24-07-2012, 06:41
Sure... Why not

kassane
24-07-2012, 07:29
Win7 x86 tested...
Very good!!

quake4
25-07-2012, 01:36
Tested and Works 100%. Thx REVO !
DVD1: 4.22GB
DVD2: 4.02GB

MartinezPL
25-07-2012, 05:41
in story_a_to_h.rcf,story_i_to_z.rcf,woi.rcf and movies.rcf are hidden movies .bik
open with ScarfaceExplorer so after downgrade 1xDVD5 is really possible:)
(need link to that tool PM me)

pakrat2k2
27-07-2012, 21:46
in story_a_to_h.rcf,story_i_to_z.rcf,woi.rcf and movies.rcf are hidden movies .bik
open with ScarfaceExplorer so after downgrade 1xDVD5 is really possible:)
(need link to that tool PM me)

wiki info page here
http://wiki.xentax.com/index.php/Scarface_Explorer

Privat
28-07-2012, 03:55
REV0 thanks
Win7 x86 tested and works:)

mikey26
28-07-2012, 08:26
Hey revo having a look at the game there is a german audio track over 1 gb big if u remove it game get stuck on loading screen put it back game works seems like u cant remove that track.gonna give precomp and srep a go and see what compression i can get it too maybe dvd 5 possible and resampling biks.thx to MartinezPL for the info hidden files and pakrat2k2 for the link.

will try replace german track with dummy file and see what happens will report back

REV0
29-07-2012, 04:24
I got confirmation that without german files game continues to work mikey26

Waiting your progress however.

Also i updated script to 1.02 read, check thread for info

mikey26
29-07-2012, 05:26
Heya Revo thanks for checking on that german audio file.but if i delete or move audio_german.rcf from my game dir the game refuses to just says loading loading have to crash the game.put audio_german.rcf back in game dir and works perfect test on both my machines very weird. i also did try replacing with a dummy file no luck.

REV0
29-07-2012, 06:27
Then i'll ask again how the hell he managed to open the game :D If not i'll borrow it and try myself

pakrat2k2
29-07-2012, 10:05
Heya Revo thanks for checking on that german audio file.but if i delete or move audio_german.rcf from my game dir the game refuses to just says loading loading have to crash the game.put audio_german.rcf back in game dir and works perfect test on both my machines very weird. i also did try replacing with a dummy file no luck.

Spoke too soon, without the audio_german.rcf file the game has NO AUDIO wether or not you play in another language, & the game will play ONLY up to the end of the first initial cutscenes, then gets stuck at loading screen.

Going to try & use Scarface_Explorer and unpack all the rcf files & see how it loads once thats done. Maybe get a bit better compression out of unpacked files rather then trying to recompress those HUGE files.

sarmadi
29-07-2012, 11:14
Thanks REVO.
It works 100% on win7 sp1 64bit however there was no music sound during the installation of the game.

REV0
29-07-2012, 11:16
That's because you dont have necessary codecs, this happened before for some people

pakrat2k2
29-07-2012, 11:50
I havent installed any codecs on a fresh install of X64 yet & music/sound played fine without installing any codecs yet.

sarmadi
29-07-2012, 15:56
No! not all ,I have all codecs installed before:D.

senseman
29-07-2012, 16:16
Thanks REVO.
It works 100% on win7 sp1 64bit however there was no music sound during the installation of the game.

http://www.codecguide.com/download_kl.htm

install this codecs

Maxgrilo
29-07-2012, 18:10
Thanks REVO, It works 100% on windows 7 sp1 64bit.

Can wait for 1xDVD9 conversion?

sarmadi
29-07-2012, 18:50
I have reinstalled the codecs and it fixed the problem.
Thanks REVO.Thanks senseman.

REV0
30-07-2012, 02:16
Thanks REVO, It works 100% on windows 7 sp1 64bit.

Can wait for 1xDVD9 conversion?

Not from me, making 1DVD9 is impossible current facts. According to mikey, deleting german files cause crashes in the game and dummy files are not working neither. Also it requires re-encoding bik files -means low quality videos, something i dont like in games-




Heya Revo thanks for checking on that german audio file.but if i delete or move audio_german.rcf from my game dir the game refuses to just says loading loading have to crash the game.put audio_german.rcf back in game dir and works perfect test on both my machines very weird. i also did try replacing with a dummy file no luck.

Spoke too soon, without the audio_german.rcf file the game has NO AUDIO wether or not you play in another language, & the game will play ONLY up to the end of the first initial cutscenes, then gets stuck at loading screen.

Going to try & use Scarface_Explorer and unpack all the rcf files & see how it loads once thats done. Maybe get a bit better compression out of unpacked files rather then trying to recompress those HUGE files.

tamiri
30-07-2012, 05:46
Dear SenseMan,

Could you make the conversion 1DVD9 to 2xDVD5 withOut Innosetup ... , Plz !!!

Is it Possible First !!

( Thanks REVO for the conversion, But i hate innosetup )

omdj
30-07-2012, 05:56
Revo thank you very much for such a nice installer. i need help, as is done to add a record in the InstallerScript for which the game is left in its corresponding language?

Use your script PROTO2_V102

REV0
30-07-2012, 06:00
The regkey which define language of the game is '69' currently. I dont know why it's 69 and numbers of others, you need to install legit copy with your desired language then copy it's reg entry.

tanatos
30-07-2012, 06:03
Revo thank you very much for such a nice installer. i need help, as is done to add a record in the InstallerScript for which the game is left in its corresponding language?

Use your script PROTO2_V102

in Prototype 2 creates a value chain called “language” and modifies the value with your language. The language has a number associated.

english 69
french 70
italian 73
german 71
spanish 83

Furiuss
30-07-2012, 13:09
Thks, work perfect in spanish lang and Win 7 x64

behappygame
30-07-2012, 20:13
sorry sir i new user and have question
1.Go to installed game's folder and move redist folder to somewhere else.
need to install complete ? i not see folder redist in my iso dvd 1 and dvd 2 (Skidrow)
3. Create 2 folders and name them as PROTO_1, PROTO_2. Move:

-Setup.cab, Setup.dll, Setup.exe, Setup.ico, Setup.ini to PROTO_1

Install-1a, 1b, 1c bin files to PROTO_1
Install-2a, 2b, 2c bin files to PROTO_2
i not see install 2b 2c this is my iso
disc 1. have set up 1a-1e
disc 2. have set up 2a only


thank you so much my english very bad (learning)
thank you revo and all another user

Grumpy
31-07-2012, 00:43
i not see folder redist in my iso dvd 1 and dvd 2 (Skidrow)
We DONT support Warez Users!

FORUM RULES (http://fileforums.com/showthread.php?t=54193)
READ it as abusers get BANNED!

abbas_mt
31-07-2012, 08:19
Thanks REV0!
Work Perfect In Win 7 64bit SP1!!

elbubi
02-08-2012, 19:08
Hi REV0, and thanks for the conversion! Just tested under w7x64 and seems to work just fine, altough installer background pictures are not showing during install (black square only). Could it be cause I'm running it from hdd instead from optical drive?

Thanks indeed once again!

yener90
02-08-2012, 19:15
thats a bug of installer.
post screenshot of the problem.
continue the discussion in yener90 source code thread.

Fabioddq
02-08-2012, 21:31
Hi Revo! Adding this reg entries, not more necessary change the reg entries for other languages. I'll post here in case you want to update your conversion. :D

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: string; ValueName: Language; ValueData: 70; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: fre;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: string; ValueName: Language; ValueData: 71; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ger;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: string; ValueName: Language; ValueData: 73; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ita;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"; ValueType: string; ValueName: Language; ValueData: 83; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: esp;

pakrat2k2
02-08-2012, 21:46
All In-Game Languages Supported: English, French, Italian, German, Spanish, Russian, Polish.

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 69; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: eng;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 70; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: fre;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 73; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ita;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 71; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: ger;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 83; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: spa;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 82; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: rus;
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 72; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: pol;

Fabioddq
02-08-2012, 22:10
Thanks for polish and russian languages. :D
I will update.

pakrat2k2
02-08-2012, 22:21
languages, pre-requisetes are always listed in the installscript.vdf in gamedir
nice job on new installer, will have totest out precomp+srep ( like syndicate-freearc commandline )

Cesar82
06-08-2012, 12:38
Information: The font (28 Days Later) used the buttons ("font.ttf" included in Setup.cab), not supported accents for use in es, pt-pt or pt-br languages.
If you can edit the font file, and edit someone, please post here.
Thank you!

Text translated from the Portuguese (Brazil) in google translator.

REV0
06-08-2012, 12:57
I'll find something compatible stay tuned

I've changed fonts, added more regkeys for language, it must be ok now, test and tell us the results

Cesar82
06-08-2012, 15:36
It's all ok now.
The old font was nicer, but not support special characters.
Thanks.

You can use this script with freearc?
If I just modify the Setup.ini file. Adding ...

[ExtractSettings]
FreeArcFile1={src}\Data1.cab;Disk:1
FreeArcFile2={src}\Data2.cab;Disk:2
FreeArcFile3={src}\Data3.cab;Disk:2
...

elbubi
06-08-2012, 20:47
Thanks for v1.03 REVO.

Shoud it fix the blank installer's backgrounds? If so, i'll try it and report back.

Kind Regards.

REV0
07-08-2012, 00:46
I didnt change anything as visual, can you provide a screenshot about your problem ? Because everthing looks ok from here

elbubi
07-08-2012, 04:18
I didnt change anything as visual, can you provide a screenshot about your problem ? Because everthing looks ok from here
Thanks Revo, this are the screenshots of my problem:

http://img6.imageshack.us/img6/6369/p22hn.jpg
http://img831.imageshack.us/img831/6889/p21d.jpg

They are also posted on yener's CI thread (http://fileforums.com/showthread.php?p=404756#post404756) (

Thanks indeed!

REV0
07-08-2012, 04:19
Thanks Revo, this are the screenshots of my problem:

http://img6.imageshack.us/img6/6369/p22hn.jpg
http://img831.imageshack.us/img831/6889/p21d.jpg

They are also posted on yener's CI thread (http://fileforums.com/showthread.php?p=404756#post404756) (

Thanks indeed!

It's a bug, change folder's name or copy it's contents to somewhere else (preferably another folder) test and tell us the result please,

Cheers

elbubi
07-08-2012, 09:03
Tested both and not working either.

Cheers and thanks for your kind support.

REV0
07-08-2012, 09:53
Sorry to hear that, but moving the content to another folder always solved this issue.

elbubi
07-08-2012, 10:36
I moved all the contents from PROTO_1 to another folder and didn't work. Guess I'll have to burn them this way, it's not THAT important but I would prefer to have it 100% functional.

Kind Regards once again.

REV0
07-08-2012, 10:39
That's unfortunate. If you got Alcohol or Nero, i suggest to create image of iso first, before burning, then check if it's same

elbubi
07-08-2012, 12:46
Mounted iso works perfectly! ;)

Thanks indeed for your help! :)

GTX590
08-08-2012, 07:02
Hi everybody! I got problem, when i launch the "InstallerScript" i get this message.:(

REV0
08-08-2012, 07:07
Hi everybody! I got problem, when i launch the "InstallerScript" i get this message.:(

Change 'spa' (the one you see end of the reg) with this: 'esp'

Save and re-compile, and tell us the results please

GTX590
08-08-2012, 09:57
It's OK now! Thanks REVO for your help!

switchblade792
08-08-2012, 23:57
can i ask.. wat if have .sid files? i think mine is from steam..

Grumpy
09-08-2012, 00:49
can i ask.. wat if have .sid files? i think mine is from steam..

What do you mean 'i think' mine is from Steam? Surely you know if you downloaded it via Steam? :rolleyes:

If so, use the Steam Backup feature.

REV0
09-08-2012, 03:57
INNO needs your game's installed version, not DVDs or sid files.

The-revenge
16-08-2012, 10:01
It possibible to make 1 DVD9 rather than 2xDVD5? What do I do for make that?
(note : in release Alan Wake+american nightmare I tried to make that, but the total size of 2 DVD5 didn't fit in DVD9)

DarkyDarky
26-08-2012, 01:16
Can you tell me how to make cab files????

REV0
26-08-2012, 03:35
Cab files is already included in conversion. You will not need to remake.

elripper
26-08-2012, 08:57
Thanks REV0. In 44 minutes I got the repack!

Droppo
26-08-2012, 14:02
A couple of small fixes for other languages installations. dunno about the others, but i had troubles loading the game coz of this, it keeps freezing on loading screen, also I changed the final filesize to 4.35GB and leave the proper space for setup.cab file so it wont get oversized. Also changed compression to LZMA2 and set a couple of params for better results including quantity of compression threads in case you have multi core CPU (quad core in my case)

The-revenge
27-08-2012, 01:10
Work with other languages? My languages file is 1.34 gb, I don't know if it fits on 2xDVD5.

dezconocido
20-10-2012, 06:47
THX, Work fine!!! Windows xp SP3

Sichi
17-01-2013, 07:39
works fine for me :D

a question...
how can i run a reg file after install?

thanks ^^

pakrat2k2
17-01-2013, 09:42
why run after install? just enter it in the ISS script in the [registry] section of the script, it will be entered when installing game.

Sichi
17-01-2013, 12:00
I want to run a reg file to put the game in spanish.

the code is

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Activision \Prototype 2]
"language"="83"

pakrat2k2
17-01-2013, 13:30
its already there in the script

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 83; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: esp;

you've installed game in spanish, so reinstalling from conversion should be the same.

Sichi
17-01-2013, 18:37
i use this reg key for set spanish as game language when launch it.
is the same function?

greensky
09-03-2013, 04:19
Hi Revo,

I reached 3rd step & stopped due to I didn't see these files

Install-1a, 1b, 1c bin files to PROTO_1
Install-2a, 2b, 2c bin files to PROTO_2


I have 2 CDs ISO files as follows

http://img543.imageshack.us/img543/7346/prototype2k.jpg

Where is can I get them ???

pakrat2k2
09-03-2013, 08:07
read the steps again !!! you have to install the game first. then use inno unicode to compile the script.

NTurky
11-03-2013, 06:53
its already there in the script

Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueType: string; ValueName: Language; ValueData: 83; Flags: uninsdeletevalue uninsdeletekeyifempty; Languages: esp;

you've installed game in spanish, so reinstalling from conversion should be the same.

Sishi is right. If you take a closer look to que subkey section, you'll notice that
REV0 left a " " (space) after {code:GetAppName} basically making the subkey invalid. Because of that the game defaults to english language.
All language definition have that typo (lines 175 to 181).
So, here is the fixed script.

Ezquirtz
25-11-2013, 02:37
anyone can help me with this ? :confused: :confused:
http://imageshack.com/a/img812/2784/y6tl.png

pakrat2k2
25-11-2013, 05:05
anyone can help me with this ? :confused: :confused:
http://imageshack.com/a/img812/2784/y6tl.png

only warning, STOP posting this in every thread, wait for someone to help.

tungconls
12-06-2014, 01:35
CAn you upload the audio_german.rcf ? i need that