Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

joyrider3774

Elite Member
  • Posts

    797
  • Joined

  • Last visited

  • Days Won

    60

Posts posted by joyrider3774

  1. @Mike_da_Spike here are the other game modes, they seem to be working now and they had enough time to fix the issues so i'm telling them now. I've gotten these directly from the exe and i tested the challenge modes, they seem to be working (again) now at least if i tested them with biolab table

    image.thumb.png.05b5344e7d34db5bfb31ccc80a19dec5.png

     

    Challenge_BallLimited -> 1 ball challenge
    Challenge_TimeLimited -> 5 minute time challenge
    Challenge_DistanceLimited -> distance challenge
    Challenge_FlipLimited -> flips challenge
    Hotseat_2 -> 2 player hotseat
    Hotseat_3 -> 3 player hotseat
    Hotseat_4 -> 4 player hotseat
    Practice -> practice
    Pro -> pro mode (not sure if this one works but it was in the exe)
    Classic -> classic mode

    • Thanks 1
  2. It's a spin off of zen pinball, with adult themed tables, i'm guessing they made this spin off so they don't have to change the age classifications of the normal zen pinball. From what i've read it should have cabinet support, but i did not test it yet

    https://store.steampowered.com/app/2337640/Pinball_M/

    Edit: tested, the game is nice but unfortunately no working direct table launch commands or at least the ones from pinball fx don't work. But it does have cabinet mode (best to copy your settings.xml from pinball fx over as the cabinet mode does not stick otherwise after restart)

    these should be id's of the tables (in case you want todo backglasses using ingame system)

    • Duke Nukem's Big Shot Pinball 176
    • Dead by Daylight™ Pinball 174
    • The Thing Pinball 175
    • Chucky's Killer Pinball 171
    • Wrath of the Elder Gods - Director’s Cut 147
    • Thanks 1
  3. i own retro pinball, unless something has changed it has no support for direct table launch, i looked at the game once to make a script but did not do it because the game does not support keyboard input (ONLY) for selecting and launching tables, so i never did it. In theory it is possible to create a script that simulates the mouse clicks at certain locations but this very finicky because if people use different resolutions that what the script was made for it will fail but autohotkey certainly supports simulating mouse clicks so its definatly possible but not in a generic way that would work for most people. Besides all of that the game also does not support portrait mode correctly, it seems to squish the main screen in a landscape view in portrait mode

    • Thanks 1
  4. as always test in cmd.exe i just tested it with latest version of the game and it still works fine for me. You are using the game's build in loading support right and not some old script i might have made in the past as that used different tablenames? 

    i:\Games\Steam\steam.exe -applaunch 678310 -loadTable golf

    is what i tested and it launched the table directly. Also I'm not sure but certain tables might need to be unlocked first by playing the game. I'm not certain if the loadTable command can override that, i think it started the tables but you could not choose to replay a table if you did not had it unlocked

  5. option 3 should be multiselect as i use both, so i selected game manager

    My cabinet was not made by me and windows 10 was preinstalled, it works fine and i don't want to upgrade to windows 11 because it would be too much hassle and probably take some performance away also i doubt i have a TPM 2 module on the motherboard so upgrading is not an option as it is a requirement for windows 11, i don't change whats working.

    • Like 2
  6. the scripts expects the steam version of pinball hd collection and nothing else, so the game must be installed already and steam must also be installed

    you can write in a cmd prompt were launchpinballhdcollection.Exe (from the autohotkey script) is located the following command:

    Quote

    launchpinballhdcollection.Exe [TABLEFILE]

    where you can replace [tablefile] with the following writen exactly like this:

    • wildwest
    • fantasy
    • zombie
    • deep
    • jungle
    • halloween
    • davinci
    • snow
    • arcade
    • pirates
    • redplanet
    • tanks
    • streetracing
    • dreamland
    • mafia
    • vikings

    for example 

    Quote

    launchpinballhdcollection.Exe vikings

    if you want this into batch files per game create a new text file by right clicking in explorer in a directory and choosing new -> text file. Rename the new.txt to vikings.bat (make sure you can see file extension in explorer.Exe or it won't work). The edit the batch file and place the commands inside it.

  7. On 8/19/2023 at 2:30 PM, gokwh said:

    Hello guys, I have a problem with Pinball HD Collection. I have created the bats for before and after the game, but my problem is that the backglass does not stay on the second screen, it looks like when the playfield screen rotates, the backglass stays there.
    Some help?
    These are the contents of my bat:

    REM To Rotate screen
    powershell -Command "Start-Process 'irotate.exe' '/2:rotate=90 /exit' -Verb runAs -WorkingDirectory 'C:\Program Files (x86)\iRotate\'"

    REM To show picture on backglass
    start Image_Monitor_View.exe 1 "C:\PinballX\Media\Pinball HD Collection\Backglass Images\%1.png"

    try playing with the "1" value in last command it dictates on which monitor the backglass should display. Also make sure you downloaded / got image_monitor_view.exe from my github, if you don't have the file it won't work and also make sure to set on wait on exit for the batch files to true

  8. On 7/29/2023 at 7:10 AM, Mike_da_Spike said:

    I hope that Zen will come up in a next release to launch the challenges as well from the command line.
    Those could be extended to this file
     

    Thanks for this, There used to be more game modes listed, i think all were accessible at least at the time i tried them out it and i could run all challenges but there was a typo in 2 game modes and they asked me not to disclose those 2 until they fixed it in a patch. I see they fixed the typo's now but I just tested it out and it seems they block the other game modes now so probably they are still working on it and don't allow running those until finished. Also "Pro" does not seem to work it always starts classic but Practice does work. You can see in what game mode your if you pause the game, it will list it at the top then. I'm sure the other game modes will arrive in a patch sometime soon, if takes them a while i'll ask someone from zen i talked with earlier related to these game modes (who asked me also to wait until disclosing the other names because of typo's). 

     

     

    • Like 1
  9. 3 hours ago, Mike_da_Spike said:

    Thanks for that as well. Thats makes it a a lot easier to download.
    'the location is right, only not sure about the naming, but for now, it will give a perfect match !

    Yeah i was not sure about the names as well, but i think game manager searches on table name so i think i had to use the numbers for it to find them. I don't know why zen went with the numeric way, but i figured if they 100% match it would be fine

     

    About the database, in the database i had i had also added "release year" and i used the date of availability listed here https://pinballfx.fandom.com/wiki/Pinball_FX_Wiki so not pinball FX release year, but year it first appeared in any pinball FX games, but for the williams tables i took release year of original table. I will see if i can somehow add them to your database as well and then it will be easier to add them when new tables release, as the years are kinda needed if you want to generate the topper videos (i use), using your other program

  10. I just uploaded my renamed media to the ftp to the "official location" this means you can use both game manager and mike's database manager to download the data from FTP and they will 100% match because i used the numeric game names. So it will be very easy to download the media.

    see '/-PinballX-/Media/Pinball FX' directory on ftp

    I uploaded:

    image.thumb.png.5b05d009b5d3e212a2f895c68b59dd28.png

    for wheels i uploaded Tarcisio, logo and docklet wheels, but took the docklet wheel as 100% match
    image.thumb.png.7e41e5b8f6b1d318c92d7469764247e0.png

    However it seems the names i took for the tarcisio and logo wheels do not show by default in mikes database manager but you can untick this option to see them :

    image.png.2e733479cce3333a5ef8e0c88125b2ee.png

     

    Game manager should be able to download these also but i did not test it.

     

    Table Audio is incomplete, i have not tried extracting table audio from pinball FX i know there is a way some people did it already with beta versions, but the game's data files are aes encrypted so we need the decrypt key. Also i did not do anything yet for the 3 newly released tables so their media is currently missing also

    • Like 1
  11. just offtopic and i broke it now but what were chances of this ever happening lol (that nr is total nr of posts posted) pcteknic had exactly 555 and i had exactly 777 and we even posted in same topic right after each other reaching these numbers :)

    image.thumb.png.ac46e2f6d7e2392529d2774bdb3caa28.png

    • Haha 2
  12. ok it seems there is still as in issue that pinballx closes the script, making pinballx return immediatly even though the launchafter batch file may still be running. but i have no idea how i can fix this. If games and exe's close rapidly and the launch after batch file does not take much time it will be fine, but if it the game takes a while to quit and the launch after script also takes a while it's in theory possible that pinballx has already killed the script before it can launch the launch after script or that it will return to pinballx before launch after script has finished. I have no idea how to fix this because pinballx seems to kill an application. If this is an issue for anyone and you have a spare button on your cabinet, set a different quit key in the script for quiting the games than the quit emulator key that pinballx uses and always use that key to quit the application, everything will run normally then as i don't think i can fix this issue (i tried on a few ways but if pinballx kills the process there is no way around it). Unless there is somehow a way in autohotkey to prevent the key being pressing being seen in pinballx (and the script just closes) but i can not find such option

    Edit: solution found by remapping the emulator quit key to F24 (which most keyboards won't have) and then making F24 quit the game / application. This way pinballx will never seen the emulator quit key being pressed, but the script will see it (as F24) and quit the Exe then pinballx will see the script is no longer running and return to the game selection (after the launch after script had run no matter how long it takes to run)
    I updated the script in 1st post with the changes and made new screenshots. It's absolutely vital that you set this key inside the script to your emulator quit key or the script won't work

  13. Based on @PcTeknic request  in #general to launch multiple exe's but put them inside a single system i made a new launch script that can launch .lnk or .url or .bat files  (or even .exe or .com files but it's better to create a .lnk (shortcut) file to it then). This makes it easy to put single application or games inside a single system, you can even make multiple such systems and folders if you like to group them or so.

    The way it works is you need to create a directory with shortcut or url or .bat files named like so : [game.exe].[idenitifier].lnk the [game].exe needs to be the exe filename of the program you are launching using your lnk (url or bat) file, it's the process we will monitor. The [idenitifier] can be anything you like it's been mainly added just in case you have multiple games using same [game.exe] filenames so you can still create multiple shortcut files just never use a point inside the identifier name.  For example Malzbies pinball collection exe is named PinballCollection.exe, create a shortcut (or url in this case of steam, you can use steam to create the shortcut on the desktop, in case of shortcuts to exe files, goto the folder of the exe file and right click and drag it to an empty spot and choose create shortcurt) afterwards name that shortcut "PinballCollection.exe.Malzbies.url" and copy it to your launch files folders this is also the game name you need to use inside gamemanager.

    the script will then extract [game.exe] from the filename and launch the shortcut or url or batch file, wait for [game.exe] process to start and then wait for it to stop and quit the script. You can and WILL NEED TO setup a key in the script here, being the same one as the key you use for quiting games inside pinballx. The script will then close the game and stop running. also DO NOT set process to monitor to the script.exe filename if you do that the launch after script will never work because pinballx will kill the script before it can run the launch after batch file.

    Launch before and after bat files are also supported. the script will check if [game.exe].[identifier].launchbefore.bat exits and launch it (while waiting for it to finish) before starting the shortcut. The same is applied for the launch after bat file, it checks for [game.exe].[identifier].launchafter.bat and launch that either when the game exits naturally or when you press the key i spoke of earlier (the script closes the game / exe file when you press that key and it will no longer wait on the process to end and then run the launch after script).

    this is the script:

    LaunchLnkFile.ahk

    this line you need to change the key to your quit key (same one as you use in pinballx)

    image.thumb.png.79b87bbe797b34fd6b6d24f053ea4b13.png

    This is how my launch files folder look like:

    image.thumb.png.2f9fb7c2f1807daf4d11e6718e930c06.png

    This how to set it up in pinballx (note do not put process to monitor.exe the script handles this if you do set it to the script filename, the launchafter bat file stuff will not work as pinballx will kill the script then)

    image.thumb.png.f753ae82980a399ad48a2c88de1e61bc.png

    these are the games are setup for the system inside game manager


    image.thumb.png.3bd0d08d3cd97bee728fbb96aa814f78.png

     

    If you want to add commandline parameter for some games add them to your LNK files for example:

    image.png.6fafa97b4463bfdf47fa2ba88ebad146.png

     

    if you need more control over a specific file use a [game.exe].[identiefier].bat file to launch the game and put all required commando's inside the batch file i did not test this but this should work also

     

    • Like 2
  14. 47 minutes ago, PcTeknic said:

    This is great and work fine with standart games or or many steam games.

    But some Standart or Steam games, may need prelaunch and postlaunch to mount and unmount the corresponding CD-Rom (ISO), may also need prelaunch and postlaunch to rotate the screen to portrait before and landscape after or to run scripts we already use in PinballX.

    I think it may be worth it and I will do more tests, but if we do not have the specific options for each game, as I mentioned before, an .ini with all the parameters for each game, integrating Rocket Launcher in PinballX may be the best option.

    I have to test more things over time using this launch script, it probably allows more things than I think.

    A lot of thanks for your excellent work.

    I have a version with launch before and launch after batch file support i'm currently documenting it in the user projects section will tag you

    Edit here is the link to the improved version of the script with launch before & after support as well as going around the issue if multiple exe filenames have the same name (or in case someone stumbles on this topic)

     

    • Like 1
  15. 1 hour ago, Draco1962 said:

    If yoy get this working, would you mind publishing it and use description in the User Projects subforum?

    sure will do but will first see if it suits pctechnics needs, for me at least it works but i could probably expand it a bit to do what i suggested in case multiple games use same filename for exe files as well perhaps add launch before and after batch file support

    • Like 2
  16. 49 minutes ago, PcTeknic said:

    I'll try it and tell you, although if I'm not mistaken, we couldn't put different custom parameters for each game, such as launch before or after.
    I think in most cases it would work.

    You can put the parameters inside the shortcut itself

     

    image.png.351ab467d1239988fdcffc879d6b56ea.png

    but launch before and launch after is indeed not possible but i could probably edit the script to run a specific batch file before and after launching the game but not sure if it work ok it would not be 100% the same as in pinballx (like it won't wait or at least don't know yet how to make it wait)

×
×
  • Create New...