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
  #271  
Old 18-06-2013, 21:11
assassin193 assassin193 is offline
Registered User
 
Join Date: Jun 2013
Location: HCM
Posts: 18
Thanks: 8
Thanked 0 Times in 0 Posts
assassin193 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
edit main.iss and look for

[Languages]
Name: eng; MessagesFile: compiler ; default.isl ( without spaces to avoid emotion icons showing up )

change it to vietnamese, the isl chould be in placed is inno dir languages subfolder.
C:\Program Files (x86)\Inno Setup 5\Languages
i follow your instruction and ...

but i create folder Languges in folder Black_Box_Script_By_Kurutucu_V1.8 it actually works !!! but when i open setup.exe, font error
Reply With Quote
Sponsored Links
  #272  
Old 18-06-2013, 23:56
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
i run the script Main(Compact.Mode).iss

it gives me an error
Line 40:
column 1:
Identified Expected.
Reply With Quote
  #273  
Old 19-06-2013, 00:59
gamesbox796 gamesbox796 is offline
Registered User
 
Join Date: Jun 2013
Location: mumbai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gamesbox796 is on a distinguished road
I had already use Inno setup unicode in which we can add files,folders,licence agreement directly but how to add folder of the game directly in this script which has to be extracted after installation is completed (for example in c: /program files/ubisof]
Reply With Quote
  #274  
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
  #275  
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
  #276  
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)
  #277  
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
  #278  
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
  #279  
Old 19-06-2013, 05:43
sentinelks sentinelks is offline
Banned
 
Join Date: May 2013
Location: hjklò
Posts: 281
Thanks: 74
Thanked 320 Times in 157 Posts
sentinelks is on a distinguished road
Quote:
Originally Posted by assassin193 View Post
someone help me


you need to add the language file -> yourlanguage.isl

Last edited by sentinelks; 19-06-2013 at 05:46.
Reply With Quote
  #280  
Old 19-06-2013, 05:57
sentinelks sentinelks is offline
Banned
 
Join Date: May 2013
Location: hjklò
Posts: 281
Thanks: 74
Thanked 320 Times in 157 Posts
sentinelks is on a distinguished road
Code:
[Languages]
Name: vtm; MessagesFile: Vietnamese.isl
you should edit some things that are not there (this is only for inno setup) no script mod

Last edited by sentinelks; 08-10-2013 at 06:38.
Reply With Quote
The Following User Says Thank You to sentinelks For This Useful Post:
assassin193 (19-06-2013)
  #281  
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
  #282  
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
  #283  
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
  #284  
Old 19-06-2013, 21:49
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 red01 View Post
@ 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.

@ y_thelastknight
sorry for trouble
i read the tutorial by Razor12911 about this script and i find out about those variables.
Reply With Quote
  #285  
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


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 02:46.


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