Build Your Own Arcade Controls Forum

Main => Driving & Racing Cabinets => Topic started by: deano7649 on June 24, 2014, 03:32:03 pm

Title: Viva Nonno Emulator
Post by: deano7649 on June 24, 2014, 03:32:03 pm
So I've had this emulator setup in my Sega Rally sit down cab for a while

Couple of things though

Is there anyway to set this emulator up to accept joystick and keyboard controls ?

The steering/pedals and shifter are handled by an Ultimarc A-PAC in my cab so fine for that but I have an Ultimarc J-PAC also installed which handles the VR panel (got a START + 4 VR buttons, START as ENTER VR buttons as cursor UP/DOWN/LEFT/RIGHT)

I have edited the settings script for Viva Nonno but can't get any new changes to keyboard controls working !

Any ideas folks ?

Cheers
Title: Re: Viva Nonno Emulator
Post by: BadMouth on June 24, 2014, 04:52:33 pm
I never could get alternate keyboard mappings to take.
The program will also revert to the .ini file to all default settings if there is anything it doesn't understand in there.

I ended up using an autohotkey script to make my keys post as the default ones.
It worked fine for me using a Logitech wheel and pedals, but a key-wiz for start and view buttons.
Sounds like you have the same mappings.  I'll see if I can find the script later tonight.  (cab is currently disassembled)
Title: Re: Viva Nonno Emulator
Post by: BadMouth on June 24, 2014, 09:42:02 pm
Looks like the script I'm using only has the coin button mapped.
I've never been able to get the keyboard settings in the xml or ini file to take.
Here are the hard coded controls from the readme file:
----
Left/Right   Steering left/right
Up/Down      Shift down/up
C      Gas (Accelerator) pedal
X      Brake pedal
V      VIEW Switch (Rave Racer)

Q      SERVICE Switch (inserts a credit)
T      Toggles the TEST Switch

S      Pauses the game
Alt+Enter   Toggles the full-screen/window mode.


An autohotkey script for just remapping the coin, view, and exiting on ESC would just be:
Code: [Select]
2::Q
{LEFT}::V
Esc::
Process, Close, vivanonno.exe
ExitAPP
return

2::Q
(key you want to use::default viva nonno key that will be posted)

Here is my overcomplicated script for launching and closing the game from my front end.
(I have a different one for each game.  The number of ALT TAB lines was different for me on XP vs Vista vs Win7.
There are extra down lines to select different games IIRC)
Code: [Select]
Mousemove, -100, 1100
splashimage, LOADING.PNG, B
Run, C:\Emulators\Programs\Ridge Racer\vivanonno.exe
Mousemove, -100, 1100
WinWait, viva nonno,
IfWinNotActive, viva nonno, , WinActivate, viva nonno,
WinWaitActive, viva nonno,
Send, {ALTDOWN}s{ALTUP}{ENTER}{ENTER}
WinWait, Select System,
IfWinNotActive, Select System, , WinActivate, Select System,
WinWaitActive, Select System,
Send, {ALTDOWN}{TAB}{ALTUP}
Send, {ALTDOWN}{TAB}{ALTUP}
Send, {LEFT}{LEFT}
Send, {DOWN}
Send, {ENTER}
WinWait, viva nonno - *,
IfWinNotActive, viva nonno - *, , WinActivate, viva nonno - *,
WinWaitActive, viva nonno - *,
WinSet, Style, 10xC00000, viva nonno - *
Sleep 2000
Send, {ALTDOWN}{ENTER}{ALTUP}
splashimage, off
2::Q
Esc::
Process, Close, vivanonno.exe
ExitAPP
return
Title: Re: Viva Nonno Emulator
Post by: deano7649 on June 25, 2014, 01:42:21 am
Thanks  :)

I'll give the above a go later when I'm back in from work !