Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2012, 04:46
REV0 REV0 is offline
Banned
 
Join Date: Nov 2010
Location: Hawaii
Posts: 1,131
Thanks: 70
Thanked 1,813 Times in 287 Posts
REV0 is on a distinguished road
Question INNO TROUBLESHOOT - Questions Here

To keep forum clean, ask your questions, explain your problems about INNO Setup and it's contents in here, instead of opening threads about them.
Before asking your question, check HERE to see if the answer is already there.

Last edited by Grumpy; 08-08-2012 at 04:57.
Reply With Quote
The Following 4 Users Say Thank You to REV0 For This Useful Post:
kajubin (28-09-2013), mertderler (16-02-2016), Razor12911 (28-02-2013), Vatsal Singh (03-01-2014)
Sponsored Links
  #2  
Old 08-08-2012, 05:08
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,300
Thanks: 671
Thanked 1,153 Times in 494 Posts
Grumpy is on a distinguished road
Originally Posted by JacksMafia

ok first thanks so much REV0 for this tutorials i really understood much from it
but i'm still beginner in this so you'll have to bear me for a while
1.i already got video and insert it in to setup.cab no problem in this but when installation start there is no audio but the video works ok and the menu music works fine too .i found video in setup.cab and i replaced it-deleted my video-and it worked fine so what i do wrong?

2.i need you to tell me what's the best compression ratio for internal installation i now use this

Compression=lzma2/ultra64
;ExtraDiskSpaceRequired={#ExtraNeedSize}
LZMADictionarySize=65536
CompressionThreads=3
LZMANumFastBytes=273
SolidCompression=yes
LZMAUseSeparateProcess=yes

is this the best of it?

3. after game installed if i run the dvd again it doesn't detect that the game is installed meaning that the play button is not active why is that? the game i try to install doesn't have key in registry by default so i create a simple key for it have a look on it

[Registry]
Root: HKLM; SubKey: "SOFTWARE\THQ\DoW2 CR"; ValueName: UninstallString; ValueData: {uninstallexe}; ValueType: string; Flags: UninsDeleteKey;

is that right? or i have to do something else?

that's all for now

thanks for advise
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'

Last edited by Grumpy; 08-08-2012 at 06:43.
Reply With Quote
  #3  
Old 08-08-2012, 05:09
REV0 REV0 is offline
Banned
 
Join Date: Nov 2010
Location: Hawaii
Posts: 1,131
Thanks: 70
Thanked 1,813 Times in 287 Posts
REV0 is on a distinguished road
Quote:
Originally Posted by JacksMafia

ok first thanks so much REV0 for this tutorials i really understood much from it
but i'm still beginner in this so you'll have to bear me for a while
1.i already got video and insert it in to setup.cab no problem in this but when installation start there is no audio but the video works ok and the menu music works fine too .i found video in setup.cab and i replaced it-deleted my video-and it worked fine so what i do wrong?

2.i need you to tell me what's the best compression ratio for internal installation i now use this

Compression=lzma2/ultra64
;ExtraDiskSpaceRequired={#ExtraNeedSize}
LZMADictionarySize=65536
CompressionThreads=3
LZMANumFastBytes=273
SolidCompression=yes
LZMAUseSeparateProcess=yes

is this the best of it?

3. after game installed if i run the dvd again it doesn't detect that the game is installed meaning that the play button is not active why is that? the game i try to install doesn't have key in registry by default so i create a simple key for it have a look on it

[Registry]
Root: HKLM; SubKey: "SOFTWARE\THQ\DoW2 CR"; ValueName: UninstallString; ValueData: {uninstallexe}; ValueType: string; Flags: UninsDeleteKey;

is that right? or i have to do something else?

that's all for now

thanks for advise
1. It could be encode error

2. yes, lzma2/ultra 64 is the strongest compression for internal setups

3. Because INNO has it's own regkeys so it will detect that game is not installed, that's normal.

And like i stated in tutorial, DO NOT play with Subkey.

In every case, subkey will look like this:

Code:
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName}"...
Reply With Quote
  #4  
Old 08-08-2012, 22:21
JacksMafia's Avatar
JacksMafia JacksMafia is offline
Registered User
 
Join Date: Feb 2010
Location: USA
Posts: 128
Thanks: 53
Thanked 14 Times in 12 Posts
JacksMafia is on a distinguished road
ok new question i will use external compressor but i still need the command line for compress a folder that contains a lot of sub-folders
so what to write ? cause if i wrote the path for it followed by \. it compress the contents but not the folders -files only- i need to know what code to write so it compress not just the files in the main game folder but also the folders in it which surly contains data
here is what i did

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\*" -x"%choice1%\GameAssets"
if ERRORLEVEL 1 goto arcfail

this will exclude GameAssets folder and should compress every thing else but it only compress the other files in the main folder but not the other folders

thanks for advise

Last edited by JacksMafia; 08-08-2012 at 22:31.
Reply With Quote
  #5  
Old 09-08-2012, 04:53
REV0 REV0 is offline
Banned
 
Join Date: Nov 2010
Location: Hawaii
Posts: 1,131
Thanks: 70
Thanked 1,813 Times in 287 Posts
REV0 is on a distinguished road
Quote:
Originally Posted by JacksMafia View Post
ok new question i will use external compressor but i still need the command line for compress a folder that contains a lot of sub-folders
so what to write ? cause if i wrote the path for it followed by \. it compress the contents but not the folders -files only- i need to know what code to write so it compress not just the files in the main game folder but also the folders in it which surly contains data
here is what i did

arc a -ep -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\*" -x"%choice1%\GameAssets"
if ERRORLEVEL 1 goto arcfail

this will exclude GameAssets folder and should compress every thing else but it only compress the other files in the main folder but not the other folders

thanks for advise
You have to separate bin files for each folder. You cant compress 2 folder and it's contents i believe.
Reply With Quote
  #6  
Old 09-08-2012, 08:19
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 12 Times in 5 Posts
Onizuka87k is on a distinguished road
Quote:
Originally Posted by REV0 View Post
You have to separate bin files for each folder. You cant compress 2 folder and it's contents i believe.
Have you ever tried -r parameter?!
Reply With Quote
  #7  
Old 09-08-2012, 08:51
REV0 REV0 is offline
Banned
 
Join Date: Nov 2010
Location: Hawaii
Posts: 1,131
Thanks: 70
Thanked 1,813 Times in 287 Posts
REV0 is on a distinguished road
Well, i'm not God, i cant know everything, i said 'i believe' not 'i know'. Also i didnt use precomp srep until now. So thanks for saying -r parameter, maybe you can also tell us where to put it so i can update tutorial thread

Cheers

Nevermind, found it

Last edited by REV0; 09-08-2012 at 08:57.
Reply With Quote
  #8  
Old 09-08-2012, 10:07
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 12 Times in 5 Posts
Onizuka87k is on a distinguished road
Quote:
Originally Posted by REV0 View Post
Well, i'm not God, i cant know everything, i said 'i believe' not 'i know'. Also i didnt use precomp srep until now. So thanks for saying -r parameter, maybe you can also tell us where to put it so i can update tutorial thread

Cheers

Nevermind, found it
Sorry REV0, it didn't want to be a critical!
I expressed it badly, i was in a hurry!
Reply With Quote
  #9  
Old 09-08-2012, 11:44
JacksMafia's Avatar
JacksMafia JacksMafia is offline
Registered User
 
Join Date: Feb 2010
Location: USA
Posts: 128
Thanks: 53
Thanked 14 Times in 12 Posts
JacksMafia is on a distinguished road
ok guys let get in the middle here i have tried using -r command but it didn't done the job for me and here is what i mean


as you see in the image there is files and folder compressed in the .bin file the problem is the folder
Assets contains sub-folders ArchiveDesign and Maps which are compressed out of the Assets folder......!!!!
also the files inside these sub-folders are compressed out of them .......!!!
these files should be inside these sub-folders and these sub-folders should be inside the Assets folder
here the command i used

arc a -ep -r -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets"
if ERRORLEVEL 1 goto arcfail

you will notice that i used -r command which gives me the same result if i didn't use it and write at the end of the command \. to be like this

arc a -ep -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets\."
if ERRORLEVEL 1 goto arcfail


so help please
Reply With Quote
  #10  
Old 09-08-2012, 11:52
REV0 REV0 is offline
Banned
 
Join Date: Nov 2010
Location: Hawaii
Posts: 1,131
Thanks: 70
Thanked 1,813 Times in 287 Posts
REV0 is on a distinguished road
Quote:
Originally Posted by JacksMafia View Post
ok guys let get in the middle here i have tried using -r command but it didn't done the job for me and here is what i mean


as you see in the image there is files and folder compressed in the .bin file the problem is the folder
Assets contains sub-folders ArchiveDesign and Maps which are compressed out of the Assets folder......!!!!
also the files inside these sub-folders are compressed out of them .......!!!
these files should be inside these sub-folders and these sub-folders should be inside the Assets folder
here the command i used

arc a -ep -r -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets"
if ERRORLEVEL 1 goto arcfail

you will notice that i used -r command which gives me the same result if i didn't use it and write at the end of the command \. to be like this

arc a -ep -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets\."
if ERRORLEVEL 1 goto arcfail


so help please
you'll use -r, -x, -n values between lc8 and ''choice1 in my TDU2 conversion.

If you used BAMSE's, the one i gave in tutorial thread, you'll use them instead -w.

So, both of bat files are different. I suggest to start from BAMSE's, so make thing easier as beginning.
Reply With Quote
  #11  
Old 09-08-2012, 13:20
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 12 Times in 5 Posts
Onizuka87k is on a distinguished road
Quote:
Originally Posted by JacksMafia View Post
here the command i used

arc a -ep -r -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets"
if ERRORLEVEL 1 goto arcfail

you will notice that i used -r command which gives me the same result if i didn't use it and write at the end of the command \. to be like this

arc a -ep -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets\."
if ERRORLEVEL 1 goto arcfail


so help please
Code:
arc a -r -w.\ .\Disk2\Data2.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Assets\*"
For test, with fake files:



Last edited by Onizuka87k; 09-08-2012 at 13:30.
Reply With Quote
  #12  
Old 09-08-2012, 14:12
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 358
Thanks: 49
Thanked 267 Times in 90 Posts
BAMsE is on a distinguished road
JacksMafia your problem is -ep instead of -ep1
Have a nice day
Reply With Quote
  #13  
Old 09-08-2012, 14:23
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 12 Times in 5 Posts
Onizuka87k is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
JacksMafia your problem is -ep instead of -ep1
Have a nice day
Hum.. -ep1 compress the content of the root folder and NOT the root folder itself.
I mean
Reply With Quote
  #14  
Old 09-08-2012, 20:10
JacksMafia's Avatar
JacksMafia JacksMafia is offline
Registered User
 
Join Date: Feb 2010
Location: USA
Posts: 128
Thanks: 53
Thanked 14 Times in 12 Posts
JacksMafia is on a distinguished road
the working code is

arc a -r -ep1 -w.\ .\Disk1\Data1.bin -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\*" -x"%choice1%\GameAssets\*"
if ERRORLEVEL 1 goto arcfail


thanks guys for helping me
Reply With Quote
  #15  
Old 09-08-2012, 20:57
JacksMafia's Avatar
JacksMafia JacksMafia is offline
Registered User
 
Join Date: Feb 2010
Location: USA
Posts: 128
Thanks: 53
Thanked 14 Times in 12 Posts
JacksMafia is on a distinguished road
ok guys here is another problem i got when moving on to 2 step
GameAssets folder contains 4 sub-folders i need to compress 2 of them to be .bin file and the other 2 to another .bin file
i used the code above but i ended with strange result which is compressing the GameAssets folder in the first bin file which i excluded it in the code like you see above and the compress the contents of the GameAssets folder
to another bin file
you see here that GameAssets folder exist and-it's not visible here-it's sub-folders too and it's empty


and here is the contents of one of the sub-folders in the other bin file



so help pleaseeeeeeeeeee
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 125 13-03-2016 19:39
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 10:48



All times are GMT -7. The time now is 16:48.


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