Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Inserting sprites for Emerald using unLZ-GBA

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Reply
 
Thread Tools
  #1    
Old February 25th, 2011 (07:13 PM). Edited February 26th, 2011 by JirachiFan99.
JirachiFan99's Avatar
JirachiFan99 JirachiFan99 is offline
 
Join Date: May 2010
Posts: 51
You should prepare for epic and hard-to-understand walls of text, i'll add some images later.

I had a problem doing this, (and now i can never look at wobbuffets the same way) but i have recently fixed it using this method, here's what you'll need:

A rom
IrfanView
a Hex Editor (i used hex workshop)
unLZ-GBA
A Sprite
A second frame for your sprite (if you want to animate it)

1. Open unLZ-GBA and find the image and frames of the pokemon you want to change. (note: you do not need to edit the single image of the pokemon, if you do, just edit the frames.

2. click on save as, and save it as anything you want, next up, you should probably try to finish the palette, but i won't stop you if you want to do the frames first.

3a. Open the sprite you want to write over the other, Go to Decrease Color Depth, and select 16 colors, edit the palette so that the transparent color matches the one of the sprite you're editing, save it after you have swapped the first color with the other, you may have to paste the pre-indexed sprite after, but this will not affect your result. After that, simply import the sprite, and click write to rom, if you get a message saying that the compressed data is <data> which is bigger. then you will have to repoint the image, which means YAY, time to play with numbers and letters! go to your hex editor and open up your rom, scroll down to a place where you can find a lot of F's, these represent free space, jot down the offset and try to rewrite your sprite to the rom, check export palette (i think) , auto-abort if new data is bigger and automatically fix pointers, if it is successful, then unLZ-GBA will say that theres a pointer found at <pointer> and changes it, and voila, you have a palette!

3b. now try to insert your frames, it should work, if it aborts, then use the hex workshop method, if the palette is messed up then go to irfanview, and change the palette as it appears with your other sprite, then try to write it again, if should work, and the palette problem should be fixed, so test it out on your rom and try to encounter it, the sprite should show, if it messes up then i can't help you there, it shouldn't mess up though.

hope you like this tutorial.
__________________
http://www.pokecommunity.com/showthread.php?t=243525 Currently looking for: Anyone insterested. Please join!

http://pkmnmoon.com/signup.php?s=46589 The Pokemon Moon RPG, a fun place where you can train pokemon, explore legendary areas, mines or just even hang out as you complete your pokedex!
Reply With Quote
  #2    
Old February 26th, 2012 (02:50 AM).
AwsomeMew's Avatar
AwsomeMew AwsomeMew is offline
<-- WTF?! WURMPLE!
 
Join Date: Jul 2011
Location: UNI
Age: 26
Gender: Male
Posts: 25
Thanks alot. Keep Going That good Work!
__________________
Hacks i support!
:
Reply With Quote
  #3    
Old September 8th, 2012 (01:15 AM).
UltraNerdtendo64's Avatar
UltraNerdtendo64 UltraNerdtendo64 is offline
Ultra - Retro Reviver
 
Join Date: Aug 2012
Age: 16
Gender: Male
Nature: Quiet
Posts: 149
This didn't help.
Please ellaborate.
__________________
Ultra - Retro Reviver | The Retro Game Enthusiast

Reply With Quote
  #4    
Old September 8th, 2012 (01:51 PM).
PNT101 PNT101 is offline
 
Join Date: May 2012
Gender: Male
Posts: 9
Thanks a lot for this tutorial. I was wondering how I would do this.
Reply With Quote
  #5    
Old February 8th, 2013 (02:55 PM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline
http://GoGoJJTech.com (WIP!)
Gold Tier
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Female
Nature: Jolly
Posts: 2,078
This helps a lot thanks
you could also use wichu's advance series for this.
__________________
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Pokemonhackersonline Profile - Youtube Channel

Join us in the romhacking chat
Pokémon Platinum Red and Blue
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 01:08 PM.