Author Topic: fonttool.exe  (Read 20940 times)

0 Members and 1 Guest are viewing this topic.

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Managed to get the fonttool working in Windows with the current FSO codebase. The kerning tool works and saves but I haven't tried importing a PCX file yet.

I'll post the source files and project files if we choose to integrate this into the SVN repo.

Extract it into your root FS2 folder. Fire it up through the command line interface.

http://www.megaupload.com/?d=1LN2DPMI

  

Offline Angelus

  • 210
  • The Angriest Angel
Could you please upload it somewhere else?
Megaupload keeps telling me that i've downloaded already several megabytes already and that i have to wait, although i didn't download anything there.
Thx in advance.

 
doesn't work for me. still crashes

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
doesn't work for me. still crashes

Need some more details. Were you trying to use the kerning editor or importing a PCX?

Also, be aware that the PCX file needs to be in 8-bit color.
« Last Edit: March 02, 2010, 11:19:33 am by Swifty »

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Could you please upload it somewhere else?
Megaupload keeps telling me that i've downloaded already several megabytes already and that i have to wait, although i didn't download anything there.
Thx in advance.

You know, I think Megavideo, and that *other* Mega- site all count together I think :)

Edit:  Mirrored @ Fonttool for Windows
« Last Edit: March 02, 2010, 11:21:27 am by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Angelus

  • 210
  • The Angriest Angel
Could you please upload it somewhere else?
Megaupload keeps telling me that i've downloaded already several megabytes already and that i have to wait, although i didn't download anything there.
Thx in advance.

You know, I think Megavideo, and that *other* Mega- site all count together I think :)


Can't be the reason. :)
And thx for the mirror.
« Last Edit: March 02, 2010, 02:40:56 pm by Angelus »

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
Thanks for porting this to windows...

If I run Fonttool in it's own folder, it won't work at all.
Editing vf files and saving them works if I have Fonttool in my FS2 root directory or if I copy over sparky_fs2.vp.
It crashes when I try to create a font from a PCX file, regardless of whether it is in it's own folder or not.

For those curious, here's a sample font that should work with Fonttool if you convert it to PCX:

EDIT: PCX Uploaded
« Last Edit: March 02, 2010, 03:05:57 pm by Talon 1024 »
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Thanks for that sample font data. I did a few fixes and compiled a new build that fixes the crashing when importing a PCX file.

http://www.megaupload.com/?d=Y0WKV06J

As for why it only works when in your FS2 folder, it's because this build is based off of the FS Open codebase and uses gr_init and os_init to initialize the graphics and window. gr_init looks for various files native to FS2 retail.
« Last Edit: March 02, 2010, 03:42:46 pm by Swifty »

 
I tried kerning. I don't care about converting a pcx into a vf font. That always worked with the tool. What never worked was the kerning because it can't load up the rendering engine for that.
If I try that with this version it crashes without any message just like any other version of it. So sorry I can't give you any more information.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Excellent work Swifty. :)

Does this run in windowed mode?  If not, can you try doing that?

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
It exclusively works in windowed mode right now. I just set Cmdline_window to 1 before calling os_init and gr_init.

Quote
I tried kerning. I don't care about converting a pcx into a vf font. That always worked with the tool. What never worked was the kerning because it can't load up the rendering engine for that. If I try that with this version it crashes without any message just like any other version of it. So sorry I can't give you any more information.

Is FontTool.pcx in data/interface? Is the exe running in a directory that has sparky_fs2.vp?

 
Is FontTool.pcx in data/interface? Is the exe running in a directory that has sparky_fs2.vp?

What the heck is sparky_fs2.vp?

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
You know, the file that includes the hi-res interface art for FS2 retail, among other things? That is part of almost every install of FS2 I have ever seen?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Is FontTool.pcx in data/interface? Is the exe running in a directory that has sparky_fs2.vp?

What the heck is sparky_fs2.vp?

Win.

That is part of almost every install of FS2 I have ever seen?

Unless it's broken :P
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Even the broken ones had it. Granted, not usable sometimes, but still....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
OK. then I need to find someone with a FS2 installation.
You guys have considered that someone MIGHT be using FS_open without havin FS2 installed, right?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
But not that someone would be developing for FS2_Open without the means to verify that their changes won't break with retail data, or that you would have such little knowledge about said data...
« Last Edit: March 08, 2010, 03:02:56 pm by chief1983 »
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
I've prepared a VP which should allow fonttool to run on it's own without having sparky_fs2.vp in the fonttool directory.  Download it here.

BTW Keldor, what version of DirectX do you have? I am thinking your problem is related to DirectX...
« Last Edit: March 08, 2010, 02:48:31 pm by Talon 1024 »
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 
But not that someone would be developing for FS2_Open without the means to verify that their changes won't break with retail data, or that you would have such little knowledge about said data...

I couldn't care less about retail data.

 
I've prepared a VP which should allow fonttool to run on it's own without having sparky_fs2.vp in the fonttool directory.  Download it here.

BTW Keldor, what version of DirectX do you have? I am thinking your problem is related to DirectX...

Nope. that vp doesn't help me. I had the files contained in it already anyway.
and about DirectX.. erm... first of all, I have DX11. Second... I thouht this one was compiled against the new code.lib. code.lib works exclusively with OpenGL now
Or do you mean some directInput issue or whatever is causing it?