Golden Sun Hacking Community
July 23, 2018, 05:22:28 PM *
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: Complete Class Separation for Jenna and Piers  (Read 1200 times)
0 Members and 1 Guest are viewing this topic.

Novice Member
*

Coins: 1
Offline Offline

Posts: 33

« on: June 05, 2017, 02:06:28 PM »

I know that we have a class separation patch that can be used to split Team 1 and Team 2 but what I'm looking for is a patch that completely separates Jenna/Piers' classes from Felix/Sheba's lines so I can properly put them in line with their other warrior/mage characters because as it is now they still share the symbiotic and tri classes even with the current patch.
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: 4567

« Reply #1 on: June 05, 2017, 04:05:48 PM »

I think you might be able to do it if you change how class types are assigned to them, but I haven't really tried experimenting with this before aside from trying to switch the characters who are assigned their base classes (unsuccessfully too, because of the editor).

I think Fox might know a good way of doing that since he looked into class stuff pretty recently!
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
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« Reply #2 on: June 05, 2017, 06:01:42 PM »

It depends on which method he'd like to do.

-You could do a direct PC check and class type check.
-Or you could change the values in the Class Type table.

...
Class Type Table is explained here: http://forum.goldensunhacking.net/index.php?topic=475.msg11653#msg11653
Same table at 0x080C6604 in memory viewer.

Quote
It goes like this:  Primary Secondary

 1 -  Venus Venus
 2 -  Mars Mars
 3 -  Venus Mercury , Mars Mercury
 4 -  Venus Mars , Mars Venus
 5 -  Venus Jupiter , Mars Jupiter
 6 -  Mercury Mercury
 7 -  Jupiter Jupiter
 8 -  Jupiter Venus , Mercury Venus
 9 -  Jupiter Mars , Mercury Mars
10 -  Jupiter Mercury , Mercury Jupiter
11 - (And below = Item Classes, etc.)[/font]

This list should make it easier to tell that Venus and Mars share similar classes just like Jupiter and Mercury.
I think at some point, it actually occurred to me that each PC can only access a class type when their element is either Primary or Secondary, so keep that in mind. (As long as you don't edit their elemental levels or give a lot more amount of djinn than is currently possible, that is....)


So for example, in an unmodified game, Ivan and Mia will never get class type 4, ever... while Ivan could get class type 5 or Mia to class type 3 near end game. (I think?)
« Last Edit: June 05, 2017, 06:24:43 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

I need saves to test encounters in GS Reloaded!

Great Member
***

Coins: 13
Offline Offline

Gender: Male
Posts: 747

« Reply #3 on: June 05, 2017, 06:20:44 PM »

I kinda did what you want for my own mod so i'll sum it up here.

1) I tweaked the values in the table so that A/B had the same number of B/A (like 4 is both for venus mars and mars venus). This allowed me to use only numbers from 0-9.

2) then i worked on the class function: originally the class function is identical to the one GS1 uses with 2 exception. If it finds Jenna (character id 5) AND class code 2 (mono mars) then set the class code to 13. Same story for Piers (id 7 and class code 6 then swap to cc 14).

What i did: after calculating class code, add 20, multiply char id by 10 and add it to class code. This allows for FULL separation since in my tweaked table class codes go from 0 to 9 only. Isaac has classes in the 20-29 range, garet 30-39 etc. (the +20 is cause i lazily avoided messing with item classes, which are forced at 15, 16 and 17)

The downsides are: i have to make all classes for each character (even duplicates) AND there is not enough space.

So i set up exceptions like the ones originally used for jenna and piers: if you find Felix and he is NOT in his base class, then change his character id to Isaac's. Basically felix's char id will be used only for his unique base class and he'll be seen as isaac in all other cases. Same for Sheba, which falls back to ivan for all of her classes instead of the base one.
Logged
View Profile

Novice Member
*

Coins: 1
Offline Offline

Posts: 33

« Reply #4 on: June 05, 2017, 10:05:51 PM »

So if I do the PC and Class Type check, then I'd make the game do comparisons where if say Jenna meets the requirement for say Class Type 3 then it would load 23 instead where as if I did Caledor's method then I'd have to make duplicates of a lot of classes?

Which method would be easier to implement given the current tools? Because right now a very bothersome problem is the lack of a copy paste function in the current editor.
Logged
View Profile

Novice Member
*

Coins: 1
Offline Offline

Posts: 33

