View Full Version : Symbian DosBox - unreadable font workaround



ppsx
13th March 2009, 18:27
This is the most simple way (well, I think so, 'coz I can't rebuild exe from sources ;)) to make DosBox readable.

After analysing dosbox sources I've found that font definitions are in int10_memory.cpp:
* Bit8u int10_font_08[256 * 8]
* Bit8u int10_font_14[256 * 14]
* Bit8u int10_font_16[256 * 16]

By default Dosbox uses 'int10_font_16' - 8x16 font.
So I've extracted 256*16 bytes of data from dosbox.exe and edited it in simple raster font editor. Then I've replaced old font definitions with new and... Yes! :) I can uderstand NC ;)

The idea was simple: DosBox uses 640x480 screen (stardard VGA), my E66 uses 320x240. In my phone I can see only 1/4 pixels.
I've had to modify fonts from 8x16 -> 4x8 (yes, so small...).
Look:


________
________
___*____
__***___
_**_**__
**___**_
**___**_
*******_
**___**_
**___**_
**___**_
**___**_
________
________
________
________

And now:


________
________
__**____
__**____
**__**__
**__**__
**__**__
**__**__
******__
******__
**__**__
**__**__
**__**__
**__**__
________
________

And on the phone it looks like:


____
_*__
*_*_
*_*_
***_
*_*_
*_*_
____


Attachment contains:
* dosbox.f16 - raw 8x16 font data (original) - for those, who can make better-look fonts (my are readable, but rather ugly...),
* dosbox-m.f16 - raw 8x16 font data (modified),
* dosbox.exe - 4 modified (each in separate dir - new/old->full/slim) doxbox.exe files.

You only need to copy appopriate dosbox.exe version to c:\sys\bin folder with any file manager. But before you overwrite, make a copy of the old file!!!

That's all, folks ;)


BTW. I've changed only most important fonts: A-Z a-z 0-9 !#$%^*()_+-=[]{}'"/?<>,.|\

FlopyDisc
13th March 2009, 20:42
Hmm ... if i overwrite dosbox.exe version in c:\sys\bin folder with modified .exe from this page i cannot run anymore DosBox from phone menu(...security reasons ...)?!
Solution?!?

kismos
13th March 2009, 21:30
Hmm ... if i overwrite dosbox.exe version in c:\sys\bin folder with modified .exe from this page i cannot run anymore DosBox from phone menu(...security reasons ...)?!
Solution?!?
I`ve the same problem I`think that this is bed solution..pzdr

ppsx
13th March 2009, 22:04
Hmm ... if i overwrite dosbox.exe version in c:\sys\bin folder with modified .exe from this page i cannot run anymore DosBox from phone menu(...security reasons ...)?!
Solution?!?

Be sure to use proper version of modified exe - the same as you installed.
Maybe you're right - maybe this is security reasons - I'm not a specialist...
All I can say, that for my hacked E66 and old DosBox version (2009-02-15) it works flawlessly (look at attached jpg).

Mushhushshu
13th March 2009, 23:06
Also same security reasons error for me, I'm using dosbox updated full version, definately picked the right .exe too.

kismos
13th March 2009, 23:19
In the newer version of dosbox the font in Norton Commander is good and i can read it. and i shouldn`t do anything

abc_to_xyz
13th March 2009, 23:39
Still useless... NO proper keypad support and it eats RAM.... But thanks for this font anyway....

bchliu
14th March 2009, 00:46
Still useless... NO proper keypad support and it eats RAM.... But thanks for this font anyway....

hahah.. you've been saying this for your last ten posts.. Why not just upgrade your phone to the 8GB version, E71 or just forget the idea in the first place?

I've got the N95 classic too - but given up the idea of running W9x on it.. rather run it on my E71 since the keyboard functions much better along with more RAM anyway.

ppsx
14th March 2009, 01:42
Hmmm... I've signed my DosBox.sisx before installation with developer certificate. Maybe that's why it works for me and not for you?

Piratezx
14th March 2009, 07:13
I had trouble to read text on my dosbox,so i will try this font. Thank u m8 . .

efn70
14th March 2009, 14:42
working perfect in me N81 :D

ppsx
14th March 2009, 15:57
working perfect in me N81 :D

Nice to know that I'm not alone :)

sojus
14th March 2009, 20:42
Hello.

I have n95 8gb, but i cant acces to sys directory? any help?

It's hacked...

combat341
14th March 2009, 21:46
Capsoff (security off) alow you acces to sys directory

boykhmer
15th March 2009, 09:36
It Security Reason. Cannot run dosbox after overwrite the modified file. I use Slim Version.

boykhmer
15th March 2009, 09:37
how to solved this problem?

CybOrk
17th April 2009, 00:49
I have tried to change a font in DosBox and too have faced an security reasons error. To establish the patched EXE file, it is possible to create a new SIS installer.
For this purpose it is possible to use YAMGui.
Here is link ([Only registered and activated users can see links])
It is my first installer, it is not assured that will approach all, but may be help anybody. I'm select the full DosBox 0.72 from 2009-03-05, this installer is build for Nokia E90.
Note: Remove the previous version of DosBox before installation of the patched file.

P.S.: sorry for my bad English

machitza
22nd April 2009, 11:33
it's readable now .... thanks !

firedragon77
18th July 2010, 18:48
The problem I have now is that the mouse does not seem to work with the attached exe. The green call button does not activate the mouse. Does anybody know what program to use to replace the font in another version of dosbox.exe with working mouse?