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: Help with non-MAME emulators loading u360 plugin maps in Mala  (Read 2985 times)

0 Members and 1 Guest are viewing this topic.

nukedawg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:May 08, 2021, 10:25:12 am
I have been having a few non-MAME configuration issues with the Fatfingers U360 Mapper plugin ver1.1 in Mala.

I have MAME 0.122, MiSFiTMAME 0.113_7, PacMAME 0.58, ZiNC 1.1 and zsNes 1.51 currently installed and the plugin works wonderfully with MAME. So now for the past few days I have tried the other emulators while checking the umapper.log file to see what MAP is loading. It seems that only MiSFiTMAME 0.113_7 was loading an approriate map.

After trying PacMAME, ZiNC or zsNes I noticed that the umapper.log file showed that the plugin is not picking up anything for "Clone of:" and "Input Control:" and defaulted to the analog.ugc map.

I figured I would deal with that later but today I upgraded MiSFiTMAME to 0.122.D and now it defaults to the analog.ugc map instead of loading the correct one like 113_7 did.

I searched and found where Fatfingers posted:
Quote
the InputControl field of the MaLa event is used to determine what map to apply to the sticks... If no joysticks are in this field, then no maps are applied.
and where Swindus posted:
Quote
MaLa handles it with informations form the mame.xml and controls.ini files and sends this information to the UltraStik Plugin which loads the right config file then.

I went back to MiSFiT 113 and it again loaded the correct map . In my MiSFiT 113 folder there was no XML file or Controls.ini file so I was kind of puzzled.  :dizzy:

I decided to try to generate the XML file for 122.D with "misfit -listxml >misfit.xml" and made another named mame.xml. Still no luck so I tried modifying a controls.ini to include 1 game from MiSFiT to test and it still loads the default analog.ugc map.


I even tried to play with Mala's controller>Encoder options but it seemed confusing and also not really the correct way I guess?
Tried C:\Emulators\Mala\Maps\ultramap.exe in "encoder software" with C:\Emulators\Mala\Maps\4way.ugc as "default config(mala)" and command line set to "%config%" (using %rom% gives an error on every game). Along with these options I set
the MameConfig>encoder "encoder config file" to C:\Emulators\Mala\Maps\4way.ugc and OtherEmuConfig>MiSFiTMAME to a different map but again umapper.log shows it loaded the analog map again.  :banghead:

I am totally lost as to why 122.D does not work like the others while 113_7 MiSFiT works just like MAME does.

Is there any way to have non-mame emulators be able to load at least 1 default map other than analog.ugc and instead 8way.ugc or even somehow read an XML file to load an appropriate map like MAME does or am I stuck with having to create thousands of ugc maps?

I noticed back in January of 2007 that FF was looking into this for another poster but I did not see anything else about it.

Wheh, sorry so long....






Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Help with non-MAME emulators loading u360 plugin maps in Mala
« Reply #1 on: May 26, 2008, 07:02:00 am »
For the none emulator like zsnes, you should mightbeen creating a batch file for the emulator, so it start it up using that?

In the batch file, you can use something like this (might require correction, but you should got the idea):

Code: [Select]
c:
c:\ultramap\ultramap.exe c:\ultramap\ugc\8-way.ugc
c:\emulator\zsnes
zsnes.exe "%1"
c:\ultramap\ultramap.exe c:\ultramap\ugc\analog.ugc

and let MALA point to the batch file (bat) instead of exe.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

nukedawg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:May 08, 2021, 10:25:12 am
Re: Help with non-MAME emulators loading u360 plugin maps in Mala
« Reply #2 on: May 27, 2008, 06:44:39 am »
Thanks for the help! Umapper.log still shows it changes to the analog map but after verifying with a 2-way map all is working :applaud:

zsnes:
Code: [Select]
@Echo off
c:
cd\
cd C:\Program Files\UltraMap
UltraMap.exe C:\Emulators\Mala\Maps\8way.ugc
cd\
cd C:\Emulators\Programs\zsNes
zsnesw.exe %1
cd\
cd C:\Program Files\UltraMap
UltraMap.exe C:\Emulators\Mala\Maps\4way.ugc

Executable = C:\Emulators\Programs\zsNes\zsNes.bat
Rom Path   = C:\Emulators\RomFiles\SuperNintendo
CommandLine= "%path%\%rom%.%ext%"

Zinc (with Howard's wrapper):
Code: [Select]
@Echo off
c:
cd\
cd C:\Program Files\UltraMap
UltraMap.exe C:\Emulators\Mala\Maps\8way.ugc
cd\
cd C:\Emulators\Programs\zinc
cmd-launch7.exe %1
cd\
cd C:\Program Files\UltraMap
UltraMap.exe C:\Emulators\Mala\Maps\4way.ugc

Executable = C:\Emulators\Programs\zinc\zinc.bat
Rom Path   = C:\Emulators\Programs\zinc\roms
CommandLine= "%rom%"

Thanks again!!
 ;D