Roy of Superior Art Creations archive
Category : PROGRAMMING

thumb

A Little .FNT Tool for Programmers

Categories: EDUCATION, PROGRAMMING, Tools
Tags: ,
Comments: No Comments
Published on: August 31, 2014
  I saw this format first in the source code of an earlier version of PabloDraw by Curtis Wensley aka Eto and found it very useful. I saw it again used for a EGA/VGA DOS Font collection from 1992 by Joseph (Yossi) Gil (fntcol16.zip), which also comes with a set of tools, such as BREAKCPI.COM, which breaks the current EGA.CPI into fonts or DUMPFONT.COM, which is another tool to extract system fonts. The fonts are naturally all bitmap fonts, mono-spaced and monochrome (black/white). The size per character is usually one of the following (Width X Height in pixels): 8×8, 8×14 or 8×16 pixels. The font files in the collection by Joseph lack the “HEADER” though, meaning the width and height information are not part of the file. He simply used the file extensions “Fxx“, where “xx” specified the height (width wasn’t needed, because all his fonts had the same width (8 pixels)). Since I added a header to all the fonts in his collection and made it part of mine, you don’t have to worry about that anymore. However, if you happen to use one of his tools to extract new fonts, you can add a header very easily by using the DOS command: “copy /b Fxx.BIN + FONTFILE.FNT NEWFONTFILE.FNT“ “Fxx.BIN” should be one of the files from this archive , depending on the font HEIGHT, e.g. F08.BIN or F16.BIN. But enough of this and lets get to the actual stuff here. The .FNT file format that I am introducing[…]
thumb

TheDraw Fonts File (.TDF) Specifications

Comments: No Comments
Published on: April 23, 2014
I spend quite some time on my “FONTS COLLECTION” for the MS DOS ANSI/ASCII Text Editor “TheDraw“. The font file is in binary format and I wondered how it is structured to maybe write later some tools around it, like a Font Viewer for Windows, Converter to and from ANSI and stuff like that. Note that this is not an official specifications document, I reverse engineered it by testing, so there might be cases I am unaware of, although I am pretty confident that I covered everything about it. “TheDraw” Fonts Files have the extension “.TDF” (which is short for “TheDraw Font” duh :)). One .TDF Fonts file is by default designed as a “collection” of multiple fonts, even if it only holds a single font (like after exporting a single font to an extra file). It can hold up to 34 fonts. More are not possible, if used with TheDraw itself or with it’s external TDFONTS.EXE Fonts Editor utility. An empty fonts file without any font in it yet is always 232 bytes in size. The actual character data are always stored after those 232 bytes and can vary in size, depending on the size, type and complexity of the font characters. Every additional font added to the collection is 212 bytes long if without any character data. Font Header OffsetLengthDescriptionSample Value 0 1 Character 19 (13h) 13 1 18 Fix String TheDraw FONTS file 19 1 Character 26 (1Ah) 1A 20 4 Fix 4 Bytes Sequence Indicating the[…]
thumb

OSDM VOBJ and OBJ Vector Objects Tool V3.2Beta Release

Categories: OSDM, PROGRAMMING, TOOL, Tools, VOBJ
Tags:
Comments: No Comments
Published on: August 2, 2010
Although my last post was also about a VOBJ/OBJ tool release of mine, I decided to post another, because I made a significant amount of changes and additions to it to warrant giving it this kind of exposure and attention hehe. I suggest reading the previous post ???OSDM .VOBJ and .OBJ Tool V3.0Beta Released???, if you are interested in the general subject of ???Oldskool Demomaker??? by Testaware, 3D Vector graphics and Geometry math etc. You can download Version 3.2B of my tool at?????? http://www.roysac.com/files/Roy-VOBJTOOL32B.zip Also check out the included release intro RoySAC.com.exe hehe. You can find additional tools, resources and my own OSDM productions at the OSDM section of web site. There you will also be able to find always the latest version of my VOBJ/OBJ Vector Object Tool for Oldskool Demomaker. So what???s new since my release of Version 3.0B? Here is the list of changes and additions, including comments and notes to the individual item. Version 3.1B General NEW– Version History records started UPD ??? Documentation extended (see especially “Last Notes” section) Main Tool UPD ??? Intersecting Polygon Detection Redone NEW ??? Color Optimization also includes removal of not used Colors Tools Section NEW ??? VOBJ to Wavefront OBJ Converter NEW ??? VOBJ to Renderware RWX Converter UPD ??? New Version of Triangles to Quad Merger UPD ??? Polygon Reduction Tool (own class now) NEW ??? Switch to derive Output File Name+Path from Input File UPD ??? Renderware (RWX) to VOBJ Converter Tool Offset Input no longer necessary[…]
thumb

OSDM .VOBJ and .OBJ Tool V3.0Beta Released

Categories: OSDM, Personal, PROGRAMMING, TOOL, Tools, VOBJ
Tags:
Comments: No Comments
Published on: July 19, 2010
For everybody who does not know about my tool (und thus its previous versions) a quick introduction that everybody will know what I am talking about :). I will also talk about much more than just my tool, but general problems and research projects in regards to vector graphics for OSDM and in general actually. Vector Graphics in Oldskool Demomaker The demoscene tool ???Oldskool Demomaker??? by Peace of Testaware to create oldskool style intro and demo?? productions like in the good old days supports vector graphics. Very basic with little more than some fake light shading of flat-shaded quad polygon-vector objects with only a limited number of faces and data points (the number 1.000 is what you could call the border-line area for the size of the mesh. Less than 1.000 okay, above that, may be, may be not. try!) Unfortunately is the format for the mesh definitions not a standard one or something used by any 3D modeling software that I know of (still looking for the one,?? that was used to borrow the mesh layout from, if there is any). This makes it very hard to create or change any vector objects. The definition is in readable text format and not binary, but that???s not unusual for this kind of data. It does not help much with making changes to it, because what???s missing is the visual element (in 3 dimensions) , which is of the utmost importance. Looking at the columns of numbers for data points and[…]
Welcome , today is Wednesday, December 4, 2024