FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   Need for Speed - The Run (2DVD9 to 3 DVD5) * INNO Setup* (https://fileforums.com/showthread.php?t=92331)

andersondj 24-11-2011 12:40

Quote:

Originally Posted by REV0 (Post 399160)
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

Quote:

Originally Posted by andersondj (Post 399165)
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

Quote:

Originally Posted by REV0 (Post 399166)
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/p...rdeg/error.png

http://i407.photobucket.com/albums/p...ordeg/lang.png

KillerOh 24-11-2011 15:30

2 Attachment(s)
Quote:

Originally Posted by amdddd (Post 399171)
Hey!! I install Inno ANSI version,but it's problem of unknown languege
Help me Please.
http://i407.photobucket.com/albums/p...rdeg/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:
    1. Open the script with InnoSetup as usual.
    2. Search for THIS line. It's in the very beginning of the code:
      Code:

      LZMAUseSeparateProcess=yes
    3. Now, ADD this line BELOW "LZMAUseSeparateProcess=yes" (Yes, cursor in the end of the line, then ENTER. XD):
      Code:

      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.
    4. Now, find THIS line of the code:
      Code:

      Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
    5. ... and REPLACE ONLY THIS LINE for these two:
      Code:

      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.
    6. After compile, copy the "Support" folder from the game folder to the "RUN_1" folder, as described by REV0 in his conversion.
      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
Attachment 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:
Code:

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):
Attachment 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

Quote:

Originally Posted by KillerOh (Post 399175)
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

Quote:

Originally Posted by tritbvn (Post 399380)
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

Quote:

Originally Posted by pakrat2k2 (Post 399716)
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

Quote:

Originally Posted by hemamill (Post 399729)
yes i now
only i want to learn how to mange the size of each dvd from script

How about trying these lines:
Code:

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

Quote:

Originally Posted by The-revenge (Post 399735)
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.
Quote:

Originally Posted by KillerOh (Post 399732)
BTW again, you can enable "freeArc" compression and do something like this 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.

Quote:

Originally Posted by KillerOh (Post 399732)
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.

Quote:

Originally Posted by KillerOh (Post 399732)
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, 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!


- 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

Quote:

Originally Posted by The-revenge (Post 399742)
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. ;)

Quote:

Originally Posted by The-revenge (Post 399742)
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...
Quote:

Originally Posted by REV0 (Post 398566)
You will change first line, according to your RUN setup:

Code:

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

Code:

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

...Unless you've got THIS error:
Quote:

Originally Posted by amdddd (Post 399171)
I install Inno ANSI version,but it's problem of unknown languege
http://i407.photobucket.com/albums/p...rdeg/error.png

Where I've provided a "quick-time solution" here:
http://fileforums.com/showpost.php?p...3&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

Quote:

Originally Posted by The-revenge (Post 399745)
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...3&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...6&postcount=55

Quote:

Originally Posted by The-revenge (Post 399745)
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

Quote:

Originally Posted by KillerOh (Post 399746)

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

Quote:

Originally Posted by kshmsh007 (Post 408538)
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

Quote:

Originally Posted by masen485 (Post 479754)
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


All times are GMT -7. The time now is 13:01.

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