Jump to content
LaunchBox Community Forums

chinagreenelvis

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by chinagreenelvis

  1. For anyone interested, in 12.9 the file is MenuItemView, and the xaml file contents are changed to the following in order to wrap the contents:

    <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        mc:Ignorable="d"
        d:DesignHeight="300"
        d:DesignWidth="300"
        HorizontalAlignment="Stretch"
        MaxWidth="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}"
        FocusVisualStyle="{x:Null}">
        <Border Name="Border" Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ListBox}}}">
            <TextBlock Name="Text" TextTrimming="None" TextWrapping="WrapWithOverflow" HorizontalAlignment="Stretch" />
        </Border>
    </UserControl>

     

  2. Oh, wow, you're right - "Version..." is just being added onto the end during the import/combine process. That really threw me off. I have no need to see the full game title in that list.

    Additionally, I am able to make the text wrap in that window for games with longer versions (usually translations), but I did a full find/replace for every file in a copy of the default theme so I'm still not sure exactly which file handles it. I'll figure it out eventually just replacing them one at a time with the defaults.

    But now the OCD in me wants "Version..." removed from those lists, LOL.

  3. 3 minutes ago, skizzosjt said:

    or is this in fact the bit you want to change? As in you want to change "Play (USA) (Disc 1) Version..." to something like "Play Lunar: Silver Star Story Complete (USA) (Disc 1)" ?

    Correct, the top-most popup menu. I want to remove the ellipses and wrap the titles. Just not sure which file to edit.

  4. I authored a custom theme for Big Box  a few years back but I don't remember much about the process apart from mostly using the Community editor with a few files edited manually.

    Most of the time when I'm browsing additional versions of a game, I can't read the full filename because the font size is so large and the menu is so small. Is there a way to change this, or a file I can pull from another theme that does?

  5. I'm attempting to use the CHOICE command in DOSBox to set a one-time option by passing the value of ERRORLEVEL to a text file where it can be read later. Sadly, I don't think it's possible with DOSBox's limited capabilities but I figured I'd post the problem in case anyone has a solution.

     

    echo Press 1 for Space Quest V: The Next Mutation w/ SoundBlaster
    
    echo Press 2 for Space Quest V: The Next Mutation w/ MT32
    
    echo Press 3 for Space Quest V: The Next Mutation w/ Sound Canvas
    
    echo.
    
    choice /C:1234 /N Please Choose:
    
    if errorlevel = 3 goto SC55
    
    if errorlevel = 2 goto MT32
    
    if errorlevel = 1 goto SB16

     

  6. https://github.com/chinagreenelvis/MAME-Coin-Control/

    I used to host game nights and the one thing I noticed when playing arcade games is how much of the persistent soundscape was the constant notification of players mashing the service button to enter coins. I also started to realize that having unlimited coins can lead to extremely boring gameplay sessions, so I coded a coin management system. You can start this with MAME in LaunchBox simply by adding a startup command to the running script:

    Run, PathToExe/MAME Coin Control.exe

    It will wait for MAME and close automatically when MAME is exited.

  7. Arcade Floor

    View File

    Arcade Floor Theme for BigBox 1.01
    by chinagreenelvis

    Arcade Floor is designed for use and visibility on a traditional arcade cabinet CRT or television set in 4x3 but will stretch to any aspect ratio. It relies entirely on the text-based menu system and works well with Platform Categories views for those who take advantage of custom playlists and sub-lists for platforms.

    Game fanart backgrounds will display in the games details view if they are enabled in the background priorities list in the LaunchBox settings.

    To create your own background images for non-included platforms, a Photoshop file has been included in the Arcade Floor DIY Backgrounds ZIP file. Just place the background image of your choice into the platform folder layer and the vaporwave overlay will give it the right look. Exported images must go into two folders: Arcade Floor/Media/Platforms and Arcade Floor/Images/Platforms/Fanart.

    Theme colors (purple and blue hues) are produced entirely by the background images, so if you want to create a whole new look, you can subsitute your own backgrounds by replacing those images. Deleting the images entirely will default each view to the images in the Aracdian/Media/Backgrounds folder.

    In order to prevent audio from game videos from continuing to play when entering games details view or scrolling through the list, try setting the video playback engine in Big Box to Windows Media Player instead of VLC.

    Most of Arcade Floor was made with the Community Theme Creator for BigBox 2.3 and is compatible with LaunchBox 12.9 as of this version.

    Get the CTC here: https://forums.launchbox-app.com/files/file/2115-community-theme-creator-for-bigbox/

    ////////////////////

    1.01:

    This version contains a modified (simplified) version of the Random Game Selector by G-rila (https://github.com/G-rila/BigBoxRGS). In any games menu, hold right in order to get a pop up item for randomly selecting a game. Pressing the select button in the pop-up will automatically begin a random game from your current playlist.

    The CTC files for version 1.00 do not include the code for this plugin, but you get can get the DLL from 1.01 and re-add it to TextGamesView.xaml after publishing by following the instructions on GitHub. The secondary grid code for this theme is slightly different than the example provided:

    <Grid x:Name="RGSGrid" HorizontalAlignment="Left" VerticalAlignment="Top"   Width="{Binding ElementName=Canvas, Path=ActualWidth}" Height="{Binding ElementName=Canvas, Path=ActualHeight}" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="1000"  >
    	<bbrgs:RGSv2_0 HorizontalAlignment="Center" VerticalAlignment="Center" ShowGameDetails="False" ShowGameNotes="False" CheckForUpdates="True"/>
    </Grid>

     

  8. Does anyone know how to properly add this to a theme made in the Community Theme Editor?

    Edit: Nevermind, of course the moment right after I post this I got it working.

    For anyone interested, change the grid code to:

    <Grid x:Name="RGSGrid" HorizontalAlignment="Left" VerticalAlignment="Top"   Width="{Binding ElementName=Canvas, Path=ActualWidth}" Height="{Binding ElementName=Canvas, Path=ActualHeight}" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="1000"  >
    	<bbrgs:RGSv2_0 HorizontalAlignment="Center" VerticalAlignment="Center" ShowGameDetails="False" ShowGameNotes="False" CheckForUpdates="True"/>
    </Grid>

    Make sure the Z-Index is higher than any others.

    • Like 1
  9. I keep having this issue where right-clicking a game in order to get the context menu for it instead launches the game, as if there is some kind of accidental double-click. I'm not sure why double-clicking with the right mouse button would launch a game anyway (it shouldn't), but I've tested my mouse online for false double-clicks and have come up negative.

×
×
  • Create New...