Skip to content

An attempt to modernize the Enemy Nations source code, and migrate to cmake for building. Includes every bit of source code I could locate.

License

Notifications You must be signed in to change notification settings

Bobbias/EnemyNations

Repository files navigation

Enemy Nations

Introduction

Enemy Nations Cover

Released in 1996 by Windward Studios, Enemy Nations is an RTS. The premise of the story is that you, along with several other alien races, have discovered a planet to colonize, and now you must all fight each other for the right to be the first to colonize this new planet.

The game was released as freeware in October 2005, and the game and source code was made available for download.

Structure

The source code structure currently looks like this:

compress

Source for a compression tool.

enations

Source code from one source.

enations_latest

mostly the same, but seems to be missing some parts.

makeriff

A tool for assembling the final .dat file from the various components.

sprite

A tool for working with the game’s sprites.

src/cdf

Another tool for building the final .dat file.

src/makeriff

Duplication? of the makeriff source.

tools/lib

Holds a bunch of lib files potentially necessary for building the final game and tooling.

tools/mss

Headers and libs for the required version of the Miles Sound System the game uses.

tools/smartheap

A copy of the smartheap library the game uses. This copy was taken from the Jedi Academy source, and looks to be compatible.

tools/vdmplay

A networking library that appears to be mostly in-house, although it makes use of both the Novell SDK and a library by Rogue Wave.

tools/wing

WinG, the graphics library which predates DirectX and provided high performance graphics to early Windows systems.

Project Goals and Status

The ultimate goal of the project is to modernize the source code, and remove all outdated elements. This means removing things like IPX networking, the CD requirement, and much more.

Currently, I am working on getting everything to compile with relatively minimal changes.

Known issues

  • There are many duplicate files throughout this repo.

  • ccache location is hardcoded in CMakeLists.txt

  • There are a ton of horrible hacks to try to get things to compile.

  • Only works on windows.

About

An attempt to modernize the Enemy Nations source code, and migrate to cmake for building. Includes every bit of source code I could locate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published