Skip to content
Snippets Groups Projects
Commit b35dc358 authored by eleriaqueen's avatar eleriaqueen
Browse files

Clean text up and add newlines to some blocks of text

parent f04c77bd
Branches
No related tags found
1 merge request!2Complement guide and readme with bits of info, clean them up and improve layout
......@@ -7,12 +7,16 @@ How to Make a font for Diablo II quickly and without any Kerfuffle
This will apply for font16 but you can use this guide for all the others
## Choose a font and make a bmp out of it
## Choose a font and make a bmp
Get your font from anywhere you want, make sure it includes diacritics/accents. Install that font to your computer.
On the Internet you can find tools to convert otf/ttf fonts to bitmap. My Preferred one being Bitmap Font Builder.
In it you can open your font, set the foreground to a specific d2 palette RGB value. (Change font size to match the font you want to make).
Align it to the left, or else you will have issues. Then make a 8bit 256*256 pixel bmp out of it.
Align the font to the left, or else you will have issues. Then make a 8bit 256*256 pixel bmp out of it.
Font smoothing option often makes for a more pleasing result.
[Useful pics](https://imgur.com/a/yJqIoRR)
......@@ -20,8 +24,13 @@ Font smoothing option often makes for a more pleasing result.
## Make a PCX
Converting your BMP to PCX is rather easy with tools like "Paint.net" or "The GIMP".
Make adjustments to your PCX, whether it is character tweaks, or color adjustments. I use Paint.net with 'recolor using palette' plugin [(Found here)](https://forums.getpaint.net/topic/111468-recolor-using-palette/) in order for my font to be later displayable by the game using unit palette.
Make adjustments to your PCX, whether it is character tweaks, or color adjustments.
I use Paint.net with 'recolor using palette' plugin [(Found here)](https://forums.getpaint.net/topic/111468-recolor-using-palette/) in order for my font to be later displayable by the game using unit palette.
A plugin to export to PCX may also be needed. [(Found here)](https://forums.getpaint.net/topic/2135-pcx-plug-in/)
Here's the grey-scale UNIT palette (as RGB values):
* white: 196 196 196
* grey 1: 156 152 148
......@@ -39,9 +48,12 @@ I don't really know if using a white 255 255 255 makes a lot of difference. If s
## Set the unit palette to your PCX
Launch Dc6Creator, select the unit palette on the left before doing anything, then import your pcx, and export it back as a pcx, which essentially applies the palette to the image.
This is your base file now. You will only need to modify this pic if you need to make adjustments.
Now, every time you make any modification to your pcx, you need to convert it to a dc6 with Paul syramy's "dc6 font" tool. Tip : just drag and drop your pcx/dc6 to the exe to convert one way or the other, no need to make a BAT file for each.
Now, every time you make any modification to your pcx, you need to convert it to a dc6 with Paul syramy's "dc6 font" tool.
Tip : just drag and drop your pcx/dc6 to the exe to convert one way or the other, no need to make a BAT file for each.
# Make your font file
......@@ -52,6 +64,7 @@ Thanks to Gamemaster's D2FontEditor (tools) you can very easily make a font out
Simply start the program, make a new d2font file, and import your font image dc6. Now you can adjust offsets, preview your font.
Sometimes you might come across some graphical bugs with your font, for instance random dots all over the character space. [like this](https://imgur.com/a/CoU2juq)
This is because you have some characters bleeding onto the others. Move your characters around in their alloted spaces or simply delete those pixels to fix the issue, it is your call.
The square preview on the right have red lines indicating offsets, click and drag them around to adjust spacing between characters.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment