Jump to content
LaunchBox Community Forums

midd

Members
  • Posts

    141
  • Joined

  • Last visited

Recent Profile Visitors

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

midd's Achievements

32-Bit GPU

32-Bit GPU (5/7)

20

Reputation

  1. I can't believe I'm just seeing this. I can download them from youtube. Thanks! Here's the teknoparrot marquee as requested: https://drive.google.com/file/d/1ptNC3FENJWM_Ls2mB6Zlt8XzuKMu99eG/view?usp=sharing
  2. those X and Y analog Inc and Dec are not used by the trackball. they are for trackball games where you would be using a joystick in place of a trackball. Its best to leave those blank since you are using one. If you were using a joystick it wouyld be whatever keys you have assigned joytstick one to such as left, down, up, right.
  3. here's a decent Youtube tutorial on using a streamdeck in an arcade cabinet. Skip past the first few minutes. The rest is good and informative: https://www.youtube.com/watch?v=0rm0B1M-6Ys&list=PLvNsWRCC6ica5n4spukPjoFfyWnzcUUL6&index=147
  4. ughh its not writing to the ini after I made the switch.
  5. ok so it appears to be writing to the correct ini file. However I have a new issue. When I booted up this morning, the program lauched and identified \\.\DISPLAY2 as the primary display. But when it wrote to the ini file which was previously DISPLAY14, it put DISPLAY2 and left the 4 on from DISPLAY14 thus giving me DISPLAY24. Should I go back to this : $content = $content -replace '(DISPLAY\d{1,2})',"$primarydisplay"
  6. These are the pop ups. Is this what you are referring to? https://imgur.com/gallery/CGv6f5X Think I figured it out. I assumed the proper mame.ini file was in the ini folder. There's another mame.ini in the mame folder. That's the one. I'll edit the script and see if it changes the righ mame.ini
  7. So your program didn’t update the lightgun ini. . But I downloaded arcade64 to make some changes using the gui. I can assign the screen, display14 and it will show in the ini file, but it’s still going to the marquee if I launch it through Launchbox. If I launch the game just through arcade64, it goes to the main display. must be something with his scripts.
  8. ok it didnt change in the lightgun drive
  9. then what am I looking for when I uncomment it. I did it for both areas as you instructed and a popup window appeared for every line of the .ini file, twice so I assumed it was for read and write. I had to select ok for each line to cycle through it all
  10. yes even with the original script, 2 of my mame ini files are showing Display14. the lightgun drive mame is read only. I've tried changing the permissions to allow write but the mame folder is still showing read only. He's got it locked down. I'm waiting for a reply from him.
  11. so its reading but its either not writing or not saving after it writes. ahhh the ini folder was read only. I'll try again. ok so I use three instances of mame. 2 of them switched. Jasen Baker's Integrum Retro Lightgun drive is read only so thats a problem. I'm waiting to hear back from him
  12. I copy this and changed the pathnames to my proper folders. I'm getting the popup window of \\.\Display14 for my primary screen. But I'm not seeing the change in the mame.ini file #Set working dir to mame directory so that it can read and write the mame.ini Set-Location -Path "E:\Launchbox\Emulators\MAME Lightgun\" #Get-Location #Run mame in verbose to grab display info. Wait 1 second so the file can be written $proc = Start-Process -FilePath "E:\Launchbox\Emulators\MAME Lightgun\mame.exe" -ArgumentList "-verbose" -RedirectStandardOutput output.txt Start-Sleep -Seconds 1 $inputs = Get-Content -Path 'E:\Launchbox\Emulators\MAME Lightgun\output.txt' #Write-Output $inputs #Find primary DISPLAY $primarydisplayline = ($inputs | Select-String "\(primary\)").Line $primarydisplay = $primarydisplayline -replace '.*(DISPLAY\d).*',"`$1" Write-Output $primarydisplayline Write-Output $primarydisplay #Read in mame.ini $content = Get-Content -Path 'E:\Launchbox\Emulators\MAME Lightgun\ini\mame.ini' #Write-Output $content #Edit mame.ini mouse related lines #Update DISPLAYx with primary DISPLAYy $content = $content -replace '(DISPLAY\d)',"$primarydisplay" #Write-Output $content #Write new mame.ini file $content | Set-Content -Path "E:\Launchbox\Emulators\MAME Lightgun\ini\mame.ini" #Kill mame Get-Process -Name MAME -ErrorAction SilentlyContinue | Stop-Process -Force
×
×
  • Create New...