« Reply #5 on: June 12, 2017, 03:49:09 AM »

Okay so well, I'm trying to make some exceptions for these classes (and a few others but those aren't stated in yet). I have a basic idea of what i'm supposed to do in that i know which parts to alter to suit the class type id and pc idea but i don't quite understand what i'm supposed to copy or move in the data.


* Class.jpg (349.08 KB, 1580x540 - viewed 103 times.)
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« Reply #6 on: June 13, 2017, 04:49:37 AM »

So I guess you wanted the class type chart to have full PC separation. (Well, good enough to be able to link them together.)

The image attached should do that( Each row for each PC, but otherwise in the same order as the old CT Chart), but I haven't put in the proper values for your specific layout yet.
The
-Isaac
-Felix
-Garet
-Mercury
-Brute
-Jupiter

-^Same for Ivan/Mia/Sheba

-Jenna

-Piers


-The Lost Age introduced separating Jenna's base class from Garet / Piers from Mia... However, Dark Dawn does much more, by separating all PC base classes and for two other class types. In case that should affect any decisions.


* pcseparation.png (34.71 KB, 1051x824 - viewed 142 times.)
« Last Edit: June 13, 2017, 05:37:55 AM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

Novice Member
*

Coins: 1
Offline Offline

Posts: 33

« Reply #7 on: June 13, 2017, 09:10:09 AM »

Thanks a lot, I've managed to get the new class chart system to work. What I did in the end was that using the chart that you made, I assigned Felix's new class to 15, Jenna uses 16 to 19, Sheba uses 1B and Piers uses 1A and 1C-1E. This makes it easier for me to track since its basically just the old values shifted up by 20.
Logged
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Today at 02:30:46 AM
Majora: Thank you for getting the site back online!
July 21, 2018, 09:19:06 PM
Salanewt: Time to upload that "EXP gain when KO'd" patch I made a month ago.
July 21, 2018, 09:18:48 PM
Salanewt: Oh hey, the site's back up!
July 18, 2018, 10:49:52 PM
roger: I can post but it goes to an error page when I submit.
July 18, 2018, 05:24:12 PM
zman9000: Site is back WOO!
May 09, 2018, 12:35:37 AM
KyleRunner: The "Start In" field is not editable... I'll try making new shortcuts
May 08, 2018, 09:51:08 PM
Fox: If all else fails, you canmake new Shortcuts to do the same thing.
May 08, 2018, 09:49:53 PM
Fox: Export Properties > Shortcut (Tab) > Target / Start In ; Target (for Export) should be: (filename) 0 , and for Import: (filename) 1
May 08, 2018, 08:52:00 PM
KyleRunner: I can't change the path in properties menu...
May 08, 2018, 01:27:19 AM
Fox: You may need to edit something in properties, though... so it uses the exe file in the same directory.
May 08, 2018, 01:24:59 AM
Fox: It is suppose to be a shortcut, yes.
May 03, 2018, 11:48:05 PM
KyleRunner: Fox, the "export" function in your text editor is just a shortcut... Could you please fix it?
May 02, 2018, 09:53:45 PM
KyleRunner: I come here everyday. I'm working on a Portuguese translation, and the people here help me a lot.
May 02, 2018, 08:56:07 AM
Drake baku: My feel as well, I posted a little as well since my return, but silence was all that followed... At least the forum is a great source for data when hacking GS/ GS2, currently looking for something I have read a long time ago cause my PP recovery psy is not working
May 01, 2018, 09:58:04 AM
Fox: I am thinking a lot of this might be because of Discord?
May 01, 2018, 09:56:08 AM
Fox: Yeah, this forum is more dead than ever before.  February and April have 0 new topics. (All other months prior have more.) And March has lowest number of new posts. (It'd be dumb to count the very first month this site was created.)
April 25, 2018, 09:02:13 PM
Fox: Yes. The best tool is a hex editor. Well.... VBA, VBA-SDL-H, no$gba Debugger, GBATEK, and my documentation.... to use these to learn how the code/data works. Best method because it maximizes your editing ability... and then there is my program gsmagic that I was working on. Still in its early stages, though. (Even after year(s).)
April 25, 2018, 04:21:58 PM
Xendrox D: *exept tla editor.
April 25, 2018, 04:21:29 PM
Xendrox D: is there any other tool for hacking gs?
April 23, 2018, 09:26:27 PM
Atrius: Rarely, but not never.

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