Golden Sun Hacking Community
February 20, 2020, 12:21:58 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: Hello, I'd like to receive advice  (Read 3996 times)
0 Members and 1 Guest are viewing this topic.

New User


Coins: 0
Offline Offline

Posts: 4

« on: March 11, 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: March 12, 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: 6051

« Reply #2 on: March 12, 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: March 13, 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
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1000
Offline Offline

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

« Reply #4 on: March 14, 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: March 14, 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.
View Profile

New User


Coins: 0
Offline Offline

Posts: 4

« Reply #5 on: March 16, 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
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1000
Offline Offline

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

« Reply #6 on: March 16, 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: March 16, 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.
View Profile

Novice Member
*

Coins: 0
Offline Offline

Posts: 14

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

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

New User


Coins: 0
Offline Offline

Posts: 4

« Reply #8 on: May 02, 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: May 02, 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: 200
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: 4594

« Reply #10 on: May 02, 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: May 02, 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
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1000
Offline Offline

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

« Reply #11 on: May 02, 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.
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
February 17, 2020, 04:54:34 AM
Fox: I guess one thing this game has going for it is the Day and Night cycle.
February 17, 2020, 04:51:46 AM
Fox: Also, I noticed since the very beginning of the game, that usually the dresser drawers (whatever you call them) have items in them.
February 17, 2020, 04:48:20 AM
Fox: (And I only recently got Karn, the fourth PC.)
February 17, 2020, 04:36:01 AM
Fox: Was playing Breath of Fire I.... and I must say.... that game's pretty bland.... listening to the same songs basically everywhere... and multiple NPCs saying the exact same thing.  Most of it plays about the same... a maze with common useless items in chests, maybe you'll get one or two fine equipment, but yeah.  ... I want to check #II again later, the game I remember playing like... over a decade ago.
February 04, 2020, 08:06:18 AM
Salanewt: We're more active on the Discord though.
February 04, 2020, 08:06:01 AM
Salanewt: Oh hey! It does, yeah.
February 02, 2020, 06:42:38 PM
Mastermind: holy crap this place still exists?
December 24, 2019, 09:33:09 PM
Fox: Even just plain Editor work can make some difference. = At least these forums are indexed on the Search engine. I was also curious about whether to um... go through all the topics on these forums and take all the important stuff out/placed into a folder for a bit of organization. Would be a bonus since if something ever happened to this forum, or if we ever wanted to start afresh again, it wouldn't be that difficult to do so.
December 24, 2019, 09:23:03 PM
Fox: One thing is for sure. This place has become completely dead. (Mostly because of Discord.)  = I don't think much will happen with this forum unless I, Salanewt, or someone else does a thing.
December 24, 2019, 09:18:05 PM
Fox: Probably not?
December 24, 2019, 06:51:08 PM
Luna_blade: I suppose this is the last Christmas of this forum? 
December 24, 2019, 06:50:51 PM
Luna_blade: Yay thanks for the coins
December 19, 2019, 04:39:45 AM
Fox: Okay, another thought... "gsmagic" could be the code name/project name... and "Golden Sun Magic" could be the more formal official name... (As in using both names.)  -  I still need to look into these other games as well... so who knows if it could be better to call it Camelot Magic if those should ever be supported to a decent standard.  Would probably be a long time from now, though. As I can be pretty lazy.
December 18, 2019, 10:01:39 PM
Foreclosure: gsmagic is fine
December 17, 2019, 05:44:32 PM
Fox: Also. I call my program "gsmagic" and not "GSMagic" =P (Not asking for correction/I being silly)... Had to call it something, so picked something short.  Maybe I should rename it to Golden Sun Magic later. *shrug*
December 17, 2019, 05:35:04 PM
Fox: (And "Golden Sun" instead of "GS" to reduce confusion that would likely not be there anyway... when "Golden Sun" doesn't take up much space to start with. (Imagine being new and thinking GS meant GameShark, or some other oddity. Ew.)) - All just thoughts...I'm still going with most of this not mattering that much, though.
December 17, 2019, 05:12:55 PM
Fox: "Misc. GS Hacking" = That name looks odd, so I'd probably just go with "Golden Sun Hacking"
December 17, 2019, 05:08:05 PM
Fox: I tempted to also suggest the Editors can go in the first category. Since the Editor is the reason this place exists in the first place. (I think.)
December 17, 2019, 04:53:19 PM
Fox: (combined = Not meant to be taken literally... but rather.... to generalize things more, since it apparently looks like we don't need the extra space no one is using.)
December 17, 2019, 04:48:49 PM
Fox: Worse still... we've only used those for Golden Sun content.... and there's not much there.
December 17, 2019, 04:45:53 PM
Fox: E.g. Maybe everything in "Assets & Discussion" could be combined with "Creative Works".... I don't feel like sound and art apply to general hacking anyway... that only comes into play when you have tools to insert them.
December 17, 2019, 04:40:26 PM
Fox: categories and/or forums
December 17, 2019, 04:36:48 PM
Fox: Everything else seems to be about right, though. Perhaps some categories could be combined(?), but doesn't really matter that much.
December 17, 2019, 04:33:03 PM
Fox: (I still think The Community section fits best at the bottom. =P)
December 15, 2019, 05:10:04 PM
Salanewt: Heya! I'm planning to get the demo up today, but if you can't wait then it's already available on the Discord.
December 15, 2019, 04:12:27 AM
Fox: (Then sell the badges on the Trade Center for a very high price... and give a lot of active people coins to buy them with, so they can basically transfer the coins to me if they want something... Gosh I could be a naughty hoarder. =P)
December 15, 2019, 04:06:19 AM
Fox: I'd buy up all the stock for each item too... but man... I think I'm too lazy for that. =P
December 15, 2019, 04:01:24 AM
Fox: There we go. That should be all of them.
December 15, 2019, 03:25:32 AM
Fox: Duplicates will still show up as separate entries on the profile as well. Interestingly enough.
December 15, 2019, 03:18:25 AM
Fox: (Well, one of each badge, at least.)

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