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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-03-2018, 13:11
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
You mean stop or pause?

To stop it call
BASS_Free;

To pause it create a button with a OnClick call and then something like this
Code:
procedure MusicButtonClick(Sender: TObject);
  begin
    case BASS_ChannelIsActive(SoundStream) of
      BASS_ACTIVE_PLAYING:
      begin
        if BASS_Pause then
          MusicButton.Caption := 'Sound On';
      end;
      BASS_ACTIVE_PAUSED:
      begin
        if BASS_Start then
          MusicButton.Caption := 'Sound Off';
      end;
    end;
  end;
__________________
Haters gonna hate
Reply With Quote
Sponsored Links
  #2  
Old 12-03-2018, 20:56
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
You mean stop or pause?

To stop it call
BASS_Free;

To pause it create a button with a OnClick call and then something like this
Code:
procedure MusicButtonClick(Sender: TObject);
  begin
    case BASS_ChannelIsActive(SoundStream) of
      BASS_ACTIVE_PLAYING:
      begin
        if BASS_Pause then
          MusicButton.Caption := 'Sound On';
      end;
      BASS_ACTIVE_PAUSED:
      begin
        if BASS_Start then
          MusicButton.Caption := 'Sound Off';
      end;
    end;
  end;
I don't think this will work.
The question would be where do put this button and can it be accessed?
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019)
  #3  
Old 13-03-2018, 09:18
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
I don't think this will work.
The question would be where do put this button and can it be accessed?
Good question, i thought the src was completely free now
__________________
Haters gonna hate
Reply With Quote
  #4  
Old 15-03-2018, 05:21
Th3Raven's Avatar
Th3Raven Th3Raven is offline
Registered User
 
Join Date: Mar 2012
Location: Romania
Posts: 90
Thanks: 57
Thanked 54 Times in 33 Posts
Th3Raven is on a distinguished road
Send a message via Yahoo to Th3Raven
Ok so the problems i encountered so far are:

-AppInfo it doesn't show it as i put it in (for example i add AppInfo3= Random text = this text in installer will be shown as second line not 3rd. and if i add for example 5 of these the last line AppInfo5 will be shows as 3rd and so on). To fix you need compile like 2 times and have the compiled setup started and edit the number in appinfo according the position is shown in the setup that is open.

- Second issue is that the text you input in AppInfo contain this ' it willl give error when compile the script.

- Redist is not installing any of the redist that are added neither from {app} or {src}. (tried all possible options as (put in first disc or last and from app folder). It simply bypass the redists and not install them.

Now i have a question. How to add when it say "put disc with %1 file" the disc name or number? For example to show Disc 2 instead of simply disc?

Last edited by Th3Raven; 15-03-2018 at 05:36.
Reply With Quote
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
Windows Phone Installer (WPI) Razor12911 Conversion Tutorials 857 14-06-2025 22:20
Windows Phone Installer Enhanced Mod (HMI 7.2 Final) Chayan Manna Conversion Tutorials 93 02-10-2019 12:42
Windows Phone Installer UltraARC mod Gupta Conversion Tutorials 20 20-03-2018 21:10
How can i unpack .pcf in windows phone installer yash497 Conversion Tutorials 3 16-10-2016 09:07
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 08:51.


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