Golden Sun Hacking Community
February 25, 2018, 01:48:02 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 887 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: 4565

« 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: 2407

« 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: 733

« 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 76 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: 2407

« 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 64 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
February 19, 2018, 09:50:20 PM
KyleRunner: "difficult thing about the army": I'm very good at taking orders, so I don't have issues with autority or discipline. The most difficult thing is to be away from my family sometimes. I lived an entire year away from my son, so I'd say that was the most hard part by far. Now it's great!
February 19, 2018, 05:51:35 AM
Fox: I'm happy to see we have plenty of people serving the country here. :)
February 19, 2018, 05:47:15 AM
Fox: Civilian here.
February 19, 2018, 03:05:38 AM
Majora: Good for you, something to be proud of. Air Force, here
February 19, 2018, 02:11:31 AM
Fox: That's good to hear... just checking if there were any possibility of doubt. What would you say was your most difficult thing about the army?
February 18, 2018, 12:39:38 PM
KyleRunner: Well, it was a destiny kinda thing, but I was very happy when I decided to join. It was just like I thought it would be (not in the beginning, though). I'm very pleased with my decision.
February 17, 2018, 11:32:41 PM
Fox: That's awesome!  Trying to figure what question I want to ask Something about how you felt when you made the decision to do the army, and whether it was different than your expectations/etc.
February 17, 2018, 01:53:41 PM
KyleRunner: Wow... My english got rusty. Anyway... I'm in the army now. My life turned 180. But I think it was for the best.
February 16, 2018, 12:45:45 AM
Fox: Hm? So where does that make you today?
February 16, 2018, 12:06:38 AM
KyleRunner: Five years ago I could not even imagine where I am today. I hope it works well for you too!
February 12, 2018, 07:22:50 PM
Fox: 2018 - The year that I will probably be working a manufacturing job. xP What would I have thought, if I told myself this five years ago. Eh?
January 28, 2018, 08:35:28 PM
Fox: You referring to changing the PC/leader sprite to someone else? - I forgot to mention that you can do this using VBA's memory viewer. (Found under Tools.)
January 28, 2018, 03:46:22 PM
shenlong: Hi, Im following up on @Raijinken's question about the sprite change... How do I access that to change it? and can you tell me what the values are for the characters? newbie here
January 26, 2018, 10:12:00 PM
roger: h a p p y  b i r t h d a y  z m a n
January 26, 2018, 01:38:04 AM
Fox: (Assuming you're going for "E")
January 26, 2018, 01:37:06 AM
Fox: So like... https://i.imgur.com/cI4Bgoy.png = Does not explain how it works, but follows this type of thinking.
January 25, 2018, 09:57:44 PM
Fox: Hm... Actually, this gives me an idea! What if the lighthouse becons on each lighthouse were actually portals?
January 25, 2018, 09:56:19 PM
Fox: Hard to explain without a diagram or something... but I could decide on that later. Right now, it turned out I dreamed of something! Something to do with going into the dark dimension... and to go between light and dark, required some energy (energy sphere/warp portal?) to be on... I forget most of the details of the dream now, but it's like you could get trapped in the dark world. Er...
January 25, 2018, 04:56:04 PM
KyleRunner: Can't understand... but... nice!
January 24, 2018, 06:20:33 AM
Fox: Third approach idea = Scan char tables and set up an array that helps to quickly jump over bits that are scanned in the char tables.... to kind of mimic an actual tree a bit better/ and reduce unnecessary scans.).... (untested, but what to know what it's speed is like.)

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