
Kiinkyfoxx
Members-
Posts
166 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by Kiinkyfoxx
-
Not sure if you have seen this thread Programme in there still works and has some extra info.
-
Depends how pretty you want it to look and how much effort you want to put in. Ugly way Could use autohotkey to make a message box that pops up over the start up screen for a short while to tell you what to do and add as an additional app to run before main application. Or could use splash text in autohotkey which is slightly less ugly. Nicer way Could make a nice png or jpg image and then use autohotkey to splash image up on the start up screen for a short while to tell you what to do and add as an additional app again. Or Could make the above image, name it per game and then adapt the start up theme xml file for the platform to include the extra image in some position.
-
The start /wait means that the command window stays open in the backgorund waiting for the game to close, before moving onto next command (which in this case is exit-well it would be but i am lazy and didn't bother putting it in so it auto exits) this is handy if you then want to close another programme, move any files etc after the game closes-I think it also helps with the exit screen being there when you exit the game. Some of the launchers I have cobbled together will open other programmes before/move a config file around etc before loading the actual game (Lightgun games/Demul Emulator/Some others) and I need to put them back or close them afterwards, which is why I use the same style for all my bat files, and then when that specific game that needs something closes, it will run the next commands I have added to return things to how it was before-because it's not broke so I won't fix it. the /b basically means that no new command window opens when the command is passed-just keeps it all nice and tidy if like me you are OCD and don't like having other windows, boxes etc gettting in the way and stopping LB/BB looking good.
-
Because the %game% is in "" you might need to try the line below- there is a space between each bit-eg start{space}/wait{space}/b{space}""{space}"%game%" I think that because of the use of "" around %game% it takes that as a window title, and then doesn't actually load anything start /wait /b "" "%game%"
-
The annoying thing is that is actually the bat file I use on my system ?, and ended up adapting it and adding the Vara stuff to it as I used your one at the top as a start point, and after posting it realised I didn't need to add that bit-but it gave me a morning lesson in how to do something I didn't know before it bat files so all not lost. I only put the echos is so could see what was going on- the launcher below has all the echos taken out AND will in theory stay open after loading the game so if you use start up and exit screens they will work with it. On the edit emulator tab if you put a tick in the hide emulator box at the bottom it should stop any annoying grab from the bat file happening and also will hide is so nice and clean Hidden objects launcher.bat
-
No worries, hopefully it works out the box, but I haven't been able to test it, as don't have those games, but the theory behind it should work. However if it doesn't it might be an issue with finding the correct path. In which case let me know and we can adapt it as needed, I think I may have actually over complicated it-just been thinking about it a tad more and realised that I may have got it wrong. Without trying to be patronising, if it doesn't work then add a pause line as below-as I think this will be the bit that is wrong - it might be that the %Vara% bit isn't actually needed. :LaunchEmu cd %pathway%%Vara% pause start/wait /b %game% Let us know the outcome-Cheers
-
I realise this might be a tad late, but I think I also remember you asking about setting up ahk's for this type of game? By importing them as pc games I don't think you get the running ahk and exit ahk tabs that are in the edit emulator part. Attached below is a bat file that hopefully will act as a launcher for the games for you. Add an emulator, lets call it Hidden Objects for now Set the tab as below-but obviously with your pathway and not mine-and no start up screens so can watch for issues Then you can use all the other tabs in this pic-once you have tested it and it works then you can tick attempt to hide box and use start up screens.
-
If you compile the AHK into an Exe you could start the Exe with the bat file before starting the emulator. If you don't compile the AHK then just copy the autohotkey.exe and rename to same as ahk file and start that exe in bat file. You can either make the AHK self closing or close it via the same bat file. Or if the system has numerous games on it that all use the same emulator, could you not set up a bat file that captures the variable of the rom pathway/name from Launchbox and loads that. Then you can set that bat file as the emulator, calling the emulator whatever you want, Eg System Name emulator. This would let you use all the emulator tabs and options.
-
@Johno1980 You need the Winclose, ahk_exe PcSx2MP.exe part in both the tabs you have shown above-Sorry that was bad instructions on my part. In running Autohotkey Tab as picture above add the Winclose, ahk_exe PcSx2MP.exe line so the bits in the { } look the same as the exit Tab I don't open MP via that tab, as mentioned I add it as an additional apps to the games so that it starts up before the game. I think the way that you are doing it that MP maybe doesn't have focus when the keys are sent to it-if they are even sent-Try the two files below to see if it is working-basically download both and keep together, run the exe and it should then open MP and clear the two check boxes-If it does just keep the two files together and then add the exe as the additional app If that doesn't open MP just check the ahk file that I copied your pathway correctly. From memory there were only about 8 games that used the MP so not too many to add it to, unless it actually works on a lot more now? If you want to do it the way you have set it up I imagine you will need to activate the window before sending the key strokes, but then it will show up above the game window, so you will then need to set the game window back to the top, which is why I just went the additional app route as that way it all happens hidden away and looks nicer. Cheers MP Launcher.ahk MP Launcher.exe
-
This is my AHK for Mouse Patcher-it runs as an additional app before game loads, only use it on a few games so easy to add as an additional app to them #SingleInstance, Force run, Insert your path to MP\PcSx2MP.exe ;path to exe goes here WinWaitActive, ahk_exe PcSx2MP.exe ;makes script wait for exe to open SendInput {Space} ;sends a Space SendInput {Tab} ;sends a Tab SendInput {Space} ;sends a Space ExitApp To close it try changing the shutdown part of the running script tab in emulator- I haven't put my full script up as it does some other bits you won't need So it will look something like this !!!!WARNING I don't have the original closing command for PCSX2 on mine and cannot remember it so I have used Process, Close as a place holder-This can cause issues with Emulators as isn't the ideal way to close it-so please replace that line with whatever your current and correct closing command is!!!! $Esc:: { WinClose, ahk_exe PcSx2MP.exe Process, Close, {{{StartupEXE}}} ;I know we shouldn't use Process, Close and I am not suggesting it-I use a different command specific to mine so have used this as a place holder-please replace it with whatever the current command for closing down your version of PCSX2 is } Hopefully that works for you
-
Need help with a script to close a persistent program
Kiinkyfoxx replied to kritvichu's topic in Emulation
Completely agree with Retro808 about not using Process, Close and that is the only one I use it on, as it was being a pain and not closing for some reason, but I should have put a warning on my post about it. 1) With Demul closing with Alt&F4 any changes you make to key bindings or such won't get saved, I use the one below - BUT I DON'T load straight into Demul, mine goes via a long winded bat file to do some other bits and bobs in the background before demul starts, depending on game/platform etc, so there may be a better way WinClose, gpuDX11hw 2 & 3) You shouldn't need to be closing Demulshooter, it auto closes once the game closes, the only time it doesn't is if you are running in debug mode (with -v in the parameters) so you could do away with all the Demulshooter parts, 3) If you direct load into the game, rather than through the TP UI, you in theory can just use escape to close (I believe it is the built in button for TP) as there will be no UI to close and BudgieLoader etc should all shutdown when you close the game, from memory Mario Kart was the only one that had an issue with this as just added a WinClose for that left over window to the process. So the below should work for you. $Esc:: { Run, D:\games\nomousy.exe Send, {Esc} ExitApp } -
Need help with a script to close a persistent program
Kiinkyfoxx replied to kritvichu's topic in Emulation
Thanks for this info. I will keep an eye out when I play it and now know how to fix it and also how to get it to close if I do change compatibility mode. Glad you got it sorted and sorry my method wasn't any use to you. -
Need help with a script to close a persistent program
Kiinkyfoxx replied to kritvichu's topic in Emulation
Hi I had the same issue, I use the same exit for all Taito Type X (normally Alt&F4) and found that with this is left the game in a window and didn't close it, so if I then did the process close routine after it seemed to force close the window. I have put my version below but I have cleaned some other bits out of it that are specific to my system. I have just tested my one and it does work still. Plus I do have to run the ahk as an admin, but I think that is because I use the same one for all Taito games and Gaia Attack 4 wouldn't close without admin level However I don't appear to be running the game in a compatability mode, and it loads here (Windows 10), I haven't played it much though. Where/what is the glitch issue? Try the below and see if it works for you Cheers Esc:: { Send, !{F4} } { Process, Close, game.exe exitapp return } -
Using Arcade stick and buttons here on the NES through Mesen via RetroArch through LaunchBox Load RetroArch outside of Launchbox Settings -WITHOUT loading a core Input Port 1 controls Highlight "Select Button" Press Enter Press actual Arcade button you want The button you have pressed should get registered as Select and in theory that carries across into Mesen or at least it does here. Repeat for as many players as you want. oh and if you want to do it via config file in text editor input_player1_select_btn = "Put the Number of your button here" Don't know how to get your button number Press the Windows button on your keyboard Type Joy.cpl in search Enter Properties on the joystick you are using Press the button you want to use and a number lights up - That ISN'T the number to use Subtract ONE from this number and that is the number you want to use - Why subtract ONE - not a damn clue, except Windows recognises 1st button as number ONE and RetroArch recognises 1st button as Number ZERO. Maybe someone with some intelligence can explain this. Now when I load up a Core the select button is already the correct button for me.
-
PC / Steam games Virtual Controls Kill on game Exit
Kiinkyfoxx replied to Dreygor's topic in Emulation
Bat file removed as not working currently-Will return when (or maybe that should be if) working This is going to be your "Emulator" for Steam games Make a new Emulator like normal and call it whatever you want. Make the Details tab in edit emulator look as below-but the application path will obviously point to wherever you put the bat file. In Associated Platforms put Windows - or whatever platform you have them under and leave command line blank No idea if you use start screen, exit and pause screens but if you do they will need sorting- I have had to do mine with custom on each Steam/Windows game as they are all awkward in some way or other. But they should all work with this bat file. Running AutoHotKey Tab Made an assumption here and I have used Escape as an exit key-Because it is a nice easy key to practice with and I had no idea what you use. You need to put your pathway in as I don't know it. I cannot test the opening or closing of VirtualController.exe here as I don't use it, but I did use another bat file in it's place to do something else and it worked. You might even be able to use WinClose in the AHK part rather than running a bat file, but I didn't know the name of it so couldn't do that. Also reading the info on the link you provided it looks like you can set an exit key for Virtual Controller-if you did that could you get the AHK above to send the exit key to Virtual Controller? But if the kill bat works then might just be easier. This will leave Steam running in the background as well. Also your edit game page needs to look like this, but with whatever Steam number your game is And REMOVE the current additional app you have put on the game, I am opening Virtual Controller and launching the game in the one bat file. Goodluck Ps The annoying thing is this is actually a much better way of doing it than I already do it, having spent days on sorting out my own lot in the past and having a much more annoying system involving specific ahks for each game running as an additional app Pps I take no credit for the bat file and ahk stuff here. I have only taken work done by other people and cobbled it together into something else. So thank you and credit to the original people who I cannot name as I don't know. But if anyone recognises the work then please take credit for it. -
If you go to Game Controllers in Windows (type joy.cpl in search bar - apologies as I expect you already knew that) are there any controllers showing up whilst this drift is happening in LaunchBox? Looking at the xml you do have EnableGamePad as true - so I wonder if making this false would stop LaunchBox thinking a controller is attached (even if there isn't) which might stop the drift. Again pure guess work on my part and can only go by the issue I had when Windows kept thinking I had a controller attached when I didn't and because nothing was attached it took joystick 1 position which meant LaunchBox saw it even with Use all Controllers off, and therefore caused drifting, as soon as I alt+tabbed out of LaunchBox the drifting would stop and then restart as soon as gave LaunchBox focus again.
-
By any chance have you got vjoy or anything like that on your system and do you have use all controllers (or whatever it is called) ticked. Sometimes vjoy or anything that fakes a joystick/Xbox controller can result in this drift issue. If you turn off the use controller part as well to test if it is that. I had it with a "Fake" Xbox controller not disconnecting after using other software.
-
Using your example in the same tab (running ahk script tab) you would normally put the escape key ahk you would need to add the following ahk underneath it This will be across the emulator, you can do it for the game only but is adds another layer to it. AHK as below T::1 G::2
-
No need to go through all that, you can use Autohotkey. I assume you have a player one start and a seperate player 2 start button on your cabinet. You can set it so Player 1 start sends 1 and Player 2 start sends 2 just whilst this game is playing, by putting it in the Running AHK script tan in the edit emulator part In regards to Aimtrack and middle button I have no idea-sorry, but in theory yes that should work, if not and you have a spare button on the Aimtrack you could set that up to be midddle click by AHK. Not sure how well versed you are with AHK, but happy to help if you need it.
-
Thank you @neil9000 for clarifying that.
-
No need to add a bullet mode button it is built in within Demulshoooter and the start keys are set as well Controls : Cxbx-Reloaded Controls ROM LEFT CLIK MIDDLE CLICK RIGHT CLICK vcop3 Trigger Bullet Time Reload Misc. Notes : Do not open Cxbx.exe window alone, to load and run the rom from within : this won't work with DemulShooter ! P1 and P2 START buttons are mapped to Keyboard [1] and [2] (just like MAME, etc....) and can be simulated with AHK scripts from any other Aimtrak/Joystick button The game may crash on some computers at the end of the second level. Whats the issue with yours? What guns are you using? I haven't made any changes to the above and it all works with Wiimotes here.
-
I could be wrong and someone with more knowledge will hopefully confirm or correct me, but I think it as follows; Running AHK script tab is used whilst the emulator/game is running-so normally closing emulator scripts would go in this part so you can use them whilst the emulator/game is running. Exit tab is for after you have exited the emulator/game-not sure if this is just for the Exit part of the pause menu or in general, I know that I only use the Exit AHK tab when I need extra bits to close down (such as lightgun based stuff) after I have exited from the Pause menu in game.
-
I've just checked on my system and the version from DOS76 does close with Escape, try copying and pasting the whole ahk below into the Running AutoHotKey Script tab in edit emulator, this is an adapted version of the one I use (you don't need all the other crap relating to my set up), but as said I just tested it on the above and it worked. I'm not taking credit for this AHK either, the top part is what was already on this thread and the bottom part is no different to other ones on here. That should in theory wait for DeSmuME to open, then make it go full screen, (I get a little ping sound on mine so I know when it is done, as it's normally still hidden by the startup screen as this point-I think that ping is part of DeSmuME) and then when you have finished playing Escape should shut it down, It might also be worth checking within DeSmuME that you haven't got Escape set as any of its own hotkeys in Config----Hotkey Config Cheers SetTitleMatchMode, 2 WinWaitActive, ahk_class DeSmuME Send, !{Enter} Esc:: { WinClose, DeSmuME }
-
I am hoping this comes across as helpful rather than patronising or anything else, if it does come across in a negative manner then I am really sorry and it isn't my intention. I know I keep it basic and people sometimes take it the wrong way, but it is the way that I work myself and I do this as if I am doing it for myself, and I like basic and simple, as I was taught when younger Keep It Simple Stupid!! ! Have a look at the bits below and let me know if any help to you Supermodel.ini Model 3 idea.txt
-
I use mode 4 so may not be much help to you but willing to try. I do have player 1 set up to use emulated mouse on my system so in theory should be same as you using mode 2. Can you upload a copy of your Supermodel ini file and I will compare it to mine. Ocean Hunter doesn't require in game, had a quick check as I happened to be at home so thought worth looking.