aliens

Author Topic: Cannon Fodder remake - WE NEED HELP!  (Read 20414 times)

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Cannon Fodder remake - WE NEED HELP!
« on: March 27, 2013, 05:53:44 pm »
Hello folks.

Many of the retrogamers around here may be familiar with Sensible Software's wonderful wargame Cannon Fodder. We've recently secured the source code of an unofficial SDL fan-port made for the nintendo wii by Foxysofts, and while the gameplay code seems to be all neat and tight, this port unfortunately uses sprite and music rips and includes them directly within the package, which is borderline illegal, considering the game is still being actively sold on Good Old Games.

I've been collaborating with some of the folks of the GCW Zero crew, who have shown interest in using this code to create a universal open source port that would work with the original and legally acquired gamedata the same way OpenXcom does, in order to have it run both on their handheld and practically every other device imaginable. The problem is, we're having trouble reverse engineering the original PC data which all appears to be stored in some sort of compressed .dat file.

Given the general enthusiasm for retrogaming in this board, we were wondering if anyone would like to give us a hand with this task. We need to know how we can incorporate the original Cannon Fodder data with this engine so we're able to deliver a universal port. Would anyone around here be interested in helping us?

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #1 on: March 27, 2013, 11:05:30 pm »
I would check Amiga communities, as it's likely the format hasn't changed much from its original source, and they're familiar with sprite ripping.

I had a cursory look at the DOS files and they just look like standard uncompressed images, so I imagine anyone more experienced with this stuff could easily crack them open:

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #2 on: March 27, 2013, 11:08:08 pm »
WOW i really wish i could code... I wish you all the best for this project , please keep me informed on your progress and let me know when your at a point i can make some custom artwork and/or cstom levels , hopefully by then i will have free time again to play around.   I was looking for a open source program of this a few months back which lead me to making some artwork for myself :)
https://openxcom.org/forum/index.php/topic,743.msg7095.html#msg7095

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #3 on: March 28, 2013, 01:44:24 am »
I would check Amiga communities, as it's likely the format hasn't changed much from its original source, and they're familiar with sprite ripping.

I had a cursory look at the DOS files and they just look like standard uncompressed images, so I imagine anyone more experienced with this stuff could easily crack them open:

I already checked the amiga version and the files are uncompressed into plain easily editable spritesheets and sounds, which would be perfect, except that there's no legal way to acquire the amiga rom other than the Software Preservation Society, which requires you to have a floppy disk copy of the game, hence why we're going for PC data first. We really need to reverse engineer the pc data archive before anything else, but for the moment, the source is ours, and we managed to convince the author to license it under GPLv3, which is even better.

I already asked the amiga community for help, but so far, no dice.
« Last Edit: March 28, 2013, 01:47:03 am by Hythlodaeus »

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #4 on: March 28, 2013, 04:35:29 am »
I already checked the amiga version and the files are uncompressed into plain easily editable spritesheets and sounds, which would be perfect, except that there's no legal way to acquire the amiga rom other than the Software Preservation Society, which requires you to have a floppy disk copy of the game, hence why we're going for PC data first. We really need to reverse engineer the pc data archive before anything else, but for the moment, the source is ours, and we managed to convince the author to license it under GPLv3, which is even better.

I already asked the amiga community for help, but so far, no dice.


how do they check IF you do own the original disk? That same rule applies to all ROMS as far as i know and the risk of downloading it illegal is on the person downloading it.

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #5 on: March 28, 2013, 12:02:58 pm »
I would love to have a play around, but I won't guarentee anything. I don't even know what's happened in OpenXCOM world for the past 3+ months

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #6 on: March 28, 2013, 01:08:19 pm »
how do they check IF you do own the original disk? That same rule applies to all ROMS as far as i know and the risk of downloading it illegal is on the person downloading it.

In case of the SPS, you have to send 'em a picture of the box or the disk themselves.

I would love to have a play around, but I won't guarentee anything. I don't even know what's happened in OpenXCOM world for the past 3+ months

If you'd like to help, get a a PC/DOS copy of Cannon Fodder and get crackin' on the cf_eng.dat. That's really all we need at this point.


Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #7 on: March 28, 2013, 08:15:52 pm »
If you'd like to help, get a a PC/DOS copy of Cannon Fodder and get crackin' on the cf_eng.dat. That's really all we need at this point.

My copy of the game doesn't have a file called cf_eng.dat !?!

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #8 on: March 28, 2013, 08:24:00 pm »
Are you using the GoG version? That's the one being officially sold. I've linked the store link before, but you can also acquire it in some other ways...

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #9 on: March 28, 2013, 08:36:09 pm »
No, I've got a really old edition, I guess they must have released another version at some point.

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #10 on: March 28, 2013, 08:45:40 pm »
I'd advise you to get the GoG edition, since it's the only one that can be acquired legally nowadays.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #11 on: March 28, 2013, 08:48:58 pm »
There seem to be many versions around.

The floppy version has all the files out "in the open", all the sound effects are standard VOC files loadable in any audio program, the music is in some weird BIN files and the graphics are all in uncompressed 320x200 DATs using some Amiga-ish format. There's a bunch of other files I can't guess their purpose.

The CD version has mostly the same files but compressed into a "cf_cd.dat" archive. I assume the GoG version is similar to this.

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #12 on: March 28, 2013, 08:51:48 pm »
The GoG version has it all in a cf_eng.dat. It's best we go with that version instead of any shady pirated copies lying around the web.

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #13 on: March 29, 2013, 12:16:25 am »
really you need to support several formats , people should not need to re-buy a game just to play a opensource version.

Offline Hythlodaeus

  • Colonel
  • ****
  • Posts: 276
    • View Profile
Re: Cannon Fodder remake - WE NEED HELP!
« Reply #14 on: March 29, 2013, 12:42:37 am »
really you need to support several formats , people should not need to re-buy a game just to play a opensource version.

First thing's first. We gotta abide by the most widespread version before even considering supporting all the other ones. Besides it's probable that they all use the same file formats, only the newer versions have them stored in a .dat.