+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Need Help with unLZ
Pages: [1]
Author Topic: Need Help with unLZ  (Read 525 times)
Mega-Byte
Guest
« on: June 14, 2007, 10:31:57 am »

I want to import some tiles off of GBA in unLZ but when I run a deep scan all I get is a bunch of squared colors and distorted pics.  What do I do to get the tiles that are actually seen in the game?
Celice
Guest
« Reply #1 on: June 14, 2007, 06:05:28 pm »

Maybe they're not compressed under LZ77.  Or maybe (although much more unlikely in this case) unLZ-GBA can't find all compressed data:  it couldn't find the title screen for Rekka no Ken, but it decompressed the data nonetheless when I dumped the data separatly.
Tauwasser
Guest
« Reply #2 on: June 14, 2007, 06:39:11 pm »

Are you sure you browsed through all of the identified gfx? Don't give up on the first few, they're usually just random chunks of data Smiley

cYa,

Tauwasser
Mega-Byte
Guest
« Reply #3 on: June 14, 2007, 06:59:29 pm »

I'll keep tryin but I want to correct myself, I meant export tiles and edit them in photoshop.  This is the only thing thats holding me back from starting my hack Cry
Celice
Guest
« Reply #4 on: June 14, 2007, 11:48:43 pm »

Well, then just make sure you're at the right offset/ID# when you save the thing as a .PNG.  That should do it >.>
hippiejake
Guest
« Reply #5 on: June 15, 2007, 01:14:33 am »

Quote from: Mega-Byte on June 14, 2007, 06:59:29 pm
I'll keep tryin but I want to correct myself, I meant export tiles and edit them in photoshop.  This is the only thing thats holding me back from starting my hack Cry

If you intend to make anything but a graphics hack, you should just focus on other parts until you figure that out.
Odin_Knight
Guest
« Reply #6 on: June 18, 2007, 04:36:26 pm »

I'll give you a boost start in how you can get the compressed data and edit it:

You'll need 3 programs:
- visual boy advance DEV
- GBAmdc
- Tile Layer Pro

first you open the rom in vba. Before VBA loads the images you want to edit just go to the Tools-> logging menu and select SWI. Go back to vba and let it load the tiles. After that go to the logging and save the log it created. Then run gbamdc with: GBAmdc -a game.gba game.log.
The program will then create as much .dat as compressed data we found in the log. Next open TLP and open one of those .dat files. Choose view->format->gba and there it is the data you want to edit! to better understand it you can use Sprite Studio to create a good palette for the tiles.
You should read all the tutorials in this site about the programs I've mentioned and also there are very good tutorials here about gba hacking.
Kajitani-Eizan
Guest
« Reply #7 on: June 18, 2007, 05:02:07 pm »

Quote from: Odin_Knight on June 18, 2007, 04:36:26 pm
I'll give you a boost start in how you can get the compressed data and edit it:

You'll need 3 programs:
- visual boy advance DEV
- GBAmdc
- Tile Layer Pro

first you open the rom in vba. Before VBA loads the images you want to edit just go to the Tools-> logging menu and select SWI. Go back to vba and let it load the tiles. After that go to the logging and save the log it created. Then run gbamdc with: GBAmdc -a game.gba game.log.
The program will then create as much .dat as compressed data we found in the log. Next open TLP and open one of those .dat files. Choose view->format->gba and there it is the data you want to edit! to better understand it you can use Sprite Studio to create a good palette for the tiles.
You should read all the tutorials in this site about the programs I've mentioned and also there are very good tutorials here about gba hacking.

 Shocked

GBAmdc? wow, i didn't even know about that. that sounds useful.

gentallmen, we have a "newbie" that is a winnar.

EDIT: yes, i can find it in the utilities section now that i know it exists. it's just that i didn't know it exists, likely because i first attempted to figure out how to hack compressed GBA graphics years ago Tongue
« Last Edit: June 18, 2007, 06:27:00 pm by Kajitani-Eizan »
Spikeman
Guest
« Reply #8 on: June 18, 2007, 05:13:33 pm »

http://www.romhacking.net/utils/431/  Wink
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC