View Single Post
  #85  
Old 24-11-2011, 15:30
KillerOh's Avatar
KillerOh KillerOh is offline
Registered User
 
Join Date: Oct 2009
Location: Brazil
Posts: 77
Thanks: 1
Thanked 1 Time in 1 Post
KillerOh is on a distinguished road
Exclamation

Quote:
Originally Posted by amdddd View Post
Hey!! I install Inno ANSI version,but it's problem of unknown languege
Help me Please.
See the file named "L?eme.es-mex.txt" located in the (Game Folder)\\Support\\Readme folder (And NOT in any of innoSetup folders) and rename it, for, por example, "Léeme.es-mex.txt"

Inno Setup cannot reconize one of the "letters" in "L?eme.es-mex.txt" file (That is, the 2nd character, between "L" and "e", and that should be an "é"), so that's why you got this error.
If the error still persist, we can either:
  • Rename it to Leeme.es-mex.txt
  • Make the "Support" folder as external in the script itself before compile. To do it, follow these steps:
    1. Open the script with InnoSetup as usual.
    2. Search for THIS line. It's in the very beginning of the code:
      Code:
      LZMAUseSeparateProcess=yes
    3. Now, ADD this line BELOW "LZMAUseSeparateProcess=yes" (Yes, cursor in the end of the line, then ENTER. XD):
      Code:
      ReserveBytes=13000000
      The ReserveBytes parameter will save about 13mbytes of "free" space, so you can add the "Support" folder (About 10 mbytes) in the Disk 1 without overflowing it.
    4. Now, find THIS line of the code:
      Code:
      Source:{#SourcePath}*; DestDir: {app}; Flags: ignoreversion recursesubdirs
    5. ... and REPLACE ONLY THIS LINE for these two:
      Code:
      Source:{src}\Support\*; DestDir: {app}\Support; Flags: external ignoreversion recursesubdirs
      Source:{#SourcePath}*; Excludes:{#SourcePath}\Support\*; DestDir: {app}; Flags: ignoreversion recursesubdirs
      The first line added will make the entire "Support" folder as an external file, so Inno Will NOT compress it, thus removing this nasty compile error FOREVER.
      In the 2nd line, the "Excludes:{#SourcePath}\Support\*" will "force" InnoSetup to compress all files//folders EXCEPT the "Support" folder, as it'll be external to the installer.
    6. After compile, copy the "Support" folder from the game folder to the "RUN_1" folder, as described by REV0 in his conversion.
      That is:
      • Setup.exe,
      • Setup-1a.bin. Setup-1b.bin, Setup-1c.bin
      • autorun.in/ico
      • AND the "Support" folder from the game folder
      will be the contents of your Disk 1
      Disks 2 and 3 will be the same as usual.

BTW, the code changing should be recommended to the REV0's main script, if you wanna know...
If you're THAT lazy, then use THIS "run.iss" inside the attatchment
RUN.zip
And replace by the one done by REV0 in his original script.

Another tip: I've noticed that my custom setup took A HELL OF time just to LOAD it.
We can reduce this "loading time" to almost zero by adding "nocompression" flag in all these lines:
Code:
Source: .\Wizard_Res\BGI*.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Wizard_Res\SplashScreen.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#ifdef Autorun
Source: .\Wizard_Res\AutorunBGI.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef ISSkin
Source: .\Wizard_Res\{#StylesName}; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef InstallMusicLoop
Source: .\Wizard_Res\{#mp3filename}; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef Autorun
#ifdef AMusicLoop
Source: .\Wizard_Res\{#Autorunmp3filename}; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Wizard_Res\mute_on_off.bmp; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#endif
#ifdef Autorun
Source: .\Wizard_Res\{#ClickSoundfilename}; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
Source: .\Libraries\InnoCallback.dll; DestDir: {tmp}; Flags: dontcopy nocompression
Source: .\Libraries\get_hw_caps.dll; DestDir: {tmp}; Flags: dontcopy nocompression
#ifdef AddToGameExplorer
Source: .\Libraries\GameuxInstallHelper.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef AddToFireWallList
Source: .\Libraries\FirewallInstallHelper.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif
#ifdef FreeArc
Source: .\Libraries\unarc.dll; DestDir: {tmp}; Flags: dontcopy nocompression
#endif
#ifdef ISSkin
Source: .\Libraries\ISSkin.dll; DestDir: {app}; Flags: ignoreversion nocompression
#endif
While this will increase the final size in about 50 mbytes, the installer will load faster.
For the lazy ones, here's a run.iss with BOTH changes (Support folder as external and "nocompression" flag for all "cosmetical" files):
RUN_lowcompress.zip

EDIT: All the "run.iss" were modified from the "version 4" of the setup.

Last edited by KillerOh; 24-11-2011 at 16:31.