PDA

View Full Version : Need for Speed - The Run (2DVD9 to 3 DVD5) * INNO Setup*


REV0
16-11-2011, 15:37
Need for Speed - The Run (2DVD9 to 3 DVD5) * INNO Setup* by REVO

http://img28.imageshack.us/img28/4053/upda.png

Special Thanks to:

-All fileforums members, since this conversion was fixed (and still fixing) by people start with pakrat, Droppo, phill and so on,
-To andersondj for give us regkeys about missing play function.

-Tested in English, 64bit


1. Install the game by your choice of language.

2. Apply no-cd patch or something else if you wish.

3. Download the attachment and extract it to your HDD (You will need 14GB of free space)

Version 1.4
-Fixed 'Play' button after mounting DVD, thanks to andersondj (after 686 downloads of v1.3)

2934

4a. Open RUN.iss with INNO Setup (ANSI version is recommended.)

To know how to use ANSI version click HERE (http://www.fileforums.com/showthread.php?t=92407).

You will change first line, according to your RUN setup:

#define SourcePath "D:\Program Files (x86)\Electronic Arts\Need for Speed The Run\"

For example; if you installed the game in somewhere like D:\GAMES you will change the line above like this:

#define SourcePath "D:\GAMES\Electronic Arts\Need for Speed The Run\"

4b. For languages:

Go to registry section and edit Locale and GDFBinary according your language choice. For example, if you want to make game french, change lines like this:

Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed(TM) The Run\; ValueName: Locale; ValueType: String; ValueData: fr_FR; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed(TM) The Run\; ValueName: GDFBinary; ValueType: String; ValueData: {app}\GDFBinary_fr_FR.dll; Flags: uninsdeletekey

Of course you'll need your language's binary.dll

So easy ;)

5. Save it and press compile. Compile process will take 1 or 1.5 hours.

4. After compile, create 3 folders and name them RUN_1, RUN_2, RUN_3.

Move:

Setup.exe, Setup-1a, 1b, 1c to RUN_1
Setup-2a, 2b, 2c to RUN_2
Setup-3a, 3b to RUN_3

Copy autorun.inf and ico files to three folders. Edit autorun.inf in RUN_2 and RUN_3 like below:


[autorun]
open=0
icon=RUN.ico


Burn folder contents with same folder names.

Known Issues about Setup:

1. RegKey language function is not for pirated copy of The Run. Language change by registry will be useless for pirated copies, for example RELOADED etc. etc. So, don't write any problem about your game in here if you have original game you should have all binary files without issue. These 'kind' of users can directly pass process 4b.

2. In some languages, there is a alignment issue, click HERE (http://www.fileforums.com/showpost.php?p=398829&postcount=59)



http://img820.imageshack.us/img820/9425/13515981.jpg

http://img267.imageshack.us7/8047/67505444.png

http://img832.imageshack.us/img832/2687/28216241.jpg

Post Install:

http://img607.imageshack.us/img607/7500/ca2pture.png

Unistall Function:

http://img27.imageshack.us/img27/7014/20075086.png

victoria02
16-11-2011, 16:52
probando si funka thanks

REV0
16-11-2011, 16:57
Can u make a new conversion with 2xdvd9 to 5xdvd5 i need that...

There is a conversion which uses only 3 dvd5 and you want 5 dvd ones ?

Wow

himanshu23
16-11-2011, 17:52
i asked about 5xdvd5 conversion because i really need that... just don't make fun of it

I used ur call of duty mw3 yener90 converter , the converter make conversion very slow & at the end when conversion completed i install that, install perfectly but when game launches it shows error & error was due to ur imperfect conversion since game was perfectly running while installing from original setup

that was really a bullshit conversion that wasted my 5hours..

So this time
please help me because i really need nfs the run conversion 5xdvd5

losdepavas21
16-11-2011, 18:05
You can do this conversion base in yener script?? Thanks!

pakrat2k2
16-11-2011, 19:45
You can do this conversion base in yener script?? Thanks!

download it yourself & try it out.. instructions are in the thread

damar15
16-11-2011, 21:44
Thank Man Can you conversion 4 dvd converter yener script thanks :)

gfdiabloper
16-11-2011, 21:54
Hello, a question may also leave the conversion to 2x DVD5 with Only one language? is it possible?

himanshu23
16-11-2011, 23:32
are you trying to resell the backup or something, its really dodgy bloating the game up...


i want reply from REV0 , not from u
and Mind ur own business :p:p:p:rolleyes:

leslietwk
17-11-2011, 00:25
Wow REV0. I've been trying to get rid of those extra 500mb for so long so I don't need the 4th disc.

I really need to learn how to compose those inno scripts. Sigh..

Anyway. Thanks a lot REV0.

loader1
17-11-2011, 02:54
Hello, how can I make a registry key to start the setup is executed.
"[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ EA Games]
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ EA Games \ Need for Speed ​​(TM) The Run]
"Locale"="de_DE"

Otherwise, good work

Thank you

REV0
17-11-2011, 03:39
Hello, how can I make a registry key to start the setup is executed.
"[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ EA Games]
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ EA Games \ Need for Speed ​​(TM) The Run]
"Locale"="de_DE"

Otherwise, good work

Thank you

i dont understand you request, you want to setup launch automatically when you insert dvd is this your request ?

I'll update script about color issues, i received info thanks to pakrat

loader1
17-11-2011, 04:10
I try to write one entry in the registry so that the game starts with the desired language. The script starts the game is okay but English, so that it starts in German, I need the registry entry.

REV0
17-11-2011, 04:38
I try to write one entry in the registry so that the game starts with the desired language. The script starts the game is okay but English, so that it starts in German, I need the registry entry.

