Golden Sun Hacking Community
September 25, 2018, 01:15:25 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 1980 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: 29
Offline Offline

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

« 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!

Excellent Member
****

Coins: 13
Offline Offline

Gender: Male
Posts: 765

« 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 110 times.)
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

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

« 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 152 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
September 07, 2018, 03:51:10 AM
Majora: Updated all three Golden Sun 2.0 mod pages with awesome new information. The 2.0 mod series has merged with a unique and exciting project currently in development for Minecraft version 1.12.2! The beautiful objects and textures from the 2.0 series of Minecraft mods will feature as part of this expansive in-development Golden Sun project, which will bring in-depth classic Golden Sun gameplay to the Minecraft experience. We will provide an official reveal in the near future.
September 03, 2018, 07:35:55 PM
Caledor: what's really impressive is that in 3 years of modding here i've yet to do a full playthrough on TLA with my own mod lol
September 03, 2018, 06:51:38 PM
Luna_blade: ho that is still impressive
September 03, 2018, 01:25:14 PM
Caledor: it's not 71 cause i often skip numbers but i think that adding up the ones balance age as well it's about 80 versions
September 03, 2018, 11:51:45 AM
Luna_blade: holy @#$% 71 versions @caledor? What have I been missing all this time?
August 02, 2018, 07:42:12 PM
Caledor: patch for TLA uploaded again cause i forgot to update descriptions for 3 shields
August 02, 2018, 01:16:14 AM
Caledor: Don't want to triple post so I'll just announce here that v1.71 is out. I updated my last post.
July 29, 2018, 12:18:00 PM
KyleRunner: Let me see...
July 28, 2018, 08:12:34 PM
Fox: What value do you see at 08000468? (Or 00000468 in hex editor)  0801319D or 08F9EE50?
July 28, 2018, 07:11:11 PM
KyleRunner: "there is an easy fix by changing a pointer back to what it was suppose to be"... Hmmm... How?
July 27, 2018, 10:11:06 AM
Fox: Bootleg*
July 27, 2018, 10:09:03 AM
Fox: There are two ROMs that can be found on the internet, one may have the MEGAROMs boot load stuff. (So not truely clean.) ... If you get a screen while booting the game and holding L+R (I think it was?), then you know you have it, and your ROM is not truely "clean"... it is unfortunate, but there is an easy fix by changing a pointer back to what it was suppose to be..
July 27, 2018, 05:10:13 AM
MaxiPower: Hello World
July 25, 2018, 11:09:23 PM
KyleRunner: Well... here's The problem that needs solving: my GSTLA translation patch only works on a clean rom, with specific CRC. 
July 25, 2018, 07:59:37 PM
Fox: I am not sure I understand? If there was such a program to "clean" a dirty ROM dump, what exactly would it do?
July 25, 2018, 12:37:42 PM
KyleRunner: Hello, guys. Could someone teach me how to "clean" a dirty Golden Sun rom dump? Is there a program or something?
July 25, 2018, 01:37:40 AM
Atrius: @Fox, yeah... I was expecting it to take 2 weeks at most...
July 25, 2018, 12:03:01 AM
Majora: Yes, I believe so. Think they were made public a while ago prior to the site issue
July 24, 2018, 08:26:45 PM
Luna_blade: is it normal that I can see all clans?
July 24, 2018, 08:25:41 PM
Luna_blade: Nice to see it is back!

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