Golden Sun Hacking Community
01, October, 2020, 12:50:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come give us a "hello" on our Discord server!
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Hello, I'd like to receive advice  (Read 4961 times)
0 Members and 1 Guest are viewing this topic.

New User


Coins: 0
Offline Offline

Posts: 4

« on: 11, March, 2017, 04:49:48 PM »

Hello everyone! Happy
I've just joined this community, wishing to some day (and somehow) be able to make my own GS hack-game, since that was the bait I read for join at the Home in this website.
Also because Camelot doesn't seem to be into it anymore Sad
As for now, I simply wanted to greet everyone, and thank beforehand any help I could get. Hi!
Logged
View Profile
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 28
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 543

« Reply #1 on: 12, March, 2017, 07:08:15 PM »

Hello there and welcome!
Unfortunately I don't know much about the hacking tool. I do understand a bit of GBA assembly, but not enough to really hack.
There are/were also non-hacking related projects here, if you are into it.

Yeah it is quite a shame Camelot is done with it.
Logged

"Hear the sounds and melodies
Of rilets flowing down
They're the verlasting songs
Whispering all the time
As a warning that behind some rocks
There's a rigid grap even
Oreads fear the tread"
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #2 on: 12, March, 2017, 11:26:12 PM »

For advice, you'll probably want to seek out Salanewt/Squirtle.  They seem to be the ones who understand the inner workings of GS the most, or at least that's my impression.  Caledor's a good choice for advice as well, given that they have a full release and continue to update their second mod set.
Logged

View Profile WWW

New User


Coins: 0
Offline Offline

Posts: 4

« Reply #3 on: 13, March, 2017, 03:29:26 PM »

Oh, thank you both! I don't know those names you mentioned, but I'll do some research on them when I have more time (right now I'm having exams every week).
Until now I've been using Atrius' editor, which allows you to modify a lot in-game, but I never got around making my own maps, scenes, events or whatever...

What about you? What have been your projects about the game?
Logged
View Profile
Daddy Poi's Oily Gorillas
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

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

« Reply #4 on: 14, March, 2017, 10:17:03 AM »

Yes. Outside of Atrius, Salanewt, and me, there's not really many other people to ask for help from when it comes down to the game's code....? (But as time goes on, people's knowledge can grow... And I'm hoping the docs in my sig have really helped some people.)
I believe I am perfectly capable of learning mostly anything concrete about all three GS games.... but sometimes the motivation just isn't strong enough. Plus, it can take time when I do. (Whoops/Sorry. But hopefully one day, though??)
@time: That can either be a short period of time, or a very long tricky amount of time, sometimes leading you in circles if you're unlucky.... (I think.) ... But as I like to think... where there's a will, there's a way.

(I say concrete, because you can't always know the why , etc. ?)

---
I have had a bunch of projects for GS... Not many hack projects, but plenty of mostly-incomplete editor projects.

-In the early days, I started with modding Atrius's editor, had some minor releases (likely bugged)... and then at one point, I discontinued it.
-Java project = Was meant to list data in the order they are shown -
-C# Map Editor project = Well, not really a map editor yet... but it does have a text editor. (Fully utilizing the compression so you can have any text you want... Should also be better compression than Atrius's editor... but for those who don't need the space (you probably won't), it doesn't matter...)
-At some point, I was rewriting the game code (or trying to) in C/C++ to be compiled by some gbadevkit thingy.... It wouldn't be 1:1 (Original wouldn't be same as newly compiled) ... Plus, it'd take an excruciating long time.... so can't say whether that's a good idea...
-Latest project was: ... C# and possibly Python (Not sure yet) Data Exporter project = Hoping this one will replace all my previous editor projects.... so that you can edit almost anything about the game.... (Staying in the confines of the GBA? Unless we figure out a way for platform-conversion... but I'm no where near that stage yet.) ... and use armips for compiling.

It's probably been several month since I've last touched the last project, so I should really get back to it at some point.
« Last Edit: 14, March, 2017, 11:10:13 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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)
View Profile

New User


Coins: 0
Offline Offline

Posts: 4

« Reply #5 on: 16, March, 2017, 02:11:16 PM »

Whoa, you certainly sound quite experienced about this!  Happy Would you mind if I ask you a little?

Using Atrius' editor, I wanted to make my own classes using attached items, in the same style as the Whip or the Book. However, I am unable too... I looked throughly at those items and their given classes, but I couldn't find what "linked" them together. Until know I had to say goodbye to one class or another in order to transform into what I wanted, but since there are many empty spaces in that cathegory, I'd prefer to make my own from scratch.
Logged
View Profile
Daddy Poi's Oily Gorillas
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

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

