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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 20-04-2015, 07:16
Bilawal's Avatar
Bilawal Bilawal is offline
Registered User
 
Join Date: Apr 2014
Location: Pakistan
Posts: 127
Thanks: 176
Thanked 175 Times in 51 Posts
Bilawal is on a distinguished road
Quote:
Originally Posted by Stor31 View Post
after testing
Logo ok (Thx)
Splash does not launch
Change

Code:
;#define Splash
to
Code:
#define Splash
EDIT: If music don't work.

Do this

Code:
procedure InitializeWizard();
begin
#ifdef Splash
  ExtractTemporaryFile('isgsg.dll');
  ExtractTemporaryFile('splash.png');
  ShowSplashScreen(0,ExpandConstant('{tmp}\splash.png'),1000,1000,1000,0,255,False,$FFFFFF,10);
#endif
  RedesignWizardForm;
  ExtractTemporaryFile('Click.wav');
  ExtractTemporaryFile('music.mp3');
  if BASS_Init(-1, 44100, 0, 0, 0) then
  begin
    SoundStream := BASS_StreamCreateFile(False,
    ExpandConstant('{tmp}\music.mp3'), 0, 0, 0, 0,
    EncodingFlag or BASS_SAMPLE_LOOP);
    BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, 2500);
    BASS_ChannelPlay(SoundStream, False);
    SoundCtrlButton.Caption :=ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff}');
    SoundCtrlButton.OnClick := @SoundCtrlButtonClick;
    end;
end;
to

Code:
procedure InitializeWizard();
begin
  RedesignWizardForm;
  ExtractTemporaryFile('Click.wav');
  ExtractTemporaryFile('music.mp3');
#ifdef Splash
  ExtractTemporaryFile('isgsg.dll');
  ExtractTemporaryFile('splash.png');
  ShowSplashScreen(0,ExpandConstant('{tmp}\splash.png'),1000,1000,1000,0,255,False,$FFFFFF,10);
#endif
  if BASS_Init(-1, 44100, 0, 0, 0) then
  begin
    SoundStream := BASS_StreamCreateFile(False,
    ExpandConstant('{tmp}\music.mp3'), 0, 0, 0, 0,
    EncodingFlag or BASS_SAMPLE_LOOP);
    BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, 2500);
    BASS_ChannelPlay(SoundStream, False);
    SoundCtrlButton.Caption :=ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff}');
    SoundCtrlButton.OnClick := @SoundCtrlButtonClick;
    end;
end;

Last edited by Bilawal; 20-04-2015 at 07:19.
Reply With Quote
The Following 2 Users Say Thank You to Bilawal For This Useful Post:
Simorq (20-04-2015), Stor31 (20-04-2015)
 


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
Graphic glitches with Catalyst 10.9 (HD4650) and some games Myloch General Gaming 2 20-09-2010 16:02
Problem with Catalyst 5.10 jimbo82 Hardware 2 17-10-2005 18:47
ATI Catalyst Drivers 5.10 released spidross01 Hardware 5 17-10-2005 14:38



All times are GMT -7. The time now is 19:06.


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