Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    3,449
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by JoeViking245

  1. Yes. It's launched in conjunction with the game starting and stays active until either the script closes itself (ExitApp) or the game exits (then it's forced closed). Scripting MAME via Lua — MAME Documentation 0.249 documentation (mamedev.org) MAME Lua Class Reference — MAME Documentation 0.249 documentation (mamedev.org) They're pretty cool and can do A LOT of things. I do pretty well with AHK, C# and batch files (which are actually lot more powerful than you can imagine). I can look at a Lua script and understand and follow through with what it's intending to do. But I'll be damned if I could write/create one from scratch. lol But it's been a couple years since I've looked at them. In the last year, MAME has updated their Lua scripting documentation. Namely in the Class Reference section. Though I haven't really looked at it. Maybe you'll have more patience than me.
  2. There may be an easier way, but one way is (assuming standalone MAME), in your /MAME/cfg/ folder, make a backup of your default.cfg file. Open MAME and set the inputs as you want them for NeoGeo. Save and exit. Move the 'new' default.cfg file to /MAME/crtlr/ and rename it something like neogeo.cfg. go back to your /MAME/cfg/ folder restore the backup of your default.cfg file. in your /MAME/ini/ folder, create a [text] file and call it "neogeo.ini" in there, put "ctrlr neogeo" (or whatever you named the "something like neogeo.cfg." [minus ".cfg"]) Now whenever you load a game that has the Source as neogeo (MAME will know), it will load the controller settings in 'neogeo.cfg'.
  3. Good. 🙃 Kind of doubt it. But it may have been something in a MAME offshoot.?.?.. MAMEui, qmc2, or something funky like that. To limit save/load to a single slot, I can see having both pros and cons (compared to having up to 10). Depends on the end-user's needs/requirements. I do know that you can have a specific game or system automatically load a specific save state by creating an ini file. In the ini folder create a text file like mslugx.ini (for Metal Slug X) or neogeo.ini (for all NeoGeo games) and put in just 1 line. "state 1". Every time you load that game or a game using that source, save state 1 will load automatically. If you reassign the save state to Shift+P, I imagine if you hold the P a little longer, you'd end up sending Shift+PPPPPPPPPP. Ultimately saving it in the "P" slot. lol Compiling your own as both links talked about, would be a pain. Though not really difficult. But still a pain. I think it'd be a lot easier to just have an AHK script and put it in the Running Script section of your MAME emulator. Chances are that it won't work if you want to upload your high scores to the Community Leaderboard. To make it work, you need to have "-keyboardprovider dinput" in the command line (which is put there by default). This example will load the save state in slot 1 (if one exists) for a game when you press "A". SetKeyDelay, 0, 50 a:: { send {F7} sleep 100 send 1 } Yes, you will still see a popup for a split second. Because of how MAME is, it's not a popup "window" you can hide. You could also change the "a" to "$F7" to have F7 load slot 1 (vs it just bringing up the option menu). If you wanted to get real crazy, you could probably create a lua script plugin to do this and have it work directly in MAME. With this, you wouldn't have to compile-your-own MAME anytime you update. Or ever, for that matter. Here's something you might be able to modify. If you're so inclined. It's set to save and load to the "auto" slot [only]. http://forum.arcadecontrols.com/index.php/topic,151810.msg1623419.html#msg1623419
  4. Having an AHK script to do that makes sense and is probably the only way. I don't think MAME has a setting-of-sorts for always using slot "1" (or whatever). Have you tried this during gameplay? Vs. pausing then 'rewinding'. May double check your key assignments in MAME. Honestly, I never paid attention that rewind was even a thing. I've used the Insert [key] for fast forwarding though.
  5. Have you changed the default key(s) in MAME for save and load? When you say "go through a dialog", are you talking about accessing the save/load feature available in the pause menu (Pause Screen)? If you go through the pause screen, LB is setup to use MAME's default F7 (Load) and Shift+F7 (Save). But sounds like you may have had (at one point?) set up different keys in MAME itself to a single key [respectively]. Which, regardless of how it's setup in the pause menu, would still work for you directly in MAME. Just not via the pause menu. You may need (want?) to disable LB's pause menu. At least for MAME. I'm pretty sure that when you're in the pause screen, direct keystrokes are not sent to the emulator. If you want to disable it (at least do so for testing), edit your MAME emulator and in the Pause Screen section, un-check Enable Game Pause Screen.
  6. What version is your MAME emulator? (example “0.249”) Can you provide Screenshots of the following sections: Go to Tools, Manage, Emulators, select the emulator you setup for MAME and provide a screenshot of Details Associated Platforms
  7. (This is useful information as to what exactly triggers the popup.) So the popup appears when you go to launch a game? Not before? Which LB Theme are you using? If you switch to a different Theme, do you get the same error popup? Can you share a screenshot of the error window. Have you looked at any debugging logs? Make sure it's on (Tools, Options). Exit LB, then restart it (to create a fresh log file). As soon as the error pops up, click OK on it and then close LB. (Doing it this way will create a smaller log file.) Then look at the most recent (just created) log file.
  8. So LaunchBox loads? Looks normal? Then the popup shows with no other info? If you click Close on the popup, does LB then shutdown (close)? If it was a .NET Core issue, I believe it would say so. But there's more info here regarding that.
  9. It shouldn't keep the shift key pressed. If it did, F3 would be staying pressed too. You could try instead... F1::Send {Shift Down}{F3 Down}{Shift Up}{F3 Up} This way you know Shift is being released.
  10. The MAME Arcade Full Set [Import] Wizard will allow for combining parent and clone ROMs. I don't believe importing for other platforms will. No. If that works, it's just a coincidence. If they're not really name BLES and BLUS and are actually named the exact same, there's a couple ways to go about this. One is to edit one of them and change the games Title to something like BLUS-US to distinguish it from the other. Then combine. Another is to just combine them, then Edit the combined game(s). Go to the Additional Apps section and click the one you want to be default and then click Make Default (in the lower right corner of that screen).
  11. You can use additional apps for this purpose. You'll need to create 2 additional apps (AHK scripts) to do what you're wanting. One that will Automatically Run Before Main Application (load the Sinden app) and that will Automatically Run After Main Application (close the Sinden app). Create the 2 respective AHK scripts and then add them to your game as outlined here. Check the appropriate box to run Before/After for each additional app.
  12. I think what you're asking is to combine the 2 (or more) games into one [visible] entry and then be able to choose which region version to play. Click the EU version and then press and hold Ctrl and click on the US version. (Let go of the Ctrl key) With the 2 games now both selected, right-click on one of them and select Combine Selected Games... and follow the prompts. The 1st prompt is to select which game will be the 'main' game. This will be the one that is visible and the default one that will play. To play [one of] the other region(s), right click the game and select Play Version then select the version you want to play.
  13. I use a batch file to start BigBox almost daily. The batch file 1st loads settings to make the TV my primary monitor, then loads BB using the "start /w" command. When BB exits, the batch file then loads settings to make my arcade cab be the primary monitor again. My comment above regarding "not tested" was referring to if you shell your PC directly into BB, then attempt to start explorer.exe afterwards. If you're not doing the 'shell' thing and just want to start a program after BB exits, then I can say for certain this does work.
  14. Thank you! Special just for you. Added Arduboy for when you next run the Updater. Replace your existing "RetroachievementBadges.dll" file with the one inside the zip. (Unblock the file as necessary). Start LaunchBox and run the Updater. (Arduboy will also be available in subsequent Official Releases.) As you mentioned, since LaunchBox doesn't have a Scrape As for this unique handheld game console, you MUST name your platform "Arduboy". RetroAchBadge (v2.3.5sp).7z Enjoy.
  15. Look in Preferences, Configure Keys...., make sure Disable ESC Key is un-checked.
  16. You shouldn't need a script to exit VPX. As your Default Command-line Parameter, use -minimized -exit -play Then make sure you don't have anything in your Running Script section for the emulator. Also check that your Application Path is pointing to the correct vpinballx.exe in case you have another install.
  17. Maybe something in here will help.
  18. Assuming you're using stand-alone MAME... Start MAME and check that you have HLSL turned on. You need this ON to see the slider for quadric distortion (see below). Go to Configure Options, Video Options, and set HLSL = On. Press Escape a couple time to get back to the main screen. Start a game, like Bubble Bobble (bublbobl). Once loaded, press Tab and select Slider Controls. Arrow down to Quadric Distortion Amount. Use left and right arrows to change it to how you like it. Write that number down because it won't [permanently] save anywhere. Exit the game and MAME. Next you need to save that number to an INI configuration file in MAMEs "ini" subfolder. Because of how MAMEs order of precedence works when loading configuration files, you want to put that number in the last INI file that loads. Which is the game specific INI file (#9 and 10 on the list) that you would need to create. In this case, "bublbobl.ini". You'd need to create that for every game you want the curvature. As an option, (a little less work) you can edit the Monitor type INI files (#6 on the list). vector.ini for vector monitors, raster.ini for CRT raster monitors. The 2 more common. These are located under ..MAME/ini/presets/. The value you want to change in those is distortion. Change "0.0" to the number you came up with earlier. Save and close the file(s). Play games.
  19. If you're talking about wanting to rename your MAME's software list ROMs to their full name, I would recommend against it. Honestly, I think you'd spend more time renaming the ROMs than you would reimporting them. Then if you did rename them, you'd still need to reimport them, again. Even better, LaunchBox has a backup feature for all the Platforms you imported to and Playlists you've created. I'm not sure if it's on by default, so you may want to verify. Find it under Tools, Options, Data, Backups. To clarify, this ONLY backs up the "Data" folder under ../LaunchBox/. Not any of your ROMs or Emulators, images or videos. The Data folder holds your LB/BB settings and as stated, the Platforms and Playlists you've created. Then if something unfortunate were to happen and you "lose it", you can go to Tools, File Management, Restore Data Backup to recover your Platforms, etc. As I think about it, the Data folder is probably the most important thing you want to have backed up. (Re)downloading ROMs, emulators, images and videos is probably the easiest part. Setting up LaunchBox/BigBox with your platforms, playlists, keyboard/controller bindings and themes etc.... to-just-the-way-you-like-it is where a lot of the hands-on time consumption comes into play.
  20. Glad RA and MAME are both working now. I've never heard of emulator_multicpu.exe. So look up how it works from the command line and check your parameters.
  21. Start mame.exe go to General Settings go to Configure Folders go to ROMs go to Add Folder navigate to your "F:\Video Games\MAME 0.242 ROMs (non-merged)" folder press Tab press Escape twice double click on Save Settings press Esc, then press Esc again to exit MAME Try the Time Crisis script again. I'm not at my main PC now, but I believe with the rompath now set, your script can be shortened to ;if the script is in the same folder as mame.exe Run, mame.exe timecris ;if the script is NOT in the same folder as mame.exe Run, mame.exe timecris, "F:\LaunchBox\Emulators\MAME 0.242"
  22. Put your "full/paths/to/whatever/folder/and/file/your/pointing/to" in quotes. You don't always need them, but it WILL save a lot of potential headaches. Run, "D:\Emulators\Retroarch\retroarch.exe" -f -L "D:\Emulators\Retroarch\cores\stella_libretro.dll" "D:\ROMs\Atari 2600\Adventure (1978) (Atari) [!].7z" "-f" is to open it full screen. If you don't need it, you can remove it. "-L" is to Load the core. You need it. Don't remove it. Run, mame.exe "D:\ROMs\Arcade\centiped.zip", "D:\Emulators\MAME" Here, after the last , (comma), we're putting in the working directory for MAME. This way we don't have to add another line for "SetWorkingDir" that will affect the entire script. LaunchBox doesn't accept command line parameters.
  23. And then let us know if the plugin is still working (after being over 2 years old).
×
×
  • Create New...