Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    2,920
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by JoeViking245

  1. 30 minutes ago, Kinglifer said:

    This is a bit old but.... Where the heck is Dolphin.ini?!? Are you talking about Retroarch?

    Stand-alone Dolphin. Definitely not RetroArch.  The post you quoted pretty much says exactly where Dolphin.ini located. 

     ..\Dolphin\User\Config\Dolphin.ini

  2. 3 minutes ago, knux666 said:

    Any advice and help would be greatly appreciated, thank you :)

    Try this:

    RunWait, D:\SteamLibrary\steamapps\common\Vampire Survivors\VampireSurvivors.exe
    ExitApp
    
    z::Enter

     

  3. @Merovingio To create Playlists in LB, you pretty much need the games to already be in an existing Platform.

    A cheesy, not-100%, but pretty close work around could be done like this:

    • Install RetroAchievement Badges plugin
    • Run the Updater as described in the How to install the plugin: instructions
      • This will create, in the plugins' folder "AllGames.xml"
    • Download/save this AutoHotkey script         Parse AllGames.xml to folders-files.ahk
      • Open it with any text editor and edit lines 1 and 2 ONLY.
        • Change Line 1 to the full path to your copy of "AllGames.xml"
        • Change Line 2 to the full path to a temp folder you want to save the console-folders/files.txt
    • Run the script from Windows (this is not a plugin)
      • This will parse the AllGames.xml file
        • Inside the folder you set on Line #2
          • It will create folders named after each Console
          • In each of those folders, it will create .txt files named after the games Title
        • It'll create about 40 [Console] folders and about 6000 .txt files total
        • Takes less that 10 seconds to complete
    • In LaunchBox, import these .txt files ("games") into
      • (Option 1) your existing Platforms. (Yes, one platform at a time)
        • (Option 1a) 
          • Leave "import duplicates" un-checked and don't import any media (yet).  Then any game in that platform that doesn't show an image (box-front of whatever you have set as default) should be ones you don't have.
        • (Option 1b) [this will meet the request of the OP]
          • Check "import duplicates".
      • (Option 2) new Platforms. (Again, one platform at a time)
    • [With Option 1] Create a new Playlist
      • Check Auto-Populate this Playlist
      • Set Field to Application/ROM Path
      • Set Comparison to Contains
      • Set Value to ".txt" (without the quotes)
      • [EDIT] Set (on the next line...) Field to Platform
      • Set Comparison to Is Equal To
      • Set Value to "the_exact_name_of_your_Platform" (without the quotes)
      • Click OK to save
    • If you selected Option 1a above, you should now have a Playlist of missing achievement games for that Platform
    • If you selected Option 1b above, you should now have a Playlist of all achievement games for that Platform

    image.png.b1eb50604f8ec35e9512e04dfa859199.png

    The caveat is that you will have oddball situations.  You might already have "The Addams Family" and it may still import "Addams Family, The".  And other similar oddities.

    Also (with Option1) you'll have a bunch of extra shtuff in your main Platform.

     

    Plan "B" is to go back to plan "A"...

    14 hours ago, retroNUC said:

    do a side-by-side against the platform lists on RetroAchievements

     

    • Like 1
  4. 10 hours ago, OldSkool8bit said:

    When I running Coinops the usual alt F4 script (which I use for my other emulators) does not work when I hit the Esc key. I have a program called Super F4 which does work via the combination of Ctrl + Alt + F4. I have tried looking for a script to put in for my Coinops Emulator to enable/bind those keys to Esc but I have not had much luck. Any help would be greatly appreciated. 

    So, you use LaunchBox, to launch CoinOps, to launch games?  Seems redundant.

    Anyway, to 'press' Ctrl+Alt+F4 instead of just Alt+F4 via AutoHotkey, you can use 

    Send, ^!{F4}

  5. 25 minutes ago, youremum said:

    When updating launchbox, i received a critical error saying my system produced unexpected results. The error code, and upon uninstalling and

    attempting to reinstall, it happened again.

     

    I would appreciate any help :)

    The error indicates something is up with your license file. Email support@unbrokensoftware.com and they can sort it out for you.

    • Thanks 1
  6. 18 minutes ago, Mr. RetroLust said:

    Be sure to add this to the start of the script btw as I got a dialog window about running the same script when starting another light gun game "#SingleInstance Force"

    If you're not using Escape to exit the game, the 'original' script is still running.  If you are, then you may need to give the esc routine a little money.

    $esc::exitapp

     

    If that doesn't work, remove that line altogether.  Now create another additional app to Run After that exits the above Run Before addnl. app.

    If you named your Run Before script "ConfineMouseMovement.ahk", set this script to Run After.

    DetectHiddenWindows, On
    SetTitleMatchMode, 2
    WinClose ConfineMouseMovement

     

    You don't want to have to add #SingleInstance Force.  You really do want to close it when not needed.

    • Thanks 1
  7. 2 hours ago, Mr. RetroLust said:

    I have a problem with light gun games on the Model 2 emulator, when I click the edges of the screen the emulator window loses focus and there is no way back to the game. So it got me thinking, a solution could be in AHK where the mouse gets restricted not being able to move about 10 to 20 margin of the edges of the screen. Don't know if this can be done with margin or padding or you need the exact dimensions of a 3840x2160 restricted area minus the 10 to 20 margin. I'm a real noob concerning this so please explain every step I have to make to make this work in LB, thanks so much if you will help :)

    Seems like there has to be a better [built-in] way to do this through the emulator settings.  I don't use M2, so I don't know.  (full screen? Probably not windowed-full screen [if even an option]).

     

    Anyway, this script assumes you're running the game on your primary monitor and makes use of Windows' built-in ClipCursor function.  

    Set limitW and limitH to the number of pixels you want the border to be.  "limitW" is your left/right border and "limitH" is your top/bottom border.  i.e. setting limitW to 20 puts a 20-pixel border on the left side AND on the right side (not 10 on each side).   Don't touch any other part of the script.  Pressing Escape will exit the script.

    This gets the actual Width and Height of the monitor, then subtracts twice the limit from each, respectively.  Width - left & right border.  Height - top & bottom border.  Then using the ClipCursor function, confines the cursor movement to the coordinates supplied to it.  Coordinates for a monitor start in the upper left corner. 

    With limitW and limitH both set to 20, the starting point from the upper left corner is 20 over and 20 down.  Then [for your monitor] from there it'll "draw the box confines", 3800 to the right, and 2120 down.

     

    limitW := 20
    limitH := 20
    
    W = %A_ScreenWidth%
    H = %A_ScreenHeight%
    Lw := W - (limitW*2)
    Lh := H - (limitH*2)
    
    ; Courtesy of:
    ; https://www.autohotkey.com/boards/viewtopic.php?p=180864&sid=79466bc66cbd4f6a4c02689d4fda46e7#p180864
    ClipCursor(limitW,limitH,Lw,Lh)
    
    ClipCursor(x,y:=0,w:=0,h:=0){
      static free := dllcall("User32.dll\ClipCursor", "ptr", 0)         ; Frees the mouse on script start up.
      static oe := {base:{__delete:func("clipcursor").bind("unclip")}}  ; For freeing the mouse on script exit.
      if (x = "unclip")
        return dllcall("User32.dll\ClipCursor", "ptr", 0)
    	
      varsetcapacity(rect,16)
      numput(x,rect,0,"int")
      numput(y,rect,4,"int")
      numput(x+w,rect,8,"int")
      numput(y+h,rect,12,"int")
      dllcall("User32.dll\ClipCursor", "ptr", &rect)
    }
    
    esc::exitapp

     

    To create/add this as an additional app, follow this:

     

    • Unusual Gem 1
  8. 32 minutes ago, OldSchool80s said:

    Isn’t the “core”, the same as the path to “where it is installed”?

    Because BigBox does launch when I run the .bat file, it’s the other software that doesn’t run after I exit out of BigBox.

    Think of it as /LaunchBox/BigBox.exe is a 'launcher' for /LaunchBox/Core/BigBox.exe.  

    or

    /LaunchBox/BigBox.exe is a 'shortcut' to /LaunchBox/Core/BigBox.exe.

     

    So what's happening is you batch file is:

    • it starts /LaunchBox/Bigbox.exe
      • this in turn starts /LaunchBox/Core/BigBox.exe
      • then exits itself
    • /wait (/w) is now done because the program you told it to wait for is no longer running.
    • QRes now executes **
      • Note: /Core/BigBox.exe is still running

    aka:  it starts BigBox, then immediately launches your QRes command.

     

    ** I don't know anything about QRes, so I didn't pay any attention to that part of your script.  Chances are, it may not have worked anyway if you did point to the Core folder.  You may need to "start" it also.

    start /w "" "C:\Users\Me\LaunchBox\Core\BigBox.exe"
    start "" "C:\QRes.exe" /x:1280 /y:960

     

    • Like 1
    • Thanks 1
  9. 6 hours ago, RandyMackDaddy said:

    -keyboardprovider dinput

    If you're determined to use MAME release 0.133, remove that from the command-line parameters.

    The only reason a newer version of MAME is giving the appearance of being blurry is because of differing video settings and filters you have set [compared to your 0.133 release].

    If you have games that were once playable and are no longer playable with an updated mame.exe, the most common reason is that you didn't update your ROM set to match the new version of MAME.  If your MAME emulator is release 0.252 and your ROM set is 0.133, you'll have a lot of issues when attempting to play.  14 years (aka 119 releases) of ROM and emulator updates is pretty substantial.

  10. 4 hours ago, OldSchool80s said:

    I've tried all sorts of variations and can't get it to execute after closing BigBox

     

    On 1/11/2021 at 4:52 PM, JoeViking245 said:

    But you will need to make sure to point to the 'BigBox.exe' located in the ../Core  subfolder.

     

    start /w "" "C:\Users\Me\LaunchBox\Core\BigBox.exe"

    start /w "" "C:\Users\Me\LaunchBox\Core\BigBox.exe"
    C:\QRes.exe /x:1280 /y:960

     

    • Like 1
  11. This will only work for your Arcade platform because you are using a non-merged set.

    Select your platform then press Ctrl+A to select all games.

    Tools, File Management, Export/Copy ROM Files from Selected Games to New Folder...

    Read and follow the prompts.

    When done, move the [remaining] files that are in the original location (/LaunchBox/Games/Arcade/ or wherever they actually are) to somewhere else. (aka, 'save' them in a different location for the time being until you're sure everything else works).

    Now move the files from the folder you Exported to, into the 'original location'.

    Test your Arcade games and make sure they all work.

    • Thanks 1
  12. On 3/11/2023 at 1:51 PM, Retrofrogg said:

    A setting in the app should be able to sort this I think!

    Try this beta release..↴

      MultiMonitor2022 (v1.1.5 beta-3a) .7z  (replace your existing "MultiMonitor2022.dll" file with the one inside this zip)

    Open setup from the Tools menu.  You'll see the new option to set the initial 3D Box Model size.  *3* is the default.

    You can also see a preview by clicking Test.  Change platforms in the dropdown box below it.  Click Close to close the preview window or simply click Exit.  Be sure to click Save 1st if you made changes you want to keep.

    image.png.37c3b3e35c9831cd30f52b07e4c66e0d.png

    • Like 1
  13. 52 minutes ago, Retrofrogg said:

    It depends on the shape of the box, and the orientation of the monitor. There's a few variables in the mix which make for uneven box sizes, usually a bit too big. A setting in the app should be able to sort this I think!

    Can you share some screenshots of the issue you're seeing?  Also, if you can, show some for landscape and for portrait.

  14. 16 hours ago, Retrofrogg said:

    Would it be possible to add a setting for the starting zoom level of the box?

    Assuming 3D Box Models, yes, it's 'possible'. But what exactly is your end goal?  Are the 3D Box Models appearing too large or too small on the respective monitor?  How many rotation-clicks on the mouse wheel when hovering over the Model does it take to make it the 'ideal' size?  Is it the same amount for all Model types?  Regular boxes, N64 boxes, CD cases, jewel cases.  This is where "one size" may not fit all.  And before you ask, no, I wouldn't make it different based on the 3D Box Model type.

  15. Here's my updated batch file.

    @phunky1's PS script will probably work right from the get-go, but I'm bound and determined to get mine to work on at least your 2 test files. lol

    @echo off
    set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe
    set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\
    set path=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\
    
    setlocal EnableDelayedExpansion
    Set key=
    
    for %%f in (*.iso) do (
      set keyFile=%%~dpnf.dkey
      set /p key=< "!keyFile!"
      start "" /w /d "%path%" %path2ps3dec% d key !key! "%%~dpnxf" "%decryptedISOFolder%%%f"
    )
    
    pause

     

    • Like 1
  16. @echo off
    set path2ps3dec=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\ps3dec.exe
    set decryptedISOFolder=C:\Users\darre\Desktop\TEMPPS3\DECRYPTED_GAMES\
    set path=C:\Users\darre\Desktop\TEMPPS3\PS3DEC\
    
    for %%f in (*.iso) do (
      set keyFile=%%~dpnf.dkey
      set /p key=< "%keyFile%"
      start "" /w /d "%path%" %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f"
    )
    
    pause

    Another last ditch effort. lol 

    Wait... the lon-gass key wasn't showing in your last image.  Do you have the dkey files in with the iso's you're decrypting?  So the one batch file, 2 .iso files and 2 .dkey files?

  17. Glad it's [finally] working.  :D You should now be able to create a new emulator in LB as was originally discussed/shown way back when, using this batch file.

     

    As for the bulk decrypt batch file, now that things are all ironed out it can be fixed too. (if you decide to use it)

    @echo off
    set path2ps3dec=D:\PS3\utilities\ps3dec\ps3dec.exe
    set decryptedISOFolder=D:\temp\decryptedISOs\
    
    for %%f in (*.iso) do (
      set keyFile=%%~dpnf.dkey
      set /p key=< "%keyFile%"
      %path2ps3dec% d key %key% "%%f" "%decryptedISOFolder%%%f"
    )
    
    pause

    🤞

×
×
  • Create New...