Is There a Way to change the Font-Size in the Scumm-Games

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
kante_1
Posts: 15
Joined: Thu Feb 15, 2007 5:29 am

Is There a Way to change the Font-Size in the Scumm-Games

Post by kante_1 »

I use ScummVM(DJWilli) for GP2x. a 640*480 Game (Course of Monkey Island)is automaticle fit to 320*240 and then, the Text is very very bad to read. Is there a way to change the FONT or the Font-Size.
:?:
THX






:oops: Sorry for my bad English
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Re: Is There a Way to change the Font-Size in the Scumm-Game

Post by eriktorbjorn »

kante_1 wrote:Is there a way to change the FONT or the Font-Size.
Not as far as I know. The fonts are part of the game data.

In theory I guess someone could create a new set of fonts, but there are no tools available for it, and no guarantee it would work anyway.
kante_1
Posts: 15
Joined: Thu Feb 15, 2007 5:29 am

Post by kante_1 »

Maybe i can edit it with a trick, like an other File-Ending (I mean it is a hidden picture file and i can edit it) or something like that
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

kante_1 wrote:Maybe i can edit it with a trick, like an other File-Ending (I mean it is a hidden picture file and i can edit it) or something like that
The Curse of Monkey Island fonts are stored in separate files. I don't have my CDs within reach at the moment, but they names are on the form fontN.nut, where N is a one-digit number.

However, they're stored in a custom format that it's unlikely that any existing paint program understands.
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

It's even more complicated: Even if you managed to replace the fonts by bigger ones, things wouldn't work very well: The whole game is designed around these specific fonts. using bigger ones would cause lots of behavior difference. for examples, text lines that used to fit would suddenly become to be big for a single line; verb texts might be moved outside the screen because they wouldn't fit anymore; etc..

In other words, it's very likely you might end up rendering the game unusable.

That (in my eyes) the main reason we never added "font scaling" code.
op_alex
Posts: 1
Joined: Fri Jul 18, 2008 5:37 am

Post by op_alex »

Another question from someone overly interested in font size :

I want to change the font sizes in Day of the tentacle.

I'm not sure, but for simplicity I'll assume that there is only one font used in this game, and that font is drawn in different sizes for different purposes. Then can I change the parts that tell the sizes in which the font is displayed in the datafiles?

I guess that this is technically possible, but I don't have any experience in programming, so my real question would be how hard it is.

I think that this is not exactly a question related to ScummVM, but to hacking Scumm datafiles, but since ScummVM does use them, I think people know the answer.


I got a tool called scummrp (thanks to the folks at lucasforums.com) and ran it on my Tentacle game datafiles (DOS/English version) in Winddows XP and it gives many files:
C:\DOTT\DISK_0001\LECF\lflf_0001\SCRP_0002
C:\DOTT\DISK_0001\LECF\lflf_0001\SCRP_0003
C:\DOTT\DISK_0001\LECF\lflf_0001\SCRP_0004
C:\DOTT\DISK_0001\LECF\lflf_0001\SOUN_0001
C:\DOTT\DISK_0001\LECF\lflf_0001\SOUN_0002
C:\DOTT\DISK_0001\LECF\lflf_0001\SOUN_0003
C:\DOTT\DISK_0001\LECF\lflf_0001\COST_0001
C:\DOTT\DISK_0001\LECF\lflf_0001\COST_0002
C:\DOTT\DISK_0001\LECF\lflf_0001\COST_0003
C:\DOTT\DISK_0001\LECF\lflf_0001\COST_0004
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\RMHD
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\CYCL
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\TRNS
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\PALS
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\RMIM
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\OBIM_0017
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\OBCD_0017
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\EXCD
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\ENCD
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\NLSC
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\LSCR_0200
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\LSCR_0201
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\LSCR_0202
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\LSCR_0203
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\BOXD
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\BOXM
C:\DOTT\DISK_0001\LECF\lflf_0001\ROOM\SCAL
etc..
Will this help?
Anotherguest
ScummVM Porter
Posts: 1423
Joined: Sun Oct 30, 2005 2:27 pm
Location: Malmoe, Sweden

Post by Anotherguest »

Allowing different zoomstates in the GP2x SDL would be much better.

For an animated scene you want to have the whole picture, text might not be that important (if you can get away without subtitles). but for ingame action where you really need to be able to read the text.

You should be able to zoom in to a 1:1 zoom factor, or somewhere in between, and then be able to panaround to read what you need.
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

op_alex wrote:Another question from someone overly interested in font size :

I want to change the font sizes in Day of the tentacle.

I'm not sure, but for simplicity I'll assume that there is only one font used in this game, and that font is drawn in different sizes for different purposes. Then can I change the parts that tell the sizes in which the font is displayed in the datafiles?
Short answer: No you can't.

A bit longer answer: Your assumption is wrong. DOTT does not use a single font; each different "font size" you see in the game corresponds to a separate font. By modifying the game scripts / game data files, or adding a hack to ScummVM, it would be possible to substitute one font for another. However, the same caveats apply as those I already explained in my previous post.
Post Reply