More Error when playing BGS Sound
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: Blizzard on May 07, 2019, 12:46:24 pmIt's .WMA file. I'll try converting it into .OGG.
Does it affect the same files or not? It's possible that it has issues with playing MIDI files, but works fine with OGG.
Same for the transition files. Are they in a different file format? Do other images have this issue of not being able to be loaded?
Quote from: KK20 on December 31, 2014, 05:01:56 pm
Err...Drago, he wants the screen to change between full-screen and windowed whenever he wants with a script call. So something like
module ToggleScreen
def self.toggle
# Enables ALT+ENTER
Win32API.new('user32', 'UnregisterHotKey', 'li', 'i').call(0, 1)
# Simulates ALT+ENTER key presses
keybd = Win32API.new 'user32.dll', 'keybd_event', ['i', 'i', 'l', 'l'], 'v'
keybd.call(0xA4, 0, 0, 0)
keybd.call(13, 0, 0, 0)
keybd.call(13, 0, 2, 0)
keybd.call(0xA4, 0, 2, 0)
# Disables ALT+ENTER
Win32API.new('user32','RegisterHotKey','liii','i').call(0,1,1,0x0D)
end
end
And you can use the script call
ToggleScreen.toggle
But yes, be sure to use the code Drago posted inside 'Main', right after begin, like so
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
# After defining each class, actual processing begins here.
#==============================================================================
begin
Win32API.new('user32','RegisterHotKey','liii','i').call(0,1,1,0x0D)
# Prepare for transition
Graphics.freeze
Quote from: ForeverZer0 on September 15, 2013, 09:05:00 amI send it to you. check your PM.
A copy of the script would be helpful.