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

jdmclark/gorc: Early-development Jedi Knight: Dark Forces 2 game engine recreati ...

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

开源软件名称:

jdmclark/gorc

开源软件地址:

https://github.com/jdmclark/gorc

开源编程语言:

C++ 97.5%

开源软件介绍:

Gorc

Build Status Coverage Status Coverity Scan Build Status

Gorc is an early-development Dark Forces II game engine recreation. The goal of the Gorc project is to replace the original game executable, allowing the original singleplayer and multiplayer levels to be played on new platforms.

Developing

Dependencies

  • Standard C++14 compiler (GCC 7)
  • CMake 3.8 or better
  • SFML 2.1
  • Boost
  • Gcovr 3.2
  • Dark Forces II

Quick Start

Building

  • Build the entire project from the project root:
cmake -DCMAKE_BUILD_TYPE=Release .
make -j4

Testing

The test harness is an executable named boc. It was built as part of the previous step, and is located in the pkg/bin directory.

  • Run all tests: run boc test from the project root.

or

  • Run a subset of tests: run boc test from a component source directory.

or

  • Run a specific test: run boc from the test directory.

Test Coverage

Gorc uses the gcov coverage tool. The Gorc build system provides special options for coverage report generation. Use the following command to quickly generate a complete coverage report with an instrumented build.

  • Run boc test coverage-report from the project root.

The Gorc project has adopted a 100% line coverage policy to encourage the development of highly testable code. The test coverage report must show 100% line coverage before any code changes will be accepted.

Running

One-Time Setup

Before running Gorc, you must copy your Dark Forces II original episode and resource directories into the game directory in the root of this repository. Gorc will not work without these directories. This step only needs to be done once.

Run Client

Gorc does not currently allow you to play through the levels normally. You must manually specify an episode GOB and a level filename on the command line.

For example, to play the first level you would run:

pkg/bin/client --episode game/episode/jk1.gob --level 01narshadda.jkl

Other episodes and levels can be played by using appropriate --episode and --level options.

If you do not know the level filenames inside an episode, you can use the included gob utility to list them:

pkg/bin/gob --file game/episode/jk1.gob --extract episode.jk



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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