Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    5,327
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by JoeViking245

  1. 5 hours ago, MCF said:

    Could this be failing becuase I configured SNES9X to be fullscreen by default?

    Just tried fullscreen. Still worked here (sending "7").

    image.png.754c7487a5cbe2d141786d7bfd52a1b0.png

     

    Are you using v1.62.3?  You may try a [temp] fresh install of SNES9x.  Create a new folder next to the original install (/Emulators/SNES9xTEMP/).  Open "snes9x-1.62.3-win32-x64.zip" (that's the one I downloaded) with 7-Zip and drag/drop the files into the new TEMP folder.  Use 7-Zip so you don't have to mess with un-blocking any of the files.  Start it once and close (in case it needs to create any files on 1st run).  Don't change any settings at this point.  In LB, edit the emulator and change the app path to "snes9x-x64.exe" that's in the new temp folder.

    I tried it with and without "-port1 mouse1" in the default command-line and both ways worked to send 7.  

    I never tested actual playing with a mouse (because that would be weird  ;)).  But at game startup, the screen text would appear briefly.

    image.thumb.png.c52af04da64340ed762e8f3f3f77cec4.png

    • Like 1
  2. 18 minutes ago, MCF said:

    Unfortunately the suggested AHK did not work

    Download and tested a game and the following worked for me.

    WinWaitActive ahk_exe snes9x-x64.exe
    send 7

     

    This assumes your executable is "snes9x-x64.exe".  Didn't need the key delay (which some emulators do. i.e. MAME) and the WInWaitACtive alleviates any guessing games for the Sleep timer.  Be sure it's above any escape sequence.

    image.png.df6cbb7227fd4feaa1f7c58e4f8dcc81.png

    If that still doesn't work for you, then there's something else wonky going on.  It'd also mean it's time to move to BigBox and a proper controller. ;) 

  3. 1 hour ago, MCF said:

    Not sure if this was posted, but I couldn't find this in this topic

    I am having problems enabling mouse in SNES9X

    I have -port1 mouse1 added as a parameter to the emulator, but I find that it still requires my pressing 7 to actually enable it in SNES9X

    I tried the following AHKs in the Running Scripts section, to no avail

    • SendInput {vk47}

    • Send, 7

    • Send 7

    • Send {7}

    • SendInput, {7}

    • SendInput, {Raw}7

    Any help is greatly appreciated.

    I've never used SNES9x.  Does the Use Mouse not work?

    image.png.124e56fb5c14fe23e01da314635ecff6.png

     

    Regardless, if you find you still need to press 7 to switch controllers, you may try adding a SetKeyDelay.  You'll also need to add a delay/pause/wait because the running script executes right away.  You want to wait a little for the emulator to actually be running before "pressing 7".

    Sleep, 5000
    SetKeyDelay, 125, 50
    Send, 7

    "5000" = 5 seconds.  Adjust accordingly depending on how long it takes for the emulator to be fully loaded.

  4. 2 options:

    1. On the left sidebar, select Games Missing Media.  Then click Games missing Boxes.
    2. Select ToolsAudit and then select All games.
      • To select a single platform, on the left side bar, select Platforms, click the platform you want to audit, then select Tools, Audit and click that platform.

     

    1 hour ago, MiamiLamiW said:

    And is there a quick way to correct the names it searches for in the Box Art database in bulk rather than doing and fixing it one at a time?

    The image files are associated to the games Title or ROM name.  You can't really change that.  When you import images from the LaunchBox database (when initially importing games, using the bulk media updater or while editing an individual game), LaunchBox will save them using the games Title.  

  5. 23 minutes ago, RetroExecutioner said:

    I am using a merged set

    Two years ago you had a non-merged set.  The method I suggested won't work with a merged set without 'breaking' some (or a lot) of the games. 

    Merged sets never made sense to me, so I've never messed with them.

    • Like 1
  6. 1 minute ago, latin625 said:

    What is the P for in the line below?  Is it a pause command?

    while (getkeystate("space","p"))

    "Press[ed]" I think.  As in While the {space bar} is pressed.

    Your 2nd 2 last line (for player 2) should be 

    send {2 up}
    Return

    I  believe.  I'm not at my main PC right now to test/confirm.

    • Thanks 1
  7. 10 hours ago, latin625 said:

    Thanks @JoeViking245.

      I tried both and they work, kinda... The pressing (pressing up and down) of the space key send the click, but does not detect just pressing down like you would with the keyboard UP key for gas.

    A double tap of the space or UP key does Turbo boost.  Single tap or press give acceleration / gas only.

    Trying to get the space key to act like the up arrow when pressed down only to give gas, the double tap seems to be 100% good.  Ill keep tinkering and see what I get. 

    I see AHk offers something called  Send longpress

    If it works without the setkeydelay, go ahead and leave that out.

     

    See if this does anything different for you.  You may need to adjust the Sleep timer.

    Space::
    while (getkeystate("space","p"))
    {
      send, {up down}
      sleep 100
    }
    send {up up}
    Return

     

    Long press in AHK isn't a feature perse.  But when using KeyWait in your hotkey script, you can make a key essentially have dual purpose.

    Example: Press and hold (aka long press) b to type out "BigBox". Otherwise press (and release) b to type "b".

    $b::                ;$ is required for "Send, b"
    {
      KeyWait, b, T1    ;T1 = 1 second
      if (ErrorLevel)
      {
        Send, BigBox
        Sleep, 500      ;Sleep needed so it doesn't auto repeat
      }
      Else
      {
        Send, b
        Return
      }
    }

     

     

    • Unusual Gem 1
  8. 1 hour ago, REDNivars said:

    The games work when directly launched from Redream but was having issued loading redream into the game from Launchbox. I have a mixture of files so am going to do a little clean up and remove anything but CHD files

    Have you verified that the CHD's are able to launch from LaunchBox without issue?

  9. 1 hour ago, REDNivars said:

    Hi, 

    I'm having the same issue as above where Redream loads into the emulator rather than the rom selected in LB. The rom files I have range from .cdi, .chd and .nrg

    Any advice on how I can get Redream to load directly into the game. 

    Thanks

    In the emulator Details section (in LaunchBox)  for your Demul emulator, do you have all the boxes UN-checked?  i.e. 'Don't use Quotes...' is un-checked?

  10. Start MAME (double-click mame.exe)

    Double-click General Settings

    Double-click Save Settings

    Press Escape twice (to completely exit MAME)

    image.thumb.png.a4c59b30e8047e8e3a957d56ffb3dbf5.png

    You'll now have a "mame.ini" file

    image.png.3daac33c2513bc25b8eed4074c129fd5.png

     

    You could also, while you're in the General Settings, double-click Input Device Options and set the Light Gun Device Assignment to mouse. (select it and press the right arrow key) ;) But don't forget to Save Settings afterwards.

  11. Using that Default Command-Line Parameter, I'm kinda surprised that any other game loads. Also, you should not have that , (comma) in there. 

     

    First test things by removing just the comma, Actually, remove "-cart1" also.  So your command line parameter will look like this:

    -keyboardprovider dinput gamecom

    Save and then try one of your Game.Com games.

     

    Now that we know that works, remove "gamecom" altogether.

     

    The easiest way to have this continue to work is if you have your Tiger Game.Com games in their own platform.  Then in your MAME emulator, go into Associated Platforms and add your Tiger Game.Com platform (select it from the dropdown menu so you select and spell it correctly) and put "gamecom" as it's Default Command-Line Parameter. Check Default Emulator.

    image.thumb.png.9bb176b018535e23bf167451f27762a3.png

     

     

    If you don't have (or don't want) them in their own platform, you should be able to click the platform their integrated with (or just select All) and in the filter search, type "game.com".  That should show all 20 of them.

    image.png.8fa5eb8902b2d253ac4c77087c75194c.png

    If you have them in their own Playlist, that will work just as well.  After, you've confirmed you can somehow sort/find them, exit LaunchBox then download and install the Bulk Custom Command-Line Editor plugin.

     

    Restart LaunchBox, filter and select all the game.com games, start the plugin per the instructions and in the Parameter field, type in "gamecom" (without quotes) and click Finish.

    Play games.

  12. @Drybonz You are most welcome.  Glad it's been a useful tool for you.

     

    1 hour ago, Drybonz said:

    ... is it possible to have [..] it auto adds them to any game added to that platform.

    The API doesn't provide a trigger for when a new game is added, so it wouldn't be feasible.

     

    A workaround, however, would be to create a batch file (or AutoHotkey or PowerShell script) and add it as a new Emulator.

    The 'new emulator' would basically:

    1. Execute what you have in the Run Before Main Application.
    2. Launch the actual emulator with the same Command-Line Parameters you have in LB.
      • Wait until the 'actual emulator' exits.
    3. Execute what you have in the Run After Main Application.

    Then all you need to do is make this emulator the default for your Platform.  You'll probably need to use the Bulk Remove Additional Apps plugin for your existing games first. ;)  Now any game, existing or newly added will have a pre-configured run-before/after-emulator.

  13. There are no Custom button/key mappings available in LB/BB.

    I haven't messed with CP Wizards Pause-Menu Lua script in several years.  Almost surprised to hear that it still works. But it's good to hear that it does. :) 

    What I did was have CP Wizard generate all the control panel images and then put them into the \LaunchBox\Images\Arcade\Arcade - Controls Information\ folder.  I then modified a Startup Theme and a Pause Theme, respectively, to have them show that image for the selected game. Of course, the Startup Theme only shows it for a few seconds.

    I think those are probably the 2 keys times you'd want to see it.

    Also, with them being in that folder, in LaunchBox, if you press Ctrl+i, it'll bring up all the games' images full screen.  You can then scroll through them and see it that way.  Same thing in BigBox when you go into Game Detail and select View Images.  In BigBox, you can also map a button to View Images (don't think it's mapped by default) without having to go into the game details. But again, it's all images for that game that you can scroll through.

×
×
  • Create New...