Jump to content
LaunchBox Community Forums

Kiinkyfoxx

Members
  • Posts

    161
  • Joined

  • Last visited

Posts posted by Kiinkyfoxx

  1. 3 hours ago, silver30001 said:

    $1Joy12::
    {
        Run, C:\...\KillLichtknarre.bat
    }

    Have you removed stuff from that pathway, or is that really the full pathway?

    You could try replacing the above with

    Spoiler
    $1Joy12::
    {
    Run *Runas "taskkill" /IM "Lichtknarre.exe" /F,,hide ;This runs taskkill as admin and hidden
    
    WinWaitClose, ahk_exe Lichtknarre.exe
    
    Sleep, 500
    
    Run *Runas "pnputil" /disable-device "vJoy Driver ID",C:\WINDOWS\system32,hide ;this run puputil as admin and hidden
    
    WinWaitClose, ahk_exe PnPUtil.exe
    
    SoundBeep, 2000, 2000 ; This is just to make a beep at the end to check if running you can remove the whole line if works
    }
    
    ExitApp

     

     

  2. HI @silver30001

    I do something similar for Wiimotes, but with Touchmote, Demulshooter and MameHooker which can require elevated launching, plus using pnputil to enable and disable devices - but I use ahks rather than bat files as I find them easier to work with.

    I am happy to try to help and give advice and work through it with you, but it might take a few goes.

    Do you have AHK downloaded and installed or do you just use the one with LaunchBox?

    I'm guessing you do something like this

    1) Enable devices

    2) Launch Lichtknarre

    3) Game launches and you play for a bit

    4) Press Exit button/Game closes

    5) Disable devices

    6) Close Lichtknarre

    If I have the correct idea could you upload your bat files that work standalone and I will have a look and see if I can help.

    Cheers

     

  3. I use a fork of Touchmote here and with some work you can make it work well, but requires you to have to stand in same place, same side etc. You calibrate it for each wiimote separately and it is possible to play without crosshairs but nowhere as accurate as Sinden or Gun4ir etc but for bits had laying around the house its a very cost effective and useable option.

    However if you aren't using the Mayflash wiibar and have Bluetooth connection for wiimote you could look at using Lichtknarre programme

    I tried it in the past and it is accurate once set up correctly, but as I was using Mayflash wiibar I didn't want to make the other changes necessary. But if you have a generic USB sensor bar to use with with it, then maybe give it a try.

    • Like 2
  4. Hi All,

    EDIT: Please see bottom for original message

    New message

    I have found two work arounds, not sure if it is a bug or a user specific issue.

    I have used custom fields on certain DosBox-X/DosBox emulated games

    When I arrange/sort the games by one of these custom fields, LaunchBox ignores the custom DosBox exe request, but when I sort by Title or anything else it works.

    Simple option is just leave in title and normally they are but it wasn't earlier and that's what caused the issue, I had been doing some work on tidying things up/improving my theme and had left sorted by Controller type.

    Why would LaunchBox ignore the custom exe but only when sorted by a custom field that has a value in it?

    Thanks for any help.

    image.thumb.png.45c015735e6d735ec8369a0406e44572.png

     

     

    Original message;

    I thought I would play a game today, but unfortunately LaunchBox appears to be ignoring the custom Dosbox Version path.

    Rather than using Dosbox-X it is loading DosBox 0.74 from the third party folder.

    image.thumb.png.9aa71b76b1f1e55d570986a2a9b143bc.png

    I know it use to work, so not sure what has changed.

    I have tested several other games and they are all doing the same

    DosBox-X is 06/10/23 and LaunchBox is 13.8

    Anyone else having an issues or can any see where I'm going wrong?

    The conf works for loading directly in DosBox-X

    Its just LaunchBox ignores my request to use DoxBox-X 

    Thanks in advance for any help

    Ps If I rename the DosBox folder in Third Party I get an error stating DosBox cannot be found

    image.thumb.png.0e1cc16d26c98e4809aee085b23193ea.png

    PPS Copying DoxBox-X folder over to third party, renaming the folder and the exe to match the original DosBox makes it work, so having to trick LaunchBox, which means it is ignoring the custom path

  5. @Sbaby and @JoeViking245

    It is recommended to launch this game mod as admin - if Sbaby is doing that then the ahk won't work unless also launched as admin.

    I have the game exiting via arcade box and keyboard - try adding the below parts to JoeViking245 script and see if that work

    As per JoeViking245 if you share screenshots it will make it easier to help, I run my exit ahk as a separate additional app as it does other things as well before and after the game but you could do the same with the running ahk tab

    Cheers

    full_command_line := DllCall("GetCommandLine", "str")
    
    if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)"))
    {
        try
        {
            if A_IsCompiled
                Run *RunAs "%A_ScriptFullPath%" /restart
            else
                Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%"
        }
        ExitApp
    }
    SetTitleMatchMode, 2
    DetectHiddenWindows, on
    #SingleInstance, Force

     

  6. Appears I may have been lying.....seems it was only 4 files in fact

    Just undo Devreorder in System32 and SysWOW64 folders

    So rename the dinput8.dll to dinput8dev.dll in both folders, and then rename dinput8org.dll to dinput8.dll again in both folders

    Now no Devreorder, if you want to "reinstall" it then undo the name changes on the above files so it is all back to how it was

    Being the lazy person I am I have set up a rough and ready ahk to do it, which I am happy to share if you would like - but as with anything like that - I will state it works for me but comes with no promises to work for others

  7. Does it only happen when adding a mame rom?

    Does it happen when you try to add any rom for any system?

    Just wondering if the fix in the below link would work

    if that doesn't work might be worth putting an image of the error on here to see if that helps people to help you

  8. You could make a separate emulator for each game version, think only 3 lightgun games working at the moment, and name after the game. Not ideal way normally but doable for a small number of games

    Or if you only want one "emulator" then make an ahk. That way you could also load any other programs you might need as well. Eg sinden software, mamehooker, demulshooter, licktknarre, touchmote etc without using additional apps

    I have gone down the ahk route myself but as it has lots of extras involved for my setup I won't put it here, as won't work for you, but happy to help if you need any

  9. I don't know if this will be any help, as I don't have BigBox as the shell, but instead a home made exe that loads a selection screen for BigBox, LaunchBox or Windows

    But by using the following in a bat file I can make Explorer the shell that loads up instead of my exe the next time I run the computer, in theory would that also work by running as a command line - just tested the theory and I could change from my exe to explorer and back again via command line

    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /d explorer.exe /f

    Now it might need some changing and all because it works for me doesn't mean it will for you and it is changing the registry so you might want to look into it a bit before just going along with it as there might be a better/easier/safer way

     

    Also if I ever have an issue where my exe doesn't load by running Task Manager and starting explorer I could get it working, I have just realised that I could have just use "Window+R" this whole time as shown by @C-Beats

    I have tagged C-Beats as I don't know if the above pathway is where BigBox sets itself as the shell and thought they would be able to make any necessary changes or just delete/remove this post if they thought it wasn't a good idea.

  10. On 2/23/2023 at 4:26 PM, Dave B. said:

     I found B B or LB wasn’t the problem, it’s with MAME. All newer versions stall with the black screen for 35 seconds after I quit a game. Reinstall .233, works fine. Anybody have an idea why?

    Dave

    Hi Dave

    There seems to be a problem with Mame 0.252 when using D3D in the OSD Video options

    Mine has the same issue if I use

    video                     auto

    But changing it to opengl or bgfx seems to make it close like normal

    I don't pretend to understand why but found info on the Mame github page about it

    Cheers

    Edit: Also only appears to be a problem on D3D if using full screen rather than a window

    Edit 2: Having made a back up of my mame.ini I then generated a new one, went through the new one line by line making any changes needed, eg roms path etc and then found it didn't matter what OSD video option I used the shut down screen returned to its original timing and speeds - again no idea why or what was causing the issue but found this works.

  11. @Lf indy

    Try putting LaunchScript.dll into Plugins folder - its the one I use that jayjay made before and works with LaunchBox Version 13

    And then rename whatever script you use to OnGameExit.ahk and put that in the Third Party AutoHotKey folder

    The one I've uploaded below is the old RegainFocus.ahk with an extra Click put in it and renamed.

    I've taken all the mouse cursor stuff out of what I use

    Good luck, and I take no credit as this is stuff that other people have sorted and I've just uploaded

    LaunchScript.dll OnGameExit.ahk

  12. Hi,

    I use portable and can update either with auto updates on or using clicking to update

    Stupid question, when you open Ryujinx does the command window show you are in portable mode?

    You could try doing it via command line I know I had to for some reason or other at the start but now I don't

    I "think" the command line if run from the Ryujinx folder is

    Ryujinx.exe -r ".\portable"

    Good luck

    Ps just tested here and working with the above

    • Thanks 1
  13. 51 minutes ago, erdybirdy53. said:

    Thanks for your reply. Just tried this and kept media. When i run import full set again same message of "Data at the root level is invalid. Line 1531437, position 1", so no mame games at all now in Launchbox 😞

    If you haven't opened and closed LaunchBox too many times you should have a backup of your arcade platfom xaml somwhere in the zip folder from before you deleted it. Might be worth having a look through those and seeing if replacing it helps bring it back.

    Won't help with it not updating but at least it brings it back to where you were rather than leaving you with nothing.

    • Like 1
  14. No idea about Steam Big Picture as don't use it, but Steam and LaunchBox/BigBox do play nicely together with startup/shutdown screens and also pause screens with effort and quite a bit of ahk work

    However to answer your question about disabling pause screen from appearing - yI think you can do it and you can do it in LaunchBox without messing around with files - I'm sure I did in the past but haven't tried recently

    Highlight the game you want to disable the pause screen in

    Go to edit metadata/media

    At the very bottom on left hand panel is Startup/Pause

    image.thumb.png.4d80144aef9f04092f7fc61d5c85acb6.png

    Go onto that page and put a tick in the Override default pause screen settings box, click the Customize button, and make sure none of the check boxes are ticked - that SHOULD stop pause screens working.

    image.thumb.png.de464091aa270e2226c01b7d6e013db3.png

    If you have lots of games you want to do it to and don't want to do them one at a time, then highlight every game you want to change, right click on the last one and then open bulk edit tool and make the changes via that.

    Hopefully that will work for you 

    Good luck

    Ps I haven't tested this as use an ahk to open my steam games so have an "emulator" that I can make changes in, but the theory is correct and should work.

    • Thanks 1
  15. Hi @BabyBillyFreeman

    I have had a similar issue but at a different line.

    With the help of others on here I found that generating the file myself and then reviewing it I was able to see what the problem was, for me it was using Devreorder system wide to help with controller ID order

    To produce the file you;

    Open a command window

    change directory to wherever you have the mame.exe

    then

    mame -listxml > listdump.xml

    This will generate the file in the same folder and then I used notepad++ to open it and find the problem line. Which hopefully will let you figure out the issue or come back here and ask for more help with the specific issue

    Good luck

  16. Sorry I did read this and watch the video but then got called away to play Streets of Rage 3

    It seems like Skizzosjt has given lots of information and more indepth than me.

    If that doesn't work, my only suggestion would be for you to upload your config file for the emulators and let us try them on our setups and see if it causes at issues.

    I know I have had black screen issues before on some systems and managed to get past them in the end and startup/shutdown and pause screens work here.

    My computer is old so most likely why I have to have a longer time delay as takes longer to do things.

    Good luck and as I said if it still doesn't work, then might be worth picking one system, giving us which version number you are using and a copy of you config files. I think that should be allowed as no copyright material in them.

  17. 2 hours ago, oldgamer said:

    so I'm guessing no one really knows about the issue with the startup theme?  or the solution of my problem with BigBox ?

    Both work here with Start-up and Pause

    I can replicate your issue by shortening the Startup Load Delay value to being too short - try putting it at full 30 seconds and see what happens and then shorten it from there if you need/want

    I am using LaunchBox 12.14 and Yuzu 1153

    Try the following settings, and see what you get

    image.thumb.png.413fc40c8bb45b721f50a60f630b42e4.png

    image.thumb.png.68db062de6f861ae03dbb7f1dd2547bc.png

    I think this works with Vulkan or OpenGL, but I know I have mine on OpenGL for some reason or other but I honestly cannot remember what it is - might have been a black screen issue

    Also do you have anything in your running AHK tab that might be affecting things?

    For PS3

    Using latest RPCS3 - As downloaded to check it for you

    In emulator have 

    image.png.ef51df9e156e0abd56c26d7be745394f.png

     

    in LaunchBox have

    image.thumb.png.813759cdae62bcc4202a3fecbe8ac430.png

    and

    image.thumb.png.515e09b102cf92ef9e18720a85803bd4.png

    again try playing with the Delay time and increasing until it works?

    Pause screen is

    image.thumb.png.832a3e9a96f8f275c8018b5553f923fd.png

    Let us know how it goes

    Cheers

    Ps There might be better/newer parameters, especially for PS3 emulator - I have stopped using it so this was just using the old info that used to work and giving it a quick try for you now 

     

  18. Ok I had had a little play and made some assumptions so hopefully this is ok and going to work

    Assumption 1 - you haven't set up the pathway to your atari roms inside your mame.ini file

    Version 1 - with the rom file being a bin file and not in a zip format as "expected" by Mame

    File Launching screen - as you can see its a bin file

    image.thumb.png.b0fb012819f89b7bd17381784558f03b.png

    Emulator page - ignore it being called Trial emulator I use this for trialling things rather than it being a real one - important info DO NOT TICK ANY OF THE BOXES

    image.thumb.png.25503e2efe93e9eb94f24f8e187b4f8d.png

    Associated platform page - have the skip game info and no window before cart

    image.thumb.png.5bec9db9c3316d5dbe5282f9f318b61c.png

    The above works and loads the game. 

    Below is how Mame emulator normally set up  (for me) - its the ticks in remove file extension that I think cause the issue - when using below set up and the bin file it doesn't load - remove those ticks and it also works on my normal Mame setup whereas it didn't before

    image.thumb.png.885f4d88eb595b6b0b47097e116ae5d3.png

    Version 2

    Assumption - using an Atari 2600 zipped rom set still zipped and having set your pathway to your Atari roms in mame ini 

    eg 

    rompath           roms;R:\a2600

    Launching tab - notice file called adventur.zip not adventure

    image.thumb.png.4d6aa8e3159c62d1d36134c7d3af250c.png

    Emulator tab - boxes are ticked on this occasion

    image.thumb.png.155fbeaecfc7397a3b6b15370e88eb10.png

    Associated  tab

    image.thumb.png.505f1f8442353ab9506743e9aecd36b0.png

     

    Both of the above loaded the game for me on Mame - I normally use the Stella Core in RetroArch for Atari and I have to say only just started with Atari stuff myself

    So maybe look at your Emulator tab and see what have ticked - your could always make another emulator called Mame-Console and still point to same Mame.exe but use use different set up on tick boxes 

    Hopefully this comes across as helpful and not patronising

    PS - Retro808 and JoeViking245 know what they are talking about - just ignore me 

  19. 5 hours ago, sgordon777 said:

    I can run all the atari2600 games form MAME commaline, ala:

    mame a2600 -cart r:\atari2600\PITFALL.BIN

     

    I could be completely wrong here - it has been known several times but you state that the game loads via command line with "mame a2600 -cart r:\atari2600\PITFALL.BIN" but then in the Default Command line parameters you have added -skip_gameingo -nowindow

    Have you tried using that in an external command line? I "think" you are basically passing

    mame a2600 -cart -skip_gameingo -nowindow %romname% so mame is looking for a cart called -skip_gameinfo rather than the actual game

    so try

    mame a2600 -skip_gameinfo -nowindow -cart

  20. Below are two adapted versions that work with Mame game names eg Alien3: The Gun being called alien3 - i.e the rom name

    Pick either the png or jpg version depending on what your images are and then rename it to Arcade.xaml and put it in the Pause theme folder inside Game Controls FS alongside the Default.xaml 

    This assumes that your platform is called Arcade - if it isn't then change the name of the file to whatever the platform is called

    Also make sure you are actually using this theme in LaunchBox/BigBox otherwise you won't see the changes happen, and that you use the same folder format that the original theme uses.

    Hopefully Retro808 doesn't mind me sharing this, but if they do then just let me know and I will remove it.

    I take no credit for anything and I have made no changes major changes.

    Should you have other platforms that you would prefer to use the rom name for then just make a copy and rename the xaml to that platform and it should work

    Cheers

    Arcade-jpg.xaml Arcade-png.xaml

    • Like 1
×
×
  • Create New...