Allright, i'm not yet pro for regkeys for INNoO but try this:

Open RUN.iss,

find

Tasks

under it (more specifically under the Physx line) add these:

[Registry]
Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed (TM) The Run; ValueName: Locale; ValueType: String; ValueData: de_DE; Flags: uninsdeletekey

try this please.

I'm not sure, if it's working we can do other languages too.

About yener style converters:

It will take longer time and needs test-retry kinda work, also it's not efficient like INNO setup, when there's too many files, there will be more errors.

You can try to make conversion, however it's not required.

loader1
17-11-2011, 05:03
Hi many thanks for your help :-)
I will adjust the file so and test whether it works.

silentech
17-11-2011, 08:50
i asked about 5xdvd5 conversion because i really need that... just don't make fun of it

I used ur call of duty mw3 yener90 converter , the converter make conversion very slow & at the end when conversion completed i install that, install perfectly but when game launches it shows error & error was due to ur imperfect conversion since game was perfectly running while installing from original setup

that was really a bullshit conversion that wasted my 5hours..

So this time
please help me because i really need nfs the run conversion 5xdvd5
Just make it with winrar, make autorun with notepad..don't need conversion, i think..

phill05
17-11-2011, 11:18
OK, it works fine
Thx ;)

himanshu23
17-11-2011, 12:15
Just make it with winrar, make autorun with notepad..don't need conversion, i think..


thanx great idea:):):)

REV0
17-11-2011, 13:56
1.1 - Font colors changed

hikmetim1975
17-11-2011, 13:56
setup-3b yok

REV0
17-11-2011, 14:02
setup-3b yok

You have 1.5 GB missing data, is this kinda REPACK or something ?

http://img577.imageshack.us/img577/2357/capturebqk.png

silviugut
17-11-2011, 14:16
I have the same problem as hikmetim1975, I do not see Setup-3b However installed the game perfectly and I managed to finish first mission.The game occupy over 15 Giga (15.3). Before to convert I had installed Need for Speed The Run Limited Edition! This be the problem? However conversion works 100% on Win 7 Ultimate x32!

Same problem as hikmetim1975,ENGLISH ONLY!!However conversion works great!!Good job!!

hikmetim1975
17-11-2011, 14:21
Full repack – english only : 6.58 gb

deathfrag
17-11-2011, 14:36
thx for the convertion work great on win 7 64 bit ....but its only english i need it in french plz !!!

REV0
17-11-2011, 15:01
I have the same problem as hikmetim1975, I do not see Setup-3b However installed the game perfectly and I managed to finish first mission.The game occupy over 15 Giga (15.3). Before to convert I had installed Need for Speed The Run Limited Edition! This be the problem? However conversion works 100% on Win 7 Ultimate x32!

Same problem as hikmetim1975,ENGLISH ONLY!!However conversion works great!!Good job!!

Full repack – english only : 6.58 gb

I have signature edition, maybe thats why i have 1gb plus, i need to confirm, do you have Dark Grey BMW in the game as sig edition named 'Jack' ?

rhx for the concertion work great on win 7 64 bit ....but its only english i need it in french plz !!!

I already sent a reg info to user who wanted german, if he manage it to use german, we can do for french too for now it's english only

hikmetim1975
17-11-2011, 15:34
english only dvd files

hikmetim1975
17-11-2011, 15:35
win 7 x64 working

silviugut
17-11-2011, 15:36
Yes,i have Dark Grey BMW in the game !!

hikmetim1975
17-11-2011, 15:38
15.3 GB you are working

REV0
17-11-2011, 16:13
Yes,i have Dark Grey BMW in the game !!

Allright ill add this info to first message, technically theres nothing to worry about because it compiles everythin inside the target folder so nk missing files etc.

Igor007
17-11-2011, 16:35
Is it possible to make 2dvd5 with your conversion, english only?

Fabioddq
17-11-2011, 18:47
Thanks Revo. Worked perfectly!
Tested in English and Win7 64Bits.

pakrat2k2
17-11-2011, 19:51
I already sent a reg info to user who wanted german, if he manage it to use german, we can do for french too for now it's english only

You dont even have a proper Registry section in the script ??

The problem is a MISSING locale & Install Dir in the non-existant registry section.

If you want the game in a different language then add a registry entry line to the [REGISTRY] subsection of INNO Script. Also needs an install dir section.

Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Need for Speed The Run\; ValueName: Install Dir; ValueType: String; ValueData: {app}; Flags: uninsdeletekey

Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Need for Speed The Run\; ValueName: Locale; ValueType: String; ValueData: EN; Flags: uninsdeletekey


CHANGE the EN to whatever language you want the game in.

DE = German
FR = French
IT = Italian
ES - Spanish
PL = Polish
CS = Czech
RU = Russian

etc..

maybe now time to re-update the script ? ;)

Droppo
17-11-2011, 21:42
You dont even have a proper Registry section in the script ??

The problem is a MISSING locale & Install Dir in the non-existant registry section.

If you want the game in a different language then add a registry entry line to the [REGISTRY] subsection of INNO Script. Also needs an install dir section.

Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Need for Speed The Run\; ValueName: Install Dir; ValueType: String; ValueData: {app}; Flags: uninsdeletekey

Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Need for Speed The Run\; ValueName: Locale; ValueType: String; ValueData: EN; Flags: uninsdeletekey


CHANGE the EN to whatever language you want the game in.

DE = German
FR = French
IT = Italian
ES - Spanish
PL = Polish
CS = Czech
RU = Russian

etc..

maybe now time to re-update the script ? ;)


Thnxs man, I was diggin into it, but you made it easier to me...

