Main > Software Forum
Best Genesis emulator for cab...
Howard_Casto:
--- Quote from: Odonadon on April 03, 2003, 12:32:15 am ---
--- Quote from: Howard_Casto on April 02, 2003, 11:45:04 pm ---Btw odonadon the documentation is in the lazarus online manual under "wrappers." (who'd have thunk it) It's probably not up to date but it should explain what you are asking about and the purpose of the wrappers.
--- End quote ---
Well, to clarify, I wasn't aware the wrappers were part of Lazarus as they are a separate download. Which is why I didn't look in the Lazarus manual, which may also be why ESC isn't working for me - I'm not running Lazarus. At least, that's what I gather from the documentation
"My wrappers take the standard mame-style command line sent by Lazarus and translate it into data that the emulator can understand be it via simulated key presses for windows emus or translated command line options for command-line-based ones. "
Since there's no Lazarus to send commands to the wrapper, it won't work? But Minwah said I don't have to use Lazarus for it to work...
--- Quote ---Since I'm such a nice guy, I downloaded the gens emulator just to try it with my wrappers. It works with every version of my wrappers so I'm not sure what you guys are doing wrong. (Or differences in setup, gens version ect....) My best guess would be you have auto pause turned on and it's causing issues. I couldn't get it to not exit though so it's rather hard to troubleshoot.
--- End quote ---
Is auto pause an option in Gens? If so, I didn't see it when looking through the options. I've tried the escape command from my arcade setup (Ipac) and from the keyboard - no dice. It just pauses the game. Nothing more. All I've changed in the ini file is the executable name.
Thanks,
Odonadon
--- End quote ---
You can replace "lazarus" with game launcher or any other fe capable of sending mame style syntax. What you pass to it is the rom name/path you just don't have to translate anything so the portion between the cmdlist brackets of the ini can be deleted.
The option is in gens misc options. But I don't think that's it either as i turned it on and was still able to exit. Something is off somewhere, I just don't know what.
Howard_Casto:
--- Quote from: joeblade on April 03, 2003, 12:32:45 am ---Howard, just for my own curiosity, how does your code work, with regards to the command line wrapper intercepting the key strokes, checking if its the 'exit'' key and then terminating the child process.
I did a minimum of windows coding quite a long while ago (hence consider me knowing very little about windows programming then), but I assumed that all keystroke event messages would go to the current active window, which would be the emulator. How does the command line wrapper intercept or know of the key press ?
Feel free to not answer this question (for whatever reason, too complex, top secret etc ..), I will live without knowing the answer, just curious (as I get, a lot).
Oh, and well done on lazarus .... great FE.
::)
--- End quote ---
The keystrokes of any app must first pass through the keyboard buffer. I passively check the buffer for the keys I am looking for. I first try a manual exit "simulating alt-f4" and then I systematically close all apps and child apps of the emulator I launched. The only problem is some apps (particularly those that started thier life in dos or with a dos library) don't respond to the message sent to close the app. (As they aren't coded with a m$ language they don't evne know wtf to make of the message.) This is why they don't work 100% of the time on 100% of the emulators out there. They work on a great deal of them though.
I hate to point the blame to the emu devs, but it's actually the way they coded their apps that causes some of them not to work with the wrappers. Having 100% windows compliance isn't a top priority for them or they are not aware that the coding lang they chose doesn't fully support all external messages. I'm not saying that's a bad thing, or that this is a fault of bad code (they are simply too good for me to even joke at that), it just seems like many of these console developers who preach "this is a windows app" should actually put their money where their mouth is.
joeblade:
Thanks for the speedy response ... curiosity satisfied !
:)
Odonadon:
--- Quote ---The option is in gens misc options. But I don't think that's it either as i turned it on and was still able to exit. Something is off somewhere, I just don't know what.
--- End quote ---
That's odd. I'm using Gens 2.11 launched from Game Launcher. So everyone is saying ESC should work?
Odonadon
Cave:
I have just tried using this wrapper myself and it works perfectly, I only had to adjust two lines. Do exactly as Minwah says then edit your fe config, change gens.exe to cmd-launch.exe and in the iconfig.ini change to this exe=gens.exe.
Thanks Howard and Minwah
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version