« Reply #6 on: 16, March, 2017, 02:55:34 PM »

You mean Item Classes?

Some items set your Class Type to another value if you have them equipped. The problem is that this is hard-coded, so it was never added to Atrius's editor.
(Innate Psys were also hard-coded, but Atrius added a code patch to help with making it easier to edit with-in the editor. Basically making it so the psys are in a simple table instead of keeping it hard-coded..)

So if you are only using Atrius's editor, the best you can do is know which class type each of those items use...


You could try using a Disassembler and hex editor if you know what you are doing though.
As a matter of fact, all you need is VisualBoyAdvance to do it (See Tools menu from VBA's toolbar), assuming you already know the where-abouts of which you'd like to edit...
If you wish to do your editing in VBA's memory viewer, then you must know how to use the Save button in the memory viewer and making a dump of the ROM section...
The hardest part in all this, if you don't already know it... is learning how the code works. (Thumb assembly required.)


Relevant part in the document of mine:
GS2:
080B0144 = find_matching_class(pc,pcDjinnRamAddr,item)
Unfortunately, the function is a bit long to explain.... but the part that sets the class type based on item is pretty short. (Scroll down... I may have to explain it, though.)

A lot of times when I do text(text,text....) , It's basically names I make up... that are like what I might name the function and parameters... functionName(r0=parameter0, r1=parameter1, r2=parameter2...)
So, since I have already figured out the r2 one... which is "item" from way before... I can just scroll down to see where that is used.... First usage, it moves it to r8... This is a common thing that happens in functions, esp. large functions.. = The arguments are moved/stored somewhere else to be referenced....
....so scrolling down to see where r8 is used....

And BAM!
080B01D2 = Compares r8 with 0x1BC (Trainer's Whip), if it matches, set class type to 0x10 (16 in decimal)
080B01DE = Compares r8 with 0x1BB (Mysterious Card), if it matches, set class type to 0xF (15 in decimal)
080B01EE = Compares r8 with 0x1BD (Tomegathericon), if it matches, set class type to 0x11 (17 in decimal)

After a class type has been calculated... that's when it is compared against the class type values listed in each class  (The Class Types you see in Atrius's editor.), to figure out which class you will be getting.

NOTE: I really should have explained that portion of assembly in great detail, but it takes time.


---

EDIT AGAIN: Oh wait... I forgot about this!

http://forum.goldensunhacking.net/index.php?action=downloads;sa=view;down=34 <== This is a simple option, should you choose to use it over working through the above complications.
« Last Edit: 16, March, 2017, 04:14:18 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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)
View Profile

Novice Member
*

Coins: 0
Offline Offline

Posts: 14

« Reply #7 on: 05, April, 2017, 07:04:52 AM »

Er...wrong thread, sorry D:
« Last Edit: 05, April, 2017, 07:07:13 AM by Manu » Logged
View Profile

New User


Coins: 0
Offline Offline

Posts: 4

« Reply #8 on: 02, May, 2017, 05:27:30 PM »

Fox, that sounds so difficult...  Sad I never had any kind of programming experience or instruction, so I don't even know what most of what you said meant.

However I did understand it's not possible to do what I intended, such pity... But of course, if hacking this game was that easy, then I guess we would have tons of GS hacks to play like it happens with Pokémon or Mario (and there's none as far as I know).
Logged
View Profile
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 28
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 543

« Reply #9 on: 02, May, 2017, 06:04:47 PM »

Fox, that sounds so difficult...  Sad I never had any kind of programming experience or instruction, so I don't even know what most of what you said meant.
Well if you are interested, he wrote down some GBA CPU instructions. Better know as ARM instructions.
Even though you have no programming experience, I'd say ARM is relatively easy to understand. Mostly because normal programming languages have quirks to understand and ARM has almost none. At any rate, this forum might be the best place to learn it.
However I did understand it's not possible to do what I intended, such pity... But of course, if hacking this game was that easy, then I guess we would have tons of GS hacks to play like it happens with Pokémon or Mario (and there's none as far as I know).
Well... those games are also simply more popular.
Logged

"Hear the sounds and melodies
Of rilets flowing down
They're the verlasting songs
Whispering all the time
As a warning that behind some rocks
There's a rigid grap even
Oreads fear the tread"
View Profile
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
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: 4605

« Reply #10 on: 02, May, 2017, 07:07:41 PM »

Hey there! It looks like I missed your introduction, but welcome! :p


Small question, but do you know how to apply patches? Or how to use a hex editor?
« Last Edit: 02, May, 2017, 07:20:47 PM by Lord Squirtle » 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
Daddy Poi's Oily Gorillas
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

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

« Reply #11 on: 02, May, 2017, 07:45:47 PM »

