You are not logged in.
After reading Cartmics Violet Update following question came to my mind:
how can you edit the compressed Pokemon/Trainer graphics in RBY? Like Coolboyman did...
I think the games use some RLE methods...?
Ah, okay, he applied his famous ASM knowledge. ;D
Is there any other method? I found a decompression document and a C program. Shouldn't I be able to do it "reverse" and insert the compressed pictures?
Looks like I have to be content with the current state of 1. Gen hacking. :/
*Can be closed*
There is only one way to decompress an image but there can be a million different ways to compress the same image.
This does not hold for RGBY though, as there is no data reuse within a compressed picture.
Picture compression is actually straightforward. Each picture has two layers, one with white and black (may differ) colors and one with the two individual (may differ) colors per Pokémon --on SGB anyways, DMG obviously only has the same shades for all Pokémon.
The main compression is RLE and RLE only. It will group bits into two-bit chunks which are then either filled with a data chunk of two bits (that is 11, 01, or 10, but not 00). RLE will fill groups with zeros. The RLE codes themselves are saved using RLE. Basically, it will count set bits in the code for a static base number of groups to fill with zeros and then add an additional (positive) offset to that which follows the code.
The only hard part about this is that there are two different methods for obtaining the final image values employed in three different methods of constructing that meta-RAM.
So this step would have to be reversed to compute the compression with the most gain, so it's at most three tries :D
Yet some of these methods are used exclusively on certain types of images. For instance, one interpretation algorithm will take XOR of both layers t various points, therefore encoding different sets of colors more efficiently because long runs of zeros can RLE'd with this method.
A friend of mine told me that this method is actually better than the GSC method, because many pictures were smaller compressed with this scheme.
EDIT: So yeah, there is a best possible compression, that can easily be obtained, because your algorithms will converge to the best in linear time. Something that cannot be said for GSC, where you will have to optimize the hell out of the algorithm and then can only say you're in the top optimized X % there is.
Documentation in German can be found here.
Considering how I know NOTHING of hex editing, It would be nice if there was something like AGIXP that works for RBY
CLICK MY ROBOT POKEMON ARMY OR ELSE
I think AgiXP works with rby