Jump to content
LaunchBox Community Forums

jayjay

Members
  • Posts

    385
  • Joined

  • Last visited

Everything posted by jayjay

  1. This is as far as I got, I cant spend any more time on this. Compile the script and set it up as an emulator in LB, name it 4 player retroarch or something, you'll still need to add the code to hide taskbar. SetTitleMatchMode, 2 run, path to emulator %1% run, path to emulator %1% run, path to emulator %1% run, path to emulator %1% sleep, 3000 ;wait for all windows to open, longer sleep? winCount = 0 height := (A_ScreenHeight/2) width := (A_ScreenWidth/2) WinGet, OutputVar, List , RetroArch ;replace retroarch with a word in the title window Loop %OutputVar% { Id:=OutputVar%A_Index% WinGetTitle, title, % "ahk_id " Id If (winCount == 3) { WinActivate, % "ahk_id " Id WinSet, Style, -0xC00000, %title% WinSet, Style, -0x40000, %title% WinMove, % "ahk_id " Id, , %width%, %height% , %width%, %height% winCount++ } If (winCount == 2) { WinActivate, % "ahk_id " Id WinSet, Style, -0xC00000, %title% WinSet, Style, -0x40000, %title% WinMove, % "ahk_id " Id, , %width%, 0 , %width%, %height% winCount++ } If (winCount == 1) { WinActivate, % "ahk_id " Id WinSet, Style, -0xC00000, %title% WinSet, Style, -0x40000, %title% WinMove, % "ahk_id " Id, , 0, %height% , %width%, %height% winCount++ } If (winCount == 0) { WinActivate, % "ahk_id " Id WinSet, Style, -0xC00000, %title% WinSet, Style, -0x40000, %title% WinMove, % "ahk_id " Id, , 0, 0 , %width%, %height% winCount++ } } If you wanted to get creative, you could have a screen pop up saying something like "each player press start" with a count down timer. Then split the screen depending on how many people press start. Would be cool.
  2. Dude this would make a sweet game menu item plugin, launch multiple versions of an emulator so more than 1 person can play a game at a time. Iv just found out by googling after iv read your post that ppsspp can play multiplayer adhoc games on the same pc. Could create a game menu plugin that launches 2 instances of ppsspp, if there is only 1 screen, split the screen. If 2 screens, 1 screen each instance of ppsspp. Controllers can be mapped per instance. Basically lan on the same pc. Would be a cool addition. I only came here to comment on how cool this would be, Im working on other stuff and dont have the time to pursue something like this. So yeah this is just a shit post, sorry about that. ha.
  3. Hey @The_Keeper86. I haven't forgotten about this plugin. As it turns out, the issue with this plugin is a BB issue. That issue isn't fixed yet. I can use the same method to fix this plugin as we did with the mame hi scores. But it requires me to rewrite it. And also when writing the ps3 importer plugin @klepp0906 let me know that the hdd0 folder can be moved to a different directory as well so will have to adjust for that. It will be a while til I get to it though as short on time and want to get the hi score plugin complete.
  4. try this: if WinExist("LaunchBox Game Startup") { WinActivate WinWaitClose, LaunchBox Game Startup } if WinExist("LaunchBox") { WinActivate } if WinExist("LaunchBox Big Box") { WinActivate } ExitApp
  5. If you start up demul outside launchbox does escape exit demul? Go to Launchbox/autohotkey directory, right click on autohotkey.exe, compatibility, run as admin. Change ur running autohotkey script to Joy7:: { WinGetActiveTitle, WindowTitle WinGet, PName, ProcessName, %WindowTitle% Process, Close, %PName% } Start a game in LB, press button 7 (select on 360 controller) If you have multiple controllers, press button 7 on all controllers Does demul close? If not, is demul in full screen, if yes and it has the option of windowed mode. Set it to windowed mode and try again. If not, not sure there's much else u can do.
  6. Iv just tested it and I dunno about you but when I dont change the window focus during the game, on game exit theres a nasty flicker. If thats true for you try this one instead: if !WinActive("LaunchBox Game Startup") { if WinExist("LaunchBox") { WinActivate WinActivate, LaunchBox Game Startup ExitApp } if WinExist("LaunchBox Big Box") { WinActivate WinActivate, LaunchBox Game Startup ExitApp } }
  7. Replace everything in the regainfocus.ahk with this: if WinExist("LaunchBox") { WinActivate WinActivate, LaunchBox Game Startup } if WinExist("LaunchBox Big Box") { WinActivate WinActivate, LaunchBox Game Startup }
  8. I'm not near my pc at the moment so can't be to much help. I can't think of a way to make this work without the dll. The WinGetActiveTitle commands above, yeah replace what ever is in the regainfocus.ahk with them 2 lines. Actually put a sleep command in there... WinGetActiveTitle, title Sleep 5000 Msgbox %title% Start a game in BB. Quit the game. Note if the shutdown screen works correctly. On game exit a message box will pop up telling u what window has the focus. If the shutdown screen works correctly then supposedly it should pop up a message box that says launchbox bigbox or something like that. If the shutdown screen doesn't work correctly then a message box should pop up with the name of a different window. This is all assuming that u using Google whilst gaming is actually the issue but testing with WinGetActiveTitle and msgbox commands should at least tell u, that is the issue.
  9. Hey @klepp0906. I'd imagine there would be reasons why it uses window focus other than tracking the process. For instance some games will load one .exe and pass on to another .exe. If BB were to track the .exe in this case you would see the loading screen then immediately see the shutdown screen. Some .exe may hang in the background when closed... etc etc. Also when coding something like this I know for me it wouldn't cross my mind that someone could be jumping from screen to screen, messing up the window order. Even though I have 2 screens it'd be something I'd forget. Having it as window focus is prob the lesser of 2 evils. I could be wrong but i would imagine ur issue could be using Google whilst gaming. When clicking on Google on ur second screen u move Google's screen up above BB in the window order. So when u exit the game google has focus and not BB. U could test this by replacing the ahk script with one that message boxes the active window title. WinGetActiveTitle, title Msgbox %title% In this case u could try winActivate / force winActivate etc commands in the script. But not sure how successful it'll be.
  10. Hey @cemfundog. At the moment you couldn't add it as a pause screen menu item but it is possible to add it as a custom user control. I'm not sure when mame updates it's hi-scores though. If it updates on game exit, then any hi-scores on the pause menu couldn't be updated til you quit the game and restart it. If you know how to compile code. I'm sure as @JoeViking245 is a cool dude he wouldn't mind PMing you the source so you can modify it to how ever you like.
  11. Nice one @ed20910 thanks for letting us know. And yeah it a bummer about updating themes. We'll been trying to add the hi-scores to the custom fields at some point. At least then wouldn't have to modify the xaml's.
  12. This plugin will work with the base unified refried. But to make it work with all the addons is going to be a chore to say the least. Inside unified refried "Views" folder, there is another folder named "TextGamesView", inside this folder is 600 xaml files. To make this plugin work with the unified refried addons all these xaml files will need to be modified using @JoeViking245 instructions. Obviously that's not viable. Any other themes that include this "TextGamesView" folder. Will have the same issue. When I get some time I'll try and look into it but off the top of my head Im not sure what we could do about this. At the moment the best option is to undo the changes made to unified refried Textgamesview.xaml. You won't be able to see the hi-scores menu item when using unified refried but better not seeing it then seeing it and not being able to use it.
  13. jayjay

    Wii Discs

    Wii Discs View File Some wii disc images. 160x160 Submitter jayjay Submitted 11/10/2019 Category Game Cart Images  
  14. Version 1.0.0

    144 downloads

    Some wii disc images. 160x160
  15. Hey @cemfundog thank you for these.They look much better than the rubbish I put together. Could I hassle you for a few more that will complete my collection please. They are... Typer Shark. Word Harmony.
  16. Welcome @CBeatt13. Just to let u know jason has already sent me a big list of things he wants u to do first. I'll PM u the list haha. Anyway on a more serious note. Would seem jason is on his way to becoming a faceless organisation. I think a re-branding is in order. I vote "Ubi-broken software". Anyway on a proper serious note. Does that mean, with @CBeatt13 on board. Those of us with plugin issues, can we bug u for a fix now instead of Jason?
  17. @Jason Carr The only way I have found to show new imported games is to change to another platform and back again. And the only way I have found to show a new platform is to change from the platform view to say platform category view and back again. After using AddNewGame() or AddNewPlatform() is there a method to refresh LB to automatically show the new games and platforms?
  18. Isn't the way the exit screen works is when bb regains focus it triggers the exit screen or something like that. So if loading a script there isn't a window to take the focus? Maybe try build a gui into ur script and keep it open behind the emulator and close it when emulator exits. Not sure how well it will work. Might get some nasty flicker. Maybe try and build a loading and exit screen into the script instead of using bb screens. Or Maybe the exit screen works on process so have the script continuously run in the background until emulator exits.
  19. Yeah 1 imported game is still required. I might change it next weekend depending on how much spare time I have. Importing 1 game and changing the emulator only takes a second so Iv only focused on the stuff that would take hours of manual work.
  20. OP updated. @klepp0906 the param.sfo class works on vita games. I dont have enough time to code anything now so will give it a proper look next weekend.
  21. I don't think it actually matters. Im not sure. Its possible to convert png etc to ico anyway isnt it? I saw ur message on discord and I don't think it will work. I think the folder structure will be slightly different. I'll have a look at weekend. All depends on if thedarkprogrammer's code works on the param file. I'm not that good at coding. Removing the eboot.bin from the path will be simple enough so just to import the folder name.
  22. Haha ok if u find me an icon to use by the weekend I'll update it. I don't know anything about the ps vita. If the vita game has the same ish folder structure as ps3. And if it contains a param.sfo and an eboot.bin. move a single vita game into it's own directory and see if this importer works on it. Obviously If it does work It'll add it to the ps3 platform. If the param.sfo editor class i used doesnt read it, it might throw exception but won't do anything drastic. If anyone wants to modify the code feel free, if u can understand my code ha. For instance if a game Id starts with BLUS it's American, BLES it's European etc. The game database website has ps3 id's so it could be turned into a scraper as well.
  23. I didnt know it could be moved but should be fine. Just point the folder dialog to where the dev_hdd0/Game folder is.
  24. Yeah it handles disk games. As long as the folder structure isn't to wild. It handles pkg games as long as they are installed. The folder structure between the 2 in regards to the location of the eboot to where the param.sfo is, is the same. The only difference that needed to be taken in consideration in regards to folder structure is i use the parent or parent of parent directory to compare against already imported games so not to import the same game twice. I couldn't compare the titles in this case cause a game could already be imported with a different title. I use the param.sfo file because obviously it holds the title. But also because game patches also have eboot.bin. using any method that pulls the eboot could result in many game patch eboots being imported. Game patches are installed to the same directory as pkg games. The param.sfo tells you if the eboot is harddrive Game, disk game or game data. So this method shouldn't pull in any unwanted eboots. Well that's the theory anyway. Let me know how it works for u.
×
×
  • Create New...