Droppo.-


EDIT: Been testing it, and these lines made it work for me...

[REGISTRY]
Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed(TM) The Run\; ValueName: Install Dir; ValueType: String; ValueData: {app}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed(TM) The Run\; ValueName: Locale; ValueType: String; ValueData: es_MX; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\EA Games\Need for Speed(TM) The Run\; ValueName: GDFBinary; ValueType: String; ValueData: {app}\GDFBinary_es_MX.dll; Flags: uninsdeletekey

my case is Mexican spanish (spain spanish sucks) so you should change to whatever you choose

agieto25
17-11-2011, 22:47
** i was instaled the game from NFS balck box version, and convert use inno, but at the last when it finishing, they eror, "file cannot specified" if imnot forgot the information failed, and the script was failed..

MacGruber
17-11-2011, 23:12
Worked great for me too, thanx REV0!

I think its possible to squezee it on 2DVD's even, seen some files other than english ones in my installation, size around 2gb.

aeroloverz
18-11-2011, 04:12
revo, when i try to compile it, inno compiler says "unrecognize setup section directive "UsePreviousLanguage"", what did i do wrong?

aeroloverz
18-11-2011, 05:59
use ANSI version of INNO

yep, just found out that ANSI is the usual one, not the unicode xD

lukas1412
18-11-2011, 06:19
I can not download Attachment 2904

2x+1
18-11-2011, 07:44
Is it possible to make 2dvd5 with your conversion, english only?

do anyone work for 2xDVD5?

REV0
18-11-2011, 07:59
** i was instaled the game from NFS balck box version, and convert use inno, but at the last when it finishing, they eror, "file cannot specified" if imnot forgot the information failed, and the script was failed..

file is missing check your data make sure you targeted right directory

do anyone work for 2xDVD5?

Possible, will try it

About regkey thing:

It's working only if you have REAL Multi6 or something.

Script updated.

phill05
18-11-2011, 08:37
REV0, please tell me, where can I find the info about position of buttons in the Autorun? I want to make bigger space between the labels (if it's possible to do)'cause otherwise some buttons will be covered by next button if I move cursor over the first one...
http://img535.imageshack.us/img535/9364/kryt.png/http://img72.imageshack.us/img72/3643/efeew.png ->Here is not visible the rest of text.
Is possible to do something with it? Thanks :)

REV0
18-11-2011, 10:02
REV0, please tell me, where can I find the info about position of buttons in the Autorun? I want to make bigger space between the labels (if it's possible to do)'cause otherwise some buttons will be covered by next button if I move cursor over the first one...
http://img535.imageshack.us/img535/9364/kryt.png/http://img72.imageshack.us/img72/3643/efeew.png ->Here is not visible the rest of text.
Is possible to do something with it? Thanks :)

Edit autorun.iss called 'const'

You should see button size, font etc etc.


BTW, 2 DVD9 is not possible without compression

phill05
18-11-2011, 10:05
Another report: When I installed the game, Autorun doesn't know that game is installed on my pc, Uninstall button is disabled and there is no Play button.

REV0
18-11-2011, 10:10
Another report: When I installed the game, Autorun doesn't know that game is installed on my pc, Uninstall button is disabled and there is no Play button.

it must be fixed after 1.2, do you have same thing still ?

Besides, you can use shortcut to play you know :D

phill05
18-11-2011, 10:19
Ahh, so I'm going to try it with this final script :) thx for tip

REV0
18-11-2011, 14:11
Ahh, so I'm going to try it with this final script :) thx for tip

ok tested new one, don't spend another 2 hours, it's still showing install

phill05
18-11-2011, 14:32
OK, so can you repair? thx

2x+1
18-11-2011, 15:40
desktop shortcut's name: Launch %1Need for Speed The Run

phill05
19-11-2011, 02:08
desktop shortcut's name: Launch %1Need for Speed The Run

Yes, it's same as in installation setup, where is %1Need for Speed The Run/appname%1 too

gfdiabloper
19-11-2011, 04:21
much time compresio OMG i think what is Better repack conversion to 4x dvd5 for time

DonHomerone
19-11-2011, 04:30
much time compresio OMG i think what is Better repack conversion to 4x dvd5 for time

if you don't like it THAT compressed, change
Compression=lzma2/ultra
to
Compression=lzma2/fast

and you're done

pakrat2k2
19-11-2011, 09:08
Yes, it's same as in installation setup, where is %1Need for Speed The Run/appname%1 too

because rev0 didnt remove the {cm:LaunchProgram} from the lines in the [icon] subsection, for the desktop icon, & menushortcuts.

phill05
19-11-2011, 11:28
OK, so I just deleted it, do you know how to repair the script for issue with Autorun?

pakrat2k2
19-11-2011, 11:44
Once you've dont the conversion, you must uninstall from original installation BEFORE you can re-install from dvd5 conversion.. it will remove reg entries that the dvd5 is looking at, then you install from dvd5 version. eject the dvd, reinsert dvd1 and it should show up as play not install.

pakrat2k2
19-11-2011, 13:00
REV0, please tell me, where can I find the info about position of buttons in the Autorun? I want to make bigger space between the labels (if it's possible to do)'cause otherwise some buttons will be covered by next button if I move cursor over the first one...
http://img535.imageshack.us/img535/9364/kryt.png/http://img72.imageshack.us/img72/3643/efeew.png ->Here is not visible the rest of text.
Is possible to do something with it? Thanks :)

you were told already to edit the autorun.iss script!

look for section


const
AWidth= 704;
AHeight= 372;
SND_OPT= $1;
OnMouseOutALabelButtonsFontSize= 17;
OnMouseOverALabelButtonsFontSize= 20;


