Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    4,400
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by JoeViking245

  1. I created platform device images that show the platform co ntroller and the corresponding buttons for my cab in which I incorporated into my main theme.1357377430_NintendoEntertainmentSystemController_proc.thumb.jpg.1b42af03353d2fd23ddb7aee13806c56.jpg1719522895_platformdevice.thumb.jpg.20d5af1a98f4faf802e634d4728b10b0.jpgI would like to be able to add that image to the pause screen which is (I'm pretty positive)  

    <Image Source="{Binding Path=SelectedPlatform.DeviceImagePath}" />

    I tried adding that in and it doesn't work.

    <Image Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Source="{Binding SelectedPlatform.DeviceImagePath}" VerticalAlignment="Center"
                    HorizontalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality">
        <Image.Effect>
             <DropShadowEffect BlurRadius="10" Direction="-90" RenderingBias="Quality" ShadowDepth="1" />
        </Image.Effect>
    </Image>

    My guess is that once the game is loaded, the platform becomes irrelevant so is not stored.  Hopefully I'm wrong and just messed up the code.

    As a workaround I know I can copy that image to all the game-names.png and put them into an "Arcade - Controls Information" folder for the given platform and just use SelectedGame.ArcadeControlsInformationImagePath.  This doesn't solve the issue of per-game controls for consoles which I agree would be an extreme undertaking and is not important to me.  It would be nice to be able to use the 1 image rather than creating a mess of duplicates.

    Anyone have any thoughts?  Hopefully simply something I overlooked or missed

  2. 4 hours ago, Tomkun said:

    The script needs a few variables from LaunchBox, such as romname and system

    LB/BB will pass the rom name as %1%.   It won't pass the emu's game specific system though.

    EDIT: I (half way) take that back.  It doesn't appear to pass the roms' name (as %1%) to an AHK script that's used under Additional Apps.  It will however pass it along if you create/Add an emulator that points to and AHK script.

  3. Just shooting from the hip...

    Since you're launching retrochange each time you start an RA emu game, how about putting this in the RA emulator under the AHK tab...

    #SingleInstance, Force
    #Persistent
    
    Sleep, 3000  	;give RA a few seconds to load
    Process, WaitClose, retroarch.exe
    Run, "G:\LaunchBox\changeres.bat"
    ExitApp

    Another thought would be under the games' Additional Apps, add g:\LaunchBox\changeres.bat and have it run "Automatically Run After Main Application".

    • Thanks 1
  4. 14 hours ago, darrenmarchand said:

    I thought it was easy to just assign buttons where I wanted them?

    It is. :) 

    I'm not familiar with the F300elite, but (though sounds like you may have) you should be able to: while the game is loaded (waiting to 'insert coins' or during game play, doesn't matter) press Tab on your keyboard and select "Input (This Machine)". Then select "P1 Button 5" and map it to the button you want to use for shield. Then Esc. Esc.

    It should work, but if that doesn't work, it'd be a Mayflash thing.  I'm not sure what their customer support is like.

  5. Visual Pinball X    Startup Screen - Good      Pause Screen - Pause is good. But when you un-pause, it goes to VPX's editor window.  Press Alt+Tab (once to get back to the table's window [titled "Visual Pinball Player"]), it will pause/un-pause without issues until you exit and a new table is loaded.

    Pinball FX2   Startup Screen - Good      Pause Screen - Pause is good. But when you un-pause, it goes to FX2's menu (paused).  Not that big of an issue.

    Future Pinball   Startup Screen - Good      Pause Screen - Does not work. (nothing happens)

    Dolphin   another confirmation that all's good.

    • Like 1
  6. Got a wild hair and revamped the script to look for (and load) game-specific custom configs.

    You still need to have 7-zip installed and you'll need to edit the location for pcsx2.exe and the directory were the config folders are stored.  Otherwise that's pretty much it other than creating the new 'emulator'.

    ;********** Extract - Run PS2 bin file - Delete temp folder  **********
    ;
    ; PCSX2 script file for LaunchBox/BigBox to run a games bin file that is inside a compressed file.
    ; Will work with any zip format that 7z.exe handles (zip, 7z, rar...)
    ;
    ; This will also look to see if you have a custom configuration for the game
    ; and if so, will load that with the game.
    ;
    ; The zip file must be the same name as the bin file
    ; The config folder must be the same name as the zip file
    ; i.e.
    ; Ghostbusters-The Video Game (USA).zip
    ;   Ghostbusters-The Video Game (USA).bin
    ;   Ghostbusters-The Video Game (USA).cue
    ; ..\pcsx2\MyConfigs\Ghostbusters-The Video Game (USA)
    ;
    ;****************
    ; Edit "PCSX2 =" to point to your pcsx2.exe file
    ; Edit "PS2Config =" to point to where your configuration folders are located
    ;****************
    ;
    
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    
    PCSX2 = F:\Emulators\pcsx2\pcsx2.exe
    PS2Config = F:\Emulators\pcsx2\MyConfigs
    
    FullFile = %1%
    SplitPath, FullFile,,dir,,NameNoExt
    outdir = %dir%\%NameNoExt%_tmp
    
    if (A_Is64bitOS = 1) {
        RunWait, "C:\Program Files\7-Zip\7z.exe" x -y -o"%outdir%" "%1%",,Hide
    } else {
        RunWait, "C:\Program Files (x86)\7-Zip\7z.exe" x -y -o"%outdir%" "%1%",,Hide
    }
    
    IfExist %PS2Config%\%NameNoExt% 
        {
        RunWait, %PCSX2% --fullscreen --nogui "%outdir%\%NameNoExt%.bin" --cfgpath="%PS2Config%\%NameNoExt%"
        } 
    else 
        {
        RunWait, %PCSX2% --fullscreen --nogui "%outdir%\%NameNoExt%.bin"
        }
    
    FileRemoveDir, %outdir%, 1
    ExitApp


     

     

    • Like 2
  7. On 4/23/2019 at 6:19 AM, neil9000 said:

    Actually you just need to set the controls for individual cores in the quick menu/Controls section, just change them to how you want then in the same menu is a "save core remap" option, hit that and it will save them for the currently loaded core.

    After several trials and a lot of errors, I think I came across the solution.  Unfortunately for me (and you?), it's Exactly as neil9000 had stated.  (as I just now re-read it.  DOH!!!) ☺️

    Load/run a game
    Press F1
    Down arrow (or Up Arrow is actually faster) to Controls
    Press Enter
    Adjust all your controls
      (i.e.  Left side will have in it "(Key: ctrl)".  Right or Left Arrow until the right side shows "A")
    Without backspacing out of this menu, scroll up to "Save Core Remap File"
    Press Enter

    Because it's "in the same menu".  (Dang I feel stupid!)

  8. Ya DOS76, I was trying to keep it simple. ☺️ 

    I thought about elaborating on that but figured baby-steps.  My OCD likes it that I keep the ROMs in one directory and have a sub folder with the BIOS/Device sets in and another with the CHDs [folders] in.  

  9. "Good" is always subjective. :)  I don't think I've ever seen 'sets' available so probably on an individual bases.

    The CHD file will be in a folder with the same name as the games zip file and that folder is placed in the same directory as your Mame roms.

    So in you roms directory, you'll have:

    blitz.zip
    blitz  [folder]

    In the blitz folder, you'll have the file: blitz.chd

    • Like 2
  10. If through RA, you Load Core/Content, F1, Controls [assign buttons] and Save Core Remap File, you don't need to do anything when you load a game in BigBox except play.  Any and all emulator configuration (especially in-game controls) needs to be done, and confirmed working outside of LB/BB.

    You don't by chance have RA installed in your Program Files directory?  That could be the underlying issue.  ..directory/file write administrator permissions and all that shtuff.  If it's not, I think your best bet is to simply start fresh with RA. (LB/BB has Nothing to do with the issues you're having.  Just sayin'.)  Since nothing appears to be working correctly with RA, there's no loss in completely trashing your RA installation and installing fresh. 

    From Windows, start [your freshly installed] RetroArch.

    Load Core
      find the core and hit enter
    Load Content
      go to the directory that has your games and select one
      (mine are in zip files, so I need to select Load Archive)
      you may be asked to select a core (again)
      do that and the game will start
    Hit F1
      you'll be at RA's Quick Menu (starting at "Resume")
    Scroll down and select Controls
    Scroll down and map your controls
      it'll look different than my pict (was on a remote computer)
    Once done, scroll up and select Save Core Remap File
    Scroll up more and select Resume

    All should be good.image.thumb.png.aff0dceaac95b3a6bcf7054f81b2129e.pngimage.thumb.png.5488331944f95574ec9587b9ac4f4a9c.png

    At this point the game is running.  Hit F1image.thumb.png.50b785b11144feb2f13bc7ffca6ceebe.pngimage.thumb.png.5c4acb44b1938ded5327bcb432729cc7.png

     

  11. Start up RA (NOT from inside LB/BB).  Load the core for the platform you want to configure. Go (right) to Settings, Input, User1Blinds.  Setup the buttons/controls (and for User2Blinds if you wish). Go back to Main Menu.  Select Quick Menu (which doesn't show if you don't have a core loaded) then Overrides (very bottom). Select Save Core Overrides.  Though probably not necessary, without making any other changes, load RA, do the config/save, exit RA, restart and test that core/platform.

    My upright cab has the I-PAC/2 and when I 1st tried RA, I actually completely gave up.  About 6 months later I convinced myself it can't be that hard. Sure enough... the answer was right there the whole time. :) 

  12. For a quick interim fix... You can try an AHK script.  Add a new emulator that points to the script file.  Associate the PS2 games to the new 'emulator'.

    Extract, Run PS2 bin file, Delete  ERPS2binD.ahk  (quick and dirty, but works)

    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    ; #Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    
    PCSX2 = F:\Emulators\pcsx2\pcsx2.exe	;change path to your pcsx2 location
    
    FullFile = %1%
    SplitPath, FullFile,,dir,,NameNoExt
    outdir = %dir%\%NameNoExt%_tmp
    
    if (A_Is64bitOS = 1) {
        RunWait, "C:\Program Files\7-Zip\7z.exe" x -y -o"%outdir%" "%1%",,Hide
    } else {
        RunWait, "C:\Program Files (x86)\7-Zip\7z.exe" x -y -o"%outdir%" "%1%",,Hide
    }
    
    RunWait, %PCSX2% --fullscreen --nogui "%outdir%\%NameNoExt%.bin"
    FileRemoveDir, %outdir%, 1
    ExitApp

    (Be sure sure change the path in line #5)

     

    1.thumb.PNG.c7d5c2bc0f5a7c0b370ea348998690ae.PNGNote NO checked boxes.

     

    2.PNG.47223eceb531050ae7a7fcb2f268308c.PNGAdd this to the AutoHotKey Script tab 

    $Esc::
    	{
    	Process, Close, pcsx2.exe
    	}

    Note: The original  "Process, Close, {{{StartupEXE}}}"   won't work with the script.  But the above does.

    What the script does is:
    Extracts the files in your .zip OR .7z file to a temp directory using 7z.exe.
    Runs pcsx2 with the extracted .bin file that's now in the temp directory.
    When pcsx2 closes/exits, the temp directory is deleted.

    Caveats:
    You need to edit line #5 in the script.
    7z.exe must be installed.
    The .bin file name needs to be exactly the same as the zipped file name.
    This doesn't take in to account custom configs. 

    So with that last one, this is almost useless. But a something none-the-less.  Maybe if someone knows how to pass an argument to a script, a per-game config can be added in.

     

     

    • Like 2
  13. It appears it does.  (The #'s may come across as odd, but it all works. Trust me ;) And no. I don't have an explanation.)   By virtue of the ports on my video card, my cab is Display 2 and the TV is Display 1.

    My mame .ini is:

    #
    # OSD PER-WINDOW VIDEO OPTIONS
    #
    screen                    \\.\DISPLAY2
    aspect                    auto
    resolution                auto
    view                      auto
    screen0                   \\.\DISPLAY2
    aspect0                   auto
    resolution0               auto
    view0                     auto
    screen1                   \\.\DISPLAY2
    aspect1                   auto
    resolution1               auto
    view1                     auto
    screen2                   \\.\DISPLAY2
    aspect2                   auto
    resolution2               auto
    view2                     auto
    screen3                   \\.\DISPLAY2
    aspect3                   auto
    resolution3               auto
    view3                     auto

    Though I only have 2 (at most) 'monitors', I guess I set up all '5' on Display2.  Hmmm. Probably don't need the others.

    When I load BB with dual monitors (with TV as primary), in BB Options, General... is has: Primary Screen: Screen 2.  Marquee Screen: Screen 1.  BUT..... BB is showing on the TV and the marquee (i.e. the game box-front) is shown on the cab....  like it's supposed to.  And everything 'plays' on the TV.

    When I load BB with a single monitor (cab only. Primary of course)...  Options, General: Primary Screen: [is blank].  Marquee Screen: Screen 1.  BB and all platforms run as expected, including MAME.

    Sort answer long... tested, tried and true.  MAME.ini and LB/BB settings are "fixed" (I don't touch/change them at all) and the only that I change is going from single to dual monitors and back.

×
×
  • Create New...