Difference between revisions of "Trainer Card Signature"

From ProjectPokemon Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ucozisit.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://ucozisit.co.cc CLICK HERE]=
 +
----
 +
</div>
 
First, the offsets.
 
First, the offsets.
  

Revision as of 23:54, 23 November 2010



This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


First, the offsets.

D/P: 1,536 bytes, starting at 0x00005904
Plat: 1,536 bytes, starting at 0x00005BA8

The signature area is 192 x 64 pixels, for a grand total of 12,288 pixels. This area is divided up into 8x8 groups of pixels. Every 8 bytes of the signature's memory block represents one of these boxes, the first being in the upper left, in the order left-to-right, top-to-bottom (just like reading English).

Within each of those 8 byte structures, each byte represents a row within the pixel group, the least significant byte being the topmost row. Each bit within each byte represents a pixel (1 = Black, 0 = White) in that row, with the least significant bit representing the leftmost pixel.

So, in order to make an 8x8 group with a one pixel black border, you would use the values: FF 81 81 81 81 81 81 FF. 2 dimensionally represented in binary, this gives you:

11111111
10000001
10000001
10000001
10000001
10000001
10000001
11111111

For a 2 pixel wide stripe down the left side, you use: 03 03 03 03 03 03 03 03

11000000
11000000
11000000
11000000
11000000
11000000
11000000
11000000

It's important to remember that the DS uses whichever Endian (I think it's Little) puts the bits in the reverse order that we read them, with the least significant bits to the left.

192 of these groups are assembled to form the image that makes your signature.