Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
55 user(s) are online (42 user(s) are browsing Forums)

Members: 0
Guests: 55

more...
Support us!
Recent OS4 Files
OS4Depot.net





Cannon fodder open source
Not too shy to talk
Joined:
2007/1/6 5:59
Posts: 328
http://openfodder.com/

If someone could check if this compile easy?

http://openfodder.com/

Could be nice to have this.

Quote:

Unix/Linux

Ports for OpenBSD and RetroPie are available, and the game should compile on most *nix distributions


   Report Go to top

Re: Cannon fodder open source
Quite a regular
Joined:
2007/2/27 10:47
From Gravity well
Posts: 648
I peeked and it comes with a Makefile for the Clang frontend. The C++ code did not compile trivially with g++ 5.3.0. It only requires SDL2 so maybe someone will do this.

   Report Go to top

Re: Cannon fodder open source
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1651
@Thematic

I've got it compiling here with gcc 8.2.0. Just some link time errors left to deal with (linker libs and so on).

   Report Go to top

Re: Cannon fodder open source
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5385
@salas00
Did you also have std::to_string errors at begining ? I have lots, and had to use clib2 to get rid of them

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Cannon fodder open source
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1651
@kas1e

Yes. I got around it by adding the following to stdafx.hpp:

#ifdef __amigaos4__
namespace std {
    
template <typename Tstring to_string(const &n) {
        
ostringstream strm;
        
strm << n;
        return 
strm.str();
    }
}


This was from a suggestion on stackoverflow.

There were also a few other missing definitions which were easier to solve, even.

   Report Go to top

Re: Cannon fodder open source
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1651
It compiles now, but apart from the intro and main menu screen it is pretty much unplayable. Also it locks up with a black screen on exit.

The code pretty much assumes a little endian CPU throughout. I've fixed some of the endianness issues but there are probably quite a few still remaining.

Current source code of port:
https://www.dropbox.com/s/67ij4jk3d1on ... nfodder-1.5.3-src.7z?dl=0

Binaries if anyone wants to test (game data files not included):
https://www.dropbox.com/s/put5wt3vc87s ... er-1.5.3-20181226.7z?dl=0

   Report Go to top

Re: Cannon fodder open source
Just popping in
Joined:
2012/7/16 17:57
From Istanbul
Posts: 90
@salass00

I have tried PC game files.

After intro and menu main screen, I get a black screen with following msg on shell

File all02.voc Not Found!

_________________
Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
   Report Go to top

Re: Cannon fodder open source
Not too shy to talk
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 411
@salas00 & @kas1e

Downloaded the windows version and it has a CAMPAIGNS drawer with some txt/json files (http://jabirulo.site90.com/temp/OC_Campaigns.lha)

It loads Amiga data files fine, but shows garbled (endian issue?)
Tested on my SAM46ex.

Just put the Campaigns drawer in OF progdir:

TiA


EDIT: INSTALL.md says
...
### Campaign Data

The campaign information was originally hardcoded in the executable, this is required to play and is downloadable alonside six demos from (https://github.com/OpenFodder/data/rel ... 1.5.1/Data.pack.1.5.1.zip).

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

Si such file/archive is needed in our port too.


Edited by jabirulo on 2018/12/26 23:23:40
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project