Golden Sun Hacking Community
May 25, 2019, 11:33:51 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 13049 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: 0
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: 4579

« 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: 0
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: 4579

« 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: 0
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: 0
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: 4579

« 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: 0
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: 0
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: 4579

« 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: 0
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: 0
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: 4579

« 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
Today at 08:44:59 AM
ryancaesar12345: how to seperate isaac/felix and ivan sheba class index? how to edit enemy elemental stats power and resist? how to edit icons in psynergy or add a new icons? and how to change chance effects like agility drop 100%?
Yesterday at 05:24:27 PM
uaeip: how can i make those work? im noob http://forum.goldensunhacking.net/index.php?topic=2752.msg46171#msg46171
May 22, 2019, 09:32:43 PM
radzo73: is there a patch that skips dialogue? Interested in making a TAS...
May 12, 2019, 12:15:01 PM
raijinken: Hey there guys. Been a long time. But has anyone found out how to make a hard mode of Dark Dawn?
April 18, 2019, 01:18:08 AM
Fox: Thinking.... meme topics.....    Isaac: Stop calling me a sack! Also, don't call me sick either!
April 03, 2019, 08:24:45 PM
Fox: Really don't see the point in the Crystal or even the crown conversation, but whatever... (I mean, if you want to do it, then just do it. - Doesn't need to be at GSHC, because there are no longer clan leaders at GSHC.)
April 03, 2019, 03:59:33 AM
squizzy44: We all need to band together to take down Crystal.
April 02, 2019, 12:00:09 AM
Fox: Your clan?  You can't edit it manually, so you have to tell an admin so they can do it. There's actually a topic for when you pick a clan... but uhh... I've no idea if an admin will see it via that, though. (Kain will certainly see id you ping him on GSHC Discord.)
April 01, 2019, 05:28:42 PM
squizzy44: How do I change my position on my profile? I haven't used the site in nearly 10 years...
March 31, 2019, 10:10:15 PM
Fox: I still wonder if a Tret glitch for speedrunning exists... I don't think I looked into if the PC was on one of the other layers. (Which basically the second layer edits @-0x200 instead of @-0x100... in the event you are going up (y-axis) out of bounds.) Hm.
March 31, 2019, 06:18:43 PM
Fox: Not me.
March 31, 2019, 02:59:38 PM
Salanewt: I don't know of any, although if there were then we'd have to send it as a patch file. I think someone is working on it at least!
March 29, 2019, 07:51:48 PM
MaxiPower: no such thing exists
March 26, 2019, 03:38:42 AM
reeZ931: I would really appreciate it 
March 26, 2019, 02:39:38 AM
reeZ931: Anyone have a golden sun rom where you can play as saturos and menardi properly? 
March 25, 2019, 09:31:15 PM
Fox: It would explain why everyone leaves so quickly after taking our bananas.
March 24, 2019, 10:36:10 PM
Fox: Wouldn't bananas increase agility the more you have? Like... Diddy Kong Racing reference.
March 22, 2019, 11:19:11 PM
Average Wind Seer: Banana: Restores 50PP to user. Restores 40PP to Isaac if Jenna uses this item.
March 22, 2019, 09:57:53 PM
Salanewt: Lol. I mean, I am thinking of adding a banana item to GS so...
March 22, 2019, 09:48:42 PM
Fox: Ooh! Sala's back!  I think he wants a banana.  All this banana talk must have attracted him.

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.127 seconds with 22 queries.