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: UltraStik Mapper: vjoy2way?  (Read 7565 times)

0 Members and 1 Guest are viewing this topic.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
UltraStik Mapper: vjoy2way?
« on: October 08, 2008, 01:16:38 am »
I'm just getting started with this plugin and trying to understand if I actually need to do any configuration. I created the umapper.log file to see what it's doing, picked pooyan, and started the game. It doesn't seem to be picking 2way.ugc as I'd expect. Is it looking for vjoy2way.ugc? I'm not sure, but it's failing to pick the right map.

Code: [Select]
EVENT: Game start (ROM: 'pooyan', CLONE OF: '', CONTROL: 'vjoy2way')

_build_mapname: Built map file name: 'd:\mala\Maps\pooyan.ugc'
_file_exists: Seeing if file 'd:\mala\Maps\pooyan.ugc' exists
_file_exists: 'd:\mala\Maps\pooyan.ugc' does not exist
_get_mapname: did not locate rom name map file: 'd:\mala\Maps\pooyan.ugc'
_get_mapname: empty cloneof
_get_mapname: locating map by control type: 'vjoy2way'
_get_mapname: did not locate control name map file: 'd:\mala\Maps\pooyan.ugc'
_build_mapname: Built map file name: 'd:\mala\Maps\M.A.M.E. v0.126 (Aug 23 2008).ugc'
_file_exists: Seeing if file 'd:\mala\Maps\M.A.M.E. v0.126 (Aug 23 2008).ugc' exists
_file_exists: 'd:\mala\Maps\M.A.M.E. v0.126 (Aug 23 2008).ugc' does not exist
_get_mapname: did not locate emulator map file: 'd:\mala\Maps\M.A.M.E. v0.126 (Aug 23 2008).ugc'
_build_mapname: Built map file name: 'd:\mala\Maps\default.ugc'
_file_exists: Seeing if file 'd:\mala\Maps\default.ugc' exists
_file_exists: 'd:\mala\Maps\default.ugc' does exist
_get_mapname: located default map file: 'd:\mala\Maps\default.ugc'
_file_exists: Seeing if file 'd:\mala\Maps\default.ugc' exists
_file_exists: 'd:\mala\Maps\default.ugc' does exist
_run_ultramap: command line '"C:\Program Files\UltraMap\ultramap.exe" "d:\mala\Maps\default.ugc"'
_run_ultramap: '"C:\Program Files\UltraMap\ultramap.exe" "d:\mala\Maps\default.ugc"' completed successfully
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #1 on: October 08, 2008, 09:03:14 am »

Hello.  I see I missed the vjoy control option in the plugin, so that's why it's not locating the file.  I will have to get an update out for this, but it may be a while due to kid #3 arriving any day.  In the meantime, if you create pooyan.ugc in the maps directory, and set the correct map to use in that file (I'll look for the correct map name later, if you can't figure it out).

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #2 on: October 08, 2008, 11:17:03 am »


2-Way, Up & Down.um

is the name you'll want to put into your pooyan.ugc file.

Let me know if you need more help.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #3 on: October 08, 2008, 11:43:31 am »
Sounds simple enough. There was one thing I couldn't figure out from the log info. It says "couldn't find pooyan.ugc" twice, and the 2nd time I think it is actually trying to find the control type ugc, so I think the log string is writing the wrong thing. But what I was wondering is if I could just create a vjoy2way.ugc so that other games of that type are covered too?

Thanks, and congratulations on #3!
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #4 on: October 08, 2008, 11:57:30 am »

As it turns out that 2nd did not find pooyan.ugc is a relic from not looking for and finding the 2way it's supposed to be finding (but has no code to find it), so you'll just have to ignore that.  At this point in time creating the vjoy2way.ugc will not work.  When the fix is written, that will be the exact solution that you will want, but until the code actually looks for vjoy2way.ugc, creating it will not help you out.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #5 on: October 08, 2008, 01:08:04 pm »
Would it not be a good idea for it to not have hard coded control names that it supports, but just take the control name and look for <control name>.ugc?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #6 on: October 08, 2008, 01:54:57 pm »

Perhaps.  I don't quite remember the reason I did it the way I did, but I think it was because of the joy4way and dualjoy4way type of things where I wanted to simplify it to just 4 way.

 :dunno

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #7 on: October 08, 2008, 02:36:46 pm »
I can understand that, though the downside to having duplicated ugc files is really small (because they're nothing more than pointers to the um files, right?). But more importantly, I think having a 1 to 1 correspondence between control types and ugc files (using the control type name as the file name) would make trying to understand what the plugin is doing easier (particularly for a new user). Plus it would eliminate the possibility of some other control type being missed.

Just my 2 cents. :)
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: UltraStik Mapper: vjoy2way?
« Reply #8 on: October 08, 2008, 03:56:24 pm »
Slightly off-topic question... Do you notice a difference when using the maps loaded by UltraStik Mapper vs. letting Mame map the stick for you? I imagine there are subtle differences, and in a few games maybe not-so-subtle. But I am wondering if you can tell a difference in everyday use?

I have (so far) only tried the U360s using mame's mapping. I leave them in analog mode and let mame (v126 I believe) do the mapping for me.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #9 on: October 08, 2008, 04:57:49 pm »
I'm interested in knowing that too! I was thinking about asking it, but I decided just to try the ultramaps first to see if I could notice a difference.