change the font sizes to smaller values will make them not overlap so much. OR change your desktop display settings see if that makes it any better for you. ( so it doesnt overlay, it reads your display settings and displays images based on that )

REV0
19-11-2011, 14:43
First message edited, conversion has 'proper' shorcut now.

Otherwise there are still some issues about 'install' and 'play' button function. I don't think it's über important anyway.

I also added link of pakrat's message how align the setup information.

pakrat2k2
19-11-2011, 14:49
The issue between Play & Install, are fairly simple.

IF you install from DVD9 and then do the conversion & test it, it will of course show only play not install. You FORGOT to uninstall DVD9 version BEFORE testing dvd5 conversion.

Once you've removed the DVD9 version then dvd5 Conversion will show Install, and afterwards if you insert dvd again, it should show play, rather then install.

Fabioddq
19-11-2011, 15:06
it must be fixed after 1.2, do you have same thing still ?

Besides, you can use shortcut to play you know :D

REV0, I used the conversion RUN 1.0, I need to recompile using version RUN 1.3?

REV0
19-11-2011, 15:41
The issue between Play & Install, are fairly simple.

IF you install from DVD9 and then do the conversion & test it, it will of course show only play not install. You FORGOT to uninstall DVD9 version BEFORE testing dvd5 conversion.

Once you've removed the DVD9 version then dvd5 Conversion will show Install, and afterwards if you insert dvd again, it should show play, rather then install.

i installed from DVD5 version, still same thing (however i didnt made iso)

REV0, I used the conversion RUN 1.0, I need to recompile using version RUN 1.3?

Conversion remains same, however, we changed font color, shorcut issues etc.

aeroloverz
19-11-2011, 18:37
hey rev0, just before compiling was finished, inno says it cannot find the file specified. what file? im using ANSI inno

amdddd
19-11-2011, 19:00
Help me!!
http://i407.photobucket.com/albums/pp156/dordeg/2345.jpg

pakrat2k2
19-11-2011, 19:00
aeroloverz, good luck with that much info.. it should have given error message with what file it could not find.

pakrat2k2
19-11-2011, 19:04
Help me!!
http://i407.photobucket.com/albums/pp156/dordeg/2345.jpg

look at the screenshot where it says compile aborted.... SEE the l?eme.es-mes.txt file... the compiler doesnt understand what the ? is supposed to be...
goto the source for the file and fix the spelling. ( get rid of the ?.. filenames CANNOT have invalid characters )

DonHomerone
19-11-2011, 19:17
it's not actually a ?, it's a é, but since he's not using an ANSI version of innosetup he gets an error... USE ANSI VERSION OF INNOSETUP

pakrat2k2
19-11-2011, 19:41
true, should have looked at where he was from ... first clue :)

GTX590
20-11-2011, 02:35
INNO Setup, much better than any other software !
You guys are really doing an amazing job with it !
THANKS for the conversion !!

Joe Forster/STA
20-11-2011, 04:02
Shouldn't there be a forum sticky or something that adds such general information like using the ANSI version of Inno Setup, not the Unicode version? Would someone like to collect/maintain such facts?

REV0
20-11-2011, 05:13
Shouldn't there be a forum sticky or something that adds such general information like using the ANSI version of Inno Setup, not the Unicode version? Would someone like to collect/maintain such facts?

I'm using portable ANSI version only of INNO, if it's not agaisnt the rules posting the INNO Setup itself i can open a thread

