Re: (Finally Complete) Telefang English Translation

Discuss anything related to hacking ROMs of the Telefang games here.
User avatar
andwhyisit
Site Admin
Posts: 1199
Joined: Fri Dec 14, 2007 9:24 pm

Re: (Incomplete) Telefang English Translation

Post by andwhyisit »

That's okay. I'm just glad I didn't accidentally break the inserter.
telefangfan(imported)
Posts: 61
Joined: Sat Dec 20, 2008 12:30 am

Re: (Incomplete) Telefang English Translation

Post by telefangfan(imported) »

The Devil's Mountain---> is it part of mt pepperi's name and translation or just an addition that YOU did?
User avatar
Sanqui
Posts: 736
Joined: Sun Dec 16, 2007 12:25 am

Re: (Incomplete) Telefang English Translation

Post by Sanqui »

wrote:That's okay. I'm just glad I didn't accidentally break the inserter.
Don't worry, even if you would break it I would fix it up. :)
telefangfan wrote:The Devil's Mountain---> is it part of mt pepperi's name and translation or just an addition that YOU did?
Uh, what do you mean? I wouldn't propose to add in new text, especially if it bore such difficulties. Yes, it is a part of the full name, similar to The Town by the Sea, Iris.
telefangfan(imported)
Posts: 61
Joined: Sat Dec 20, 2008 12:30 am

Re: (Incomplete) Telefang English Translation

Post by telefangfan(imported) »

i've got some questions,as usual (sorry to harass! :( )
-Did you planned modifying this logo in sgb border,too? the yellow thingy http://telefang.meowcorp.us/powerbordertitle.png
-Which tool are you using to extract and re-insrt graphic?
-Do you re-calculate pointers for modified tiles?
-Does this 2 bytes method calc work to re-calc pointers for text and graphic?
Spoiler!
from data crystal,at the voice pointer

2 Byte Pointers

Game Boy (and Game Boy Color) pointers are typically two bytes long. They are often contained in the same bank as the data that it is supposed to point to, and is usually directly above or below the data. To calculate a pointer from a Game Boy game:

Take the offset that you wish to point to
Take the last four digits of the offset, and cut off the rest
The most significant bit will always be 0, and the second most significant bit will always be 1. In other words:
If the offset is from 0000-3FFF, add 4000 to the offset.
If the offset is from 4000-7FFF, do not add anything to the offset.
If the offset is from 8000-BFFF, subtract 4000 from the offset.
If the offset is from C000-FFFF, subtract 8000 from the offset.
Because Game Boy is little endian, switch the first two digits with the last two. Note: In rare cases, some games, such as Donkey Kong Land 2 or Donkey Kong Land III, will store pointers in big endian, in which case reversing is not necessary.

Example: $1201FA is the offset you wish to point to.

Take the offset $1201FA
Take the last four digits: $01FA
Since $01FA is between 0000-3FFF, you add 4000, so you get $41FA
Because Game Boy is little endian, you take the 41FA, switch the 41 and FA around to get FA41
User avatar
Sanqui
Posts: 736
Joined: Sun Dec 16, 2007 12:25 am

Re: (Incomplete) Telefang English Translation

Post by Sanqui »

wrote:-Did you planned modifying this logo in sgb border,too? the yellow thingy http://telefang.meowcorp.us/powerbordertitle.png
If somebody bothers, I suppose; it's not priority.
wrote:-Which tool are you using to extract and re-insrt graphic?
There exist only two tools to work with the Malias-compressed graphics, and mine can't do compression yet, so the answer is simple!
wrote:-Do you re-calculate pointers for modified tiles?
If they're bigger in size, it's necessary.
wrote:-Does this 2 bytes method calc work to re-calc pointers for text and graphic?
Pretty much.
RacieB
Posts: 871
Joined: Thu Dec 28, 2006 4:27 am

Re: (Incomplete) Telefang English Translation

Post by RacieB »

I know there was talk about adding the SGB borders back into the official patch, but I think there might be issues due to coding etc (like the patch not being totally compatible with GB mode or something along those lines..?)
telefangfan(imported)
Posts: 61
Joined: Sat Dec 20, 2008 12:30 am

Re: (Incomplete) Telefang English Translation

Post by telefangfan(imported) »

If they're bigger in size, it's necessary.-----> if i make "push start" as "press start" have i got to re-calc pointers?
-does the compression tool re-calc pointers?
User avatar
Sanqui
Posts: 736
Joined: Sun Dec 16, 2007 12:25 am

Re: (Incomplete) Telefang English Translation

Post by Sanqui »

telefangfan wrote:If they're bigger in size, it's necessary.-----> if i make "push start" as "press start" have i got to re-calc pointers?
-does the compression tool re-calc pointers?
Depends on if the compressed size is larger; you generally won't know until you recompress it.

An nope, Malias' tool simply produces compressed graphics. Maybe I'll write that for my tool sometime in the future, but we all know how lazy I am.
telefangfan(imported)
Posts: 61
Joined: Sat Dec 20, 2008 12:30 am

Re: (Incomplete) Telefang English Translation

Post by telefangfan(imported) »

so,you mean size in kilobytes?because i don't think you re-calculated pointers for modifying the "power version" logo adding "mobile phone-beast"
User avatar
Sanqui
Posts: 736
Joined: Sun Dec 16, 2007 12:25 am

Re: (Incomplete) Telefang English Translation

Post by Sanqui »

telefangfan wrote:so,you mean size in kilobytes?because i don't think you re-calculated pointers for modifying the "power version" logo adding "mobile phone-beast"
I mean size in bytes. And I'm not sure, I didn't change that, andwhyisit did, but it's very likely he did have to move the graphics somewhere else and change the pointers accordingly.
Post Reply