Git Product home page Git Product logo

cannonball's Introduction

Cannonball - OutRun Engine

See Reassembler Blog.

Credits

  • Chris White - Project creator.
  • Arun Horne - Cross platform work.

Getting Started

Cannonball has been successfully built for Windows, Mac OS X, Linux, Open Pandora and the Raspberry Pi.

  • Install your favourite C++ environment (e.g. GCC, Visual Studio, Xcode, MingGW etc.)
  • Install CMake. This generates your platform and compiler build files.
  • Extract the Boost Library somewhere, for example: c:\coding\lib\boost_1_51_0
  • Extract the SDL Library somewhere, for example: c:\coding\lib\SDL-1.2.15
  • Read the SDL documentation & compile the SDL Library for your system.
  • Windows only, download and install the Direct 8.1 SDK
  • Extract the Cannonball code somewhere, for example: c:\coding\cannonball
  • You may need to create a .cmake file for your system to configure specific options. See the cmake subdirectory for more details. If not, the default.cmake file will be used.

Build

  • Run CMake to generate the relevant build files for your compiler. You can optionally pass -DTARGET=filename to pass a custom .cmake file
  • Compile using your chosen compiler. Further details below.

mkdir build
cd build

Non-IDE (e.g. straight GCC)

cmake -G "Insert Generator Name Here" ../cmake
make

MinGW

cmake -G "MinGW Makefiles" -DTARGET=mingw ../cmake
mingw32-make

Visual Studio 2010

cmake -G "Visual Studio 10" ../cmake

Mac OSX

cmake -G "Unix Makefiles" -DTARGET:STRING=macosx ../cmake
make
  • Copy SDL.DLL and the roms subdirectory to the build directory.
  • Right click the 'cannonball' project in the IDE and choose 'Set as StartUp project'.
  • You can then compile, debug and run from Visual Studio as expected.

Run

  • Copy the OutRun revision B romset to the roms subdirectory. Rename the files if necessary.
  • Copy or link the roms subdirectory to whereever your executable resides.

ln -s ../roms roms
./outrun

Building SDL-1.2.15

Darwin

./configure --prefix=~/SDL-1.2.15/build --disable-assembly

MinGW

See: Setting up MSYS MinGW build system for compiling SDL OpenGL applications.

Execute the below commands from the msys environment.

./configure --prefix=/mingw --enable-stdio-redirect=no
make
make install

cannonball's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cannonball's Issues

Settings don't save despite the game saying they're saving.

Dunno if you're still updating this, but I've encountered a minor issue with my settings not saving properly. Windows 7, latest version of the core. The config.xml (which is in the default RetroArch directory instead of the cannonball folder?) says that my settings are correct, but every time I boot the game, high-res mode is turned off, etc. The desktop version linked below works just fine, so it's something about this core not reading the XML correctly.

Also, if you weren't aware, this fork seems to be better updated since I don't think the original dev is working on this anymore.

https://github.com/J1mbo/cannonball

This desktop version that you can grab pre-compiled here seems to be based on that. It has more features, the credits function works properly, it has the widescreen tilemap, etc.

https://retroreloader.itch.io/outrun86coast

Can not rebind gamepad correctly

Per default, my gamepad is configured in an awkward way. Left is "insert coin" (which, btw, will insert all 9 credits instantaneously), right is "select item / start", Start is "Gear" etc (these description relations are: My Gamepad "Function in game"). Right Shoulder button will return to menu.

I can rebind these in the RetroArch GUI, but some have effect, some don't. I can not move gear away from start button, for example. I can not move "start" and "insert coint" to "start" and "select" buttons, away from the D-PAD. However, I can move the "return to menu" -key (which can be quite intrusive in the shoulder button as that is way too easy to press accidentally).

The game is very awkward, almost impossible to play.

tilemap.bin and tilepatch.bin not loading in the correct folder

[libretro ERROR] Cannot open file: res/tilemap.bin
[libretro ERROR] Cannot open file: res/tilepatch.bin
Is the error I get

For some reason its looking for the folder/files for the widescreen patch in Retroarchs home folder instead of the content directory

Working example: C:\Users\jetup13\AppData\Roaming\RetroArch\res
https://i.imgur.com/vd6s8EN.png

Non-working: C:\Users\jetup13\AppData\Roaming\RetroArch\downloads\CannonBall\res
https://i.imgur.com/NjrJfAK.png

This needs to be moved to the content directory

Freeze in RA for WiiU

Hi,
The core freezes after the initial menu.
In the setup file, when I bypass the menu, the core freezes at launch
I'd like so much to play Outrun with Cannonball Enhancements on my WiiU :)
If you need more information, ask me. I'll do my best to help you.
Thank you in advance

Optional gfx patches not loaded from rom path

Cannonball can optionally use two binary files for fixing some graphics in widescreen mode. Conveniently, these files can be downloaded with the Retroarch content downloader which downloads these files and other instructions. These files are packaged in a directory called res/ which is a subdirectory in the directory where the Outrun roms should be placed.

The issue is that the core does not load the files in res/, unless the current working directory where Retroarch is run from is the same directory where res/ is.

The core should search for res/* in the same directory where it is loading roms from.

Noticed on Retroarch Linux from Testing PPA on Kubuntu 18.04.

No custom music in Retroarch

I have been trying to add custom music tracks to Cannonball in the Windows main Retroarch release, and no paths used, or config.xml details seem to trigger custom tracks. Is this a feature in the Retroarch core?

Cannot re-bind Gear using quickmenu->controls

Gear only works if I leave it at the default map to A and X button. If I go to quickmenu->controls and try to remap Gear to any other button, it doesn't work.

I can remap other buttons fine, e.g. Change View, Coin etc. those all can be remapped. But not Gear.

Crashes upon selecting Play Game on Wii U

I have the core files from CannonBall.zip (had to extract manually because extracting archives seems to be nonworking on Wii U) and a verified revision B romset. I can see the Cannonball menu, change my video and audio settings, etc. But as soon as I select "Play Game" the whole system locks up and I need a hard power off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.