Author Topic: Cannonball (Outrun engine)  (Read 4358 times)

gameblabla (OP)

  • **
  • Posts: 586
Cannonball (Outrun engine)
« on: July 08, 2015, 08:34:12 pm »
I have ported Cannonball, a game engine to play Sega's Outrun game !

To play it, extract the outrun roms here (it needs to be extracted, not a zip!) :
/media/home/.cannonball/roms
Then install the opk like any gcw0 games.
(Put the opk in /media/data/apps/)

Controls
A - Accelerate
B - Break
Y - Put coins in
L shoulder - Gear change
R shoulder - Change viewpoint
Start buttion - Start the game
Select button - Menu

Download link
« Last Edit: May 25, 2018, 01:00:10 pm by gameblabla »

opt2not

  • *
  • Posts: 198
Re: [WIP] Cannonball (Outrun engine)
« Reply #1 on: July 08, 2015, 09:04:27 pm »
Thanks for this, I'll check it out when I get home today and report back how it runs on my unit.

i would like to point out though, running Outrun at 60fps was one of the main reasons to go with the Cannonball engine.  Any chance you can add that option back in?


gameblabla (OP)

  • **
  • Posts: 586
Re: [WIP] Cannonball (Outrun engine)
« Reply #2 on: July 08, 2015, 09:23:54 pm »
Thanks opt2not, can't wait to see how well it runs on the real device !

Quote
i would like to point out though, running Outrun at 60fps was one of the main reasons to go with the Cannonball engine.  Any chance you can add that option back in?
Yes, i will bring back but only if Cannonball is running smoothly on the GCW0.

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: [WIP] Cannonball (Outrun engine)
« Reply #3 on: July 09, 2015, 04:53:52 am »
Thanks opt2not, can't wait to see how well it runs on the real device !

Quote
i would like to point out though, running Outrun at 60fps was one of the main reasons to go with the Cannonball engine.  Any chance you can add that option back in?
Yes, i will bring back but only if Cannonball is running smoothly on the GCW0.

I will test it out tomorrow. Would love to see outrun at 60fps.

EDIT: I tested it out. It runs slow but im sure it can be optimized. Right now the sound lags and the controls are sluggish. Its not running at 30fps yet. I'm sure you will figure it out
« Last Edit: July 09, 2015, 05:05:16 am by qbertaddict »

opt2not

  • *
  • Posts: 198
Re: [WIP] Cannonball (Outrun engine)
« Reply #4 on: July 09, 2015, 07:54:45 am »
Got to try it out tonight, and got it working no problem.
Yeah, its running slow for me too.  I think I got a couple frames back from turning the objects to `Original` in the Game Engine->settings, but it still was sub-30 fps for sure.
Music was choppy in both during the game, and in the music test in the Settings Menu.

But hey, not bad for compiling blind. :)

Can I make a request? Could the rom folder be changed to be in /media/home/.cannonball/roms, instead of stranded outside? Keeps that folder more tidy and everything together.  ;)

gameblabla (OP)

  • **
  • Posts: 586
Re: [WIP] Cannonball (Outrun engine)
« Reply #5 on: July 09, 2015, 09:14:49 pm »
Guys, i have finally found the reason why it was so slow.
I had no idea why it was so slow, even a Raspberry pi can run it at 30 FPS with no issues what so ever....
It turns out, 32 bpp on the GCW Zero is slow.

When i turned the depth to 16, it was much, much faster. It ran at like, 60 FPS.
However, the output was incorrect so the game was unplayable.
Cannonball was designed to work only in 32 bpp so i'll have to modify
the source code in order to have the correct output.

I have no idea how to do that so i'll just ask the author to help me.
Hopefully he's still around... If not, i might ask ptitseb instead.

Can I make a request? Could the rom folder be changed to be in /media/home/.cannonball/roms, instead of stranded outside? Keeps that folder more tidy and everything together.  ;)
I already did that, it will be in my next release.

