Main > Driving & Racing Cabinets
Demul Exit?
Howard_Casto:
Yeah I'm not sure why anyone would write anything from scratch. I haven't done that in years. Ironically checkered flag /pac fe is one of those rare exceptions. My directX engine was getting a bit cluttered... time to re-optimize.
I think what bothers me about these emulator issues is on the emulator end of things it's so simple to implement. I mean obviously there is a function that is called when you navigate the gui and do things that way... it's unbelievably easy to just have a generic command line parser that links strings to functions.
And stuff like seeing the emulator window when going to full screen... I don't get that either. Any multi-windowed app should have it's code outside of the windows themselves... aka a main function calls the function to create/show the window AFTER the command line is parsed. So I'm unsure as to the reasoning to have the window created and THEN parse the command line. Even if you want to get lazy and call stuff intrinsic to the window, just create the window invisibly and you'll have access to all it's objects.
And while it's simple to do within the emulator it's sometimes a crazy amount of work to hack a wrapper/loader to do it externally.
Some of it defies all logic as well. Like back in the day with zinc instead of using a rom name, each rom was assigned a number. Think about that for a second. The emulator still loaded the roms from a zip file, so when that number was passed it had to go to some sort of function that associated the number with a zip file name and loaded those roms. So isn't using numbers instead of rom names actually ADDING a step?
Currently demul makes us pass the arcade type along with the rom name. Why? Inside the emulator we get lists of each arcade type when we access them via the load menu. So internally the rom names are already sorted by type. So why do we have to explicitly pass one? Shouldn't it auto-select via lookup and then default to dreamcast mode for unknown roms?
vandale:
Hyperspin has heaps of good scripts that do a lot of this stuff you guys are mentioning. Worth a try.
Howard_Casto:
?
I already wrote a solution, took like 4 minutes. That's not the point.
twistedsymphony:
--- Quote from: Howard_Casto on August 12, 2014, 09:18:36 pm ---ugh....
Since TS2 is a bit convoluted to setup if you aren't going to take advantage of blinky lights....
Run, emulator_multicpu.EXE %1%
sleep 4000
MouseMove, 1920,400
~Escape::
Process, Close, emulator_multicpu.EXE
ExitAPP
return
That'll do ya for model 2. Of course omit the "multicpu" part if you are using the standard exe.
--- End quote ---
^what is this script for?
I'm looking for a wrapper that I can put around a PC game to quit on a shortcut key.
Howard_Casto:
Exactly that. M2 emu doesn't close with escape.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version