Golden Sun Hacking Community
December 12, 2018, 06:28:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Editor Help: Swapping Character Models/Icons  (Read 12444 times)
0 Members and 1 Guest are viewing this topic.

New User


Coins: 0
Offline Offline

Posts: 1

« on: December 03, 2015, 11:11:11 AM »

Hi everyone!
**FEEL FREE TO SKIP**
So first post on this site, I grew up with the Golden Sun series while most everyone else was playing Pokémon games, own 3 hard copies each for the original GBA games (for save slots and such), and love this game more than any other. That being said I really wanted to start modifying the game as a project for a friend of mine. She's a huge Golden Sun fan and a huge fan of Attack on Titan, so I wanted to do a bit of a crossover for her. Goals for the crossover include the basic name changes (which I can do no problem), extremely basic dialogue editing to reflect gender swaps (i.e. referring to Sheba as him instead of her), and the not so basic idea of changing Garet's battle model and menu/chat icon to those of Isaac's father Kyle. I've seen videos of people using Kraden in battle, but assuming Kyle doesn't have enough animations, I'd be more than willing to settle for an icon swap between the two.
Also, for those interested: Isaac (Eren), Felix (Mikasa), Sheba (Armin), Garet (Jean)// Piers (Levi), Ivan (Petra), Jenna (Sasha), Mia (Hanji)

**END SKIP**


Perhaps I'm missing something relatively easy here, and if there is another topic that addresses this matter I'd be happy to take a point in the right direction, but can someone on here tell me the simplest way to:

Edit Event Dialogue in TLA:
     - Change "him" to "her" or (he/she)
        for the sake of reflecting renames
        that gender swap

Swap Character Models/Icons in TLA:
     - Swap the chat box/inventory icons for Garet
        with those of Isaac's Dad Kyle (and vice versa)

     - Replace Garet's battle animations/model to be
       those of Kyle, however ridiculous the fighting
       may look


Any and all help is appreciated, if there are topics that already explain how to do these in detail that I'm missing I will happily take a link in the right direction, and if there's anything formatting or otherwise that I could do better for this site's standards please don't hesitate to call me out on it.

Thanks everyone,
-Manson
Logged
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4569

« Reply #1 on: December 03, 2015, 11:21:55 PM »

So you just want to swap sprites around, or do you have custom ones you want to use? Kraden in battle was almost entirely because the battle sprites were added to the game; the only human battle animations that are in the actual game are bosses, player characters, and the GS1 prologue versions of Isaac/Garet.

Merely swapping for other sprites would be pretty simple if you want to do that. If you go to the stat editor window and select Garet, you can click on his battle sprite to change it. I think you can only select anything that uses compression format 0 though.

Otherwise... the editor does have some basic graphic editing capabilities at least, but only for certain formats. It really depends on what you want to do with it.


Event dialogue: The editor (at least the 0.5 alpha version) has text editing capabilities that would probably let you edit dialogue without even touching events, so that should help. It would be up to you to scan thousands of text strings, but it's totally possible.

Chatbox/portraits: You can actually do that by going to the sprite viewer, selecting Garet, and then clicking on his portrait. You can only swap portraits for characters that actually have them though.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW

New User


Coins: 0
Offline Offline

Posts: 8

« Reply #2 on: December 12, 2015, 03:53:27 AM »

Yeah, I just tried turning Felix and Jenna's battle sprites into Saturos and Menardi. All I saw was Jenna's staff floating in the air. I either need to find a way to reformat their compression values or hex edit the sprites over each other.

On a related note, what does the compression format value represent? Does it have a bearing on the address of sprites in the code?
Logged
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4569

« Reply #3 on: December 12, 2015, 04:36:17 PM »

Mostly the way the sprites are compressed. For example, format 0 is (I think) the lowest compression, whereas some of the others may borrow sections of various sprites in order to save space? Can't remember the specifics, but it would be more accurate to call the "compression values" in the editor format IDs.

If I recall correctly, format 0 is basically close to uncompressed with single-byte arguments that decide on the number of transparent pixels. It's a lot of work to do it manually though. On the other hand, format 2 may be the most complicated one in the sprite viewer. I think. It doesn't have anything to do with sprite addresses.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #4 on: December 12, 2015, 08:06:14 PM »

Isn't the way it works that they layer the sprites to save space or something?  It also allows them to get around the color limit this way, which I think is why they do it.
Logged

View Profile WWW
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4569

« Reply #5 on: December 12, 2015, 09:59:07 PM »

I thought I made a post; not so much the palette thing, since GS handles sprites in a way where there isn't as much of an issue with that, but most likely to save space and/or for convenience.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1763

« Reply #6 on: December 12, 2015, 11:28:17 PM »

Yeah, I just tried turning Felix and Jenna's battle sprites into Saturos and Menardi. All I saw was Jenna's staff floating in the air. I either need to find a way to reformat their compression values or hex edit the sprites over each other.

Sprites highlighted in red in the list when you're selecting battle sprites for party members are in a compression format that will not work.

Alpha v0.5 of the editor can convert sprites to different formats.


