The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Trainers Sprites Expansion

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old February 18th, 2016 (8:21 PM). Edited March 16th, 2016 by Wesley FG.
Wesley FG's Avatar
Wesley FG Wesley FG is offline
Pokémon Kalos Advance !! Gba Hack
 
Join Date: Oct 2008
Location: Brazil
Gender: Male
Nature: Modest
Posts: 338
i need help for extend trainers sprite table work.

it is posible because each rom have diferenr number of trainers sprites
Ruby: 83
Firered: 148
Emerald: 93

I test to expand trainers sprites in Pokémon Firered. The limit for trainers sprites is 255 or FF, because the Trainer Sprite ID use only 1 byte for store your number. (FF - 1 = FE)

well have 3 tables for trainers sprites

*the first in one table is at x 23932c
and is formed with "08 01 00 00" ( 4 bytes per trainer)
148*4 = 592 (250 hex) bytes all table

i not understand very well this table
but have 4 trainers with diferent byte "08 02 00 00"

*the second is a table at x 23957c
it is a trainer sprite table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table

*the third is a table at x 239a1c
it is a trainer pallete table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table
__________________
Kalos Demake Soon!!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old March 16th, 2016 (8:28 PM).
Wesley FG's Avatar
Wesley FG Wesley FG is offline
Pokémon Kalos Advance !! Gba Hack
 
Join Date: Oct 2008
Location: Brazil
Gender: Male
Nature: Modest
Posts: 338
well i solved this problem, can close it,
for people will do it, the problem is for extend more other two table

one table for trainer animation located at x 238E8C (4 bytes for trainer is 4x148)
and other table located at x 2390dc (4 bytes for trainer is 4x148) this table is a table of pointer, to a pointer to the animation table;

remeber: the limit is 255 trainers sprites or FE (becuse zero is one value too)
for use your new trainers use a tool called UNAMEDTRAINEREDITOR from Jambo and edit your ini information.
__________________
Kalos Demake Soon!!
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old January 17th, 2017 (2:11 AM).
AtecainCorp.'s Avatar
AtecainCorp. AtecainCorp. is offline
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 30
Gender: Male
Nature: Hardy
Posts: 1,354
I make my own researches about TRAINER SPRITES Expadnding on Pokemon Ruby. And it was been easier than Pokemon Fire Red things. I only repleace 08 01 00 00 section in 0x1EC3F0 to new empty space. And adding for text 12 extra sprites.... After turn on game... It do not freezed when I using new sprite... So.... Pokemon Ruby Slovement is easy to do.
__________________
- My new Project comming Soon
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old May 26th, 2017 (6:25 AM). Edited May 27th, 2017 by mbcn10ww.
mbcn10ww mbcn10ww is offline
 
Join Date: Oct 2016
Posts: 352
Quote:
Originally Posted by Wesley FG View Post
well i solved this problem, can close it,
for people will do it, the problem is for extend more other two table

one table for trainer animation located at x 238E8C (4 bytes for trainer is 4x148)
and other table located at x 2390dc (4 bytes for trainer is 4x148) this table is a table of pointer, to a pointer to the animation table;

remeber: the limit is 255 trainers sprites or FE (becuse zero is one value too)
for use your new trainers use a tool called UNAMEDTRAINEREDITOR from Jambo and edit your ini information.
I will start some research on adding more than 255 trainer sprites, because the game already uses 148, then it leaves only 107 free (not enough for me), since the tables' structures have a half word for the trainer image index, then I think it would be possible to modify its routine to check 2 bytes index instead of 1 byte. What do you think?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old June 3rd, 2017 (12:38 PM).
mbcn10ww mbcn10ww is offline
 
Join Date: Oct 2016
Posts: 352
You can only expand the trainer's sprites up to 255 sprites. (But it will be 0xFE because the 0x0 is counted too.) I tested and it already have support for 2 bytes indexes. I tested only up to 512 (0x200), but I will try higher indexes to know if the max number is 0xFFFF or if there is a limiter.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old September 28th, 2017 (7:43 PM).
desvol's Avatar
desvol desvol is offline
 
Join Date: Oct 2016
Gender: Male
Posts: 23
Quote:
Originally Posted by AtecainCorp. View Post
I make my own researches about TRAINER SPRITES Expadnding on Pokemon Ruby. And it was been easier than Pokemon Fire Red things. I only repleace 08 01 00 00 section in 0x1EC3F0 to new empty space. And adding for text 12 extra sprites.... After turn on game... It do not freezed when I using new sprite... So.... Pokemon Ruby Slovement is easy to do.
Dear Atecain, do you have facebook or something I can contact you?

I currently during make a Emerald 802 , and I want to expand Trainer sprite, Emerald only have 93 trainer sprite, I wish to add more, do you know any tool or tutorial can share me?
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
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 GMT -8. The time now is 8:40 AM.