Package for transcoding font table files used in Diablo II.
Report Bug
·
Request Feature
The font table transcoder for Diablo II is a Go package that provides functionality to decode and encode font table files used in the popular game Diablo II.
This package also includes both command-line and graphical applications, extending its utility and ease of use.
Before using the applications found in cmd/
, ensure that you have installed
Go 1.16 or a later version, and that your Go environment is correctly
set up. To install the applications successfully, you will also need to define
$GOBIN
and add it to your $PATH
environment variable. Here's how you can
do it:
export GOBIN=$HOME/.gobin
mkdir -p $GOBIN
PATH=$PATH:$GOBIN
Once $GOBIN
is defined and added to your $PATH
, you can easily build and
install all apps located in cmd/
with the following commands:
# Clone the repository and navigate to the directory
git clone http://github.com/gravestench/font
cd font
# Build and install inside $GOBIN
go build ./cmd/...
go install ./cmd/...
With the installation completed, you should now be able to run the applications
inside cmd/
directly from the command-line, such as font-view
.
The Font repository follows a similar project structure to other transcoder
libraries. The ~/pkg/
directory houses the core font transcoder library,
while ~/cmd/
includes subdirectories for each CLI/GUI application that can be
compiled.
Contributions to the project are highly appreciated. If you wish to contribute, follow these steps:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request