Guitar Expert
20-11-2011, 10:50
Can you tell me why am I getting this error. The setup says that it cannot find the file but it finishes fine and the game runs great. If there is any way to find a solution to this problem because the error presents a great inconvenience for me. Below you will find a link to a picture of the error. (Photobucket is giving me a hard time so I can't show you a picture here)

Picture: http://s1234.photobucket.com/albums/ff404/tenejj/?action=view&current=EROR-1.jpg

pakrat2k2
20-11-2011, 11:00
what OS are you running 32 or 64 bit

REV0
20-11-2011, 11:01
Can you tell me why am I getting this error. The setup says that it cannot find the file but it finishes fine and the game runs great. If there is any way to find a solution to this problem because the error presents a great inconvenience for me. Below you will find a link to a picture of the error. (Photobucket is giving me a hard time so I can't show you a picture here)

Picture: http://s1234.photobucket.com/albums/ff404/tenejj/?action=view&current=EROR-1.jpg

you dont have this file in your setup bin's. It's not important file, it's not related to the game like directx installation, you installed this from other games of products.

to prevent it, make sure you have vcredist in directory you saw in the error

prudislav
23-11-2011, 12:31
what files i need to delete if i Want ENG only version(+maybe some Text-only languages)?

KillerOh
23-11-2011, 13:05
what files i need to delete if i Want ENG only version(+maybe some Text-only languages)?

As I could see from a friend who got this game, all the audio data is stored in (NFS The Run install folder)\\Data\\Win32\\Loc folder, as I haven't seen any another "language related" file in the game folder, other than the "GDFBinary_(lang)_(lang).dll" file (As pointed by REV0 in his 1st post (http://fileforums.com/showpost.php?p=398566&postcount=1)). Each AUDIO files (Audio_(lang).sb) is about 300 mbytes, and the entire "loc" folder has almost 2Gb. So you'll save about 1,7Gb by sending all the unneeded languages away from the conversion. Maybe it can compress enough for 2xDVD5, depending of your version (http://fileforums.com/showpost.php?p=398704&postcount=20).

Anyway, being this custom installer visually based in a peterf's script, you can enable FreeArc compression then create "data1.arc" and "data2.arc" for even more compression - Maybe FreeArc + PreComp + SRep can archieve a english-only backup in a single DVD!
Plus, being yener's script able to de-compress specific files depending of your language of choice, you can easily create a "special" backup with all languages, but that install only the one accoding the language you've chosen in the installer. As it also support FreeArc + PreComp + SRep, it seems that we have a LOT of tools to play during all the night for the best custom install for NFS The Run ever. ;)

andersondj
23-11-2011, 14:00
Revo i have improve your code!
A Change autorum script and need Run Script If you want test!
http://www.megaupload.com/?d=GG6JKHRB


Changelog
AUTORUM
The butons Play and Uninstal it's works now!
RUN
add GDF binary to the game explorer For Win Vista or 7 32,64!
desktop icon it's only created on win XP
i lost to mention thats the remove saved games its works now.

sorry for my bad English i am brazilian.

REV0
23-11-2011, 14:11
Revo i have improve your code!
A Change autorum script and need Run Script If you want test!
http://www.megaupload.com/?d=GG6JKHRB


Changelog
AUTORUM
The butons Play and Uninstal it's works now!
RUN
add GDF binary to the game explorer For Win Vista or 7 32,64!
desktop icon it's only created on win XP

sorry for my bad English i am brazilian.

edit:

It's not working, it compiled 84 mb of content and setup finished.

REV0
24-11-2011, 10:38
Update:

I tested andersondj's autorun and RUN script they didnt work, however i took reg entries from his iss, and changed with mines, now it's working, i updated script to v1.4 thank you friend :)

braveheart280
24-11-2011, 11:26
salut
my prob is that it compil just the executable and stop !!!!!!!!!!!!!! plzzzz help me

REV0
24-11-2011, 11:29
salut
my prob is that it compil just the executable and stop !!!!!!!!!!!!!! plzzzz help me

option 1: try v1.4
option 2: check your game directory
option 3: check your installation content, otherwise it cant just pack exe

braveheart280
24-11-2011, 12:03
i solved the prob and thanks very much
i forgot the second "\" in "..\Games\Need for Speed The Run"

andersondj
24-11-2011, 12:40
Update:

I tested andersondj's autorun and RUN script they didnt work, however i took reg entries from his iss, and changed with mines, now it's working, i updated script to v1.4 thank you friend :)

I created my installer with my modified version and i have no problem!

REV0
24-11-2011, 13:00
I created my installer with my modified version and i have no problem!

interesting indeed then, cause it made an exe and 80 of bin file then it's finished. :confused: Nevermind, already exist setup + your regkeys = works like a charm :D

andersondj
24-11-2011, 13:18
interesting indeed then, cause it made an exe and 80 of bin file then it's finished. :confused: Nevermind, already exist setup + your regkeys = works like a charm :D

Thank's for the Work Looks Great!

amdddd
24-11-2011, 14:25
Hey!! I install Inno ANSI version,but it's problem of unknown languege
Help me Please.
http://i407.photobucket.com/albums/pp156/dordeg/error.png

http://i407.photobucket.com/albums/pp156/dordeg/lang.png

KillerOh
24-11-2011, 15:30
Hey!! I install Inno ANSI version,but it's problem of unknown languege
Help me Please.
http://i407.photobucket.com/albums/pp156/dordeg/error.png


See the file named "L?eme.es-mex.txt" located in the (Game Folder)\\Support\\Readme folder (And NOT in any of innoSetup folders) and rename it, for, por example, "Léeme.es-mex.txt"

Inno Setup cannot reconize one of the "letters" in "L?eme.es-mex.txt" file (That is, the 2nd character, between "L" and "e", and that should be an "é"), so that's why you got this error.
If the error still persist, we can either:

Rename it to Leeme.es-mex.txt
Make the "Support" folder as external in the script itself before compile. To do it, follow these steps:

Open the script with InnoSetup as usual.
Search for THIS line. It's in the very beginning of the code:
LZMAUseSeparateProcess=yes
Now, ADD this line BELOW "LZMAUseSeparateProcess=yes" (Yes, cursor in the end of the line, then ENTER. XD):
ReserveBytes=13000000
The ReserveBytes parameter will save about 13mbytes of "free" space, so you can add the "Support" folder (About 10 mbytes) in the Disk 1 without overflowing it.
Now, find THIS line of the code:
Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
... and REPLACE ONLY THIS LINE for these two:
Source:{src}\Support\*; DestDir: {app}\Support; Flags: external ignoreversion recursesubdirs
Source:{#SourcePath}*; Excludes:{#SourcePath}\Support\*; DestDir: {app}; Flags: ignoreversion recursesubdirs
The first line added will make the entire "Support" folder as an external file, so Inno Will NOT compress it, thus removing this nasty compile error FOREVER.
In the 2nd line, the "Excludes:{#SourcePath}\Support\*" will "force" InnoSetup to compress all files//folders EXCEPT the "Support" folder, as it'll be external to the installer.
After compile, copy the "Support" folder from the game folder to the "RUN_1" folder, as described by REV0 in his conversion (http://fileforums.com/showthread.php?t=92331).
That is:

Setup.exe,
Setup-1a.bin. Setup-1b.bin, Setup-1c.bin
autorun.in/ico
AND the "Support" folder from the game folder

will be the contents of your Disk 1
Disks 2 and 3 will be the same as usual.



BTW, the code changing should be recommended to the REV0's main script, if you wanna know...
If you're THAT lazy, then use THIS "run.iss" inside the attatchment
2936
And replace by the one done by REV0 in his original script.

Another tip: I've noticed that my custom setup took A HELL OF time just to LOAD it.
We can reduce this "loading time" to almost zero by adding "nocompression" flag in all these lines:

Source: .\Wizard_Res\BGI*.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Wizard_Res\SplashScreen.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#ifdef Autorun
Source: .\Wizard_Res\AutorunBGI.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef ISSkin
Source: .\Wizard_Res\{#StylesName}; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef InstallMusicLoop
Source: .\Wizard_Res\{#mp3filename}; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef Autorun
#ifdef AMusicLoop
Source: .\Wizard_Res\{#Autorunmp3filename}; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Wizard_Res\mute_on_off.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#endif
#ifdef Autorun
Source: .\Wizard_Res\{#ClickSoundfilename}; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
Source: .\Libraries\InnoCallback.dll; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Libraries\get_hw_caps.dll; DestDir: {tmp}; Flags: dontcopy nocompression
#ifdef AddToGameExplorer
Source: .\Libraries\GameuxInstallHelper.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef AddToFireWallList
Source: .\Libraries\FirewallInstallHelper.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef FreeArc
Source: .\Libraries\unarc.dll; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef ISSkin
Source: .\Libraries\ISSkin.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif

While this will increase the final size in about 50 mbytes, the installer will load faster.
For the lazy ones, here's a run.iss with BOTH changes (Support folder as external and "nocompression" flag for all "cosmetical" files):
2937

EDIT: All the "run.iss" were modified from the "version 4" of the setup.

KillerOh
24-11-2011, 16:28
Sorry for floooding, but the UNINSTALL button don't work. I doesn't run the uninstaller FROM THE AUTORUN, but uninstalls fine from the uninstaller itself.

andersondj
24-11-2011, 19:33
Sorry for floooding, but the UNINSTALL button don't work. I doesn't run the uninstaller FROM THE AUTORUN, but uninstalls fine from the uninstaller itself.

Download this file http://www.megaupload.com/?d=GG6JKHRB and modifie your source path
OR Edit in autorun.iss this!
begin
PlaySound(expandConstant('{tmp}\Click.wav'),0,SND_ OPT);
if TLabel(sender).caption=ExpandConstant('{cm:AInstal l}') then begin
HForm.Close
Install:=True;
end else begin
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Electronic Arts\Need for Speed The Run',
'Install_Path', appath)
if not Exec(appath+'\Need For Speed The Run.exe', '', '', SW_SHOW,
ewNoWait, ResultCode) then MsgBox(SysErrorMessage(ResultCode)+': Need For Speed The Run.exe', mbCriticalError, MB_OK)
else begin
HForm.Close;
Install:=False;
end;
end;
end;

In Install_Path Change for Install Dir in all of the parts of the Scripts,or if your script is diferent change from InstallFolder to Install Dir

JeDra
28-11-2011, 04:11
At the end I got Line:
Warning: Line 777, Column 15: [Hint] Variable 'N' never used
Is this something important or wrong?
Maybe autorun.inf in Run_1 should be?:
[autorun]
open=Setup.exe
icon=RUN.ico

Working perfectly on win7 32bit

dani_ell
28-11-2011, 04:25
thanks, work in W7 64bits, v1.4

tritbvn
29-11-2011, 08:03
pls help me error "the filename directory name or volume label syntax is incorrect"

andersondj
29-11-2011, 09:31
pls help me error "the filename directory name or volume label syntax is incorrect"

Please read the first post!
Edit this
#define SourcePath "E:\Temp\Need for Speed The Run\" by your game path folder.

pakrat2k2
29-11-2011, 20:44
also the \" MUST be there or you will get the "the filename directory name or volume label syntax is incorrect" error message!

hemamill
07-12-2011, 13:56
can we edite the scripet to mange the size of each dvd like
dvd1 4g
dvd2 4g
dvd3 the rest size

pakrat2k2
07-12-2011, 17:46
the script already does that.. dvd1 ~4.33GB, dvd2 same, dvd3 the rest.

hemamill
08-12-2011, 03:46
the script already does that.. dvd1 ~4.33GB, dvd2 same, dvd3 the rest.
yes i now
only i want to learn how to mange the size of each dvd from script

KillerOh
08-12-2011, 08:13
yes i now
only i want to learn how to mange the size of each dvd from script

How about trying these lines:
DiskSpanning=yes
DiskSliceSize=1550000000
SlicesPerDisk=3
However, Inno's internal compression with "Disk Spanning" enabled has a limitation about how "big" each .CAB file can be (Max 2Gb if I remember), so don't replace the 3 in "SlicesPerDisk" for 1 nor change te value in "DiskSliceSize" to 4650000000 (3x1550000000).
BTW, these are the "optimum settings" for filling Single-layer DVDs as sugested in Inno's documentation.
BTW again, you can enable "freeArc" compression and do something like this (http://fileforums.com/showthread.php?t=92559) AND reduce your backup for 2xDVD5 (But only one language, of course). HOW you'll do it, don't ask me.


Seriously, go to InnoSetup's documentation to know what to do. It was there all the time and even in Inno's site...

The-revenge
08-12-2011, 13:22
i think it can be fit in 2xdvd5. I try tomorrow. My version is Origin version, not needed registry key; infact if you right click in origin and select "repair" origin check and download the missing files, in this case don't download nothing if you extract the backup, and after check and insert the registry key.
I think can fit in 2xdvd5 deleting the other langues for a total of 1,7 gb saved (origin will not download the other languges file, but only your default language!!). I will try with Precomp+Srep+Freearc and then simply divide in 2 .rar archive with compression fast and size limit for fit in a DVD5.
But I need your help, because i don't know how to make an installer. BTW this installer is so simply, there aren't registry to insert, only script to run winrar, frearc, srep and precomp. Button install, repair and unistall don't need, this game is in origin and can be managed from it.
If someone would help me, write it.
Sorry for my english.

KillerOh
08-12-2011, 16:57
I think can fit in 2xdvd5 deleting the other langues for a total of 1,7 gb saved (origin will not download the other languges file, but only your default language).
Please, read properly.
BTW again, you can enable "freeArc" compression and do something like this (http://fileforums.com/showthread.php?t=92559) AND reduce your backup for 2xDVD5 (But only one language, of course).
I just don't know how to do that with Peterf's script, which was the "base" script used by REV0 - Unless you have "data1.arc" and "data2.arc", and each of them with enough size to fit in a single DVD.

I will try with Precomp+Srep+Freearc and then simply divide in 2 .rar archive with compression fast and size limit for fit in a DVD5.
No need to try. It WON'T fit...
Or, at least, PreComp + FreeArc in Maximum (-lx -m800) settings won't fit in a single DVD, even with a single language, but was far from enough to compress it to a 1 DVD5 + 1 CD (About 500-600 mbytes above the DVD5 maximum capacity), so maybe PreComp + SRep + FreeArc in ULTRA settings (-lx -md1600) will compress to 1xDVD5.

But I need your help, because i don't know how to make an installer.
While I never did a installer by myself nor tried Yener's codes, if you want a pretty easy way to do an installer and NOT be called a "retard" by some kids (http://fileforums.com/showpost.php?p=398879&postcount=20), then you MUST try Yener's script:
http://fileforums.com/showthread.php?t=91563
Download the "CI 6.8.rar", change only the game data (Like game title, default folder and the like in the INI file) and compile with InnoSetup. I don't remember if it works with ANSI or UNICODE, but use ANSI just to be safe.

Then:
- Install FreeArc

- From here on, locate the game files and folders by yourself.
You may thing I suck doing this, but HEY! Testing which files you should compress and the ones you shouldn't are just part of fun that I've "stripped" for you! ;)

- Delete all uneeded languages from "loc" folder (Unless you have only one language)
--> But just to be safe, make sure you have the "GDFBinary_(language).dll" file that MATCHES the language you want to backup in the game folder.

- Use MAXIMUM (-mx -ld800) settings to compress the "_c4" folder and save as "data1.cab" (Notice that you must save the file as ".CAB" and NOT as .ARC, which is the FreeArc's defaults)

- Use NO COMPRESSION (-m0) settings for the file "Chunks2.sb" and save as "data2.cab"

- Grab these two, all "redist" installers and make DISK 1

- use "-mx -ld400" (Write it in the "compression settings" in FreeArc) to compress all the files inside "Win32" except "Chunks2.sb" and save as "data3.cab"
--> You can use "MAXIMUM (-mx -ld800) for these files, but it won't compress too much more than "-mx -ld400", so why bother with ULTIMATE compression? ;)

- use NO compression settings (Or any compression you want) for all and every remaining file that you haven't compressed until now and save as "data4.cab"
--> Optionally, you can "compress" separately all these remaining files and//or folders with no compression and saving them as "data4.cab", "data5.cab" and so on. As long as they're "declared" in the .INI file along with the compiled custom installer, it'll be fine.
Heck, if you find a way to compress the game in a single DVD with FreeArc + PreComp + SRep you can easily CHANGE the settings with NO NEED to re-compile the installer again. Just change some lines in INI file and we're fine again! AND THAT IS DAMN FU***N' SERIOUS! (http://fileforums.com/showthread.php?p=396312#post396312)

- Now grab these files for DISK 2.

And just to be safe, READ THE ENTIRE THREAD and see all the tips posted here. Everything, even the "wrong" data. Grab all relevant data before "go nuts" with InnoSetup. And don't ignore the "registry" keys posted here. They are useful enough to "force" the language, and **MAY** be useful for a 3xDVD5 multi-language backup.

Last thing: Notice that I've posted the "instructions" in the simplest way possible. Maybe they aren't THAT simple in pratice, but I haven't done a installer, as I said before, so I'm not the best person from here to help you. But I've already give you a "North" to follow. At this point, you are by your own, but trust me, this isn't the "rocket science" you think it is. And not even "school science" with the "north" I gave in this post. Good luck! :D

The-revenge
09-12-2011, 02:02
thank you. In my post there are an error, when i said tath the game can fit in DVD5 with precomp+srep+freeac, obiviusly i mean 2xDVD5. It's impossibile to reduced 15,4 gb (without foreign languages!!) to fit in 4,3 gb.
Btw the only reason for try the 2xdvd5 for me is the failure of conversion in open post. At 6 minute for the end, inno return me an error "file don't found" and the conversion aborted.

KillerOh
09-12-2011, 05:12
thank you. In my post there are an error, when i said tath the game can fit in DVD5 with precomp+srep+freeac, obiviusly i mean 2xDVD5. It's impossibile to reduced 15,4 gb (without foreign languages!!) to fit in 4,3 gb.
As I said before, using PreComp and FreeArc with MAXIMUM settings won't work. Maybe adding SRep will do the trick. MAYBE. But I'm not up to test it. =/
AND there's absolutely NO NEED to use PreComp and SRep for 2xDVD5. Just strip the unneeded languages, use Yener's script, some FreeArc and we're done. ;)

Btw the only reason for try the 2xdvd5 for me is the failure of conversion in open post. At 6 minute for the end, inno return me an error "file don't found" and the conversion aborted.
That's strange. That shouldn't be any "file not found" error.
The way this custom installer was coded should simply compress all and any files inside the folder you insert in the "#define" part (1st line) of the code, as pointed by REV0, regardless its content...
You will change first line, according to your RUN setup:

#define SourcePath "D:\Program Files (x86)\Electronic Arts\Need for Speed The Run\"

For example; if you installed the game in somewhere like D:\GAMES you will change the line above like this:

#define SourcePath "D:\GAMES\Electronic Arts\Need for Speed The Run\"

...Unless you've got THIS error:
I install Inno ANSI version,but it's problem of unknown languege
http://i407.photobucket.com/albums/pp156/dordeg/error.png
Where I've provided a "quick-time solution" here:
http://fileforums.com/showpost.php?p=399173&postcount=89

Make sure you have a clean install of the latest InnoSetup and free disk space. And considering that Inno could use the windows default "temp" folder, provide enough free space in your OS Harddrive//Partition, just to be safe. Consider that for FreeArc compressions, BTW.

The-revenge
09-12-2011, 09:00
I considered the problem is the special caracters of some .txt file, and to solve it i will delete it. But need to make the conversion again.
Tell me more about 2xDVD5 with only one language. Are you sure fit in 2 DVD5 with only freearc compression? Without foreign languages, the size is 15,4 gb and the size of 2xDVD5 is about 8,6 gb. Is possibile to compress with only freearc a more than 6,8 gb?
I'm not ability to create or modify inno script, so i hope anyone make the 2xDVD5 and post it here

KillerOh
09-12-2011, 10:26
I considered the problem is the special caracters of some .txt file, and to solve it i will delete it. But need to make the conversion again.
I've posted a solution to this sometime ago, and in my previous post, and now here:
http://fileforums.com/showpost.php?p=399173&postcount=89
(Simply put: Modify the script to put the "readme" files as external to IGNORE the name then re-compile)

If you want a damn fast conversion (But to 4xDVD5), then do this:
http://fileforums.com/showpost.php?p=398806&postcount=55

Tell me more about 2xDVD5 with only one language. Are you sure fit in 2 DVD5 with only freearc compression?
Almost sure. The biggest amount of files (All files inside "win32" folder except "Chunks2.sb" and the "_c4" folder) compressed at maximum settings have sizes of 3,52Gb and 2,89Gb. Adding the "Chunks2.sb" along the smallest file and compress all the EXEs, Support and sh*t should fit in a single DVD. Compress the language (MAXIMUM settings too) and we have enough for another one.

AND, with Yener's script, compress EACH and we have far from enough to do a Multi-language, 3xDVD5 backup on the go. ;)

Guess I'll try Yener's code tonight. :D

The-revenge
10-12-2011, 03:57
Guess I'll try Yener's code tonight. :D
I'll wait your test. I tried, in past, to make a conversion with yener's code, but I failed. Now I'll wait your test, otherwise I'll proceed with another conversion 3XDVD5

Xaelin
04-02-2012, 03:24
If i start setup.exe i have this error.

http://img837.imageshack.us/img837/994/trun.png

I used ansi version and finished compile with no errors.


ps.: Sorry for my bad english

********************************

I tested virtual machine (Windows XP Mode) running. But on my operating system (win7x64) is not running.

Win7 Ultimate X64
AMD Phenom II X6 1055T , 4GB , Gigabyte GA-890XA-UD3 , AMD 790X, AMD K10
ZOTAC NVIDIA GeForce 8800 GT , Creative Audigy SE (SB0570) Sound Card

********************************

I uninstall all visual runtime 2005,2008,2010 and install again but still dont work.

********************************
Tried 18:53

I did it compile game again and with no error.
Uninstalled all framework & c++ runtime files and reinstall but;

Still dont work. Please help :)

Thanks for help from now

Im so sorry for my very bad english.

pakrat2k2
04-02-2012, 09:06
did you mount the ISO & run from there AND disable anti-virus before running the installer?

Xaelin
04-02-2012, 10:33
http://img580.imageshack.us/img580/8941/tr22.png

* I Uninstalled AVG Internet Security
* I used in folder setup.exe
* I maked 3xdvd5 iso

but still dont work :(

***************

added;
* I removed all Virtual Drive

pakrat2k2
04-02-2012, 20:09
the ISO names were supposed to be same as folder names
4. After compile, create 3 folders and name them RUN_1, RUN_2, RUN_3

so DVD1 should have label RUN_1, DVD2 is RUN_2, DVD3 is RUN_3

Xaelin
05-02-2012, 03:47
http://img515.imageshack.us/img515/903/tr33.png

I think problem is in my operating system. I'll install again windows and be right back for answer :) See you soon. :)

@pakrat2k2
Really very thanks for try help

************************************************** *************
06.02.2012
Working after format windows.
http://img641.imageshack.us/img641/22/worksmn.png

kshmsh007
21-10-2012, 11:12
i installed the iso image cd1 and cd2 ...After complete installation when i tried to crack the file it gave me error " the procedure entry point getcurrentprocessornumber could not be located in the dyanamic link library KERNEL.dll" and when i double click the icon it gave took me to the downloading server to verify....how can i use the game...i meet all the requirements to play this games then what is the problem

Joe Forster/STA
22-10-2012, 09:17
GetCurrentProcessorNumber is available on Windows Vista and above only; do you have XP?

REV0
22-10-2012, 09:19
when i tried to crack the file...

it gave took me to the downloading server to verify

It seems you're being redirrected to Origin. Bad crack ?

pakrat2k2
26-02-2019, 06:04
Need for Speed - The Run (2DVD9 to 3 DVD5) * INNO Setup*
Updated conversion to CIU 3.0.0.0.u2 + DiskSpan!!
can I get help ?

too old!! Use this one
https://fileforums.com/showthread.php?t=95036