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

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-02-2012, 07:14
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
amin fear you don't need to edit script unless you want to reach some "magical stuff" All you must to do is to prepare gfx/sfx, pack it with 7zip, zip or winrar to setup.cab (find some of my/yener90's conversions to view the file names), customize installer via setup.ini (tittle, developer, exe, installer archives, button positions, redist installation...), add your language by putting isl file into Languages folder and adding entry to both scripts under [Languages] section, compile them and voila!

PS: Custom Installer uses some custom messages not included in official isl files. You can translate'em under [CustomMessages] section
Thank you ... dear BAMsE ! ( you have nice name and avatar )

i completely got the procedure ...

just another question !?

i must use the unicode version to have the PERSIAN Lang to work properly ... but as others mentioned here before about ANSI version ...

is there any possible bug or problem with using UNICODE version of inno with this source ?

thank you anyway ... you seems great user here to me...
Sponsored Links
  #2  
Old 09-02-2012, 09:22
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
Hi all ... sorry to ask another question ...

i spent a lot of time to add FARSI Lang to this source but there is no point by just adding the "" Name: far; MessagesFile: Languages\Farsi.isl " to [Languages] Section of both scripts ...

I think the CODE section must be updated ... and as i said before i am very poor in inno scripting ....

I attached the Farsi ISL File ...

so guys... can you update this files for me for inserting the PERSIAN
lang into this source ?

1.ISFreeArcExtract v.6.8.iss
2.LanguageSelector.iss
3.Setup.ini

please ?

any help would be appreciated ...
Attached Files
File Type: zip Farsi.zip (6.2 KB, 24 views)
The Following User Says Thank You to amin fear For This Useful Post:
Simorq (21-11-2018)
  #3  
Old 09-02-2012, 09:47
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
Hey guys ... you just arrange the code sections for farsi language with an english pattern ... ( Copy and paste English strings instead of Farsi )

put it here and then i will translate everything to my native language and reupload them to have a more MULTI LANG source ...

is it a good idea ?
  #4  
Old 09-02-2012, 09:18
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
amin fear you have infinite amount of luck CI is prepared to be used with unicode ver
  #5  
Old 09-02-2012, 13:38
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
amin fear here you go. Just translate [CustomMassages] with far prefix in both scripts. Also remember to modify setup.ini in order to handle Persian (code for it is FA)
Attached Files
File Type: rar CI 6.8 scripts (persian incl.).rar (31.1 KB, 49 views)
The Following User Says Thank You to BAMsE For This Useful Post:
Simorq (21-11-2018)
  #6  
Old 10-02-2012, 10:57
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
amin fear here you go. Just translate [CustomMassages] with far prefix in both scripts. Also remember to modify setup.ini in order to handle Persian (code for it is FA)
Thank you ... dear BAMsE ...

I translated all of [CustomMessages] with FAR prefix and attached them here to have a more complete source of yener90 great treasure !

I also tested yener90 source with FARSI language and it worked perfectly ...

but i will be very grateful if you help me one more time and let me tell the problem ...

as we saw in previous pages ... this source has a serious problem with running on Windows XP platform ... and there was a temporary solution there ... but i really need to use this installation package on every platform without any problem ( from Windows XP to Seven ) ...

do you have a reliable and working method to solve this problem ?

I also want to have the background music too ...

please help me one more time ...

any help would be appreciated ...
Attached Files
File Type: rar yener90_Scripts_With_Persian_[CustomMessages].rar (29.3 KB, 34 views)
  #7  
Old 13-02-2012, 10:13
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
Bass

Ok ... it seems no guy here have a solution for background music function ...

i have searched all the web for something cool and found this script ...

[CODE][Setup]
AppName=Music During Installation
AppVerName=Music During Installation
CreateAppDir=no
DisableProgramGroupPage=yes
DefaultGroupName=Music During Installation

[Files]
Source: "BASS.dll"; DestDir: "{tmp}"; Flags: dontcopy
Source: "sound.mp3"; DestDir: "{tmp}"; Flags: dontcopy

Code:
function BASS_Init(device: Integer; freq, flags: DWORD; win: hwnd; CLSID: Integer): Boolean;
external 'BASS_Init@files:BASS.dll stdcall';
 
function BASS_StreamCreateFile(mem: BOOL; f: PAnsiChar; offset1: DWORD; offset2: DWORD; length1: DWORD; length2: DWORD; flags: DWORD): DWORD;
external 'BASS_StreamCreateFile@files:BASS.dll stdcall';
 
function BASS_Start(): Boolean;
external 'BASS_Start@files:BASS.dll stdcall';
 
function BASS_ChannelPlay(handle: DWORD; restart: BOOL): Boolean;
external 'BASS_ChannelPlay@files:BASS.dll stdcall';

function BASS_Stop(): Boolean;
external 'BASS_Stop@files:BASS.dll stdcall';
 
function BASS_Free(): Boolean;
external 'BASS_Free@files:BASS.dll stdcall';