My biggest concern is that I have swappable panels, so I just hope that when I switch to my single mag stik joystick panel, I don't get an error message or a long delay on game start/end due to my u360's not being plugged in.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #10 on: October 08, 2008, 06:42:30 pm »
Slightly off-topic question... Do you notice a difference when using the maps loaded by UltraStik Mapper vs. letting Mame map the stick for you? I imagine there are subtle differences, and in a few games maybe not-so-subtle. But I am wondering if you can tell a difference in everyday use?

I have (so far) only tried the U360s using mame's mapping. I leave them in analog mode and let mame (v126 I believe) do the mapping for me.

I don't know that anyone has reported a difference.  I think the winning point of the plugin is that you can customize the maps to exactly what you want them to be.  Other than that I'm guessing there's not that big of a difference.  Note that I too, have not tried the MAME mappings.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

Todd H

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 658
  • Last login:August 26, 2024, 02:23:32 pm
  • It's Gameday!
Re: UltraStik Mapper: vjoy2way?
« Reply #11 on: October 14, 2008, 03:09:04 pm »
Slightly off-topic question... Do you notice a difference when using the maps loaded by UltraStik Mapper vs. letting Mame map the stick for you? I imagine there are subtle differences, and in a few games maybe not-so-subtle. But I am wondering if you can tell a difference in everyday use?

I've been testing Mala as a possible front-end for my cabinet and have been using an X-Box 360 controller to play games until I order U360's. I tested out MAME's mapping of analog controllers. I fired up Ms. Pac-Man to see if controlling it with the 360 controller's analog stick would be an exercise in frustration. Amazingly enough, it worked like a charm. I think I made it through four mazes before losing a man. There didn't seem to be any dead zones.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #12 on: October 14, 2008, 03:45:49 pm »
Yeah, we do know that mame handles analog joysticks properly. It's a question of whether the ultrastik maps do a better job for your average game.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Todd H

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 658
  • Last login:August 26, 2024, 02:23:32 pm
  • It's Gameday!
Re: UltraStik Mapper: vjoy2way?
« Reply #13 on: October 14, 2008, 04:10:17 pm »
Yeah, we do know that mame handles analog joysticks properly. It's a question of whether the ultrastik maps do a better job for your average game.

I am aware of that. And as soon as my U360's arrive, I'll see if it's any different. Just noting my observation with a standard analog stick.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #14 on: October 14, 2008, 04:46:04 pm »
Gotcha. It is nice that you don't have to use the ultrastik maps!

Look forward to your assessment. I haven't had much chance to get started with the mapper plugin yet so I'm still relying on mame translation.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #15 on: October 25, 2008, 01:00:07 am »
So I'm actually starting to use the mapper plugin. Just out of curiosity, any progress on fixing the vjoy2way problem? I know you're probably busy with baby, so no pressure!

Since there's nothing worse than having to break out your keyboard and mouse because a game isn't working properly when you have friends over, I am hoping for reasonable reassurance that I cover all cases reasonably well, if not ideally. So I'd like to know what the mapper plugin doesn't cover properly out of the box? For instance, I think I have to copy qbert.ugc to congo.ugc for congo bongo (right?). Are there other games people have found aren't covered out of the box?

Maybe fatfingers can include congo.ugc and any other ugc's for any other games people report as not being covered well in the next plugin update?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: UltraStik Mapper: vjoy2way?
« Reply #16 on: October 25, 2008, 11:53:54 pm »
Gotcha. It is nice that you don't have to use the ultrastik maps!

You don't if using a late-enough mame version. Before that controls feature, you do have to.

Why don't you ask if you can pick it up from him? You do have some coding experience. (I have zero...unless you include a saturday class back in....'80, maybe, where we had to pick a language and then type in a page's worth of commands. I never got zero 'diagnostics', so have no idea what the result was supposed to be.)
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #17 on: October 26, 2008, 03:11:27 am »
Maybe I would (though I have no idea if he even wants that!), but I've just got too many projects right now. It's not like there is a major problem that I can't get past.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #18 on: October 26, 2008, 12:24:19 pm »

Hey guys.  I do have a new version that's probably ready for testing...but it's at work and not at home where I'll be for the next week or so.  I may try to remote into work to grab it and if so I'll post it here for people to try.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: UltraStik Mapper: vjoy2way?
« Reply #19 on: October 26, 2008, 12:51:44 pm »
Thanks fatfingers. No big deal if I have to wait. I asked about an update before I saw your birth announcement, and I was assuming that had happened a week or 2 ago. Enjoy your baby and don't worry about us! ;)
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #20 on: October 26, 2008, 12:55:29 pm »
:)

I will still try to get the update out at some point when the baby is napping and the other kids are at school (yeah...right).

:)

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: UltraStik Mapper: vjoy2way?
« Reply #21 on: October 28, 2008, 09:55:48 am »

Wrong thread.  Never mind.
« Last Edit: October 28, 2008, 11:47:07 am by fatfingers »
My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: UltraStik Mapper: vjoy2way?
« Reply #22 on: October 29, 2008, 07:35:20 pm »
Groovy. When you can is cool.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.