I would say that learning assembly is easier than proper game balancing.... but it depends on what you are interested in.
Also, I cannot express how much pictures help to teach people things! So I should try to use them more often. :/


As for you finding it difficult to understand... that's what the last part of my post was about. = Expanding the number of items that have item classes from 3 to 5... It is better than nothing. But the main thing is the "link" between them is hard-coded. (Don't look at hard-coded as unreachable, just a learning curve that requires Thumb knowledge.)
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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Chatbox
31, August, 2020, 08:40:32 AM
Daddy Poi's Oily Gorillas: Being able to convert IPS files to text files to also supporting commenting, and convert back to IPS after changes.... sounds like a fun strategy? 
27, August, 2020, 10:37:30 PM
Salanewt: Hey, thanks! 
25, August, 2020, 12:59:22 AM
Foreclosure: Yo! Looking forward for this AI OVerhaul patch when it's finished :) :) 
19, August, 2020, 07:00:17 PM
Salanewt: That's awesome! I'm pretty good; been working on an AI Overhaul project and have made some nice progress in the past couple weeks; the goal for tonight is to add Deadbeard to GS2 and then I can move onto something new.
19, August, 2020, 01:14:56 PM
Awec: Ye not bad, just checked back in for updates on GS Reloaded really. Although now I'm looking back through some of my old forum posts, which is fun :D how are you?
19, August, 2020, 01:43:07 AM
Salanewt: It sure is! How have you been?
16, August, 2020, 09:40:57 AM
Awec: Yo nice to see this forum is still going
14, August, 2020, 09:06:44 PM
Salanewt: Hey! How goes it?
01, August, 2020, 01:31:53 PM
KyleRunner: Hello, people!
08, July, 2020, 08:57:11 PM
Salanewt: That awkward feeling when almost a quarter of a year goes by without anyone posting a message in this chatbox.
27, April, 2020, 07:54:10 PM
Daddy Poi's Oily Gorillas: I'm having a thought. So I know Atrius's editor is slow at saving sprites.... So I've been thinking.   I am considering another console program.  This time, for importing and exporting sprites/animations. Image files (for sprites), binary files (for animation data), and maybe binary or text files for Settings. Would certainly be cool if it works out. - Console programs are fun, when you can (at least temporarily) cheat out making a full interface editor for them. =P
25, April, 2020, 10:42:07 PM
Daddy Poi's Oily Gorillas: Tried to list those in order of importance, but anyway....
25, April, 2020, 10:37:59 PM
Daddy Poi's Oily Gorillas: GSHC, GS Speedrunning, /r/Golden Sun, GS United Nations, ToK.  Sixth one is border-line I'm not sure.
25, April, 2020, 08:00:21 PM
Daddy Poi's Oily Gorillas: (low as in <100)
25, April, 2020, 08:00:04 PM
Daddy Poi's Oily Gorillas: So while there are quite a few GS Communities out there. There are only up to maybe ~6 Discords worth even the consideration of joining, I think. Most of the rest of them have a fairly low member count. (Of which I can tell?)
14, April, 2020, 10:49:35 AM
Daddy Poi's Oily Gorillas: The Essential Age could be what it stands for?
13, April, 2020, 05:23:32 PM
Misery: Tea editor... that's a cute name for it
01, April, 2020, 02:42:48 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:06 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
31, March, 2020, 07:18:29 PM
Salanewt: Sure thing!
31, March, 2020, 03:38:27 PM
JupiterDjinn: Can I have a question answered?
28, March, 2020, 12:50:13 AM
Salanewt: I want to shrink it down in size later, but yup!
26, March, 2020, 03:24:45 PM
Daddy Poi's Oily Gorillas: The news box is back? :D
19, March, 2020, 05:59:16 PM
Salanewt: Nice work hiding the searchbots Atrius!
19, March, 2020, 04:23:34 PM
Salanewt: I was wondering when I said that stuff! May need to work it out with Kain.
19, March, 2020, 07:03:05 AM
Daddy Poi's Oily Gorillas: (The simplest being to not accept char IDs pass 255, I think.)
19, March, 2020, 05:33:15 AM
Daddy Poi's Oily Gorillas: Heheh.... I'm just testing. You pretty much gave it away. Hahah. It seems to look fairly convincing, but I'm sure there's an easy solution to preventing it.
19, March, 2020, 05:28:50 AM
Atrius: Whelp, there it goes... Just what I didn't want.  Have fun with that I guess...   
19, March, 2020, 05:20:25 AM
Daddy Poi's Oily Gorillas: So like. Replace the "e" with another "e"? Alright. Gotcha.
19, March, 2020, 05:04:41 AM
Daddy Poi's Oily Gorillas: Good work.

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