Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: reprogramming Ipac for different games (why didn't i think of this sooner?)  (Read 5169 times)

0 Members and 1 Guest are viewing this topic.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
So i've been struggling to get Injustice Gods Among Us working with the controls on my cabinet for a while now.  I have an ipac 4 that i created a custom configuration for when i first got it and then setup mame to match it.  this has been working well, until i tried to get some different PC games working.  Most of them would let me remap the controls, but sometimes they wouldn't like specific keys.  To deal with this, i've been launching these games with an autohotkey script that launches the game, remaps several keys, then checks to see if the application is still running, and closes once it isn't.  This was worked for most games, but for some reason, i just could not get Injustice to work.  I eventually just quit trying and forgot about it. 

Today, i suddenly had a realization that I was going about it all wrong.  Instead of remapping keys with autohotkey, i can simply remap the keys on the ipac itself.  I  already have a batch file to launch each pc game, since that is the easiest way to get them setup in Mala.  I just now use the WinIpac software to make custom configuration files for the games in question. then in the batch file, it loads the config into the ipac, launches the game, and then it loads the mame config back onto the when the game exits. 

I didn't have time to go through all of my pc games and mess with it yet, and i'm not sure it is going to help with MK9 since i don't beleive it allows two players to share a keybaord.(it is using some virtual xbox 360 controller program)  but it worked very well for:

Injustice
Geometry Wars
PacMan Championship Edition
Shovel Knight


i'm sure this might seem obvious to you guys, but i just realized this today and it made my setup so much easier to work with.  I just wanted post this in case anyone else was in the same situation as me.
Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #1 on: September 14, 2015, 10:49:47 pm »
You have to reload the ipac configuration each time you boot?

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #2 on: September 14, 2015, 11:00:26 pm »
no, the ipac keeps the configuration it has until you reprogram it with a different one.  i just have a few games that don't work well with my mame keyset, so i load a different keyset before launching that game, and then load my mame keyset once it exits. 

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

michelevit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 412
  • Last login:December 25, 2024, 06:57:41 pm
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #3 on: September 15, 2015, 11:18:25 am »
you need to use a programmed called xpadder. It lets you run different game profiles. You can even toggle from within the game. You can use your joystick as a mouse or even use buttons to raise, lower volume.

Give it a try and you'll be impressed.

vwalbridge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2082
  • Last login:July 31, 2021, 12:21:09 pm
  • Don't half-ass two things, whole-ass one thing.
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #4 on: September 15, 2015, 11:51:01 am »
you need to use a programmed called xpadder. It lets you run different game profiles. You can even toggle from within the game. You can use your joystick as a mouse or even use buttons to raise, lower volume.

Give it a try and you'll be impressed.

+1, Xpadder is the shiz
If you can read this, it means Photobucket's money grab ruined my signature photos.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:June 24, 2025, 11:15:21 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #5 on: September 15, 2015, 11:54:52 am »
Now you tell me...  I just got my new iPac2 with the Paclink game adapters in the mail yesterday.   :dunno  :laugh2:

Seriously though, I picked it up because of it's ability to mimic Xbox controllers natively.  I have a ton of stuff on Steam that would make things easier with those.  If all else fails I'll save it for a future Steam only widescreen pedestal cab.   :applaud:

As for Xpadder, doesn't that only work with Joysticks or HID devices (like Xbox 360 controllers)?  I don't think it works well with keyboards.  In the past I've used Hyperspin (Hyperlaunch which is now Rocketlauncher) to auto remap the keys for certain games when they load (VVVVVV was one of those games for me).  Seemed to work OK.

D
Stop by my Youtube channel and leave a comment:

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #6 on: September 15, 2015, 01:48:10 pm »
no, the ipac keeps the configuration it has until you reprogram it with a different one.  i just have a few games that don't work well with my mame keyset, so i load a different keyset before launching that game, and then load my mame keyset once it exits.

How is it stored? EEPROM? onboard Flash?

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: reprogramming Ipac for different games (why didn't i think of this sooner?)
« Reply #7 on: September 15, 2015, 02:14:34 pm »
I don't know how the iPac works. According to their webpage, it mentions having onboard flash ROM for retaining key sets

Sent from my SM-G900V using Tapatalk

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

flylear45

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:January 31, 2021, 11:55:08 am
  • I want to build my own arcade controls!
Older post but thanks for sharing your thoughts.

I am setting up my first 2 player CP with trackball using IPAC2 , and am thinking that since I will be using Retroarch for most everything outside of MAME that I will start off by remapping the problem Buttons 1,2,3 on the IPAC. Then I'll just do a general remap in MAME and pretty much be done for the bulk of what I need.

I'll be looking into KADE for future solutions I think. 

I'm uncovering a lot more than I anticipated trying to get this CP playing nice-nice after I thought I had a clue. I started using an Xbox 360 pad a year ago and none of this was an issue. LOL

You just can't play a decent game of Missile Command with anything other than MAME and a trackball, and now I am having a lot of fun with games from my youth that come back to life using proper controls. It's worth the headaches.

flylear45

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:January 31, 2021, 11:55:08 am
  • I want to build my own arcade controls!
Yeah, that didn't work. I am so sick of trying to keep up with Rocketlauncher vs. Hyperspin. It's becoming a trainwreck.