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


All times are GMT -7. The time now is 21:07.

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