const
  BASS_SAMPLE_LOOP = 4;

procedure InitializeWizard();
var
  mp3Handle: HWND;
  mp3Name: string;
begin
  ExtractTemporaryFile('sound.mp3');
  mp3Name := ExpandConstant('{tmp}\sound.mp3');
  BASS_Init(-1, 44100, 0, 0, 0);
  mp3Handle := BASS_StreamCreateFile(FALSE, PAnsiChar(mp3Name), 0, 0, 0, 0, BASS_SAMPLE_LOOP);
  BASS_Start();
  BASS_ChannelPlay(mp3Handle, False);
end;

procedure DeinitializeSetup();
begin
  BASS_Stop();
  BASS_Free();
end;
it uses bass.dll from un4seen corp but has no Play/Pause Button ...


anyway its not so important and i will be satisfied without it ...

i tested the script and it works perfectly on every platform ( WinXp Win7 X64 )

***********************************
I also found four scripts from Russian guys ( Credit goes to RU-Board )

they use both BASSMOD.dll ( Play Tracker Modules ) and bass.dll ( Play MP3 & etc ) . i attached them to my post ... feel free to take a look at them

they are more complicated and have BG Sound control button/checkbox ...

anyway after all of this explanation any guy here can implement the first script or even Russian guys scripts into Yener 90 great source ?

I tried ... but every time i got something like DUPLICATE IDENTIFIER error ...

any help would be appreciated ...

thanks guys for your great forum !

P.S : nothing introduced is Warez ... those DLLs are free for non-commercial purpose ...
Attached Files
File Type: rar bass.dll[Play_MP3_OGG]&BASSMOD.dll[Play_XM_MOD].rar (132.7 KB, 82 views)
File Type: rar Play_BG_Music_01.rar (15.2 KB, 44 views)
File Type: rar Play_BG_Music_02.rar (2.5 KB, 36 views)
  #8  
Old 13-02-2012, 10:24
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
sorry to double post ...

if you need some cool tracker modules ( XM IT MOD and etc ) , take a look at this great compilation by Russian fans ...

Code:
http://keygenmusic.net/
P.S : nothing introduced is Warez ... please READ the RULES at first page by website admin ...
  #9  
Old 14-02-2012, 04:50
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
thx amin fear ...now i changed the source.
UPDATE 6.9 IS AVAILABLE
  #10  
Old 17-02-2012, 16:25
gatosky1620's Avatar
gatosky1620 gatosky1620 is offline
Registered User
 
Join Date: Oct 2011
Location: Perú
Posts: 287
Thanks: 13
Thanked 966 Times in 131 Posts
gatosky1620 is on a distinguished road
any tutorial please i dont understand how make this:

  #11  
Old 18-02-2012, 10:26
gatosky1620's Avatar
gatosky1620 gatosky1620 is offline
Registered User
 
Join Date: Oct 2011
Location: Perú
Posts: 287
Thanks: 13
Thanked 966 Times in 131 Posts
gatosky1620 is on a distinguished road
hey Yener and understanding how to do this



I do not understand yet is how to make buttons and how to identify which is the "INSTALL" MUSIC ", so please help me in this
  #12  
Old 19-02-2012, 09:02
andrei222's Avatar
andrei222 andrei222 is offline
Registered User
 
Join Date: Feb 2011
Location: the center of universe
Posts: 107
Thanks: 29
Thanked 32 Times in 19 Posts
andrei222 is on a distinguished road
thanks for your work, but please tell me how to make a install with two shortcuts on desk plsss
  #13  
Old 19-02-2012, 21:20
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by andrei222 View Post
thanks for your work, but please tell me how to make a install with two shortcuts on desk plsss
in ISFreeArcExtract v.6.9.iss look under [icons] section, there you will see where it add icons to desktop.
  #14  
Old 20-02-2012, 08:47
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
UPDATE 7.0
- added back internal installation support
- rename.bat is no more required
- fixed small button problem
- added DarkISSkin
-> Enable it editing Setup.ini -> DarkISSkin=1(0 disables it)
-> With that you dont need to create any buttons for your setups
-> only required files are Uninstall.bmp -> background image in setup
and optional:
Installer.bmp -> small installer image in installation window
background1 - background(unlimited) -> background images in installation window
  #15  
Old 20-02-2012, 09:36
andrei222's Avatar
andrei222 andrei222 is offline
Registered User
 
Join Date: Feb 2011
Location: the center of universe
Posts: 107
Thanks: 29
Thanked 32 Times in 19 Posts
andrei222 is on a distinguished road
thanks very much .all languages but romanian missing
Closed Thread


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 - Questions Here REV0 Conversion Tutorials 1565 29-11-2024 09:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Help- How to extract a .bin file compressed by a code ? Adonix Conversion Tutorials 22 22-03-2015 15:02
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 03:40



All times are GMT -7. The time now is 17:24.


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