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.
Setup for a couple IDEs/editors is included.
Install at least the clangd extension, you can find other useful extensions from the C/C++ Extension Pack.
To compile the project natively (macOS):
- Click Terminal > Run Build Task and choose Build NHL95DBEditor (Native).
- The compiled executable should be at
NHL95DBEditor/target/NHL95DBEditor.
To compile a Windows executable from WSL:
- Ensure you have the MinGW-w64 compiler installed (
sudo apt install mingw-w64in WSL). - Click Terminal > Run Build Task and choose Build NHL95DBEditor (Windows cross-compile).
- The compiled Windows executable should be at
NHL95DBEditor/target/NHL95DBEditor.exe.
Use NHL95DBEditor-VS2015.sln for Visual Studio 2015 and newer.
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/*.hThe current files have been formatted with clang-format version 15.0.0.
The NHL95DBEditor/res directory contains some possibly useful files:
- The original game database files (
*.DB) - Exported player attribute files for further analysis (
*.csvand*.json)