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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19-06-2013, 01:18
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by red01 View Post
i run the script Main(Compact.Mode).iss

it gives me an error
Line 40:
column 1:
Identified Expected.
can you check the Error again Line 40 or 140?

what is your inno setup version ANSI or UNICODE?
Reply With Quote
Sponsored Links
  #2  
Old 19-06-2013, 01:31
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
can you check the Error again Line 40 or 140?

what is your inno setup version ANSI or UNICODE?
my Bad
it was line 140..
sorry again

I am using Ansi version of Innoset up.
Reply With Quote
  #3  
Old 19-06-2013, 01:40
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by red01 View Post
my Bad
it was line 140..
sorry again

I am using Ansi version of Innoset up.
i thought

find this line and change this to
Code:
type
#ifdef UNICODE
 PChar = PAnsiChar;
#endif
this
Code:
#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif
Reply With Quote
The Following 3 Users Say Thank You to y_thelastknight For This Useful Post:
kostaskaraivalis (19-06-2013), M3HDI (17-10-2013), red01 (19-06-2013)
  #4  
Old 19-06-2013, 02:31
kostaskaraivalis kostaskaraivalis is offline
Registered User
 
Join Date: Jun 2013
Location: Greece
Posts: 9
Thanks: 8
Thanked 1 Time in 1 Post
kostaskaraivalis is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
find that line and change it into
Code:
#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif
I was getting the exact same error, but I was waiting for someone else to make that question..
Many thanks y_thelastknight!
Reply With Quote
  #5  
Old 19-06-2013, 02:58
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
i thought

find this line and change this to
Code:
type
#ifdef UNICODE
 PChar = PAnsiChar;
#endif
this
Code:
#ifdef UNICODE
type
 PChar = PAnsiChar;
#endif
Thanks @thelastknight,
this solved my problem.


I have a little question to ask again.

I use classical method of compression
i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup.

lets assume my data file is data1.arc (after final -mx compression).

What changes i have to make in archieves.ini for this method of compression.?
Reply With Quote
  #6  
Old 19-06-2013, 10:07
kostaskaraivalis kostaskaraivalis is offline
Registered User
 
Join Date: Jun 2013
Location: Greece
Posts: 9
Thanks: 8
Thanked 1 Time in 1 Post
kostaskaraivalis is on a distinguished road
Quote:
Originally Posted by red01 View Post
I have a little question to ask again.

I use classical method of compression
i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup.

lets assume my data file is data1.arc (after final -mx compression).

What changes i have to make in archieves.ini for this method of compression.?
Try this assuming your compressed files have the same name "data1"
Code:
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISSRepExtract   ( 0, 33, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
Reply With Quote
  #7  
Old 19-06-2013, 10:22
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
kostaskaraivalis You missed the Precomp part..
Code:
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
Reply With Quote
  #8  
Old 19-06-2013, 20:28
red01 red01 is offline
Registered User
 
Join Date: May 2013
Location: last aayam
Posts: 95
Thanks: 36
Thanked 9 Times in 8 Posts
red01 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
kostaskaraivalis You missed the Precomp part..
Code:
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

@ y_thelastknight

you and kostaskaraivalis both used different variabales in archieve.ini i.e. 0,25 (your values) and 0,33 (kostaskaraivalis 's value).

what effect those variable (in archieves.ini) make in this file or game compression.?

BTW thanks for your reply.
Reply With Quote
  #9  
Old 19-06-2013, 22:51
kostaskaraivalis kostaskaraivalis is offline
Registered User
 
Join Date: Jun 2013
Location: Greece
Posts: 9
Thanks: 8
Thanked 1 Time in 1 Post
kostaskaraivalis is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
kostaskaraivalis You missed the Precomp part..
Code:
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
He said he used only Arc -m0 --> srep --> arc -mx
there is method without using precomp as well.
Reply With Quote
The Following User Says Thank You to kostaskaraivalis For This Useful Post:
y_thelastknight (20-06-2013)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24



All times are GMT -7. The time now is 22:58.


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