Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 49

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
Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


See User information
Hi

AmiWest 2024's theme of "Get your game on!". Games were the backbone of the Amiga platform.
There was no native Cannon Fodder after AOS4. With help came an open port of Open fodder.... and @salass00's work on the previous port.
Plus the help of @Javier and @Samir
Thanks guys!!!

https://github.com/smarkusg/openfodder/releases/tag/31032024

If anyone found any bugs before publishing on os4depot thanks in advance for your help

* full version of Cannon Fodder is required to make the port fully functional

version with full installation of the original cannon fodder





Edited by smarkusg on 2024/3/31 22:22:09
Go to top
Re: Cannon fodder open source
Home away from home
Home away from home


See User information
@smarkusg

If I understand you correctly, you fixed few bugs, got it working well.
Nice work.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Cannon fodder open source
Not too shy to talk
Not too shy to talk


See User information
@LiveForIt
I only corrected a few bugs and moved to the new version 1.8. salass00 did most of the work. He left out a few bugs.
Ports are ports... anyway, most credit goes to the authors of the original versions.

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


See User information
@smarkusg

he he that's cool thanks, I tested it with the AmigaCD32 version of Cannon Fodder and it works. The mouse speed in the game could be a bit faster.

Thanks a lot

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: Cannon fodder open source
Just can't stay away
Just can't stay away


See User information
@Maijestro

Can you try if you rename the SCRIPTS drawer inside openffoder, then the mouse moves faster in game?
TiA

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


See User information
@jabirulo

Quote:

Can you try if you rename the SCRIPTS drawer inside openffoder, then the mouse moves faster in game?


Yes, that works better. Thank you

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: Cannon fodder open source
Just popping in
Just popping in


See User information
Today i tested the version from OS4Depot.

I have some GFX bugs with fonts.

Resized Image

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


See User information
@root

what grfx card do you have/use?

SDLPrefs settings? I have all to defaults.

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


See User information
Thanks for the port, Smarkusg! Well done!

By the way, GOG is having a sale with 75% discount on both Cannon Fodder and Cannon Fodder 2:

https://www.gog.com/en/games?query=cannon%20fodder&order=desc:score

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


See User information
@AmigaOldskooler

Thanks.
I hope you will have fun ..as I did. I discovered over the years that this game is not as easy as it used to be

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