Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-04-2013, 15:57
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Hello y_thelastknight,
Do you AGB Golden Team compression method (parameter)?

Last edited by danswano; 05-04-2013 at 16:01.
Reply With Quote
Sponsored Links
  #2  
Old 05-04-2013, 16:14
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
Quote:
Originally Posted by danswano View Post
Hello y_thelastknight,
Do you AGB Golden Team compression method (parameter)?
Use -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Reply With Quote
  #3  
Old 05-04-2013, 16:20
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Ah dude, this method is very common and can be found everywhere, i can't achieve a smaller size with repacks.
Do you have something better for better compression ratio?
Reply With Quote
  #4  
Old 06-04-2013, 18:13
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
thank, i want to known how yener90 can create compress.bat to create repack. In topic of Kurutucu blackbox script. In don't know how to create repack with hight compress file with arc. Can you help me?
Reply With Quote
  #5  
Old 06-04-2013, 19:28
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
i want to ask some question. Yener90 how can create interface setup, can you help me to create this same blackbox repack!Thank!
Reply With Quote
  #6  
Old 07-04-2013, 01:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,753
Thanks: 2,189
Thanked 11,217 Times in 2,311 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by huavancuong098 View Post
i want to ask some question. Yener90 how can create interface setup, can you help me to create this same blackbox repack!Thank!
use botva2
Reply With Quote
  #7  
Old 07-04-2013, 08:29
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
i don't known this, can you help me!
Reply With Quote
  #8  
Old 07-04-2013, 08:32
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Hello dear Razor,
I have a problem with your last mod to install destination hack you provided:
if i use for example this name:
#define AppName "Clive Barker's Jericho"
i get this error:
Unknown identifier 's'
but like this #define AppName "Clive Barkers Jericho" everything is fine
is it possible to use such names?
Reply With Quote
  #9  
Old 07-04-2013, 12:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,753
Thanks: 2,189
Thanked 11,217 Times in 2,311 Posts
Razor12911 is on a distinguished road
never use apostrophes. the inno preprocessor projects what ever is written to the specified point, now if you include an apostrophe, it is like you are breaking a circle of some sort, for example in a situation like this.

ExpandConstant('{#appname}');

then it will be like this, ExpandConstant('Clive Barker's Jericho');

now there are there apostrophes, like in English but called quotation marks, when you quote, there has to be an opening quotation and the closing quotation, he asked "who wants to die tonight?"
Reply With Quote
  #10  
Old 08-04-2013, 02:03
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
In Pascal, an apostrophe character inside a string literal needs to be doubled:
Code:
#define AppName "Clive Barker''s Jericho"
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #11  
Old 08-04-2013, 05:10
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Joe Forster/STA View Post
In Pascal, an apostrophe character inside a string literal needs to be doubled:
Code:
#define AppName "Clive Barker''s Jericho"
Doubling them will keep them both in the installer, that's not a solution.
Reply With Quote
  #12  
Old 08-04-2013, 05:57
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by danswano View Post
Doubling them will keep them both in the installer, that's not a solution.
I found these relevant pages: http://www.jrsoftware.org/ispphelp/i...ic=expressions and http://www.mirality.co.nz/inno/tips.php#strings.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
The Following User Says Thank You to Joe Forster/STA For This Useful Post:
danswano (08-04-2013)
  #13  
Old 07-04-2013, 18:03
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
Ok guys I tested the code to give a folder icon to the installer.

The code and this attached to that of yenner90

section put a personal icon file in the folder include
call Desktop.ico
;********************name icon file********************************;
[Files]
Source: Include\Desktop.ico; DestDir: {app}; Flags: ignoreversion; Attribs: hidden system
;************************************************* *************;
code section find CurStepChanged try and replace it with this add the red section

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
procedure CurStepChanged(CurStep: TSetupStep);
var n,i:integer;
ErrorCode: Integer;
begin
if CurStep = ssPostInstall then
begin
SetIniString('.ShellClassInfo', 'IconResource',
ExpandConstant('{app}\Desktop.ico') + #13#10 'IconIndex=0', ExpandConstant('{app}\desktop.ini'));
Exec('attrib', ' +r ' + '"' + ExpandConstant('{app}') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode);
Exec('attrib', ' +h +s ' + '"' + ExpandConstant('{app}\desktop.ini') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode);
end;


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Find CurUninstallStepChanged try and add first end; highlighted in red


end;
end;
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Final code Uninstall.dat try and add the red section

ExpandConstant('{tmp}\Uninstall.dat'))), True, True, True);
DeleteFile(ExpandConstant('{app}\desktop.ini'));
end;
end;
end;
end;
end;
Reply With Quote
The Following User Says Thank You to nicola16 For This Useful Post:
Razor12911 (08-04-2013)
  #14  
Old 08-04-2013, 05:08
spawniectes's Avatar
spawniectes spawniectes is offline
Senior Member
 
Join Date: Sep 2010
Location: Argentina
Posts: 202
Thanks: 52
Thanked 401 Times in 76 Posts
spawniectes is on a distinguished road
anyone can tell me how to fix an srep error.
Code:
broken compressed data.
error code:-12
I compress 3 times now, and I keep getting that damn error.
__________________
always above all, keep in mind that some day you will die. Bushido.
Reply With Quote
  #15  
Old 08-04-2013, 05:11
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,753
Thanks: 2,189
Thanked 11,217 Times in 2,311 Posts
Razor12911 is on a distinguished road
bottom, line, never use special characters
Reply With Quote
Reply


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 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 20:49.


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