• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

openc2e/openc2e: openc2e is an open-source game engine for the games in the Crea ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

openc2e/openc2e

开源软件地址(OpenSource Url):

https://github.com/openc2e/openc2e

开源编程语言(OpenSource Language):

C++ 94.1%

开源软件介绍(OpenSource Introduction):

openc2e logo

openc2e

openc2e is an open-source game engine intended to run all the games in the Creatures series.

Games

openc2e is intended to support:

  • Creatures (1996)
  • Creatures 2 (1998)
  • Creatures 3 (1999)
  • Docking Station (2001)
  • Creatures Playground (1999)
  • Creatures Adventures (2000)

Status

Working

  • Agents (COBs) work
  • Imperfect physics
  • Creatures biochemistry
  • Sound effects

Todo

  • Actual creatures (C3+ creatures work somewhat, C1 and C2 ones don't work at all)
  • Physics improvements (Especially C3+)
  • Network ability (the Docking Station warp)
  • Serialization (world saving, creature exporting, ...)

There are lots of open issues that still need solving.

Building

Dependencies

openc2e depends on:

  • SDL2
    • SDL2_mixer
  • re2c
  • Python
  • CMake
  • Boost.Serialization (optional)

Linux

Ubuntu

On Ubuntu 18.10 and up, you'll need these packages:

sudo apt-get install \
  build-essential \
  libsdl2-dev \
  libsdl2-mixer-dev \
  cmake\
  libpng-dev \

macOS

Install dependencies using Homebrew:

brew install cmake qt

Windows

Install Python, and Visual Studio's C++ CMake Tools for Windows.

Open the folder in Visual Studio and it will automatically run CMake and set up the build system.

Compiling

Create a new build directory and compile:

cmake -B build .
make -C build openc2e -j4

Running

You should provide a path to a game's data files with the -d or --data-path flag:

./build/openc2e -d /path/to/Creatures2

The engine will try to guess the game based on files in the directory. If it can't decide, it will default to C3/DS.

Advanced Usage

To see an overview of all available options, use -h / --help:

./build/openc2e --help

Choosing a specific engine to emulate

You can tell openc2e to run as a specific game type with the -g / --gametype flag. The following values are supported:

Flag Value Games Covered
c1 Creatures 1
c2 Creatures 2
c3 Creatures 3, Docking Station
cv Creatures Adventures, Creatures Playground, Creatures Village
sm Sea Monkeys

This may be useful if you are building a minimal testing environment for a specific game engine.

For example, if you wanted to run as the C2 engine:

./build/openc2e -g c2 -d /path/to/minimaldata



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap