Jump to content
LaunchBox Community Forums

AceEsCloud

Members
  • Posts

    34
  • Joined

  • Last visited

Recent Profile Visitors

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

AceEsCloud's Achievements

8-Bit Processor

8-Bit Processor (3/7)

10

Reputation

  1. cant believe I didn't see that, lol. I had tunnel vision. ill check it out
  2. I believe I got it working by changing it to this; Run, "C:\Users\Arcade\LaunchBox\Tools\Mayflash disabler\Mayflash enabler.bat - Shortcut" Sleep, 2000 RunWait, "C:\Users\Arcade\LaunchBox\Emulators\Dolphin-x64\Dolphin.exe" -b -e "%1%" $Esc:: $vk07:: Send, !{F4} Process, Close, dolphin.exe Run, "C:\Users\Arcade\LaunchBox\Tools\Mayflash disabler\Mayflash disabler.bat - Shortcut" ExitApp Thank JoeViking245 for the help!!
  3. This works but I need to add an exit command to the script. I used almost exactly what JoeViking245 suggested (with some minor path edits). I compiled the .ahk script to an .exe using the AutoHotkey script compiler. When I compiled I used "v1.1.36.02 U64 Unicode 64-bit.bin" as the base file (in the hotkey script compiler tool). This specific version gives me the elevated permissions and therefore allows the .bat files to run on my system. I figured this out via trial and error working on the Visual Pinball stuff a couple months back. I believe JoeViking helped me with this before as well! Anyways, after compiling I went into launchbox and added a new emulator. Named the new emulator "dolphin with mayflash". I set the application path to be the script file that I compiled (in my case; "C:\Users\Arcade\LaunchBox\Tools\Wii Mayflash Loader\Wii Games Load Script.exe). I also checked the box for "attempt to hide console window on startup/shutdown". I then went to one of my Wii games and changed the emulator to be the new emulator "dolphin with mayflash". Later I will bulk edit all of the Wii games to use this emulator once I get it 100% working. This properly launches the game and enables the Mayflash controller!!! The only issue I now have is that when I hit press escape it does not exit the game so I have to add something to close the game. On a good note when I force close the Wii game it does run the other .bat file and disables the mayflash as it should. What would be the best way to edit this script to allow ESC to exit whatever Wii game I launched?
  4. I'll check this out when I get home, thanks for the help.
  5. I have been having issues with Retro arch picking up the wrong controls because the Mayflash Dolpin bar is always active as a game controller. I only need this device active when I play Wii games though. I created a .bat file that enables the Mayflash Dolphin bar and I want to launch this when I launch any Wii title. Also, when I exit the Wii title I want to launch another .bat file that disables the Mayflash Dolphin bar. I have done this before with a pinball device (pinscape controller) and use a script when launching pinball tables that enables / disables my pinscape controller so I believe I would modify this script to work for this new purpose. I linked this script below. If anyone has any insight on how I would implement something similar for my new purpose please let me know. This is the script I used for visual pinball; *****VP script below***** Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_enable.bat - Shortcut.lnk" Sleep, 2000 Run, "C:\Visual Pinball\VPinballX.exe" -minimized -exit -play "%1%" Sleep, 10000 While WinExist("ahk_exe VPinballX.exe") sleep 700 Process, WaitClose, VPinballX.exe Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_disable.bat - Shortcut.lnk" WinActivate, ahk_exe LaunchBox.exe WinActivate, ahk_exe BigBox.exe ExitApp *****End script**** If anyone is curious here are the two .bat files I am planning to launch when I launch Wii Games. I created .bat files of these, then created shortcuts of the .bat files and in the shortcut properties I checked "run as administrator". These work GREAT every time, just need to figure out the best way to run when I run Wii titles.... *****Disable Mayflash***** PNPUTIL /disable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_00" PNPUTIL /disable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_01" PNPUTIL /disable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_02" PNPUTIL /disable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_03 *****End .bat file***** *****Enable Mayflash***** PNPUTIL /enable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_00" PNPUTIL /enable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_01" PNPUTIL /enable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_02" PNPUTIL /enable-device /deviceid "HID\VID_057E&PID_0306&REV_0100&MI_03 *****End .bat file*****
  6. Hello, I am making a series of playlists in launchbox so that I can display comics in the platform category of launchbox. So far all of this is looking great in Bigbox but the issue is that the added playlists are also showing up in my "favorites". Attached is a screenshot. "AGL" is my only "favorites" playlist and I use it to dump games that I play often. I am about to import 17,000 comics so when I do this my favorites list is going to be saturated with a bunch of stuff that does not relate. I cannot find a way to remove these playlists from the favorites view... I have other playlists in my system that do not appear here so I know its possible (example "arcade 2-player games, etc).
  7. Hello, I have a drive from another system that has a bunch of comics on it that I would like to import into another system. I would like to import it and have it show up on my system EXACTLY as it is on the other systems. I am trying to maintain all of the platform category information, images, etc. I moved the ROMS, images and emulator over and imported everything into my system. The platform category info is not retained and I am also having issues with images. I am sure there is an easy way to "mirror" a platform to a new system but I do not know how... Attached are screenshots showing the system I am trying to import from and how clean it is and then another image of the mess my system is currently in when just importing. These are a bunch of comics so if I cannot "mirror" it then I would have to manually build a library for every comic book series which would take weeks if not months... There has to be an easy way to copy this and retain all of the organization. Any help with this is appreciated.
  8. I learned of one more small issue. When I launch Visual pinball tables through bigbox it launches and closes fine but I have to mouse click on bigbox to regain focus (like bigbox wasn't the selected screen after closing). Is there an easy fix for this?
  9. This was what I converted to .exe using v1.1.36.02. Works great, I'm cleaning everything up a bit but I think my issue is resolved!!!! thanks again! Run *RunAs "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_enable.bat" Sleep, 2000 Run, "C:\Visual Pinball\VPinballX.exe" -minimized -exit -play "%1%" Sleep, 10000 While WinExist("ahk_exe VPinballX.exe") sleep 700 Process, WaitClose, VPinballX.exe Run *RunAs "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_disable.bat" Sleep, 2000 ExitApp
  10. Compiling the .ahk to .exe using v1.1.36.02 U64 Unicode 64-bit.bin seemed to do the trick! Adding the pinscape disable to the code and will report the final script!
  11. I tried Klinkyfox's suggestion yesterday and I cannot remember the issue I had but I had an issue that I could not solve. I believe the issue I am having is similar to the issue I was having yesterday. I have AutoHotkey V 2.0.13 installed on my system. When I launch a .ahk script it uses the AutoHotkey version I have installed on my system AND WORKS GREAT. Because AutoHotkey V 2.0.13 is installed on my system I am assuming it has more permissions than a portable .exe When I convert VP_Load_Script.ahk to a .exe I compile it using base file "v1.1.36.02" and it creates a .exe that runs this version (which I assume does not have the permissions to run my .bat file as an administrator). To fix this, I attempted to compile this as a "v2.0.13 U64 AutoHotkey.64" which is the version installed in my system. This way when it loads the .exe it uses the version installed on my system. Issue is, I cannot compile this using v2.0.13 though because the Syntax used in AutoHotkey v2 is different from V1 (I think). So now I'm trying to find a way to force my .exe to use my installed version or elevate the permissions of this .exe file somehow. If I can't figure out how to do that I am going to figure out how to rewrite the v1 syntax in v2 form...
  12. I added quotations around the %1%. It launches the tables and roms perfectly. It does not enable the pinscape device. I messed around with this a bit and learned that if I execute the .ahk file it does enable the plunger but if I execute that same .ahk file as a .exe it does not. I was stunned by this because I am essentially doing the same thing in pinball FX3 (converted the .ahk to a .exe) and to my shock pinball FX3 also no longer works. I have changed nothing to my knowledge. I tried rebooting to see if it was a hardware error but it is not. Future pinball still works flawlessly.... So close yet so far. Here is what I scripted for VisualPinball (note I omitted the pinscape disable portion just to make sure that isn't a factor). Wondering if I am back to running as administrator issues... idk I'm going to keep messing around but can't at the moment. Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_enable.bat - Shortcut.lnk" Sleep, 10000 Run, "C:\Visual Pinball\VPinballX.exe" -minimized -exit -play "%1%" Sleep, 10000 While WinExist("ahk_exe VPinballX.exe") sleep 700 ExitApp
  13. I don't believe launchbox liked me pointing to a .ahk file and I remembered having an issue with this in the past with another emulator as well. So I simply converted the .ahk to a .exe and pointed to it. I am now having a new issue. When I run the autohotkey exe I created it opens up everything as it should. When launchbox runs it it comes up with an error "error loading c:\visual". This almost appears like it tried to load c:\visual because there is a space between visual and visual pinball but "c:\visual pinball\" is covered by quotations so this shouldn't have been an issue? I don't know... I feel like I'm soo close. Anyways, current script below as well as emulator settings screenshot and error screenshot. This was what I converted to exe; Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_enable.bat - Shortcut.lnk" Sleep, 10000 Run, "C:\Visual Pinball\VPinballX.exe" -minimized -exit -play %1% Sleep, 10000 While WinExist("ahk_exe VPinballX.exe") sleep 700 Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_disable.bat - Shortcut.lnk" ExitApp
  14. Below was the AHK for pinball FX3. For some reason or another I had to convert the AHK to an EXE THEN point my emulator at the EXE. I may try this for Visual Pinball but can't see why it would make a difference. #SingleInstance, Force Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_enable.bat - Shortcut.lnk" Sleep, 10000 Run, "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 442120 -class -table_"%1%" #IfWinActive ahk_exe Pinball FX3.exe SendMode, Input $Esc:: Process, Close, Pinball FX3.exe ExitApp return $vk07:: Process, Close, Pinball FX3.exe Run, "C:\Users\Arcade\LaunchBox\Tools\Pinscape disabler\Pinscape_disable.bat - Shortcut.lnk" ExitApp
×
×
  • Create New...