Golden Sun Hacking Community
March 21, 2019, 05:35:23 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: Speedrunner trying to soak up knowledge  (Read 3192 times)
0 Members and 1 Guest are viewing this topic.
Cursedgamer11
Guest
« on: July 11, 2016, 02:36:53 AM »

Heya guys. I'm planning on trying to get into this game, work on the routing, and probably work on the manipulations and tricks too. I'm kinda stuck at the moment because I don't know the data addresses for the game values. And I have no idea how the RNG increments, or how it is read.....  Sad I just have a bunch of questions that I hope you guys can answer!  Happy I hope to hear back from you guys though.
Logged
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

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

« Reply #1 on: July 11, 2016, 03:12:53 AM »

I remember someone and I were talking about this stuff only 3 years ago... so I'll just grab some of it from that PM I made out to them.
If you have any specific questions, let me know. *Looks back again.* I mean, can't wait to hear what you have...

---
GS1:
02000478 = Random battles counter (0x00100000+ will cause a battle.)
020023A8 = Random number
03001CB4 = Random number

GS2:
02000498 = Random battles counter (0x00100000+ will cause a battle.)
020054C8 = Random number
030011BC = Random number


Effects may use the first random number(020023A8/020054C8)(I think?), but I have supplied both of the known ones in both games just in case.

The second random number (in the 03****** section), will update as you select enemies, but that doesn't occur for the one in the 02 section.

Whenever the random numbers are used, I believe that is when they change.  They get multiplied by 0x41C64E6D then added by 0x3039, and the result is used where needed.

I noticed that in GS2, the "May inflict Death" may not work on 102 Agatio or 105 Karst, so no point in using things like Assassin's Blade on them?


For GS1, the editor says that Assassin's Blade has an unleash rate of 35%, if that helps.
« Last Edit: July 11, 2016, 03:26:48 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
leaf
Potions class is starting
Venus Clan

Death Eater+Grass Snake = Snake Eater? SNAAAAAAAKE

Veteran Member
*

Coins: 0
Offline Offline

Posts: 1322

« Reply #2 on: July 13, 2016, 05:08:48 PM »

Hm, have you tried to get in touch with plexa? He's one of the foremost speedrunners of this game, and could probably help you out.
Logged

Spoiler for quotes:
[9:00:50 PM] Randel Peltier: Ok...what did I do last night?
[9:01:19 PM] Kain: Something boring, repetitive, and lasted for about sixty seconds.
---
[10:45:08 AM] Salanewt: But yeah, the elemental phalluses are being... Stroked up by Saturos and co., and the energy will go towards... Mt. Muffin, where the Golden Climax will arise.
[7:28:42 PM] Salanewt: An added bonus is that Isaac and co. were trying to stop Saturos and co. because their beliefs state that Mt. Muffin should remain a virgin.
---
[9:54:21 PM] Randel Peltier: Guess the number in my head an you get to pick what I say. Number between 1-10
[9:54:28 PM] leaf: 11
[9:54:36 PM] Randel Peltier: @#$%!
---
[8:38:13 PM] Randel Peltier: Shes like this queen up on a pedastal that I have yet to court.
[8:38:29 PM] Kain: You've tried courting her.
[8:38:43 PM] leaf: and failed spectacularly
[8:38:44 PM] Randel Peltier: Ive tried...shes the best dating game ever.
---
[12:24:35 AM] Salanewt: I need to find a picture of a naked person to put on the Christmas tree next year.
---
[2:19:06 PM] Zeadra: wait... Rief's a guy???
---
[1:09:57 PM] Zeadra: well if you want to know if its a new effect or something weird, just check GS1, if side step is there maby it is the nimble dodge thing
[1:10:35 PM] Kioll: For once, you've contributed something useful.  o.O
View Profile
Cursedgamer11
Guest
« Reply #3 on: July 14, 2016, 04:54:36 AM »

Hm, have you tried to get in touch with plexa? He's one of the foremost speedrunners of this game, and could probably help you out.
Yes I have, but I want to do a lot of research on my own. I've already asked him about the game a good amount, so I'd be worried that asking him things like how damage is calculated would be rather annoying.
Logged
leaf
Potions class is starting
Venus Clan

Death Eater+Grass Snake = Snake Eater? SNAAAAAAAKE

Veteran Member
*

Coins: 0
Offline Offline

Posts: 1322

« Reply #4 on: July 14, 2016, 05:35:06 AM »

Well, damage calculation is something that gamefaqs can tell you.

http://www.gamefaqs.com/gba/468548-goldensun/faqs/15080
Logged

