Game Font Editor for Civilization IV Download version 0.6 Here (updated 15-Aug-2012) (Original development thread here) This utility allows for easy editing of GameFont.tga and GameFont_75.tga. It eliminates the need to directly touch the grid with its alpha channel and markers, and prevents corruption of the file. It supports the BUG gamefont file and the WOC extended gamefont files. It is currently in Beta version. Change Log: Version 0.6: - Bug fix (reported by stolenrays): Scrollbar jumps to its initial position after most actions when image file is large (e.g. WOC) Version 0.5 (Beta): - Bug fix: Could not find rows if 'rows fixing' was disabled (i.e. max corrupted pixels = 0), even if no corrupted pixels were found. - Bug fix: Image type is identified even if renamed and of unusual size - looks for '75' in the file name. Version 0.4 (Beta): - Feature: Added ability to add transparency to an opaque icon: 'Alpha!' button. Transparent color is determined by the image corners, and the sensitivity can be changed using a slider. (Useful, for example, when you've found an image online: Just do a 'copy image' from the browser - no need to even save it to file - then paste it into a cell, and add transparency.) - Feature: Can run an external image editor to specific slots from within the game font editor (click on 'Edit'), and then update the slot after saving in the external editor (click on 'Update'). - Feature: Added config file which holds all the user's settings to be loaded for the next time. File is created and updated when exiting the program, and is saved in the Documents folder (or 'My Documents'). It's called Civ4GameFontEditor.cfg. - Feature: Enabled changing the background color for the font image when not showing the grid. - Bug fix: Changed UI colors to absolute colors - Bug fix: Fixed a bug that caused a crash when using 'Save As' - Bug fix: Fixed a bug where title did not change when using 'Save As' Version 0.3 (Still Beta): - Feature: Added undo/redo mechanism. There's no limit on number of actions. - Feature: Added cut/copy/paste of icons in the image. (Can also import/export that way from other applications, but it usually doesn't copy the alpha channel) - Feature: Added ability to add a 'Star Overlay' to an existing icon, to mark holy city and corp HQ. (Thanks to el_hidalgo for the star overlay textures!) - Feature: Added auto-backup for image. Happens once before saving it for the first time. Does not override previous backups. - Feature: Can optionally enable editing the actual fonts. - Feature: More settings to allow flexibilty of the auto-correction functionality. - Bug fix: Allows more flexibility for rows height and font position. - Bug fix: When clearing cell, cell image was not updated. - UI: Added tool bar icons. - UI: Added hidable settings panel. - UI: Added hotkeys: Open/Save image (Ctrl-O,Ctrl-S) Cut/Copy/Paste (Ctrl-X,Ctrl-C,Ctrl-V) Undo/Redo (Ctrl-Z,Ctrl-Y) - UI: Added more tool tips - UI: Added an exception display dialog, in case the program crashes. Version 0.2 (Beta): - Bug fix: Editor didn't work on Windows 64 bit. - Bug fix: Corrupted huge WoC font files when loaded (See note below). - Bug fix: When not showing grid, changes were not displayed. Version 0.1 (Beta): - Feature: Opening and analyzing game font files. - Feature: Exporting individual slot images from the font file to image files (TGA, PNG). - Feature: Importing image files (TGA, PNG, DDS) into specific slots in the font files. - Feature: Clearing specific slots. - Feature: Editing the cyan marker - adding/removing and changing its position. - Feature: Automatic fix of corrupted game font files. Handles bad alpha and corrupted colors on the grid. - Feature: Saving your changes to a game font file (kinda obvious). - Feature: Displaying the game font image with and without the grid. The user interface for this utility is far from pretty, and I intend to continue working on it in the future. This utility requires .NET 2.0 framework installed on your PC. Most operating systems today should already have the .NET framework installed, but just in case yours doesn't, you can download it here. Source code of the utility is packed in the downloaded file. It was written in C# and uses the FreeImage open source library for image handling (see license information below). License information: Spoiler : This software is published and used under GNU GPL, version 2. See license-gpl.txt which comes with this program. (license source: http://www.opensource.org/licenses/gpl-2.0.php) This software uses the FreeImage open source image library. See http://freeimage.sourceforge.net for details. FreeImage is used under the GNU GPL, version 2. See license-gpl.txt which comes with this program. (license source: http://www.opensource.org/licenses/gpl-2.0.php) Screen shots: Any feedback is appreciated. A note regarding the WoC fix: I added a 'max corrupted pixels' parameter which is used when loading an image. The default setting (50 pixels) seems to work fine for most files, but if you have a really corrupted file (with more than 50 corrupted pixels on a single separator line) you might want to increase that. On the other hand, if you have a very short row of slots which gets identified as corrupted lines by mistake, you might want to decrease this number.