Skip to content

keeganatorr/openfodder-switch

 
 

Repository files navigation

Open Fodder for Nintendo Switch

Port of Open Fodder to Nintendo Switch.

Screenshots

Screenshot1 Screenshot2 Screenshot3

Controls

Keys Controls
D-Pad or Analog Move Mouse
A or ZR Click
B or ZL Fire
X Speed up cursor
Y Swap alt weapon
Click+Fire Use alt weapon
Plus Pause
Minus Show map preview
Minus+L Decrease window size
Minus+R Increase window size
Plus+Minus Go back

Setup

Requires a copy of Cannon Fodder (DOS or Amiga, Amiga files work better)

[DOS]: https://www.gog.com/game/cannon_fodder

[Amiga]: http://www.whdownload.com

Download this archive https://github.com/OpenFodder/data/releases/download/1.4/OpenFodder.zip. And extract the contents of OpenFodder/ to /switch/openfodder/ on your Nintendo Switch SD card.

  • [DOS] Copy 'CF_ENG.DAT' from the CD (or the GOG install destination) to the /switch/openfodder/Data/Dos_CD folder.
  • [Amiga] Copy the contents of 'cf_data' into the /switch/openfodder/Data/Amiga directory.
  • Copy openfodder-switch.nro to /switch/openfodder/ and boot the game through the homebrew launcher.

Bugs

  • DOS sound effects dont work.
  • DOS has small graphical issues where the screen trys to scroll past the top left when you reach that area in a mission.

Compiling

Install DEVKITPRO.

Run make

make -j8

Special Thanks

  • DEVKITPRO
  • The developers of Open Fodder
  • Sensible Software

Original Readme

About

Cannon Fodder is an action-strategy shoot 'em up game developed by Sensible Software and published by Virgin Interactive.

The game is military-themed and based on shooting action but with a strategy game-style control system. The player directs troops through numerous missions, battling enemy infantry, vehicles and installations.

Open Fodder is an open source version of the Cannon Fodder engine, for modern operating systems.

Map Editor

See OpenFodder Editor for a map editor for Windows.

Media

Open Fodder 1.4 Video
Open Fodder 1.3 Video - Custom: Segra's First
Open Fodder 1.3 Video - Amiga Format Special
Open Fodder 0.8 Video
Open Fodder 0.7 Video
Open Fodder 0.6 Video
Open Fodder 0.5 Video
Open Fodder 0.3 Video
Open Fodder 0.2 Video
Open Fodder 0.1 Video

How to play

Open Fodder supports two demos from the Amiga platform, and 3 retail releases (See below for supported versions).

Hot Keys
  • +: Increase Window Size
  • -: Decrease Window Size
  • F11: Full screen
  • ESC: Back Menu/Abort Phase
Windows

The Windows version of Open Fodder defaults to using and installing to the location '%USERPROFILE%/Documents/OpenFodder'.
While the demos will be installed as part of the package, you will be required to copy a full retail release into this folder (following the instructions below)

Linux / Unix

Open Fodder will check the environment variable $XDG_DATA_DIRS and iterate each path checking for the Data Folder "/OpenFodder/".
Failure to locate the folder in these paths, will result in a check of $HOME/.local/share/OpenFodder.
Failure on this path, will fall back to the current working directory.

Campaign Data

The campaign information was originally hardcoded in the executable, this is required to play and is downloadable alonside two demos from (https://github.com/OpenFodder/data/releases/download/1.4/OpenFodder.zip).

This data is packaged with the Windows Installer, but will be a required download if you're compiling / running on Linux/Unix.

Purchasing the retail release

Cannon Fodder can be purchased from Good Old Games, this version is fully supported.

Supported Versions

Retail
Dos CD Version

Copy 'CF_ENG.DAT' from the CD (or the GOG install destination) to the OpenFodder/Data/Dos_CD folder

Amiga

Use the WHDLoad installer on an Amiga or an emulator (WinUAE/UAE) to extract the game files from the original floppy disks, then copy the contents of 'cf_data' into the OpenFodder/Data/Amiga directory.

Amiga CD32

Copy the files from the 'Fodder' folder on the CD-Rom, to the OpenFodder/Data/Amiga_CD folder. For the final video, Extract Track2 from the CD and name it 'Track2.mpg', placed in the Amiga_CD folder.

  • Please note: The video playback is not yet supported
Demos

Two demos are included in the data pack.

  • Amiga Format Issue #53: Christmas Special (Cannon Soccer)
  • Amiga Power Issue #31: Cannon Fodder Plus
Unsupported Versions
Cannon Fodder 2

Not officially supported. While the game can start and is playable, it has no music or sound support and some graphics will be missing and/or wrong.

Original Engine Bugs

Issues in the original engine which have been fixed

  • Squad 2 and 3 grenade and rocket count did not refresh after use.

Thanks To

Sensible Software, for the original game
Alessandro Petralia, for his valuable testing
ScummVM, for the Amiga sound routines

About

Open Fodder: An open source port of Cannon Fodder

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.3%
  • Other 0.7%