Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (56 user(s) are browsing Forums)

Members: 1
Guests: 104

livebyfaith74, more...

Headlines

 
  Register To Post  

Cannon fodder open source
Not too shy to talk
Not too shy to talk


See User information
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


Go to top
Re: Cannon fodder open source
Quite a regular
Quite a regular


See User information
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.

Go to top
Re: Cannon fodder open source
Just can't stay away
Just can't stay away


See User information
@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).

Go to top
Re: Cannon fodder open source
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: Cannon fodder open source
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: Cannon fodder open source
Just can't stay away
Just can't stay away


See User information
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

Go to top
Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


See User information
@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
Go to top
Re: Cannon fodder open source
Just can't stay away
Just can't stay away


See User information
@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
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project