RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Cannonball Engine (Outrun Emulator)

    Scheduled Pinned Locked Moved Help and Support
    38 Posts 11 Posters 14.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jretropie @edmaul69
      last edited by jretropie

      @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:
      Up

      Event: type 2, time 13438880, number 3, value -32767
      Event: type 2, time 13439060, number 3, value 0

      Down

      Event: type 2, time 13441530, number 3, value 32767
      Event: type 2, time 13441770, number 3, value 0

      edmaul69E 1 Reply Last reply Reply Quote 0
      • J
        jretropie
        last edited by

        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?

        RiverstormR 1 Reply Last reply Reply Quote 0
        • RiverstormR
          Riverstorm @jretropie
          last edited by Riverstorm

          @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>
          
          1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @jretropie
            last edited by

            @jretropie i turned on scanlines for the game myself. I think even that is an improvement.

            1 Reply Last reply Reply Quote 0
            • H
              humppa
              last edited by

              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=2

              The 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...

              T 1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69
                last edited by

                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.

                H 1 Reply Last reply Reply Quote 0
                • H
                  humppa @edmaul69
                  last edited by

                  @edmaul69: What overclocking settings have you tried? In general, the overclocking potential varies a lot. Some have been running their systems stable at 1375Mhz, others are already experiencing instabilities at 1300Mhz.

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @humppa
                    last edited by edmaul69

                    @humppa i set it to your posted settings. Ive had it running at 1350mhz before this but i never found anything run any different so i removed my overclocking settings. Im going to try with an overvoltage of 4.

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      humppa @edmaul69
                      last edited by

                      @edmaul69
                      Are you using a heatsink and/or fan? I have only been using heatsinks so far, but I have just ordered a new case with a hole for a fan. I am hoping that this will allow better OC-settings. Even with my conservative settings, I have seen that the CPU is throttling after a while because temperatures are going over 82°C.
                      Besides Cannonball, I think mainly Dreamcast and N64 emulation will profit from overclocking.

                      edmaul69E 1 Reply Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @humppa
                        last edited by

                        @humppa i have a heatsink. No other system has a problem with overclocking on my system. I went full blown overclocking settings (not just changing the 3 basic settings) and had it running at 1350mhz. Only problem was when you finished a race and it went to load the map showing your distance it boots me right back to emulationstation.

                        1 Reply Last reply Reply Quote 0
                        • edmaul69E
                          edmaul69
                          last edited by edmaul69

                          so i turned off widescreen and got it to not exit back to emulationstation. the sound still is not perfect. it suffers with too much graphics on the screen and at the intro. but leaving it sitting on the start line too long it kicks me back out everytime.

                          1 Reply Last reply Reply Quote 0
                          • retrocrazeR
                            retrocraze
                            last edited by

                            Hi Guys,

                            Sorry to bump this topic.

                            I am interested in running Cannonball on my retropie and I have all of the relevant files to do so. I am just unsure on how install this on my retropie.

                            The Zip files structure looks like this:

                            res (folder)
                            roms (folder)
                            cannonball.exe
                            config.xml
                            sdl.dll

                            The roms folder contains:

                            epr-10187.88
                            epr-10327a.76
                            epr-10328a.75
                            epr-10329a.58
                            epr-10330a.57
                            epr-10380b.133
                            epr-10381a.132
                            epr-10382b.118
                            epr-10383b.117
                            mpr-10371.9
                            mpr-10372.13
                            mpr-10373.10
                            mpr-10374.14
                            mpr-10375.11
                            mpr-10376.15
                            mpr-10377.12
                            mpr-10378.16
                            opr-10185.11
                            opr-10186.47
                            opr-10188.71
                            opr-10189.70
                            opr-10190.69
                            opr-10191.68
                            opr-10192.67
                            opr-10193.66
                            opr-10230.104
                            opr-10231.103
                            opr-10232.102
                            opr-10266.101
                            opr-10267.100
                            opr-10268.99

                            Do I copy the entire zip file to:

                            /home/pi/RetroPie/roms/ports/cannonball

                            ???

                            Any help would be appreciated.

                            Chris

                            jonnykeshJ 1 Reply Last reply Reply Quote 0
                            • jonnykeshJ
                              jonnykesh @retrocraze
                              last edited by

                              @retrocraze Install through the RetroPie setup script. manage packages > optional > cannonball. This will then show up in the Ports section.
                              make sure the ROM you have is the Rev B version. This is not outrunb.zipIt is just named outrun.zip.
                              Unzip and place the individual files (31 of them) in the /home/pi/RetroPie/roms/ports/cannonball/ folder along side the roms.txt file. Open the roms.txt to ensure your files match those needed.
                              Restart Emulation Station. Play

                              1 Reply Last reply Reply Quote 0
                              • T
                                ts-x @humppa
                                last edited by

                                @humppa said in Cannonball Engine (Outrun Emulator):

                                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=2

                                The 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...

                                This solution corrected the drift problems I was experiencing with my Xbox360 controller as well. Has anyone since come up with a workaround to address the resulting joystick menu deactivation (aside from using a keyboard)?

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  luckyluca @ts-x
                                  last edited by

                                  @ts-x said in Cannonball Engine (Outrun Emulator):

                                  @humppa said in Cannonball Engine (Outrun Emulator):

                                  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=2

                                  The 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...

                                  This solution corrected the drift problems I was experiencing with my Xbox360 controller as well. Has anyone since come up with a workaround to address the resulting joystick menu deactivation (aside from using a keyboard)?

                                  I'd be interested in a solution as well.
                                  At the very least it would be great to map ESC to the joystick in order to quit the game without navigating the menu with analogue on.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  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.