The compression values represent the format the sprites are compressed in.  You can kind of think of the difference like the sprites being compressed in .gif, or .png format (in reality though, the games formats don't match either of those)  Format 2 is a special format only used by enemies in battle that will not work at all in many other places, including for party members in battle.
« Last Edit: December 12, 2015, 11:35:34 PM by Atrius » Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4569

« Reply #7 on: December 12, 2015, 11:53:37 PM »

Although just to add to that, it seems like being in the NPC class can override the "no format 2 battle sprites" restriction depending on the sprite size? Small sprites will glitch out the status menu for sure, while medium may and large/giant probably also glitch.

Basically means you have to rework how the NPC class works or lose access to the class system though.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1763

« Reply #8 on: December 13, 2015, 12:12:55 AM »

Considering the way that compression format 2 works it would be much safer to convert the sprites to a different format than to try reworking how the NPC class works.

In format 2, ALL of the sprites in the set have to be decompressed to memory before any of them can be displayed.  In any of the other formats only the one sprite from the set being shown has to be decompressed.  Format #2 is much more memory heavy than any other format.
« Last Edit: December 13, 2015, 12:14:28 AM by Atrius » Logged

I'm shaking my head in general disapproval of everything
View Profile WWW

New User


Coins: 0
Offline Offline

Posts: 8

« Reply #9 on: December 13, 2015, 04:31:39 AM »

I tried changing some battle sprites to Format 0 using the new editor. First try gave me this error message:


___________________________________________
ERROR in
action number 1
of Other Event: User Defined 15
for object obj_eSprites:

Error reading byte.

___________________________________________

This error kept repeating as the save progressed.

The second attempt did not give me an error message and appeared to succeed. Thing is, the format kept changing back to its previous value when I viewed another sprite and came back to the one I tried to change. Clearly the ROM's machine spirit does not like me and I don't have chocolate to appease it.

Edit: Also the Rom won't run anything other than a white screen. I think changing the compression format requires additional repointing.
« Last Edit: December 13, 2015, 10:11:46 PM by Red Dingo » Logged
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4569

« Reply #10 on: December 13, 2015, 11:44:48 PM »

Oh yeah, I forgot to consider the differences in memory usage. Atrius makes a very good point here.

Swapping sprites: Ouch, that stinks. It may be easier to just copy your desired sprites to a file or something and then edit/replace the PC sprites, rather than convert them to another format if doing so is giving you issues.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW

New User


Coins: 0
Offline Offline

Posts: 8

« Reply #11 on: December 14, 2015, 03:58:38 AM »

In that case, I'd have to find the offsets of the sprites I want to replace and hex em with the values of the sprites with which I want to replace them. That means learning how to format customized sheets into gmspr files, right?


OR I could just use the feature on the new editor that loads sprites from your hard drive after a gazillion hours of editing the Proxians to separate their weapons and another gazillion hours to create weapon sprites for different groups. Learning to sprite and shade in the process...

Nother Edit: On a semi-related note: I believe the modern day sprite artist has a lot to thank the Impressionist movement for.
« Last Edit: December 17, 2015, 03:05:59 PM by Red Dingo » Logged
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
December 09, 2018, 07:43:31 PM
Fox: A banana for you, a banana for me, let's all open a banana and enjoy!
December 08, 2018, 09:48:52 PM
Drake baku: ba... ba.... bana.... bana.... banana.... nanananananananana..... and now back to doing normal, kinda
December 07, 2018, 05:43:02 PM
Luna_blade: Hey I forgot the christmas theme
November 29, 2018, 09:01:09 AM
zman9000: ded
November 19, 2018, 11:05:28 AM
Drake baku: Good day to ya all
October 30, 2018, 09:45:58 PM
Atrius: There used to be where I got the battle sprites for Kraden, but that site doesn't exist any more.
October 26, 2018, 01:31:40 PM
Infitek: Do you know if there any custom Alex battle sprites available on the internet ?
October 26, 2018, 01:31:01 PM
Infitek: Hey everyone
October 13, 2018, 03:23:06 AM
Salanewt: Updated it to provide more info that I forgot to mention.
October 13, 2018, 03:16:48 AM
Salanewt: I'm still trying to iron out IQ 2 but I'm pretty sure it's entirely random targeting.
October 13, 2018, 03:16:29 AM
Salanewt: Oh yeah, I posted some more info about enemy IQ.
October 12, 2018, 09:51:27 PM
FoxThe HTML5 project is too small to count
October 12, 2018, 06:19:48 AM
Luna_blade: there is jjppof's html5 project...
October 12, 2018, 06:19:17 AM
Luna_blade: Though Momo rings a bell it seems I came here after you left
October 11, 2018, 12:49:41 AM
Fox: (If that makes sense.)
October 11, 2018, 12:48:33 AM
Fox: Yeah, I guess so.  More just saying that's a good place to get answers to GS related questions at the moment.
October 11, 2018, 12:42:28 AM
Crystal Sonata: I did before, but I guess I could try it again
October 11, 2018, 12:41:32 AM
Fox: Not much at the moment. This forum seems pretty quiet. Perhaps you'd be interested in joining the Discord for GSHC that seems to have more activity?
October 10, 2018, 11:16:53 PM
Crystal Sonata: Any projects going on? I need a distraction from the daily grind and I'm interested in hacking GS again.
October 10, 2018, 10:02:53 PM
Fox: Thanks, and good to see you too!

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.171 seconds with 22 queries.