Page 1 of 1

background keyboard input problem

Posted: Tue Aug 17, 2010 2:02 am
by vblank

Hi,I'm a chinese.I like this emulator very much.I have some problems.

My english is poor,if you can not understand all what i say,please forgive me.:ashamed:

 

1.If i enable the emulator to run in background,now the emulator is emulating a game,and i let the emulator window inactive,when i hit the keyboard or press the joypad buttons in another window ,the emulator will receive the input message.In my opinion,this is very bad [img]<fileStore.core_Emoticons>/emoticons/sad.png[/img]/emoticons/sad@2x.png 2x" width="20" height="20" />

2.The sound problem in loading a game from a save state,not only the gb games,but also gba games,the sound will disappear partly.The game i tested is Fire Emblem - The Sacred Stones.Load the game from a save state,and the sound will leave playing background music only.The special sound disppeared.

3.The emulator will pause even if i disable the option "pause when inactive" when the emulator window is minimized,i want the emulator to run background when the emulator is minimized [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />

4.The emulator will crash when playing some gb/gbc games,but the vba1.7.2 version do not have this problem...

 

I know this is the Control sub-forum,but i post more than the control problems,if this is not allowed, please forgive me.

I have some programming skill,and I hope for the next release of vba-m :msn_grin:

Thanks all your great work on vba-m.[img]<fileStore.core_Emoticons>/emoticons/biggrin.png[/img]/emoticons/biggrin@2x.png 2x" width="20" height="20" />


background keyboard input problem

Posted: Tue Aug 17, 2010 8:02 am
by SCHUMI4EVER

In order to get the emulator to stop receiving commands when you use something else you have to tick the option Pause when inactive (which you don't seem to want to do? Why?) or you could just pause the emulator yourself and set pressing the Ctrl button and the P button.


background keyboard input problem

Posted: Tue Aug 17, 2010 10:38 am
by vblank

Hi,SCHUMI4EVER.

Because I like listening to the game's background music and leave the emulator to run in background,at this time,i would not like the emulator window to receive commands [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />

Now I manage to modify the source code of the emulator to achive my goal [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />

The problems I posted before is about the emulator's latest version svn947,after I tested the older versions,I find that the second and the fourth problems gone...such as the version svn926.Now I would use this version instead.

 

Thanks [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />


background keyboard input problem

Posted: Tue Aug 17, 2010 1:59 pm
by Squall Leonhart

1.If i enable the emulator to run in background,now the emulator is emulating a game,and i let the emulator window inactive,when i hit the keyboard or press the joypad buttons in another window ,the emulator will receive the input message.In my opinion,this is very bad Sad

 

Tough cookies, set up a input profile with no buttons assigned and switch to that profile.

 

2.The sound problem in loading a game from a save state,not only the gb games,but also gba games,the sound will disappear partly.The game i tested is Fire Emblem - The Sacred Stones.Load the game from a save state,and the sound will leave playing background music only.The special sound disppeared.

 

Already known, Its low priority because savestates are not a reliable manner of saving anyway.

 

3.The emulator will pause even if i disable the option "pause when inactive" when the emulator window is minimized,i want the emulator to run background when the emulator is minimized Smile

 

This will not be changed.

 

4.The emulator will crash when playing some gb/gbc games,but the vba1.7.2 version do not have this problem...

 

Provide game information or don't waste our time.


background keyboard input problem

Posted: Tue Aug 17, 2010 10:40 pm
by vblank

Hi,Squall Leonhart,thanks for your reply.

1.This is what i never think which can solve my problem..

2.But it is very convenient [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />

3.Can you give me any idea where to modify the source code that can change it..

4.The game I tested is a chinese traditional game,see its information below.If you can't find it on the internet,I can provide it for you.After you play it for some time,you will find the emulator "crash" accidentally.

[attachment=201]


background keyboard input problem

Posted: Wed Aug 18, 2010 12:53 am
by Squall Leonhart

is this homebrew?

 

some homebrew's can make use of incorrect functions on the hardware which is hard to replicate in emulators.


background keyboard input problem

Posted: Wed Aug 18, 2010 8:37 pm
by vblank

I think it is a commercial game.But it does have many bugs...

Nevermind,maybe it is this game's problem :angel: