-
Posts
3,436 -
Joined
-
Last visited
-
Days Won
30
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by JoeViking245
-
Replace your one line (Process, Close, %processName2%) with the 6 lines I show. Keep everything else the same.
-
Just a shot-in-the-dark, try closing the process CastlevaniaArcade_Inputs.exe first, then close hvc.exe. Though seems it should work either way. To use the send alt f4 method you might need to set a key delay. Also make sure that it's actually the active window. if WinExist("ahk_exe CastlevaniaArcade_Inputs.exe") { WinActivate SetKeyDelay, 125, 50 Send !{F4} }
-
64-bit [Only] started with version 11.7. So 11.6 'should' work. Beyond that, I have no other useful information. Was there any kind of popup error message? After installing .NET desktop and Visual C, did you reboot the PC 1st, before attempting LaunchBox? Is there anything in the /Logs/ subfolder?
-
I haven't been able to get the boxes to work with animated gifs, but have been able to with Animated Backgrounds and also Animated Clear Logos. When trying to apply the same principle to the box images, I get a cross-thread exception. So I gave up. Maybe someone with better xaml skills can get them to work.
-
Bigbox Wheel Scrolling with Mouse Hover
JoeViking245 replied to The Mask's topic in Custom Theme Tutorials
I don't think you can do it directly in xaml. It needs to be done in code behind, or in this case reference a dll plugin (to act as the code behind). But also, I'm not sure if in a FlowControl (the wheel), you can add/access a PreviewMouseWheel event.- 1 reply
-
- 1
-
Tools - Audit - then Select All (to audit all games, but may take a while to load) or select the [currently selected] platform. There'll be a column called Duplicate. Games that are duplicated are highlighted red. You can click Duplicate and the duplicates will be sorted to the top of the list. To delete the duplicate you don't want, select it and press Delete on your keyboard. Alternately you can right-click the game and choose Delete from the menu.
-
Mame delegating different region or older versions of a game help.
JoeViking245 replied to Truest1's topic in Troubleshooting
Speculating here... What may have happened is, when you expanded the games, that info was still cached (not yet written to the xml file). And when you when to delete the other files, it 'thought' there were still additional apps. So at the "would you like to delete additional application ROMs as well" prompt, I'd select "No". OR... it doesn't actually check for additional apps, and just puts that message up 'just in case'. -
Movie Scraper (Reboot 2023)
JoeViking245 commented on JoeViking245's file in Third-party Apps and Plugins
-
Movie Scraper (Reboot 2023)
JoeViking245 commented on JoeViking245's file in Third-party Apps and Plugins
-
It's my understanding the window title ("Roms Screen1") might not always be the same. It might be easier to just wait a certain duration (however long it takes for the window to appear after launching it) before sending Alt+Enter to make it go fullscreen. You might try: Sleep, 10000 SetKeyDelay, -1, 110 Send !{Enter} This will wait 10 seconds (10000 milliseconds) and then send Alt+Enter. You can increase/decrease that wait time accordingly. (But be sure to wait the full 10 seconds before deciding "it doesn't work". )
-
You're welcome. Glad I was able to help. Hopefully in the end, it gives you what you're after. I have the exact same amount of pull with the LaunchBox Development staff as you do. The only difference between us is, as a volunteer, I get to have red letters under my avatar. 😎 When you go to make your feature request, verify there isn't the same-ish one already. And if there is, be sure to upvote it. So you know, I've looked into this in the past (the plugin idea) and quickly abandoned the idea. What I found (at the time I looked into it) was there were a lot of inconsistencies in how the "versions" were appended to the file names. (Some, were, in, parenthesis). [Some, in, brackets]. [Some] (were, mixed). etc. It may have been simply a source issue too (where the DATs came from, who wrote the DAT, what format they felt like following that day....). Maybe "today", a more consistent nomenclature is being followed. But personally, I don't use no-intro sets. So don't really care. No offense. Regarding "the default way that LaunchBox should be filling in the Version Field", you need to keep in mind, they can only work with what they're given. "Crap in, crap out." "You can't fix stupid." And any other old adage that "fits the bill".
-
It may be a matter of when you installed AHK v2.0 and then installed v1.x, there may have been some overlapped files that didn't change. So it may be using parts from v1 and v2. A complete uninstall of v2 and a complete uninstall of v1 (and maybe a reboot of the PC), then reinstall v1 may fix it. Just a guess though. Since you know it works from the command line using LaunchBox's AutoHotkey.exe, you could create yet another file to call the 1st file. Create a batch file that you can drag & drop the file onto it. Put the batch file and the AHK script in the same folder as your xml files [that you had already made a backup of ]. @echo off "D:\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe" "MyScript.ahk" %1%
-
Creating Generic PNG Logos For MS-DOS / Windows 3.1/95/98 Games
JoeViking245 replied to jrusso4587's topic in Game Media
The program ffmpeg can do just that. If you don't have ffmpeg already on your system: Download "ffmpeg-release-essentials.7z" from the link above Copy the contents to... somewhere (i.e. D:\MyApps\ffmpeg-7.0-essentials_build\) Create a temp folder (for starting out and testing) (i.e. D:\Temp) In that folder, create a new text file (i.e. CreateClearlogo.txt) In that text file, paste the code from below Change the last line accordingly... Replace the path to ffmpeg with your actual path (note, the executable is in the 'bin' folder) Replace "premadeBG.png" with the actual name of your 'pre-made background' image file Save and close Rename the file to have a .bat file extension (i.e. CreateClearlogo.bat) Copy your 'pre-made background' image file into the temp folder Navigate to your /LaunchBox/Images/[platform_name]/Box - Front/ folder This assumes you have Box-Front images for all the games in that platform Copy four of those files into your temp folder Your temp folder will now have 6 files in it CreateClearlogo.bat premadeBG.png (4) Box-Front images Select CreateClearlogo.bat and press enter. (or just double-click it) The batch file will look for both .png and .jpg images Executing CreateClearlogo.bat will pop up a Command Prompt window showing a bunch of gibberish. At the bottom should then say "Press any key to continue...". Press the 'any' key to close the window. You will now have a new folder in your temp folder called "Output". Go in there and look at the 4 images it created. If the text is not centered where you want it, edit the batch file (right-click, edit) and adjust the "x" and "y" values to move it. Adjust "fontsize" to make the text larger/smaller. Re-run the batch file. Note: this will overwrite existing files in the Output folder. Once you're happy with how the Output images look, copy the batch file and 'premadeBG.png' into your /LaunchBox/Images/[platform_name]/Box - Front/ folder and run it. When done and you've pressed the 'any' key, move the images from the just now created "Output" folder into that platforms "Clear Logo" folder. (and of course, you can remove the batch file, your premadeBG image and delete the Output folder. Oh, and you probably now have a premadeBG.png file in your /Clear Logos/ folder. Delete that. ) Note: The batch file WILL NOT recurse through sub folders (i.e. Region subfolders). So you'll need to move the 2 files and re-run accordingly. @echo off setlocal EnableDelayedExpansion md Output for %%f in (*.png) do ( call :Sub %%~nf ) for %%f in (*.jpg) do ( call :Sub %%~nf ) pause exit :Sub set string=%* set string2=%string:-01=% set string2=%string2:-02=% "D:\MyApps\ffmpeg\bin\ffmpeg.exe" -i "premadeBG.png" -vf "drawtext=text=%string2%:fontcolor=white:fontsize=75:x=1002:y=100:" "Output/%string%.png" -y -
I was under the impression you had all those that way already because of the Pause Menu. That's pretty much why I added that option in there for you. (sorry, missed this part) No. Well, it is possible, I'm sure. But it'd be like reinventing the wheel. If you want a different image used in BigBox's marquee screen, change the Marquee Priorities to have the image type you want on the top of the list. Or the only one in the list if you don't want a fallback.
- 85 comments
-
That's the right spot. Add a line above that and put "SetKeyDelay, 0, 50" (without quotes). Not tested, but "looks good on paper". SetKeyDelay, 0, 50 Send i
-
So I think what you're trying to say is you want to convert the data in the Version field from a string to an array. a.k.a. Convert "(USA) (Beta) (Aftermarket) (Unl)" to "USA;Beta;Aftermarket;Unl" This AutoHotkey script can do that for you. myFile := %0% Loop %myFile%, 1 xmlPath = %A_LoopFileLongPath% xmlDoc := ComObjCreate("MSXML2.DOMDocument.6.0") xmlDoc.async := false xmlDoc.load(xmlPath) FileCopy, %xmlPath%, %xmlPath%.original for Game in xmlDoc.getElementsByTagName("Game") { Text := Game.getElementsByTagName("Version").item(0).text " " myString := StrReplace(Text, ") (",";") myString := StrReplace(myString, "(","") myString := StrReplace(myString, ")","") myString = %myString% Game.getElementsByTagName("Version").item(0).text := myString } xmlDoc.Save(xmlPath) Exitapp To use: Exit LaunchBox/BigBox and wait for it to completely finish it's background saves Go to /LaunchBox/Data/Platforms/ Make a copy of all the xml files and save them somewhere else (a.k.a. Backup all the files) Copy the above script into a blank text file Save the file, name it whatever you want Change the file extension from .txt to .ahk Place the file into /LaunchBox/Data/Platforms/ Drag and drop ONE of the xml files onto the AHK script This assumes you have AutoHotkey installed on your computer This will not work if you drop more than one file onto the script at one once. In fact, it might really bork things up if you do. So don't do that. It'll only take a split second to complete Move the file(s) with the file extension ".original" to somewhere else (consider it a secondary backup) Remove the script file (move it somewhere, anywhere else for future use) What it does: Loads the file you dropped onto it Copies the file you dropped onto it to theFileName.xml.original (in the same folder) Goes through all the Version elements and: replaces inner parenthesis with ; (semicolon) removes open parenthesis removes close parenthesis Save changes to the file you dropped onto it If you don't have (or don't want to have) AutoHotkey installed on your system, you can use the one that comes with LaunchBox from the Windows command prompt. Open the command prompt from within the folder in step #7. The command would be [something like]: "D:\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe" "myScript.ahk" "Super Nintendo Entertainment System.xml" Be sure to change the path to LaunchBox, the name of your script and the platform file you're wanting to modify. BE SURE TO USE THE QUOTES AS SHOWN.
-
To turn off the marquees screen in BigBox, go to the System menu, Options, General, set Marquee Screen to None. Looking at Retro808's Game Controls Pause Theme (and the full screen version) folder structure, I've adopted this: If the Default Game Image you chose is *Custom Folder, the plugin will look for an image in this order: 1) Game Title i.e. \LaunchBox\Images\Game Controls\Sony PlayStation\Alien Trilogy.jpg 2) Game ROM name i.e. \LaunchBox\Images\Game Controls\Sony PlayStation\Alien Trilogy (USA).jpg 3) (new) Game Database ID # i.e. \LaunchBox\Images\Game Controls\Sony PlayStation\9850.jpg 4) (new) Games Platform i.e. \LaunchBox\Images\Game Controls\Sony PlayStation.jpg The platform image (4) will be searched for directly in the Custom Folder. The other 3 will look in the games Platform subfolder. The image file type can be any type. i.e. .jpg or.png MultiMonitor2022 (v1.1.5 beta-6) .7z
- 85 comments
-
Trying to create a top-level "Lightgun Games" Category
JoeViking245 replied to timekiller's topic in Troubleshooting
2 people typing and responding at the exact same time, saying the exact same thing.. I think we're on to something here. -
Trying to create a top-level "Lightgun Games" Category
JoeViking245 replied to timekiller's topic in Troubleshooting
It's not "under" Handhelds, it's (alphabetically" "below" it. Not the Handhelds is collapsed. When editing the game, and then [attempting to] change the platform, manually type in "Arcade-Lightgun" and click OK to save. Then, now that you have at least one game in that platform, when you subsequently change a games platform, it will appear. -
Pretty certain it's not a plugin issue. If you press and hold Alt, then tap TAB, while continuing to hold Alt, is one of the open windows the marquee? If you tap TAB (still holding Alt) until you get to the marquee, then release Alt, does the marquee (re)appear on the monitor? If you revert back to v1.1.5-beta-4, does it still minimize/disappear? Can you remind me about my pause menu? Link to the post? I'm drawing a blank about a pause menu I created that uses database ID #'s and ROM names. (old age. ) Still drawing a blank. (I'll probably be super embarrassed when you share the post.)
- 85 comments