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: NullDC and u360 and joytokey and maximus arcade  (Read 5625 times)

0 Members and 1 Guest are viewing this topic.

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
NullDC and u360 and joytokey and maximus arcade
« on: November 16, 2008, 06:58:56 am »
i am trying to run this nulldc, the emulation works fine

i just want to do the following

in maximus arcade before i run the dreamcast emulator

switch the u360 from ultimarc to 8-way map
then load joytokey
then run the emulator

and when its done, i want to unload joytokey
and go back to analog map

how can i do this?

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #1 on: November 16, 2008, 07:04:40 am »
i can prelaunch the joytokey, or maybe start both in a batch file?
and afterlaunch batch file

but how do i disable the joytokey and i dont have 8way ugc file

in ultimap are only um files

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #2 on: November 16, 2008, 07:13:52 am »
Batch file should do it, something like the following (untested). But I don't know how Maximus works so there might be other ways to do it.

Save this as LaunchNullDC.bat and call it from your FE using "LaunchNullDC.bat [ROM]"

Code: [Select]
@ECHO OFF
start "" "C:\Program Files\JoyToKey\JoyToKey.exe" "NullDC.cfg"
"C:\Program Files\UltraMap\UltraMap.exe" "C:\Program Files\UltraMap\Maps\8-Way.um"
cd C:\Emulators\NullDC
nulldc.exe -config ImageReader:DefaultImage="%1"
taskkill /F /IM joytokey.exe

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #3 on: November 16, 2008, 07:42:29 am »
maximus arcade lets me start a batch file before starting the emulator

before launch they call it
and when i quit the emulator and it goed back to maximus it can also launch a batch file

does the joytokey have a /remove or disable option?

and how do i flip the ultramap back to analog after?

and i thought ultramap doesnt start um files?


headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #4 on: November 16, 2008, 08:04:28 am »
does the joytokey have a /remove or disable option?

No it doesn't you have to close the process using something like taskkill

and how do i flip the ultramap back to analog after?

Just run UltraMap again with a different ugc file

and i thought ultramap doesnt start um files?

If that's the case it's quite easy to create a ugc file. Just save the following file and change which profile you want for each joystick. Name it whatever you like with the .ugc extension on the end and load it using UltraMap.

Code: [Select]
# This is an Ultimarc UltraStik Game Configuration file
UltraStikGameConfigurationFileFormatVersion=1.0

UltraStik1MapFile=Analog
UltraStik2MapFile=Mouse Pointer
UltraStik3MapFile=Analog
UltraStik4MapFile=Analog

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #5 on: November 16, 2008, 08:32:41 am »
like

# This is an Ultimarc UltraStik Game Configuration file
UltraStikGameConfigurationFileFormatVersion=1.0

UltraStik1MapFile=8-way

and then save it as 8way.ugc?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #6 on: November 16, 2008, 09:01:19 am »
Pretty much but I'd have it

Code: [Select]
# This is an Ultimarc UltraStik Game Configuration file
UltraStikGameConfigurationFileFormatVersion=1.0

UltraStik1MapFile=8-Way
UltraStik2MapFile=
UltraStik3MapFile=
UltraStik4MapFile=

It might not make a difference, but that is the format, to have the four joysticks even if you only use 1 or 2. Save it as 8-Way.ugc in C:\Program Files\UltraMap\Maps.

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #7 on: November 16, 2008, 12:20:30 pm »
ok it works. but after i run it and the kill command was excuted the wireless keyboard crashes

is the kill command and strings right?

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: NullDC and u360 and joytokey and maximus arcade
« Reply #8 on: November 16, 2008, 06:21:42 pm »
taskkill is not a very nice way to close a process. I would download process.exe and use:

Code: [Select]
process -q joytokey.exe
That closes a process gracefully by sending it the WM_CLOSE message instead of forcing the process to end by killing it. It might help.