Cannonball Engine (Outrun Emulator)
-
If this is a limitation you can report it to the author - https://github.com/djyt/cannonball
Or play the arcade version with mame ?
A wireless keyboard would be a useful thing to include with your bartop anyway, for maintenance etc.
-
@BuZz Thanks admin! Do you know how to set mame version outrun to automatic gear?
-
I don't think the arcade had automatic - it's only hi-lo - got to play it properly! :-)
-
@edmaul69 said in Cannonball Engine (Outrun Emulator):
Cant you just configure the controller in the game settings?
It's been a while but I believe I did the same. I did make a few tweaks to the xml directly but I think everything could have been done via the settings menu. Once I have it setup I use Winmerge a differencing and merging tool to compare files for changes after an upgrade.
@jretropie - You might press TAB and check the Dip Switch settings. I have no idea but you might find something in there as some games have a lot of settings you may change.
-
nm i am wrong
-
@BuZz said in Cannonball Engine (Outrun Emulator):
it's only hi-lo - got to play it properly! :-)
For sure, instead of braking I always used hi-lo on those hairpin turns. :)
-
@edmaul69 I think there's up and down for redefine under keyboard redefine. But no up and down for joypad redefine.
-
or Is there a way to map the keyboard's ESC key to one of the joystick button just for this game? This way, I can exit the game in cannonball.
-
Post deleted.
-
@jretropie you should be able to use joymap to configure the what your up and down axis to what you want. Question though. Do you have analog turned on in settings? I had to turn it off to get controls up and down to work for me.
-
@edmaul69 Analog is off.
<analog enabled="0">
-
@jretropie ok. I would install joymap and configure keyboard keys up and down to your controls up and down. Btw what are your up and downs read as on your controller? Then you need to add the settings for joymap to your cannonball's .sh
-
@edmaul69 I don't know how to read these result code. Here's the result when I run jstest:
http://i.imgur.com/7Z8I1zy.jpg
The last four lines is up and down
-
@jretropie ok so i think you need to map joymap to use up and down keys on keyboard to axis -1 (up) and axis +1 (down)
-
@edmaul69 Can you help me with this? what should I put in the src?
button vendor=0x0079 product=0x0006 src= target=kbd button="up"
button vendor=0x0079 product=0x0006 src= target=kbd button="down"is it like this?
button vendor=0x0079 product=0x0006 src=-1 target=kbd button="up"
button vendor=0x0079 product=0x0006 src=1 target=kbd button="down"here's the output for up and down when I run jstest:
UpEvent: type 2, time 13438880, number 3, value -32767
Event: type 2, time 13439060, number 3, value 0Down
Event: type 2, time 13441530, number 3, value 32767
Event: type 2, time 13441770, number 3, value 0 -
Somehow I end it up mapping the up and down to second joystick's buttons. Now I can work without keyboard.
I have one more question. Why cannonball emulates outrun like very pixelize?
When I run outrun in mame, I notice that it's more detail.
Is there any setting I can change to get cannonball more detail?
-
@jretropie said in Cannonball Engine (Outrun Emulator):
Is there any setting I can change to get cannonball more detail?
Check these options for widescreen and a higher resolution. The Pi has some performance issues with running <hires> on. I think you can tweak those settings from the in game Settings menu. I don't have it in front of me but I think there some angle settings but those are in the original I think. The scanline settings just well suck. I do run them but after using DaveJ's shader everything has been pale in comparison. I think mame4all-pi scanlines are ok and AdvMAME is worse than mame4all-pi except when playing vector games then AdvMAME really shines but Outrun's really leaves something to be desired.
EDIT: You might check the full screen stretch mode might be causing issues with pixelation. Also I don't know what the default resolution is for the Cannonball Engine. The MAME emulator might be set higher where it looks cleaner and less pixelated.
<video> <!-- Set Screen Mode: 0 is windowed, 1 is full-screen 2 is full-screen stretched, no borders. (Aspect ratio will be lost. Scanlines will be disabled.) --> <mode>2</mode> <!-- Enhanced Widescreen Mode --> <widescreen>1</widescreen> <!-- Higher Internal Resolution. Better Sprite Scaling, but has a performance hit. Disable for original experience. --> <hires>0</hires> <!-- Open GL Filtering for Scaling. 0 = Nearest Neighbour. 1 = Linear --> <filtering>0</filtering>
-
@jretropie i turned on scanlines for the game myself. I think even that is an improvement.
-
I managed to get the Hires setting running smoothly by using the following (moderate) overclocking settings in /boot/config.txt:
arm_freq=1300
core_freq=500
sdram_freq=500
over_voltage=2The framerate needs to be set to 30 fps though. With the framerate set to 60 fps the sound will still stutter. The Pi 3 manages to achieve ~50fps according to the optional fps-display.
Regarding the joypad "up and down issue" in the menus, I am also interested in a solution.
I have an XBOX 360 controller and I am using the left analogue joystick in "wheel mode" using the following setting:<analog enabled="2"> <!-- Select axis for analog controls You can place the accelerator and the brake on the same axis if your controller has a split axis setup. For an XBox 360 Controller, the wheel should be axis 0 and the pedals on axis 2. --> <axis> <wheel>0</wheel> <accel>2</accel> <brake>2</brake> </axis>
Usually, this is set to "0", which means that the analogue stick of my joypad would work as a digital one. The "2" setting allows much better steering control in my view.
However, setting <analog enabled="2"> also means that the left joystick is deactivated for the menus. With a setting of "0", the analogue stick would kind of work, but sometimes I am e.g. unable to move down in the menus. So I am using my keyboard instead. I really need to find a way to configure the D-PAD up and down buttons for the game menu... -
Having my pi overclocked when i set it to enhanced or hi res it either kicks me back out to emulationstation or it locks up in a matter of seconds after the race starts.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.