EDIT:
I have updated Cannonball.
This release should be a little faster : I used some optimisations from ptitseb, and i turned triple buffering on.
This is still not my final release, next release should run smoothly enough.
As requested by opt2not, you should now put your roms in /media/home/.cannonball/roms.
I have reintroduced the ability to change the framerate: fastest is 30 FPS and the slowest is 60 FPS.
« Last Edit: July 09, 2015, 11:56:27 pm by gameblabla »

Xaijiqq

  • *
  • Posts: 408
Re: [WIP] Cannonball (Outrun engine)
« Reply #6 on: July 10, 2015, 06:07:31 am »
i didn't try the previous release but this latest one suffers from severe screen flicker

gameblabla (OP)

  • **
  • Posts: 586
Re: [WIP] Cannonball (Outrun engine)
« Reply #7 on: July 10, 2015, 06:29:22 pm »
i didn't try the previous release but this latest one suffers from severe screen flicker
Yeah, that's probably due to the triple buffering.
Anyways, i updated it again and turned it off.

gameblabla (OP)

  • **
  • Posts: 586
Re: Cannonball (Outrun engine)
« Reply #8 on: October 10, 2016, 12:00:22 am »
Hello guys !
The Cannonball team has made some improvements since then and they made an OpenGLES accelerated version that could be used on the GCW0.
So i have decided to make my port from scratch and base it on the latest git version.
As a result, the game now runs smoothly at 30 FPS !

It's still isn't smooth enough at 60 FPS, especially when you start a race, but at least you can enjoy the game.
I dare to say it should run smoothly on Cannonball than on XMAME now.

Do go check it out if you're a fan of Outrun !
« Last Edit: October 10, 2016, 03:45:46 am by gameblabla »

Mar8

  • *
  • Posts: 103
Re: Cannonball (Outrun engine)
« Reply #9 on: October 10, 2016, 04:03:21 am »
  You're the man! @gameblabla

howie_k

  • *
  • Posts: 152
Re: Cannonball (Outrun engine)
« Reply #10 on: October 10, 2016, 07:24:16 am »
Wow! My fave arcade racer - I have Cannonball on my PC and am stoked you have made it available on GCW Zero - thank you! :)

opt2not

  • *
  • Posts: 198
Re: Cannonball (Outrun engine)
« Reply #11 on: May 24, 2018, 08:00:54 pm »
I've been playing this a bunch lately, I really love it.

Is there anyway of configuring the sensitivity of the Analog nub when you enable Analog Steering?

gameblabla (OP)

  • **
  • Posts: 586
Re: Cannonball (Outrun engine)
« Reply #12 on: May 25, 2018, 01:01:34 pm »
I've been playing this a bunch lately, I really love it.

Is there anyway of configuring the sensitivity of the Analog nub when you enable Analog Steering?
Do you mean the Centre axis or the deadzone ?
Or maybe you mean it steers too fast from right/left ?

Pushed an update that merged changes from upstream and added the possibility to set the centre axis.

opt2not

  • *
  • Posts: 198
Re: Cannonball (Outrun engine)
« Reply #13 on: May 25, 2018, 08:15:51 pm »
I've been playing this a bunch lately, I really love it.

Is there anyway of configuring the sensitivity of the Analog nub when you enable Analog Steering?
Do you mean the Centre axis or the deadzone ?
Or maybe you mean it steers too fast from right/left ?

Pushed an update that merged changes from upstream and added the possibility to set the centre axis.
Yeah I think it steers too fast.  It's like it goes to 100% from center to left or right, even when you're only pushing about a quarter of the way to it's restriction point.  I believe the deadzone is fine, it engages when you slightly push on the analog nub, but it ramps up really quickly with just a tiny amount of additional pressure.

I will give this version a try and see if there is any difference in feel.  Thanks for the update!

opt2not

  • *
  • Posts: 198
Re: Cannonball (Outrun engine)
« Reply #14 on: May 27, 2018, 06:27:10 am »
Played a bunch of this, and it feels a bit better.  I set the sensitivity setting to 0, but I'm still not able to use a wider analog range before it kicks into full left or right steering.

 

Post a new topic