Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font extraction SH4 #5

Open
HessamBenAlia opened this issue Jun 13, 2020 · 1 comment
Open

font extraction SH4 #5

HessamBenAlia opened this issue Jun 13, 2020 · 1 comment

Comments

@HessamBenAlia
Copy link

how Extract the SH4 font from a file fontdata.bin ?

@belek666
Copy link
Owner

belek666 commented Jun 20, 2020

Hi
This is command line program so you can just put files fontsh234.exe and fontdata_kr.bin into same folder, open it and write cmd in path bar to get window's console. Then you have two option to extract (by writing commands to console):

  • extract single glyph (safer method): <FontFile> <FontSize> e <CharacterNumber> <tgaFile> e.g. fontsh234 fontdata_kr.bin n e 33 A.tga
  • extract multiple glyph as single texture: <FontFile> <FontSize> b <NumCharInColumn> <NumCharInRow> <tgaFile> e.g. fontsh234 fontdata_kr.bin n b 16 16 256.tga

Game actually use fontdata_kr.bin file as font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants