Jump to content
LaunchBox Community Forums

Tsik

Members
  • Posts

    96
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tsik's Achievements

16-Bit Artificial Intelligence

16-Bit Artificial Intelligence (4/7)

23

Reputation

6

Community Answers

  1. AFAIK, there is no straight up command line argument to load .opt files but you could use the --appendconfig <PATH_TO_ADDITIONAL_CUSTOM_CONFIG> cmd argument with the core_options_path = โ€œPATH_TO_CUSTOM_OPTIONSโ€ as a line inside the ADDITIONAL_CUSTOM_CONFIG.cfg to override the options file, see -here- Cheers
  2. Hello again, perhaps in this situation you could save your <custom>.ini file with your specific input mappings and then use the following arguments : /profile:<name> [Use specific configuration profile ] /portablealt:<file> [Temporarily enable portable mode with alternate INI file] You may use the System>Profiles>Edit Profiles window to try and create your profile (.ini) that fits your needs [I never used it so I don't know how exactly ๐Ÿ˜… but it seems that's the way you should be doing it] PS. If you need any information on Alttira's command-line arguments in the future use Altirra.exe /? from a cmd window and a new window will pop-up with all the relative info. By the way, have you found the solution in your last post -here-? Cheers ๐Ÿ™‚
  3. Hi, have you tried enabling the Auto-boot... option under the System tab in the emulator itself? I have no problem into launching games via LaunchBox at all using Alttira (latest v4.40 x64) and it is pretty straight forward, just point to the emulator's exe file (Altirra64.exe) and perhaps you optionally use the \f as a command line argument for full-screen. If this does not help perhaps you try and be more specific about what file-type/game you are trying to launch for what system (400/800, 1200XL, 600/800XL, 130XE, XEGS or 5200) etc. Cheers ๐Ÿ™‚
  4. If I understand correctly when launching PCSX2 from LaunchBox/Bigbox the emulator does not exit when pressing ESC... if so go to Tools>Manage>Emulators> choose your PCSX2 entry and in the Running Script tab paste the lines: #NoEnv $Esc:: { Process, Close, {{{StartupEXE}}} } (It's the I/O board you mentioned that's confusing me, but still, try the above and we'll see.) ๐Ÿ™‚
  5. Hi, you can also try a fresh "test" installation to a separate location, and see what it does there. Just take the installer from the Updates folder. Another suggestion is also to check your plug-ins. Try and remove them temporarily, all of them or one-by-one, to see if the problem still occurs. I also doubt that the problem is the library size. Cheers ๐Ÿ™‚
  6. Hey, I've honestly never heard of Kavita reader before. May I ask, do someone have to have Kavita already installed in their system for this to work? I would love to learn a bit more about on how it works. Quick searching for "Kavita reader" in Google leads to -here-. Can this be used as a standalone reader? (perhaps tomorrow I'll try and look around for more info). In your video you said it is compatible with cbz files (which is I think essentially a zip file full of pngs formatted to be used for those flip-book comic/magazine readers as you already said) and looks like it is also with PDFs but in your first post you also mention raw .png images and .txt files is it working with those also? Also many DOS games used to have some kind of code wheels for protection like "Monkey Island's 2" Mix n Mojo below which I found can be viewed/used like -this-. Any luck with those? Thanks! ๐Ÿ˜„
  7. Hello there and welcome to the forums, to check each emulator's path go to Tools>Manage>Emulators choose the emulator you want and track down the path to the executable and that the Assosiated Platforms are registered correctly as well. If you are referring specific to RetroArch please also check in the Assosiated Platforms tab for the specific cores you are using for each platform/system that are downloaded and selected. If you experience any problems after that, posting screenshots of the above windows will get you further... ๐Ÿ™‚
  8. Disclaimer #1: I create this post just to share my way viewing multiple and different file/file types/documents and/or Images together in a single screen setup and move between them with the controller. Disclaimer #2: I'm not an expert at all in any of this, neither in the applications nor in batch scripts. I managed to do it just by searching, reading and A LOT OF TESTING, so please bear with me if you find anything that doesn't look right or perhaps needs to be changed for whatever reason. That being said, please don't expect me to be able to help/troubleshoot everything (even though I could try my best ๐Ÿ˜…) nor (maybe) receive requests, there are many members around the forums who are truly experts in scripting/coding and maybe can/willing to help more than I can, so if you are experiencing any issues or need help at anything feel free (of course) to post it below for discussion, but don't count only on me to be able to find the solution although I would love to. ๐Ÿ˜… โ˜บ๏ธ Alright, so here how it goes... Part 1: - My version of SumatraPDF + Autohotkey + JoyToKey. Long ago (2016) I came across -this- @fasm's thread about using SumatraPDF as a pdf viewer for reading game manuals and I gave it a try. It was a nice idea to use a pdf viewer other than the default one. A Little later (2017) I came across -this- @teeedubb's and -this- @KUPOkinz's threads about using SumatraPDF and Autohotkey (and another app) to be able to read the manuals also without leaving my hands off the controller, I gave it a try also and it was working nicely. So a HUGE shout-out to all of them for helping/inspiring me found my own โ€œpathโ€ beside them. ๐Ÿ˜„ After some time (in 2024) I had this idea to create my own version of SumatraPDF + Autohotkey combination through a "simple" batch file which could open multiple files/file-types (as long SumatraPDf supports them -see here-) from just one file, the 'Game manual' itself. (In my version I make use also of โ€˜Nircmdโ€™ to just manipulate the app and/or the cmd window to my needs such as start minimized, maximized, set on-top etc.) Now letโ€™s get to the point. The basic idea is to have the batch file take the place of your game manual which when used identifies the folder where is placed in and also the filename it has and looks under a specified custom directory for that same path/folder OR file name base on its filename and open the file(s) found with SumatraPDF combined with the use of Autohotkey for some automation moves (eg. To โ€œhideโ€ the mouse pointer), JoyToKey for controller support and Nircmd for some window manipulation and error/info messages. Below are the links to the applications used: 1. SumatraPDF (choose the portable version) -link- 2. Autohotkey (V2) (prefer the portable zip version) -link- 3. JoyToKey (prefer the portable zip version -manual installation-) -link- 4. Nircmd [x64] (scroll down to the end of the page) -link- Below is a sample image so you get the picture on how the batch files and the actual document manuals are placed so they work: - NOTE #1: The Platform Name (in RED) matches the name of the LaunchBox platform - NOTE #2: In this situation (in ORANGE) the bat file is calling one file per game as long as the name of each file (no matter the extension) matches the batch file name and the Platform it is sitting in also match the folder of the file. - NOTE #3: In this situation (in PURPLE) the same bat file is calling multiple files per game (no matter the extension) as long as the name of each folder matches the name of the batch file and the Platform it is sitting in also match the parent folders name. * If any of the above matching is not happening then the batch file shows a message of what is not found. As for the third party apps you are free to place them where ever you want as long as you point them correctly in the batch script. As reference here is where Iโ€™ve put mine: SumatraPDF: G:\TOOLS\SumatraPDF\SumatraPDF.exe AutoHotkey: G:\TOOLS\AutoHotkey\AutoHotkey64.exe JoyToKey: G:\TOOLS\JoyToKey\JoyToKey.exe Nircmd: G:\TOOLS\Nircmd-x64\Nircmd.exe ยท After placing the apps above in their own directories use the file below as the AutoHotKey script: SumatraPDF-JoyToKey.ahk (After downloading remember to right-click>properties>unblock) and place it also in a folder. (I choose to put it inside the G:\TOOLS\AutoHotkey folder beside Autohotkey.exe) *Posting below the same Autohotkey script for reference (open with/paste it into Notepad++ for proper reading): #SingleInstance force SetWorkingDir(A_ScriptDir) #Warn Sleep(1000) ;Wait 1 second. if WinWaitActive("SumatraPDF ahk_exe SumatraPDF.exe", , 2) ;Wait for 2 seconds for SumatraPDF to open then { CoordMode("Mouse", "Screen") ;Move the mouse MouseMove(A_ScreenWidth/1, A_ScreenHeight/2) ;to the side of the screen and WinActivate("SumatraPDF ahk_exe SumatraPDF.exe") ;activate SumatraPDF. } ;Send "^+l" ;SumatraPDF Presentasion mode.(commented) else ;If SumatraPDF (from WinWaitActive) fail to open then ProcessClose("joytokey.exe") ;close joytokey process. ProcessWaitClose("SumatraPDF.exe") ;After SumatraPDF loads wait for it to exit and ErrorLevel := ProcessExist("joytokey.exe") ;close joytokey after that. if ErrorLevel { ProcessClose("joytokey.exe") } ยท Then here is the SumatraPDF configuration file for using JoyToKey with SumatraPDF for the controller: SumatraPDF.cfg (After downloading remember to right-click>properties>unblock) (I think that this one MUST be inside ..\JoyToKey folder beside JoyToKey.exe, I put mine in G:\TOOLS\JoyToKey) Controller configuration below (XINPUT): D-pad or Left Stick UP/Down: Scroll Up/Down slow Game-Pad A: Move to last page D-pad or Left Stick Left/Right: Next/Previous page Game-Pad B: Page rotate left Right Stick UP/Down: Scroll Up/Down fast Game-Pad X: Page rotate right Right Stick Left/Right: Next/Previous page fast Game-Pad Y: Move to first page Back: Exit Start: Full-screen toggle Left Trigger (Analog): Zoom out Right Trigger (Analog): Zoom in Left Bumper: Previous tab Right Bumper: Next tab Left Stick Push: Normal view Right Stick Push: Fit page view NOTE: Perhaps you might need to change the controller-buttons to fit your needs. ยท The AppLink data file which is the file that tells JoyToKey to โ€œauto engageโ€ the specific profile when SumatraPDF is active. AppLink.dat (After downloading remember to right-click>properties>unblock) (This one MUST DEFINITELY be inside ..\JoyToKey folder beside JoyToKey.exe, I put mine in G:\TOOLS\JoyToKey) *ATTENTION: Before using JoyToKey open AppLink.dat file with any text editor (preferably Notepad++) and change the PATH-TO-SUMATRAPDF part with the actual path you are using (eg. G:\TOOLS\SumatraPDF) NOTE: You can skip the drive letter here also if you are aiming for portability. (eg. \TOOLS\SumatraPDF) ยท And lastly here is the batch/script file you can get from below: Multi Manual Launcher.bat (After downloading remember to right-click>properties>unblock) NOTE: Remember to replace the PATH-TO-... parts with your actual paths you are using and Change the name of the bat file to match the game title in LaunchBox each time (preferably using Notepad++'s Replace function for convenience). NOTE: You can if you want use any file-name as long as you make sure the targetโ€™s [folder or file] name matches the batch file-name exactly but then you must point LaunchBox to it manually in the Edit Game>Media>Game manual path. I am also posting below the batch script from above for reference (open with/paste it into Notepad++ for proper reading): @echo off title Multi Manual Launcher if not defined IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win min title "Multi Manual Launcher" ::Setting-up the Main +Manuals directory set Dir=PATH-TO-REAL-MANUALS (eg.G:\Real Manuals) ::Searching inside '%Dir%' for the same directory as the folder of this batch file cd %Dir% for %%b in ("%~dp0.") do set "DirName=%%~nxb" ::If the name of the '%Dir%' matches the folder-name of this batch file '%%~na' for /d /r "%Dir%" %%a in (*) do if /i "%%~na" == "%DirName%" goto FOUND :PLATFORM_NOT_FOUND start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" infobox "The '%DirName%' Platform folder you specified does not currently found inside the '%Dir%' directory!" "Attention!" timeout /T 1 /nobreak >nul start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win activate title "Attention!" exit :FOUND :FOUND_FILES ::Search RECURSIVELY INSIDE ALL OF THE FOLDERS WITHIN THE '%DIRNAME%' for the FILES WITH THE SAME FILE-NAME (not extension) with :: this batch file cd %DirName% for /r %%f in (*) do if /i "%%~nf" == "%~n0" ( ::and open them with SumatraPDF. start "" "PATH-TO-SUMATRAPDF\SumatraPDF.exe" "%%~pnxf" -presentation start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win max ititle "%%~nxf" start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win settopmost ititle "%%~nxf" ) & goto END :FOUND_FOLDERS ::Search for ALL OF THE FOLDERS WITHIN THE '%DIRNAME%' for the FOLDERS WITH THE SAME FILE-NAME (not extension) with :: this batch file and OPENS EVERY FILE INSIDE (recursively) THEM REGARDLESS OF THE FILENAME, cd %DirName% for /d %%f in (*) do if /i "%%~nxf" == "%~n0" ( cd %%~nxf for /r %%g in (*) do ( ::with SumatraPDF. start "" "PATH-TO-SUMATRAPDF\SumatraPDF.exe" "%%~pnxg" -presentation start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win max ititle "%%~nxg" start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win settopmost ititle "%%~nxg" )) & goto END :NAME_NOT_FOUND set file_name=%~n0 start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" infobox "The '%file_name%' Folder or File you specified does not currently found inside the '%Dir%\%DirName%' Platform directory!" "Attention!" timeout /T 1 /nobreak >nul start /wait "" "PATH-TO-NIRCMD\Nircmd.exe" win activate title "Attention!" exit :END start "" "PATH-TO-JOYTOKEY\JoyToKey.exe" start "" "PATH-TO-AUTOHOTKEY\AutoHotkey64.exe" "PATH-TO-AUTOHOTKEY\SumatraPDF-JoyToKey.ahk" exit NOTE: You can skip the drive letter [D:\, G:\, etc.] if you're aiming for portability replace the G:\ with just the \ NOTE #2: Whenever is possible in ahk or bat script I put comments so that is clear what its line is supposed to do. Conclusion of the first part: As I said on the top feel free to ask anything, change anything you might think is worth changing and if you want share with the rest of us your ideas or your own โ€œversionโ€ ๐Ÿ˜ƒ I've been using the above setup for quite some time (almost a year) and everything seems to work perfect (for me at least) if you get the idea/hang of it will be as easy as copy/paste/rename. ๐Ÿ˜€ Part 2: - Feature Request: Support for .bat (batch file) as game manuals for the "Game Pause menu" As of all the above works perfect from inside LaunchBox's right-click menu>View Manual and/or BigBox's Game menu>View Manual, the โ€œDocumentsโ€ are showing in SumatraPDF exactly as intended BUT when it comes to 'Pause Menu' the bat file is opened like text ! ๐Ÿ˜’ So I made -this- feature request so that the 'Pause Menu' can ALSO support the batch scripts/.bat files in place of the game manual and not viewing them as text. It fills a bit odd that something that is working from the LaunchBox and BigBox menu does not work also from the Pause menu. I understand somewhat that the pause menu stands on its own code but itโ€™s the support for that file type that it needs. ๐Ÿค” So if after all you still found the above setup useful you might also consider up-voting the above feature request. Thank you for your time in reading all this and please let me know your thoughts. ๐Ÿ˜„
  9. Well, yes that is exactly what my feature request is all about, the Pause Menu! I really don't know why the same functionality that is already there though the LaunchBox's right-click menu and BigBox's Game Menu does not work also from the pause menu at least the default one. Also many games come with many other documents such as keyboard overlays and button guides/maps and put them in there one-by-one per game is A-Pain-In-The-Butt.๐Ÿ™ƒ Not to mention the freedom of launching them with any PDF/CBZ reader you want. It's common sense (I guess...)
  10. Hello, sorry if I'm poking my nose into this thread ๐Ÿ˜ but perhaps this feature request I made is what could potentially solve the issue with "Pause Menu" and Images, Pdfs, custom pdf readers, text files etc. once and for all! Thanks. ๐Ÿ™‚
  11. Well, I am aware that "MAME (or a derivative like MAMEUI), RetroArch or DOSBox are blacklisted from the plugin " your "Documentation" is pretty clear ๐Ÿค“: You see I can't recall right now (from memory) which platform uses which emulator as I don't have immediate access to this setup, I surely use the above ones on many platforms (alongside others) but these all work with their own bezel/shader system (except DosBoxยฎ of course). I use RetroArch and MAME for the most part alongside many others so perhaps you are right about that. If you want I can see if could I make a list of 'Which Platform Uses Which Emulator' perhaps utilizing this plug-in below that some random dude on this forum made ๐Ÿ˜ I don't remember really if there is any way I could export some kind of list out this? (If not, how about include that feature some time in the future ๐Ÿ˜‰) Anyway let me know and I see what I can do. Cheers! ๐Ÿ˜ƒ
  12. @JoeViking245 Well... Yes, of course! Alongside some additional files that might (or not) give a better "view" of what I'm experiencing... Take note that all that I did to retrieve the above was just start LaunchBox, open Bezel-Launcher, click the Refresh button, wait...๐Ÿ•’, wait...๐Ÿ•, wait a bit more๐Ÿ•“, close Bezel-Launcher, close LaunchBox. I'm saying that because the numbers don't match. If you need any more info let me know. Hope it helps ๐Ÿ™‚ Bezel Launcher logs xml and more.zip
  13. @JoeViking245 I've tested it in my go-to setup (191 platforms) with another not-so-potato PC and it worked but took extremely long time (almost looked like its froze) also. Yes, (for me at least) it always completes the refresh on both PCs if I don't click the plugin window (which causes Windows to ask to kill the process). Just as I thought, but wouldn't it be more logical/productive to create those folders only if the user enables the bezel for that emulator? ๐Ÿค” It is not. ๐Ÿ™ƒ
  14. @JoeViking245 I noticed that the plugin creates folders in ..\BezelLauncher\Bezels which are empty apart from the ones I activated the bezel for, are those being created because those Platforms have only one specified emulator (where the <DefaultEmu>true</DefaultEmu> in the xml exists) or something else? Edit: The emulator is not the "default" like ticked in those cases (looks <Default>false</Default> in the emulators xml) but simply the only one that exist in the Emulators>Associated platforms and it is not activated in the Bezel Launcher.
  15. After some testing I can tell that the crash/hang probably not caused from any specific platform entry because I copied over to a new fresh build all my platforms and although at first I got the same hang/crash when I clicked the 'Refresh' button after adding around 185 to 190 platforms I got some significant inconsistency and instability (some times works sometimes no). As I created the 190th platform the refresh took significantly more time (which for my super-potato pc is around 6~10 minutes) but the process eventually ended successfully. @darreldearth How many platforms you have and can you tell what happens if you let it take its time and not click on the plug-in window (which causes Windows to ask to kill the process).? Apart from that everything else works as expected. ๐Ÿ™‚
×
×
  • Create New...