Spoiler for quotes:
[9:00:50 PM] Randel Peltier: Ok...what did I do last night?
[9:01:19 PM] Kain: Something boring, repetitive, and lasted for about sixty seconds.
---
[10:45:08 AM] Salanewt: But yeah, the elemental phalluses are being... Stroked up by Saturos and co., and the energy will go towards... Mt. Muffin, where the Golden Climax will arise.
[7:28:42 PM] Salanewt: An added bonus is that Isaac and co. were trying to stop Saturos and co. because their beliefs state that Mt. Muffin should remain a virgin.
---
[9:54:21 PM] Randel Peltier: Guess the number in my head an you get to pick what I say. Number between 1-10
[9:54:28 PM] leaf: 11
[9:54:36 PM] Randel Peltier: @#$%!
---
[8:38:13 PM] Randel Peltier: Shes like this queen up on a pedastal that I have yet to court.
[8:38:29 PM] Kain: You've tried courting her.
[8:38:43 PM] leaf: and failed spectacularly
[8:38:44 PM] Randel Peltier: Ive tried...shes the best dating game ever.
---
[12:24:35 AM] Salanewt: I need to find a picture of a naked person to put on the Christmas tree next year.
---
[2:19:06 PM] Zeadra: wait... Rief's a guy???
---
[1:09:57 PM] Zeadra: well if you want to know if its a new effect or something weird, just check GS1, if side step is there maby it is the nimble dodge thing
[1:10:35 PM] Kioll: For once, you've contributed something useful.  o.O
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

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

« Reply #5 on: July 14, 2016, 07:27:05 PM »

@Research: If you are interested in the more in-depth stuff... Then...
-Do you know any assembly code? (Thumb/arm) ; If not, would you be interested in learning? (I use GBATEK for documentation on hardware... ; and SDL-H for debugger... Although no$gba debugger is another option.)

@Damage Calculations: There's one large function... Containing the Ability Type and Ability Effect coding... and the Ability Type is what the damage calculation part is.,.... (Depending on the type may depend on which of three or so functions are called... @3 functions: One is Physical type, another is Elemental (Non-physical) type, and the last is Heal type.)
« Last Edit: July 14, 2016, 07:48:13 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
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
March 04, 2019, 08:45:44 PM
Fox: Aw.  I kind of want to suggest dressing up in a banana costume.  No wait, that's a bad idea.
March 04, 2019, 04:24:10 AM
Average Wind Seer: *angry gorilla noises that roughly translates to "Stay the [redacted] off my island and don't touch my [redacted] bananas"*
March 04, 2019, 03:06:07 AM
Fox: Gosh. This is like playing whack-a-mole! What's taking you so long with the bananas?! :D
February 28, 2019, 10:20:28 PM
Fox: And that other guy I thought for sure I saw a moment ago.... maybe he left again.
February 28, 2019, 10:16:29 PM
Fox: :O Wha-? I guess you didn't bring an army? If you plan on bringing a bunch, I would have suggested recruiting more people. Like me.
February 28, 2019, 09:57:15 PM
Average Wind Seer: I just reached the Island, but I'm planning on getting as many bananas as I ca- OH GOD!!! OH NO HE'S GOT ME!!! SOMEONE PLEASE HELP ME!!! AAAAAAHHH!!! NO! NO! NOOOOOOOO-!! *angry gorilla noises are heard as audio fades to static*
February 28, 2019, 09:13:45 PM
Fox: Huh. I didn't know you like going on adventures, that sounds interesting. How many bananas are you bringing?
February 28, 2019, 02:32:28 AM
Average Wind Seer: a brilliant plan. I'll go get the bananas from that seemingly uninhabited island with a large sign with the letters "D.K." written on it
February 28, 2019, 02:19:23 AM
Fox: I have an idea. If it turns out they love bananas, we can get some more as bait to keep them here?
February 27, 2019, 03:00:14 AM
Average Wind Seer: They consumed so much of the banana that only the essence of the peel remained TT^TT
February 27, 2019, 02:17:50 AM
FoxYou don't see it in the trash can over there?  Maybe that was someone else's.  .... Wait, Essence of Banana Peel?
February 27, 2019, 12:06:56 AM
Average Wind Seer: nope, that's just Essence of Banana Peel that they left behind :(
February 26, 2019, 11:39:52 PM
Fox: That's unfortunate.  I think they left the peeling for you.  :/
February 23, 2019, 05:18:08 AM
Average Wind Seer: .... yes.... I was gonna eat that banana....
February 23, 2019, 02:47:39 AM
Fox: steal*
February 23, 2019, 02:47:31 AM
Fox: Did they still your banana?
February 22, 2019, 02:32:19 AM
Average Wind Seer: hecc my ba- oh snap there they go :/
February 21, 2019, 10:14:10 PM
Fox: Shh... Don't scare them away.
February 21, 2019, 07:20:30 AM
Average Wind Seer: shocking, isn't it
February 21, 2019, 07:06:58 AM
Luna_blade: holy moley 4 users online

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