Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    3,446
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by JoeViking245

  1. Must be from the PCSX2 Configurator plugin then. I saw it (SVN) in my root folder and assUmed it was innate to LB. My bad. ? (for the record, it was probably from an old version of the Configurator, which (I presume) now places it [appropriately] within the Plugins folder)
  2. Do you have another plugin you're using that's installing SVN there? The reason I ask is because the version of LaunchBox I have, has it's copy of SVN located in the root folder of LaunchBox. D:\LaunchBox\SVN
  3. Try: Close LaunchBox In Windows Explorer, navigate to your ../LaunchBox/Updates folder (i.e. D:\LaunchBox\Updates ) In that folder, delete the file "LaunchBox-11.7-Setup.exe". If you're updating to 11.8 or a beta, just look for the most recent file and delete it. Restart LaunchBox and try updating again.
  4. Not from within LaunchBox/BigBox itself. Your best bet is to open BB using a batch file (or AHK script if you'd prefer). Example batch file @echo off start "" "F:\path_to_run-before_program\my_OPEN_program.exe" timeout 3 cd "F:\LaunchBox\core" start /w "" BigBox.exe start "" "F:\path_to_run-after_program\my_CLOSE_program.exe" Load/Run the 1st program Pause (timeout) for 3 seconds to give it a chance to completely load. Start BigBox. the "/w" tells it to wait until BigBox exits before continuing. Once BB exits.... Load/Run the 2nd program.
  5. The integrations of Retro Achievements and LB's MAME High Scores Leaderboards are 2 separate animals. RetroAchievements.org has only specific emulators supported. One emulator being Retroarch. But only specific cores are listed as compatible. MAME is not one of them. The High Score Leaderboard is possible by using the Third Party app hi2txt and ONLY works using MAME standalone (vs the MAME core in RA). Hope that helps with some of the confusion.
  6. Edit: (February 28, 2024) beta version 0.0.6. Fixed: Reimporting would sometimes change ROM names for existing games. Edit: (August 6, 2023) beta version 0.0.5. Parent game now included with its Additional Apps. Edit: (August 10, 2022) beta version 0.04. Fixed: Import clones as Additional Apps now works. Edit: (August 26, 2021) beta version 0.03. Now strips (regions) and (notes) from game Titles. Added notes [below] for downloading Metadata. Edit: (June 28, 2021) beta version 0.02. Now supported in LaunchBox Version 11.3 and up. This plugin will import “Custom” made MAME xml files. With this plugin, you can import games from a Custom xml file into any Platform (new or existing) and set the Emulator for the imported games to whatever you want, regardless of the Platforms default Emulator (if importing to an existing one). If you import them into a new Platform, the “Scrape As” for the Platform will be set to “Arcade”. The xml file MUST be laid out in a standard MAME Machines format. MAME’s softlist xml files are formatted differently and WILL NOT work with this plugin. (Use the other plugin) This only imports the games into LaunchBox giving them their 'proper' game Name/Title as per MAME. Use LaunchBox's built in Download Metadata and Media Wizard to get you game data, images and videos. You'll also need to setup any required Custom Command Line Parameters for your Emulators (i.e. DEmul - for Naomi needs "-run=naomi -rom= ") History Years ago I imported a personally ‘curated’ set of MAME roms into LB/BB. This left out a lot of games available in MAME Including clones and games (partially or otherwise) unplayable in MAME. Including Sega Model 2/3, and Naomi. I keep this “personally curated set” in my D:\LaunchBox\Games\Arcade folder. I have also keep a Full (non-merged) set updated on my backup drive. Thought being, keep the games available in LaunchBox, “inside” LaunchBox while maintaining my full set elsewhere. As time went on and my Cab and I ‘matured’, I discovered SuperModel and DEmul. Great! But I can’t even create Playlists because these games aren’t ‘pre-existing’ in LB. So now it’s just a matter of getting those roms from the full set into LB/BB. That’s where this plugin comes into play. Using the plugin Download and unblock the zip. Copy the folder inside the zip into your ../LaunchBox/Plugins folder. i.e. D:\LaunchBox\Plugins\ImportMAMExml\MAMExmlImporter.dll Start LaunchBox. Select Tools, MAME xml Importer beta 0.03 The process should be fairly intuitive by just going through the Import Wizard. Select the folder where your Custom xml files are located. Select an xml. Choose a Platform (new or existing). Select your Emulator. Filter the clones (Import: All, as additional apps, none). Select the roms’ source folder (if copying them). Select the roms’ destination folder (required to set the launch path for the games). Select Copy & Import or Import Only. Downloading Metadata Right click on the new Platform and select “Edit”. Make sure the Scrape As: is set to “Arcade” and then click “OK”. Click on one of the games, then press CTRL+A to select all games. Now click Tools and select Download Metadata and Media and follow the prompts. Be sure to check the box for: Search for game information and media from the LaunchBox Games Database (recommended). I recommend at this point to not download Media. [just to make sure all goes well with getting the metadata] Click on Select None when prompted (again if you have an EmuMovies account). Click Yes, download and replace all existing metadata and media. Then click Finish. Creating your own Custom xml I imagine there are many different ways to do this and even places to download them. Here’s 2 methods to create your own Custom xml. In MAME itself: You’ll need the “driver.ini” file which you can get from http://www.progettosnaps.net/renameset/. Click on “category.ini (0.22x)” to download. Inside the zip file, copy the “folders” folder into your D:\MAME\ini directory. D:\emulators\MAME\ini\folders\ You may need to add ;ini\folders to your “mame.ini”, “inipath” line. (?) # # CORE SEARCH PATH OPTIONS # homepath . rompath roms hashpath hash samplepath samples artpath artwork ctrlrpath ctrlr inipath ini;ini/folders Open MAME and click “Category” [on the left pane]. Now select “File <driver.ini>”. Under “Group” select the driver you want to sort by and then “Return to Previous Menu” You’ll now see only the games (56 in this case) for this particular driver. Now click the yellow floppy disk at top [“Export displayed list to a file”] and double click “Export list in XML format (like –listxml, but exclude devices)”. Your “Custom” xml will be saved to D:\emulators\MAME\ui\exported.xml. If you do more than one, they will be named “exported_0000.xml”, “exported_0001.xml” and so on. Tip: If you want to expand you sort filters, instead of “Category” select “Custom Filter” (selecting the File and Group as one of your filters). Using the Arcade Database website: http://adb.arcadeitalia.net/default.php Click “Machines” “Additional Filters” “Driver” tab Under “Source File”, type in the driver you want to filter by. Click Search. You’ll now be seeing just the games for that driver/source file. Now click “Options” and select “Export the results”. Give it a Title. Click “MAME (xml)” and click “Export”. Your file is now downloaded. Tip: Look through the other tabs for more filter options. I don't know if this is practical or even useful for anyone else. Or if there's already an easier way to do it. But it was fun to make AND it works. At least it does on my cab. If you decide to try it and have any thoughts, suggestion or whatever (good, bad or indifferent), ... leave a post letting me know. ImportMAMExml-beta-06a.zip
  7. I would screw it so bad if I tried that! lol And even though I didn't, I did see a better (code-wise) way to write it. Loop { IF ProcessExist("Retroarch.exe") { IF ProcessExist("CDisplayEX.exe") {} Else { Gui, Hide run, nomousy.exe Process, Close, nomousy.exe ExitApp } } Else { Winclose, Cdisplayex Gui, Hide run, nomousy.exe Process, Close, nomousy.exe ExitApp } Sleep, 2000 } ProcessExist(Name){ Process,Exist,%Name% return Errorlevel }
  8. @Zombeaver Process,WaitClose will hang up everything in the code that is after it, until it satisfied (RA closes). @Headrush69's code is much shorter and to the point. Whereas I tend to be more 'long-winded'. lol So if nothing else, chalk this one up as just another approach. Note, there's an added method [ ProcessExist() ] at the end. Loop { IF ProcessExist("Retroarch.exe") { } Else { Winclose, Cdisplayex Gui, Hide run, nomousy.exe Process, Close, nomousy.exe ExitApp } IF ProcessExist("CDisplayEX.exe") { } Else { Gui, Hide run, nomousy.exe Process, Close, nomousy.exe ExitApp } Sleep, 2000 } ProcessExist(Name){ Process,Exist,%Name% return Errorlevel }
  9. If the games (Disc's) are not combined in LaunchBox, (so 4 "different games") and you double click the one for "Disc 1", I think you indicated that it starts and runs the game as it should. If the answer to the above question is "no", you should be able to just remove the 3 remaining 'discs' from LaunchBox.
  10. Close. But I think I might have been partially wrong when I said the game redirects itself to steam.exe. I think what happens is, if Steam is not running [in the background] (and it may do it anyway if it is), when you launch a 'steam_game.exe', it closes (exits) then opens Steam, then reopens the steam_game.exe. The following worked for Harry Potter [Years 1-4]. Start your Steam games (the ones that are 'game_name.exe') like you did before. As in, just point to the games' exe file. Start you x360CE like however you did before. Create a new batch file with this text in it. This said file will have a ".bat" file extension. (BTW, you can never just change a file extension to .exe and have it work.) Under Additional Apps, click Add Application and point to this new .bat file. Now 'check' "Automatically Run Before Main Application" and click OK. @echo off Timeout 20 /nobreak :start FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq LEGOHarryPotter.exe"') DO IF %%x == LEGOHarryPotter.exe goto start goto closed :closed c:\windows\system32\cmd.exe /c c:\windows\system32\TASKKILL.exe /F /IM x360ce.exe What this batch file is supposed to do is... when you start the game in LB, it (the batch file) will 'put itself in the corner for a timeout' for 20 seconds. (This should be sufficient time for your game to do whatever the heck is going on in the background.) It will then check to see if LEGOHarryPotter.exe is running (which at this point it should be). It will keep checking until [when you exit the game] LEGOHarryPotter.exe is no longer running. When it's not, it will then execute the TASKKILL operation. Using this method you will of course need to change "LEGOHarryPotter.exe" (in TWO locations) to whatever the name of your executable is. And ya, a different batch file for each game you need to use this for.
  11. Even though you're using the games' exe, it still redirects to Steam.exe. So what's happening is you load X360CE, then 'game.exe' loads, this then loads Steam.exe and 'game.exe' closes. At this point your script sees your original "game.exe" close so it then closes X360CE. And the game plays on. I don't know off hand how to do it in a batch file, but you could do something similar to the post right above yours and compile the script to an exe. Then have this Run Before Main Application. Sleep, 7000 ;give time (7 seconds?) for Steam.exe to load [if it's not already] Loop { if !WinExist("ahk_exe Steam.exe") ;if the exe file is not running anymore { Run "D:\X360CE\x360ce-Killer.exe" Return ;and exit the script } }
  12. Someone else is going to have to help. I've never worked with multi-discs. This doesn't make sense though. Either way [combined or separated], when you double click the "Disc 1" image, LaunchBox is telling the emulator load Disc 1. No more. No less. Out of curiosity, with them combined, if you right click the game/image and then left click the one that says it's for Disc 1, do you get the same thing?
  13. With the "4 games" in LB, is there ever a need to actually launch "Disc 2" or "Disc 3" or "Disc 4" directly from LaunchBox? If not, just remove those last 3 from LB. When you say "merged", are you talking "Combined Selected Games" so that three of those are now Additional Apps to one? If so, make sure your Main/Default game is pointing to "Disc 1". If it's not or you are unsure, edit the [Combined] games and look at the "Additional Apps" section. It'll show all 4 discs. Highlight the one for "Disc 1" and click "Make Default" and then click OK. If you're talking you did something to physically merge the 4 bin files into one single bin file... Don't do that.
  14. Are you in "View Platforms"? (vs Platform Categories)
  15. How are you starting these games and the other programs? Did you create an 'emulator' that loads all these plus the game? Or do you launch them directly (with no attached emulator) like with a batch file (not to be confused with a 'script' like you show above )? If it's the latter (no emulator) which is what it sounds like, [one method is] you'd need to compile the above AutoHotkey script (convert it to an exe file) then attach it to the game as an Additional Application and set it to "Automatically Run Before Main Application". The "Return" is not necessary, but you will need to add ExitApp at the end to exit the script. Sleep, 15000 Send {F11} $Esc:: { WinClose, ahk_exe Bluestacks.exe WinClose, ahk_exe Bluestacks.exe WinClose, ahk_exe HD-agent.exe WinClose, ahk_exe HD-player.exe WinClose, ahk_exe BstkSVC.exe ExitApp } Also "WinClose" is a lot 'nicer' way to shut down a program.
  16. Have you had this working specifically with FS-UAE before? I don't have this setup on my cab anymore, but I'm guessing what might be happening is the emu's command line is using Launcher.exe but this then spawns something else like "fs-uae.exe" or "fs-uae-launcher.exe". So when you launch a game, HRC-50hz, kicks in and then Launcher.exe starts. The problem then is (assuming I'm correct) Launcher.exe starts fs-uae-launcher.exe (or something else similar) then exits itself. Which [Launcher.exe] is considered the Main Application. So HRC-60hz now kicks in and the game plays. Unfortunately it's now playing at 60hz. And if I'm totally off base, never mind. ?
  17. I suppose, if you're getting your Sega Model 2 roms from a source other than MAME.
  18. Oops. Ya, I was using "Daytona" as my [created] Platform. So definitely will produce different outcomes. Here some sample runs. [If I did did enough of them] you'll see a pattern. Platform: Sega Model 2 Scrape as: N/A Emulator: Dolphin (as in Not MAME) Force MAME: No Daytona USA daytonas.zip Daytona USA Special Edition daytonase.zip Daytona USA daytonat.zip Daytona USA daytonata.zip Daytona USA daytona.zip Daytona USA daytona93.zip Daytona USA daytonagtx.zip Daytona USA daytonam.zip ================================ Platform: Sega Model 2 Scrape as: N/A Emulator: Dolphin Force MAME: Yes Import Clones: checked Everything Else: Un-checked Daytona USA daytonas.zip Daytona USA Special Edition daytonase.zip Daytona USA daytonat.zip Daytona USA daytonata.zip Daytona USA daytona.zip Daytona USA daytona93.zip Daytona USA daytonagtx.zip Daytona USA daytonam.zip ================================ Platform: Daytona Scrape as: Sega Model 2 Emulator: Dolphin Force MAME: No daytonas daytonas.zip daytonase daytonase.zip daytonat daytonat.zip daytonata daytonata.zip daytona daytona.zip daytona93 daytona93.zip daytonagtx daytonagtx.zip daytonam daytonam.zip ================================ Platform: Sega Model 2 Scrape as: N/A Emulator: MAME Force MAME: N/A Import Clones: checked Everything Else: Un-checked Daytona USA daytonas.zip Daytona USA Special Edition daytonase.zip Daytona USA daytonat.zip Daytona USA daytonata.zip Daytona USA daytona.zip Daytona USA daytona93.zip Daytona USA daytonagtx.zip Daytona USA daytonam.zip
  19. Short answer: Despite what you see in Files.xml*, LB won't find/import "dayton93.zip" *** as it doesn't exist in MAME (anymore**). Long answer: I did a drag & drop [import] of the daytonaxx roms and all 8 imported. I checked the box in Neil's pict "Force Using MAME...". And then selected Import All Clones, and un-checkd all other boxes. Note: Tested with "Scrape As - Arcade" and also "Scrape As - Sega Model 2" . While testing this, I realized I have "daytona93" and not "dayton93". Looking into a little... **back in MAME Release 0.133u1: "Renamed (dayton93) to (daytona93)". *The file you want to look into is Mame.xml (vs Files.xml) if "Force Using MAME..." is checked (and/or using MAME as the emulator). Mame.xml Name FileName Daytona USA daytona Daytona USA daytona93 Daytona USA daytonagtx Daytona USA daytonam Daytona USA daytonas Daytona USA Special Edition daytonase Daytona USA daytonat Daytona USA daytonata ***If you do not check "Force Using MAME...", and "Scrape As" "Sega Model 2" AND use an emulator other than MAME, "dayton93" will Import. But you won't get the proper Names. File "daytona.zip" will be given the Name "daytona", and not "Daytona USA".
  20. @Antny The "@" probably shouldn't be at the beginning. Also your "-framefile" file should probably have the full path to it, and be in quotes. Is the "-script" pointing to a file also? And maybe flip the slashes around (not sure if that matters or not). start /b daphne.exe singe vldp -fullscreen_window -framefile "F:\JoeWasHere\singe\timetraveler-v2\frame-timetraveler-dvd.txt" -script "F:\JoeWasHere\singe\timetraveler-v2\dvd-timetraveler.singe"
  21. For what it's worth, future readers will appreciate your confirmation. Glad it's working now!
  22. @W4rCh1ld Hmmm. The last idea I have is to try setting a key delay SetKeyDelay, 0, 50 $Esc:: Send, ^q or do it 'longhand'. $Esc:: Send {Ctrl down} Sleep 50 Send {q down} Sleep 50 Send {Ctrl up} Sleep 50 Send {q up} Also make sure you've been using the dollar sign ($) in front of "Esc::".
  23. @launcherbox Assuming it's a Windows game... Can you write a batch file that has the commands to mount the disc (mount.bat). And then another one that un-mounts it (unmount.bat). Then in LaunchBox, have the 'game' point to the exe, an Additional app checked to Run Before Main Application (mount.bat), and another Additional App checked to run After Main Application (unmount.bat). Otherwise, if you have your steps 1 and 2 working, step 3 would be something along the lines of Sleep, 7000 ;give time (7 seconds?) for CivIIG to load [if it's not already] Loop { if !WinExist("ahk_exe Civilization_II_Gold.exe") ;if the exe file is not running anymore { Run, "D:\DameonTools\unmount.com D:\MyGames\CivIIG.nrg" ;ummount the disc Return ;and exit the script } } Obviously fixing the games exe filename and the path/commands/etc for un-mounting the disc. And depending on the rest of your code, "Sleep" may or may not be required.
  24. @W4rCh1ld You only need to put it in the Running AutoHotkey Script tab under Edit Emulator. (A little confusing. But ya, just the one location) If Kronos is running (either through LaunchBox or directly from Windows), if you 'manually press' Ctrl+Q on the keyboard, will it exit the game (and close the emulator)? Are you using just the keyboard? Or trying to get this to work with a controller [also]?
  25. What exactly have you tried? Have you tried this: $Esc:: Send, ^q
×
×
  • Create New...