font graphic problem

Lugar donde se intentarán resolver problemas específicos
Responder
Mo990
Mensajes: 9
Registrado: 09 Jul 2012, 21:42

font graphic problem

Mensaje por Mo990 » 20 Feb 2014, 12:56

Good morning I would like to graphically move these characters from this file

[img]http://oi58.tinypic.com/qozhpk.jpg[/img]

in this file

[img]http://oi57.tinypic.com/14mte6t.jpg[/img]

I wanted to know which procedure to perform and serve as program
sorry for my bad English :\

Avatar de Usuario
gadesx
Administrador
Administrador
Mensajes: 1984
Registrado: 24 Ene 2011, 16:43
Ubicación: El puche
Contactar:

Mensaje por gadesx » 20 Feb 2014, 14:46

Can you export the image to a bmp?
with crystal tile you can select a mask and copy?

Avatar de Usuario
CUE
Administrador
Administrador
Mensajes: 5520
Registrado: 24 Ene 2011, 16:52

Mensaje por CUE » 20 Feb 2014, 15:21

You can't use the tiles from the first image. I known the game (One Piece Giant Battle 2, Nintendo DS) and the font file, opjkfont.aft, uses tiles with width=16 pixels, but you are using 8 pixels in your modified font.

The game font (warning, the game uses more fonts):
[img]http://s25.postimg.org/mp77ahynz/opjkfont.png[/img]

Mo990
Mensajes: 9
Registrado: 09 Jul 2012, 21:42

Mensaje por Mo990 » 20 Feb 2014, 19:19

ok I been that I should change the width of the characters (I'd say a good idea for my project), and what I'm wondering is, where do I find the code that tells me that the characters are of width 16?
sorry for my bad English :\

Mo990
Mensajes: 9
Registrado: 09 Jul 2012, 21:42

Mensaje por Mo990 » 20 Feb 2014, 20:28

let's assume that doing some test to be able to modify the graphical part of the letter (in fact I see the character in the game cut off), but where do I change the width of the characters? I have to change the code at the beginning of my file table
sorry for my bad English :\

Avatar de Usuario
CUE
Administrador
Administrador
Mensajes: 5520
Registrado: 24 Ene 2011, 16:52

Mensaje por CUE » 21 Feb 2014, 09:14

Maybe changing a byte in the header. I have some info:

Código: Seleccionar todo

AFT structure:
- 4 bytes, "ALFT"
- 4 bytes, ???
- 1 byte, tile width
- 1 byte, tile height
- 2 bytes, ???
- 2 bytes, number of tiles

- 2 bytes, code (until 0), codepage 932???
- 2 bytes, code, codepage 932???
- 2 bytes, ???

- 4 bytes, "DSIG"
- X bytes, ???

- X bytes, font raw data
Try modifying the 9th byte, the width.

Mo990
Mensajes: 9
Registrado: 09 Jul 2012, 21:42

Mensaje por Mo990 » 22 Feb 2014, 14:02

Good morning everyone, I tried to change the CUE as you told me and it works,
[spoil][img]http://oi57.tinypic.com/foewqa.jpg[/img][/spoil]
the characters are halved, now I'm wondering, what program it is easier to draw the pixels of each letter of the alphabet??
sorry for my bad English :\

Mo990
Mensajes: 9
Registrado: 09 Jul 2012, 21:42

Mensaje por Mo990 » 01 Mar 2014, 14:11

I would like to ask you a question, I'm editing / drawing characters with crystaltile, well my question and this, how do I import the pixels of an image to my file (always using crystaltile) and save it, so far I've tried to export the image above then copy the pixels of another image with paint and then upload the picture, at first I see more change but then the program will not let me save my file, Can you give me some explanations?
sorry for my bad English :\

Responder