Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > Defining big charsets
2020-06-08 23:21
Flotsam

Registered: Jan 2004
Posts: 81
Defining big charsets

Hiya all, I'm back with more noob questions. So, I'm making a font with each letter being X*11 characters in size. X being 2-4, so variable width. I have a bitmap with all letters and I know it'll take 93 with equal char packing. The problem is, CharPad has a limit of 7x7 characters for tiles and I don't know any other programs that would let me do tiles from a bitmap (with automatic indexing). Do I need to do this by hand or write my own tool, or is there something that can do this?

Bottom line: I need a proggy that'll let me organise an indexed bitmap into tiles of 4*11 size (or preferably variable size). If the same proggy does the indexing too, even better. Does such thing exist?
 
... 3 posts hidden. Click here to view all posts....
 
2020-06-09 00:54
TWW

Registered: Jul 2009
Posts: 541
Just make a charmap with 4 x 11 x # of characters (the 1 x 11 still takes 4 x 11). You can then easily extract the charmap from the … charmap. letter A = 11 x 4 x 1, B = 11 x 4 x 2 etc.

Then you just make a table for the variable width which cuts off the "less than" 4 chars wide characters.
2020-06-09 07:58
Flotsam

Registered: Jan 2004
Posts: 81
Good ideas on how to do the indexing on my own, thanks. So it seems there's no specialised tool (yet) to do this...
2020-06-09 10:46
Oswald

Registered: Apr 2002
Posts: 5017
Mega Logo Converter V1.2

Heigh-Ho Converter V1.0

these can convert a bitmap to charset+ screen. heigh ho can even fix a color to a bitpattern.
2020-06-10 08:59
Flotsam

Registered: Jan 2004
Posts: 81
Thanks for the suggestions. I decided to write a C# program to do the reorganising of data and indexing, that way I have full control over the final result.
2020-06-10 13:26
Walt

Registered: May 2004
Posts: 47
Charset-Maker V1.0 was made for this exact scenario...
2020-06-10 20:45
Smasher

Registered: Feb 2003
Posts: 512
I'd use pixcen.
2020-06-10 21:28
Joe

Registered: Apr 2002
Posts: 224
PixCen is great for defining not only big screens, fonts, scrolling images and other things (animations). Use it!
2020-06-11 07:48
Flotsam

Registered: Jan 2004
Posts: 81
Shit, I thought Pixcen wouldn't accept anything beyond 320px. SHOULD HAVE TRIED! :D

Anyway, I already did a C# program which takes in a png and generates the lookup tables exactly as I want them and also automatically slices the tiles where all bytes vertically have their least significant bit set to zero. And of course does the equal char packing too. Didn't take long to code and now I can adjust the output format exactly as I like it.

Still, good to know that Pixcen isn't limited to 320x200... typical me to assume such a thing and not test it. :)
2020-06-11 09:25
Smasher

Registered: Feb 2003
Posts: 512
yes Flotsam, you can set any size with PixCen.
for big or huge chars I suggest to create a 256 (or multiple of 256) wide area.
If your font is char mode you save the screen RAM and in your code you have to deal with low byte only.
2020-06-11 09:26
HCL

Registered: Feb 2003
Posts: 716
So, you did it the right way then :). Save it for later!
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
grennouille
Andy/AEG
Guests online: 91
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.046 sec.