Jump to content
LaunchBox Community Forums

eatkinola

Members
  • Posts

    801
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by eatkinola

  1. On 6/17/2019 at 7:19 PM, PurpleTentacle said:

    I was looking at another program, Syncthing, but it seemed a bit complicated for such a small thing. FreeFileSync does look a bit less complicated.

    FYI recently switched from google drive to syncthing which was pretty simple to setup, I think. So far I find syncthing to work better than google drive, and it let's you create your own private cloud. I use it on my local network only, but I'm pretty sure you can also use it over a wan. It works across linux, windows, and android. Also with syncthing, the only thing that limits storage space is the drives I have, so now I sync not only my game saves but also my LB data and media.

    • Like 1
  2. 7 hours ago, viking said:

    @eatkinola Man ! that's an answer! !! Thx ?

    OK, I will try to play and adapt all that.
    But ... I am totally noob in code, for the converter plugin itself. It's OK for XAML part, but I don't have any clue for the plugin.
    Basically, I work in die and retry style ! Do you have a link to a tutorial "step-by-step" on creating a plugin? I dont find anything online.
    (Source file format? Code format? How to export to DLL? ...)

    I can write the code for you. If you don't mind, I'll integrate it with my themer library and you can use it from there. The library already has some logic for handling platforms with different naming conventions, e.g., some users prefer "Nintendo Entertainment System" while others prefer "Nintendo NES". I have a way to insulate from these differences. I'll pm you.

  3. 4 hours ago, Jason Carr said:

    I want the XAML code to be separated into an external file, because that makes only one list of platform/color to maintain! Ideas ? Tracks ?

    Hey @viking looking forward to see what you're putting together. I'm pretty sure you'll need a converter to do this. Using data triggers would work, but it would lead to very messy repetitive xaml and not the clean centralized code you're trying to write. I cannot think of a clean, xaml-only way to do this (maybe someone else can). This example from stackoverflow looks promising; you can define stuff in an xaml resource file like you want. You would need to code a converter, however would be a pretty simple piece of code.

    https://stackoverflow.com/a/20280045

    Then your xaml view file would say something like this:

    <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <UserControl.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="pack://siteoforigin:,,,/Themes/VikingsCoolTheme/Views/Styles/Colorful.xaml" />
                </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
        </UserControl.Resources>
        <Canvas Name="Canvas">
            ...
            <TextBlock Text="My colorful text" Foreground="{Binding ActivePlatform.Name, Converter={StaticResource PlatformColorConverter}}" />
            ...
        </Canvas>
    </UserControl>

    Your xaml resource file Colorful.xaml would look something like this:

    <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                        xmlns:colorful="clr-namespace:Viking.Colorful;assembly=Viking.Colorful">
        ...
        <colorful:PlatformColorConverter x:Key="PlatformColorConverter" />
        ...
        <SolidColorBrush x:Key="Color_Atari 2600" Color="Red" />
        <SolidColorBrush x:Key="Color_Atari 5200" Color="Blue" />
        ...
    </ResourceDictionary>

    You would place the Viking.Colorful.dll (which defines the converter) in the theme's Plugins directory. I've not tested any of this and might have made some typos, but something like it should work.

    P.s. The stackoverflow solution will need some tweaking since you won't be adding your color definitions to the App.xaml but rather a separate xaml file. You'd have to reference that xaml file specifically, but I'm sure it could be done.

    • Like 1
    • Thanks 1
  4. 55 minutes ago, EduInmigrante said:

    Guys, i dont know why but after the last Launchbox/Bigbox update, my nostalgia works so bad.

    Honestly haven't tested Nostalgia in a while. A few months ago, some memory leaks were brought to my attention, and I've slowly been isolating those leaks. It's taking a long time because I have to let a theme run in attract mode for days on end. I've identified 3 of 4 (I think there are four total) leaks, and once I plug them I'll double back and take a look at Nostalgia and my other themes.

  5. On 5/24/2019 at 4:45 AM, EduInmigrante said:

    Something about add a broken icon, give me this error when i select a broken game on list. And the theme goes crazy xD

    Thanks for the screenshot -- looks correct. I'll do some digging and if a fix is needed include it with the next theme update.

    On 5/24/2019 at 4:55 AM, EduInmigrante said:

    Yes, its works but every time i change the platform or restart BigBox, the game list show the clear logo on both places. Is there a way to only show the 3dBox or whatever i choose for any game?

    Hmm, I'm surprised it's not remembering your setting. Is there perhaps another BB setting keeping it from remembering your image choice for a particular platform. Is the image choice you are making remembered when using other themes?

  6. On 5/24/2019 at 4:32 AM, EduInmigrante said:

    This one is pure perfect man ❤️ Thanks a lot! Rope this spanish fix get into the theme update soon!

    Thanks a bunch @qu1r0s!

    @EduInmigrante: Development has been slow lately owing to work stuff, but these translation mods are slated for the next update.

  7. 1 minute ago, eatkinola said:

    and I'd appreciate if you'd take a look at the translations (hidden below) and provide suggestions

    P.s. I'll have to include these changes in the next release of the theme, as these translations are bundled in the Ao.Bigbox.Themer plugin.

  8. 11 hours ago, EduInmigrante said:

    1-When I mark a game as broken, why dont show an broken icon?

    You can edit a line in Views\Styles\Nostalgia.xaml to add the broken icon:

    <Style x:Key="NostMetadataIcons_GAME" TargetType="aop:GameMetadataIcons" BasedOn="{StaticResource NostMetadataIcons}">
        <Setter Property="FieldOrder" Value="GameGenre,GamePlayMode,GameAgeRating,GameStarRating,GameBroken" />
    </Style>

    Possible values for fields include:

    Spoiler

                GameAgeRating,         // age rating, e.g., ESRB or PEGI
                GameBroken,            // toggle: broken or not
                GameCompleted,         // toggle: completed or not
                GameController,        // custom field AoController
                GameEmulator,          // emulator specified
                GameFavorite,          // toggle: favorite or not
                GameGenre,             // same as GameGenre1
                GameGenre1,            // game genre listed first
                GameGenre2,            // game genre listed second
                GameGenre3,            // game genre listed third
                GamePlatform,          // game's platform
                GamePlatformCategory,  // game's platform's category
                GamePlayMode,          // same as GamePlayMode1
                GamePlayMode1,         // play mode listed first
                GamePlayMode2,         // play mode listed second
                GamePlayMode3,         // play mode listed third
                GamePortable,          // toggle: portable or not
                GameRegion,            // game region
                GameStarRating,        // game star rating
     

     

    11 hours ago, EduInmigrante said:

    2-In my game list view, the logo of the game show on top and botton. Is there a way to change it?

    Yes, the image displayed on the bottom is the main game image you selected for the game's platform. To change this, go into this view for a particular platform then press the hotkey you setup to cycle through these images, e.g., clear logo, box front, etc. You can assign a hotkey in the BB settings menu for keyboard mapping, i.e., the mapping for "Switch Image Type" (in English).

    11 hours ago, EduInmigrante said:

    And, in the ARCADE screenshot, you can see the text: Calificaciones de Estrellas in spanish, the translation is a bit large and dont need to be like that. Only with "Calificaciones" is enough! Is there a way to change it?

    I don't speak Spanish and did the translations myself using Google. Not ideal, and I'd appreciate if you'd take a look at the translations (hidden below) and provide suggestions.

    Spoiler
    !TRANSLATORS eatkinola
    TNL_DN4RECENT Prensa Abajo para Juegos Reciente
    TNL_UP4FAVORITES Prensa Arriba para Favoritos (si los hay)
    X_BACK Volver
    X_CATEGORIES Categorías
    X_CATEGORY Categoría
    X_COMPLETED Terminado
    X_CONTROLLER Controlador
    X_CONTROLLERS Controladores
    X_CONTROLS Controles
    X_CPU UPC
    X_DEVELOPER Desarrollador
    X_DEVELOPERS Desarrolladores
    X_DISPLAY Monitor
    X_FAVORITE Favorito
    X_FAVORITES Favoritos
    X_GAME Juego
    X_GAMES Juegos
    X_GAMES_ALL Todos los Juegos
    X_GAMES_AVAILABLE Juegos Disponibles
    X_GENRE Género
    X_GENRES Géneros
    X_GRAPHICS Gráficos
    X_LOAD Cargar
    X_MANUAL Manual
    X_MANUFACTURER Fabricante
    X_MEDIA Medios de Comunicación
    X_MEMORY Memoria
    X_MOVE Mover
    X_OPTIONS Opciones
    X_PLATFORM Plataforma
    X_PLATFORMS Plataformas
    X_PLAYED_LAST Recientemente Jugado
    X_PLAYED_MOST Más Jugado
    X_PLAYERS Jugadores
    X_PLAYLIST Lista de Reproducción
    X_PLAYLISTS Listas de Reproducción
    X_PLAYMODE Modo de Juego
    X_PLAYMODES Modos de Juego
    X_PROGRESS Progreso
    X_PUBLISHERS Editores
    X_QUIT Dejar
    X_RATING_AGE Clasificación de Edad
    X_RATING_STARS Calificaciones de Estrellas
    X_RATINGS Calificaciones
    X_RECENT Reciente
    X_REGION Región
    X_REGIONS Regiones
    X_RESET Reinicializar
    X_RESUME Continuar
    X_SAVE Guardar
    X_SELECT Seleccionar
    X_SERIES Serie
    X_SOUND Sonar
    X_SOURCES Fuentes
    X_STATUSES Estados
    X_SYSMENU Sistema
    X_YEAR Año

     

  9. 19 hours ago, wallmachine said:

    @eatkinola taking the textbox out of the viewbox makes the translate transform not work properly because the resolution is not in 4k which means distance is doubled and since it isn't in the viewbox anymore, the viewbox can't lock it's resolution.

    Viking and I discussed a very similar (the same?) issue in the XAML Tips & Tricks thread. To handle various resolutions and aspect ratios gracefully, I had made two plugins: (1) AutoscaleTextBlock, and (2) DimensionW3840Converter. There are examples for both of these on page 30 of that thread:

    https://forums.launchbox-app.com/topic/28698-xaml-tips-and-tricks/page/30/

    Check it out -- might solve your issue. I didn't look at the stackoverflow examples closely, but my approach with the converter seems similar.

    • Like 1
  10. 47 minutes ago, maikolik said:

    ...this only needs a bezel for emulators like pcsx2 or any other that does not use retroarch libretro, with this it is no longer necessary to use rocket launcher.

    There's a plug-in for that. If you're interested or have questions please see and reply in this thread:

     

    • Thanks 1
  11. Updated to v1.3 -- most notably theming additions, including the ability to integrate with BB themes for a more cohesive experience. An example of this with FluxCRT is posted above. Also, WL should be ready to work with the multi-keyboard-button config thingy Jason is working on with his pause screens. I beat up on it quite a bit, but please let me know if you spot any errors.

    • Like 4
  12. 15 hours ago, guyverjay said:

    Are we ever going to get the ability to hide platforms? I'm pretty sure this has been requested a few times over the last 2 years lol

    When I've wanted to hide a platform, I just remove it's xaml file from the data folder, or place it in a subfolder I just call 'Inactive'. That works well for me. It'd be nice to have a little toggle in LB to show/hide a platform and probably (?) a simple addition, but I've made do fine without it.

  13. 5 hours ago, SpaceMidget75 said:

    I actually wrote a controller based menu system that would pop-up and allow you to fire of key presses  (and scripts) to background applications like emulators. The problem was that RetroArch would listen to  the controller presses even when not the focused app so gave up on the project. I'd love to know how it's working in RL/AHK.

    You'd probably want to pause the emulator before sending the other commands via autohotkey. Then, when you are done sending commands, unpause the emu. AHK can also issue the pause/unpause commands, so this could all be seamless.

  14. 2 hours ago, wallmachine said:

    They ended up updating BB as quite a few updates behind and it fixed the mute issue.

    Thanks for the update, was scratching my head over that one.

    2 hours ago, wallmachine said:

    Also when using vids in BB on the marquee screen it causes a hard lock on pc. However, using vids with your plugin on the marquee screen and your video method does not cause a lock up like default BB, which is great! But it does slow down things a little bit in BB. Is there anyway you can put some magic on it, or more cache, or whatever you can do to try to prevent that bit of slowdown? Thanks in advance.

    Glad to hear it works! -- I didn't design or test it with marquees in mind. Unfortunately, I cannot think of any way to further optimize the video engine. Could it be related to your CPU or video card? Running videos can be pretty taxing, especially if another application is also running. Might it work better if you used smaller video files for the marquee?

×
×
  • Create New...