Jump to content
LaunchBox Community Forums

cybermat

Members
  • Posts

    26
  • Joined

  • Last visited

Recent Profile Visitors

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

cybermat's Achievements

8-Bit Processor

8-Bit Processor (3/7)

2

Reputation

  1. Hello, i have this issue. Is duckstation side o could be fixed by LB? is there a workaround ? I keep duckstation open, but i get the same error message.
  2. Doing this you enable the default hlsl settings. Here you can find other settings and if you search under OUT TOPIC - EMULATION section here you can find others. Here https://docs.mamedev.org/advanced/hlsl.html you can find documentation about that. Next time use OUT TOPIC - EMULATION section, because this is not the right section where discuss this.
  3. Sorry for necroposting, but i have the same issue since i use groovymame with Windows WDM-KS. With WASAPI is working fine. I can take logs for you or test a possible fix if can help. Thanks
  4. It's very impressive! Why ALL for "Arcade" ? It' s a bit misleading.
  5. First of all thanks for your plugin. I'm a total noob regarding coding, but analyzing your code i did same changes i applied for another front end. So according with my test cases, now i send rotate command only when needed. I tried to load a lot of 4 ways games, then a lot of 8 ways games with just one rotation. Furthermore, in order to cover all the cases (i hope), i also tested with games "out" from the config file and i get properly the default value only if i've servo rotated to 4 ways. (i put 8 ways as default, but turned off RESET on exit). The only case where i could "force" is when i boot the first time. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using TinyJson; using Unbroken.LaunchBox.Plugins; using Unbroken.LaunchBox.Plugins.Data; namespace ServoStiker { public class ServoStiker : IGameLaunchingPlugin { private string pathToJoyToTray; private string pathToConfig; private string defaultMode; private string[] eightNames; private string[] fourNames; private string resetOnExit; string arguments = ""; int x = 0; public ServoStiker() { this.pathToConfig = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\ServoStiker.conf"; Dictionary<string, object> dictionary = (Dictionary<string, object>)File.ReadAllText(this.pathToConfig).FromJson<object>(); this.pathToJoyToTray = dictionary["joytrayPath"].ToString(); this.defaultMode = dictionary["default"].ToString(); char[] chArray = new char[2] { ',', ';' }; this.eightNames = dictionary["8-way-names"].ToString().Split(chArray); this.fourNames = dictionary["4-way-names"].ToString().Split(chArray); this.resetOnExit = dictionary["reset-on-exit"].ToString(); } public void OnAfterGameLaunched(IGame game, IAdditionalApplication app, IEmulator emulator) { } public void OnBeforeGameLaunching(IGame game, IAdditionalApplication app, IEmulator emulator) { KeyValuePair<IGameController, int?>[] controllerSupport = game.GetControllerSupport(); for (int index = 0; index < controllerSupport.Length; ++index) { KeyValuePair<IGameController, int?> keyValuePair = controllerSupport[index]; int num1 = Array.IndexOf<string>(this.fourNames, keyValuePair.Key.Name); int num2 = Array.IndexOf<string>(this.eightNames, keyValuePair.Key.Name); if ((num1 > -1) && (x != 4)) { arguments = "-servo joy4way"; x = 4; Process.Start(this.pathToJoyToTray, arguments); } else if ((num2 > -1) && (x != 8)) { arguments = "-servo joy8way"; x = 8; Process.Start(this.pathToJoyToTray, arguments); } else if ((this.defaultMode == "4-way") && (num1 <= -1) && (num2 <= -1) && (x != 4)) { arguments = "-servo joy4way"; x = 4; Process.Start(this.pathToJoyToTray, arguments); } else if ((this.defaultMode == "8-way") && (num1 <= -1) && (num2 <= -1) && (x != 8)) { arguments = "-servo joy8way"; x = 8; Process.Start(this.pathToJoyToTray, arguments); } } } public void OnGameExited() { if (!(this.resetOnExit == "True")) return; string arguments = ""; if (this.defaultMode == "8-way") arguments = "-servo joy8way"; else if (this.defaultMode == "4-way") arguments = "-servo joy4way"; Process.Start(this.pathToJoyToTray, arguments); } } }
  6. I checked the source code of the DLL and is different. Could you please post the source code of the latest DLL ? (1.0.4) ? Anyway, i decompiled the DLL in order to get the code and changed the behaviour when the stick is already in 4 or 8 ways, in order to no stress the motor. It seems working but i need to reproduce different user cases. In the conf file there is a typo "4-way-names": "4-Way Joystick,Double 4-Way Joysticks,Half 4-Way Joystick,Double Horizontal Joysticks,Double Vertical JoysticksHorizontal Joystick,Vertical Joystick",
  7. Thanks for this plugin that i will try on my Bartop. I'm not a coder but i modified the coding for another frontend, in order to avoid to stress servostik if not necessary. Example : I start from 8 ways (default) and i play a 4 ways : a command is sent to rotate. In this case a variable X should take 4. I exit from that game and I play another 2/4 ways. If x=4 there's no need to send any command. I exit and i play a 8 (or more) ways. Since X != 8 then rotate and X=8 and so on... Do you think that it's feasible ?
  8. Is there a way to have a scrolling title ? Or having text running over Box's layer ?
  9. Ok you're right, Image group dictates that. Under LB "image group" was not refreshing ...and i keep to see CLEAR LOGOS for any platform! I rebooted and now for any platform i can see "image group" selection. BTW it's really a nice theme!
  10. If i select Text list with details , i noted that for Arcade i always have CLEAR LOGO, for Nes i have Title Screen, for Naomi Gameplay screen etc etc I mean in the right bottom section.
  11. I'm using themes, that shows in the details, the version of the games. City Hunter theme is good for this, for example. I'm not a programmer and i'm a bit noob on coding, but i've been succesfully able to show the version after the title adding "<TextBlock Name="VersionString" Text="{Binding Path=VersionString}" under XAML files. I think that is a bit tricky, but does the job. I'm trying a lot of themes, when i will decide the definitive one, i will edit it accordingly.
  12. It seems that is not possible under Big Box and i would need to combine in order to enable this. Let me clarify, i just need to see the version information after the title. I have a set of unique version of the games (so combine is not the right way to act), but sometimes i see the same name of the games under Big Box.
  13. Hello, i enabled View - Show - Versions (CTRL+R) under Launchbox and i'm able to see Game Title + Versions, but i cannot do the same thing under Big Box I dug into Big Box options but i cannot see anything that could help me. I've seen the option ON under Game Details, but i don't understand how to display Version in the main scroll list. Thanks
  14. I have a custom set generated by http://adb.arcadeitalia.net/ , 3164 roms with just arcade games, working and imperfect parents and just some working/imperfect clones when the parents are not. I know that behind current solution there is a lot of work, but it would be nice using official metadata also with custom Mame set. Romname linked to Launchbox ID would help a lot for scraping the proper media, expecially for Arcade roms. Thanks for your help.
×
×
  • Create New...