-
Posts
5,516 -
Joined
-
Last visited
-
Days Won
41
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by JoeViking245
-
You're welcome. FileMove in AHK lingo is synonymous with "file rename'. Basically you're 'moving' the file from folder "A" to folder "B" . In this case, we're "moving" it to the same folder (from "A" to "A") but with a different name. AKA, renaming it. And then in the next step, using FileCopy we're making a copy of the games config file (thus keeping the original in tact [just in case]), and copying it to the default config folder, while at the same time renaming it to "qt-config.ini". (BTW, RockStar - Silver Ice. The only way to go. )
-
If it's a matter of inserting something into an existing script to backup/copy/restore the ini file, i think you're looking for something along these lines currGame := %1% ;%1% or however you get the games name to this script defConfig := "D:\Emulators\Yuzu\Config\qt-config.ini" defBackup := "D:\Emulators\Yuzu\Config\qt-config.bak" gameConfig := "D:\Emulators\Yuzu\Config\Games\%currGame%.qt-config.ini" if FileExists(%gameConfig%) { FileMove, %defConfig%, %defBackup%, 1 ;rename to .bak, overwrite if it exists FileCopy, %gameConfig%, %defConfig%, 1 ;copy in the game.ini } and then after exiting the game FileCopy, %defConfig%,%gameConfig%, 1 ;copy the game.ini back (because it changes during gameplay???) FileMove, %defBackup%, %defConfig%, 1 ;restore original config file Or compile those to run Before game starts, and After game exits. respectively.
-
@CtinD Are these custom game config ini files something that could be loaded from a command line parameter? I have never used RL and have no idea what yuzu is, but if it were possible (bear with me here..) Say we have the emulator myEmu.exe it takes the command line -yuzu and then the name of the rom mario.zip myEmu.exe -yuzu mario.zip And say this, by default, loads qt-config.ini. Is there a command you can put in there to load a custom config file? Say something like -config=? myEmu.exe -yuzu -config=mario.qt-config.ini mario.zip And if so, could you then put in a custom command line for each game, replacing both instances of "mario" with the name of the game? If "Yes", then there's a quick, easy solution. (easier than editing each and every game) If "Yes, but I use an AHK script, and the games name would have to change in the script", then there's a relatively easy solution. If "No! You have no idea what you're talking about.", then never mind. I tried. ?
-
Is there any way to get Atari 7800 to work through LaunchBox?
JoeViking245 replied to Madhead's topic in Emulation
You're welcome. Glad it worked for you. That's probably the most common means of exiting a game and closing its emulator. And usually the hotkeys you setup in LB/BB to exit a game are tied to it. Look at your other emulators and how they're exiting (beyond 'Select' + 'Triangle'). Do they have a Running AutoHotkey script? What do they look like? Can you copy or transpose them into your MAME emulator? -
Is there any way to get Atari 7800 to work through LaunchBox?
JoeViking245 replied to Madhead's topic in Emulation
I'm confused by this. Most all emulators require a command line of sorts. For example to load/run Atari 7800 in MAME via LaunchBox, under Edit Emulators in the Associated Platforms tab, you set the Default Command-Line Parameter to "a7800 -cart".And then in the Details tab, check the boxes for "Don't use quotes..." and "Use file name only...".Of course you need to have everything setup and working in MAME itself before attempting to run it from LaunchBox. -
No worries at all! Helps keep me on my toes. lol At one point I had thought about incorporating the importing of metadata. Then something about "reinventing the wheel" popped into my head. And then the thought "Sweet! Less work for me." I'm just glad I was able to figure out what I did wrong and now have it working with LB .NET Core betas. Otherwise we might be waiting for "The List" to make its' way down to item #26. Provided it didn't get bumped once again.
- 204 replies
-
- 1
-
-
@sundogak It wasn't me! I swear! lol (thanks for having my back @neil9000 ) Seriously though, for clarification of what actually this softlist importer plugin does add to LaunchBox... A new Platform (named per your choosing) A new 'game' (Title/Name per MAME's hash file) The 'ApplicationPath' to that new 'game' The 'DateAdedd' (DateTime.Now) The 'DateModified' (DateTime.Now) The associated Emulator [Id] (per your choosing [i.e. MAME]) And checks the box "Broken" (if you imported an "unsupported" [per the hash file] 'game' ) For the selected Emulator: Add's a new Platform Add's the command line for the new Platform (to the best of my ability with the given [hash file] information) And checks the "Default" box The rest of 'what you see is what you get' is all LaunchBox. I suppose I could force a "check" to the "Non-Arcade" field. Though I'm not sure if it would 'stick' after importing metadata. In fact I don't know if "Broken" sticks or not. Hmmm.... (Out of morbid curiosity) I wonder what your audit would look like before you add metadata and media (to the new softlist Platform). Obviously you won't have any images, videos or manuals. But are the extra boxes there? Also, if you update you metadata/media in Arcade, will those "new" boxes now show?
- 204 replies
-
The code works to send Alt+F4 using "BACK" on the XBox 360 controller. (tested) But I don't use Demul to be able to test in it. Try adding a $ in front of Joy7. $Joy7:: Send !{f4} ExitApp Also change Return to ExitApp that way the script won't stay active.
-
Are you placing the code in the "Running AutoHotkey Script" tab? (Not in the "Exit AutoHotkey Script" tab)
-
MAME Software Lists Import Tool - plugin
JoeViking245 commented on JoeViking245's file in Third-party Apps and Plugins
- 50 comments
-
- 1
-
-
AHK to open a jpeg file before starting game
JoeViking245 replied to DonellHD's topic in Troubleshooting
That was something I wrote about a year ago before I knew about being able to modify the startup screen. Honestly, I think you'd be better off going that route (follow the link). Not sure if this'd work, using this script, you could try to manually set the startup screen to say 5 seconds so the game doesn't come up so fast. -
AHK to open a jpeg file before starting game
JoeViking245 replied to DonellHD's topic in Troubleshooting
PlatformDeviceImage = D:\LaunchBox\Images\Platforms Image = Super Nintendo Entertainment System\Device\SNES Controller.png SplashImage,%PlatformDeviceImage%\%Image%,b Sleep, 5000 SplashImage,off Adjust the path/image accordingly. But with a little bit of reading, this would probably suit your needs [and end up looking a lot] better. -
What controller encoder is your cab using? (i.e. I-Pac2) The encoder is what has assigned P1B1 to Ctrl. You could create a 2nd config through/for the encoder and then in LB add "Automatically run before main application" load config 2, and then "Automatically run after..." load config 1 .... for the respective games. But that's kind of a pain. Plan B: In the "Running AutoHotkey script" for the emulator, add $LCtrl:: Send, {LButton} Problem is, every game using that emulator will be affected by that. Though you could create a "new emulator", point it to the same exe, but add in the Run Before/Run After. Plan C : Create and save that AHK script and then compile it, and then add that to "Run Automatically Before..." for the games. But off hand don't know how to make that go away after the game exits. It's possible (and probably easy), but would need to look into it. Plan D : Add another button to your cab dedicated to left click. This has been real handy on my cab, but add 3 (if you can) for Left, Middle and Right clicks.
-
Autoboot Command / Script for MAME SWL (Computer Systems)
JoeViking245 replied to SiriusVI's topic in Emulation
For standalone MAME Software Lists (such as bbcb) add to the command line "-cfg_directory". For example the 'game' "ABC" would look like: mame64.exe bbcb -cfg_directory "d:\emulators\mame\cfg\bbcb\abc" -flop1 abc.zip Your custom controller config files for this game are now saved like so. d:\emulators\mame\cfg\bbcb\abc\bbcb.cfg d:\emulators\mame\cfg\bbcb\abc\default.cfg In LaunchBox, edit the game, go to Emulation, check "Use Custom Command-line Parameters" and fill in this: bbcb -cfg_directory "d:\emulators\mame\cfg\bbcb\abc" -flop1 So it looks like thisNote: "abc" in the command line is the name of the games romfile. So you'll need to do this [custom] for each game. If you decide you like stand alone MAME over RA-MAME, you can quickly add this command line to all games at once using the Bulk Custom Command Line Editor plugin (which can automatically add in the games romfile name in there for you). It can be found in the Downloads section. The command line parameters can also be stacked to do something like: bbcb -cfg_directory "d:\emulators\mame\cfg\bbcb\abc" -autoboot_delay "2" -autoboot_command "*cat\n\n\n\n*exec !boot\n" -flop1 Oh.... and change the path in the above command line(s) so that points to your ../mame/cfg/..... folder. MAME will automatically create the folders (i.e. "bbcb" and "abc") if they don't exist. -
-
@Drakkorcia What revisions are you hearing the pitch differences in? As recent as between 0.221 and 0.222? If they changed something in centiped.cpp that changed the pitch (which seems odd they would), instead of having 2 completely different MAME installs, you could just have multiple copies of the compiled exe in a single MAME setup.Like Neil said, you'll still need to setup a 'new' emulator in LB pointing to the respective exe. However if doing it this way doesn't work to fix the pitch, may want to look inside mame.ini. It's possible something changed in the Core Sound Options or the PortAudio Options or somewhere else. If it is something in the ini, create a 'centiped.ini' file with the known good settings, put it in the ini folder and use the current .exe revision.
-
MAME Software Lists Import Tool - plugin
JoeViking245 commented on JoeViking245's file in Third-party Apps and Plugins
- 50 comments
-
- 1
-
-
In the emulator, set it to full screen as you show you've done. Still in the emulator, open/load/run a game. Do whatever any other changes you need to do so that you are playing full screen. Got full screen? Good. Now press Alt+F4. Open a game through LaunchBox.
-
I would think you'd want to set the automatic [random] background image selection on a view change. Similar to the example video. Though with the timer, it would give it more of a random-change effect. I assume it would need to 'apply' the new image on view change.?. v.s. you're sitting on one view and it suddenly changes.?. Being able to change it manually by assigning a key/button would be cool.... for the 3 times it's used or until the novelty wears off shortly there after.
-
Autoboot Command / Script for MAME SWL (Computer Systems)
JoeViking245 replied to SiriusVI's topic in Emulation
\n is the {Enter} key. So *cat\n sends the literal *cat and then "presses" Enter. Sometimes the 'computer' you're emulating needs a moment to think after sending *cat, so the extra \n's in there just 'hits' Enter (several more times) to 'waste' some time before sending the next command. Send the next one too fast, and it may not catch the 1st part of *exec !boot. It might just see c !boot -
Autoboot Command / Script for MAME SWL (Computer Systems)
JoeViking245 replied to SiriusVI's topic in Emulation
The one I tested was for the Model B (which uses the system file bbcb). The simplest way in LB is... Edit your MAME emulator. Then under "Associated Platforms", edit the default command-line parameter for the Platform (however you named it). So add this bbcb -autoboot_delay "2" -autoboot_command "*cat\n\n\n\n*exec !boot\n" -flop1 so that it looks like thisClick OK. -
You are very welcome! Now go show off your games to your family. Well... in a SAFE manner!!!! (masks, hand washing, 'social distancing' and all that). Have fun. Be safe.
-
Autoboot Command / Script for MAME SWL (Computer Systems)
JoeViking245 replied to SiriusVI's topic in Emulation
Tested with "Acorn BBC Micro Model B disks" (hash "bbcb_flop"). Good call on using the Acorn autoboot line! *cat\n\n\n\n*exec !boot\n Worked at least for "3D Bomb Alley" and "ABC".