Skip to content

Repository files navigation

NHL95DBEditor

NHL95DBEditor is a console program for editing the database files of EA Sports NHL Hockey 95 for PC.

See the GitHub page for more details.

Development

Setup for a couple IDEs/editors is included.

IDE support

Visual Studio Code (macOS and Windows Subsystem for Linux (WSL) cross-compilation)

Install at least the clangd extension, you can find other useful extensions from the C/C++ Extension Pack.

To compile the project natively (macOS):

  1. Click Terminal > Run Build Task and choose Build NHL95DBEditor (Native).
  2. The compiled executable should be at NHL95DBEditor/target/NHL95DBEditor.

To compile a Windows executable from WSL:

  1. Ensure you have the MinGW-w64 compiler installed (sudo apt install mingw-w64 in WSL).
  2. Click Terminal > Run Build Task and choose Build NHL95DBEditor (Windows cross-compile).
  3. The compiled Windows executable should be at NHL95DBEditor/target/NHL95DBEditor.exe.

Visual Studio (Windows)

Use NHL95DBEditor-VS2015.sln for Visual Studio 2015 and newer.

Code formatting

Most IDEs should support the project's .clang-format configuration.

However, Visual Studio's smart indenting may interfere with desired indentation, but you can turn it off via Tools > Options > Languages > C/C++ > Tabs > Indenting by switching from Smart to Block.

In Visual Studio Code, you can format all files by running the Format code task (Terminal > Run Task). The task requires clang-format to be installed (e.g. sudo apt install clang-format in WSL).

You can also format all files on the command line if you have clang-format installed:

clang-format -i NHL95DBEditor/src/*.c NHL95DBEditor/src/*.h

The current files have been formatted with clang-format version 15.0.0.

Resources

The NHL95DBEditor/res directory contains some possibly useful files:

  • The original game database files (*.DB)
  • Exported player attribute files for further analysis (*.csv and *.json)

About

Edit the database files of EA Sports NHL Hockey 95 for PC on the command line.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages