Golden Sun Hacking Community
June 24, 2017, 07:01:51 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home Forum DC Wiki Help Search Calendar Downloads Login Register  
  Show Posts
Pages: [1] 2 3 ... 33
1  The Editor / Golden Sun: The Lost Age Editor / Re: Questions about Space Manager on: June 21, 2017, 06:30:50 PM
@1: Okay. It's always worth making sure, though... Right?
Quote from: Fox
@2: For which? The fact that he did it address, size, address, size, etc. or???
Well, the whole process of finding free space. I have true trouble grasping this right now (and maybe because some parts are not really written the way I usually write) but still pretty interesting.
2  The Editor / Golden Sun: The Lost Age Editor / Re: Questions about Space Manager on: June 21, 2017, 03:12:54 PM
When i=0x5000
if list[0xA000] == list[0x9FFE]
<<1 is like multiplying by 2.
Yeah I know shifts, I just did it wrong... not an expert with Hex.

Quote from: Fox
If you do the calculation for any i, the two address will always be the same distance apart (The entry before and the current one... for when the two addresses match... The problem is I'm not sure how they'd ever match based on the rest of the code used? But I'm sure I could have easily missed something.)

list[0] = The first entry's free space address
list[1] = The first entry's free space size
list[2] = second entry's free space address
list[3] = and size (and so on.)
Pretty interesting.
3  The Editor / Golden Sun: The Lost Age Editor / Re: Questions about Space Manager on: June 21, 2017, 07:17:16 AM
First if?
Yeah "if (list[i<<1]==list[(i-1)<<1])".
so when i = 0x00005000 for example,
list[0x00012000] == list[0x0005FFE] (correct me if I am wrong, still very tired)
that would make little sense to me. I am sure there is some reason that range between the two indices makes sense, but I simply don't know it.
Quote from: Fox link
Don't try to understand it without seeing the rest of it: (From Atrius's Source code... C++ Space Manager code file.)
Mmhh... aha, so this takes the ROM passed to it by another program/code, then is able to tell you where free space is?
Quote from: Fox link
If one is found... the code inside the if block shown in the first post basically swaps them. I'm not sure why there's an "|0x40000000" though..
I guess the bitwise OR is some kind of marking that methods afterwards can use.
4  The Editor / Golden Sun: The Lost Age Editor / Re: Questions about Space Manager on: June 20, 2017, 07:03:03 PM
Oof that is some tangled code.

I am not really sure what I am looking at here.
I would like to help out, but I am really too tired currently.
That first if is very puzzling.
5  General Hacking / Coding / Re: Image transforming on: June 20, 2017, 03:32:04 AM
Okay pretty nice.
But what kind of format are you going to use? I guess that would be the first step in this problem.

Now that I think about it, you might only need to specify a width for the image and then simply just load RGB values, which makes an extremely easy format.
6  The Community / Introductions / Re: Hello, I'd like to receive advice 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.
7  The Community / Introductions / Re: Hello, I'd like to receive advice 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.
8  The Community / Introductions / Re: HELLO PEOPLES! I've made a mod but that's not the point =3= on: January 15, 2017, 08:07:07 AM
Hello there!

Always nice to see a new face here.
9  The Community / Tech, Gaming and Entertainment / Re: Programming rant on: December 06, 2016, 02:21:34 PM
Anyways, developer laziness is one of the key problems facing accessibility today. Most software is not made accessible because most people don't know what's required and they don't fill in all the accessibility labels, let alone try to build a logical focus order.
Does that include translation?
I know windows supports lot's of languages. But Android IDK?
Quite a lot, but likely not in the earlier versions.

10  The Community / Tech, Gaming and Entertainment / Re: Programming rant on: December 05, 2016, 09:22:43 PM
Quote from: Seto Kaiba
My two cents - when people say things like "don't use x", they're following a standard that, in their minds, will help protect them from causing problems down the line. However, what I notice a lot of programmers DON'T do is they don't try to dig down and understand why they're doing what they're doing. If you understand why you're doing what you're doing, you understand why globals aren't a good idea most of the time, but are useful for certain applications (which is why they're there in the first place). Same goes for other things.
Yeah not going deeper can really be a problem. Especially if you work with other people code.
I also notice that I really don't take the time to understand everything of javaFX...
Quote from: Seto Kaiba
Remember that programming, like any other form of engineering, is about designing something towards a specific end goal. There are most certainly "right" and "wrong" ways to go about this - going for a method that's highly unoptimized and causes frame rate drops is clearly the "wrong" way to do it. So establish a set of absolute requirements, and orient your design in that direction.
That is a great way of putting it.
Quote from: Seto Kaiba
Also, don't forget that a lot of programmers are pretty damn haughty and lazy lol. a lot just don't like change.
I hope they like changing variables then.
So... here comes a question...

We know that when using a ROM on an emulator (VBA)... the worst possible thing that could happen from editing ROMs randomly is that VBA would get error messages and possibly close....(?) nothing dangerous, right? (Usually you get crashing/freezing, though.)
So... what's the worst thing that can happen with apps from just randomly editing them? (A simple application crash? ... Just thinking about memory leaks already has potential to give me shivers down my spine. :P) Or could it potentially knock out your computer? And/or cause you to lose your files...  I mean, it would be nice to make sure-sure, since who knows how Windows OS actually works.... they might have some protection system in play (Like relying on Kernel, somehow.), but I dunno how that works, yet.
^ Saying because randomly editing was one of the ways I started learning to hack the GBA.... (in the early days.)
If you would change random bytes it is important to note what language the program is written in.
But I guess usually your computer would come out unscathed. The chances of hitting something important is small (when you look at all x86_64 instruction, the chances of chaging it to a problem... or all possible path combinations...).

Memory leaks could be easy to trigger I guess? But that wouldn't harm your pc that much as well.
11  The Community / Tech, Gaming and Entertainment / Re: Programming rant on: December 05, 2016, 07:52:49 AM
... even having all the settings in the same familiar places.
Especially this.
I just wrote something about how software/OS needs lot's of options and settings, there is no use in having them if they are very hard to reach.
It is something I think Android does wrong in my opinion. Most of the time you can't be sure whether something is an option (and sometimes only configurable when rooted) or not.
12  The Community / Tech, Gaming and Entertainment / Re: Programming rant on: December 04, 2016, 08:25:50 PM
@Globals are bad: Fine by me.
-Knowing the scope of a variable can help with figuring out how it is used.
-Locals/function variables are stored in the stack, so they're for the life of the function... where-as globals (if not used properly) take up unnecessary room for the life of the program.

But in the end, it is up to the person designing the program.  Just like any art.  So you can go either way. Typically, I like to avoid the use of variables altogether in situations where they are not needed. (There are exceptions though... like duplicated code, etc.) --- P.S. In the AoC topic, I did shorten the Part 1 code a bit more by swapping to dictionary... apparently, it is a one-liner. (The dictionary initialized right on the same line it is used.... and didn't even have to have a variable to assign the dictionary to.)
Yeah exactly. I do understand the point of memory trouble, but for most applications, RAM is at least 500MB (most mobile phones have 500MB) and higher on PC's. There should be nothing wrong with having a few global variables.
Quote from: Fox
Fun anti-bot system?
Yeah very funny.

Quote from: Fox
IDE's are awesome...
It's like the best thing since coding a machine to slice bread. (Trying to make a "best thing since sliced bread" joke.)
Having tried to work with devkitARM/PRO, almost or no IDE is literally horrible and I respect the people who made punchcards.

Quote from: Lord Wolfram
Ah yes, I still remember back in a day people were saying to me that IDE's a re the worst thing created. It was like wtf the IDE makes the coding faster and better but they still insisted on that. I was confused and lost. (I was in small Linux community then, wanted to make a game in Linux)
Exactly what I meant with the bad part of the programming community.
Quote from: Lord Wolfram
One of reasons why I'd like to make an OS is so I can make it the way I see it should be, I mean Windows is fine but too restricted in some areas.
Linux distros are kinda bad for some parts of programming.
Really? I always thought linux is great for programming and was very customizable.
And yeah, OS's are getting very limited in custom styles.
It is sorta understandable from a design perspective and it works for all the test groups...
But leaving customization open is so easy and the current UI design seems more to build an image for a company then to be usefull.

I have to get a Linux certificate later this year.
13  The Community / Tech, Gaming and Entertainment / Programming rant on: December 04, 2016, 07:44:38 PM
So I have been studying Software Engineering for a few months now.
I have learned a lot, be it Java or assembly or general stuff.
Just a few days ago I watched this video:

The guy isn't truly thinking bad about programming, it is more about the the whole community of programmers.
And programmers really are a kind of community. It is almost natural for a programmer to be active on some kind of forum or have some git/source lying around somewhere.
But there are so much strange things, like the guys says. "globals are bad" "don't use singletons" etc.
And I really don't mean conventions, of which we should have way more (I mean, how many C compilers are out there? And how many uncommon languages that are almost copies?).

There were some other topics he talked about like the macho-showoff culture (people scaring new programmers with assembly or bullshit complex code), which I see is pretty much a thing unfortunately.

One of my own bad experiences with programming lately is the StackOverflow community.
The idea of it is great, but the execution is horrible.
On one of the relative sites, cardgames+boardgames, I anwsered a single thing (which is impossible on SO as new member, but on CB it's not) and within a day I had almost all privileges.
One of my questions on SO hasn't got an anwser,, but I know the anwser now. But I can literally not anwser my own question until I have enough reputation.
I know the site has had it's troubles in the past and that maintaining something like that isn't easy, but still. You can't get through as a new member these days.

Another reason why I happily keep coming here, is that everyone is not very biased.

To conclude this little rant, I hope that I don't get biased and stop wanting to learn more about programming.
14  The Community / Open Discussion / Re: Advent of Code on: December 04, 2016, 12:33:10 PM
Do you write super short Python, or is it naturely this short?
15  The Community / Debates / Re: Trump-bait / The Presidential Debate on: November 19, 2016, 04:55:09 PM
Yeah well this kind of hydropower that utilizes dams (actually the cheapest and most reliable form) was what I meant with:
since most conventional forms of waterpower are already being used)
There are literally a handfull of spots that don't have a dam already.
Pages: [1] 2 3 ... 33
Yesterday at 02:25:42 PM
Seto Kaiba: you know I miss how SMF is almost dead now because having 1pt text to hide my true feels was perhaps the best part of web 2.0
Yesterday at 04:19:13 AM
Fox: Alright. Sounds good.  I agree it does seem a bit silly.  Sounds more of an April Fools type of thing. (Maybe having an ability for people to change their names limitless times specifically on April Fools is an idea.)
Yesterday at 04:09:25 AM
Kain: Sala asked me about the name, I thought it was silly but agreed he could have it only for a week.  Tomorrow his name goes back to Salanewt.
Yesterday at 03:29:10 AM
Fox: And yay! Atrius is back! Thanks for the reply. Somehow I didn't notice the recuriveness before.
Yesterday at 03:25:29 AM
Fox: @ridiculous name for a week =  Hm? So, how many characters would you say should be the maximum to have a name "permanently"... or better yet... How many characters can a name have on registration?
Yesterday at 01:00:50 AM
Atrius: @Javi3, Lo siento, ya no tengo tiempo.
June 22, 2017, 08:57:37 PM
Fox: @conundrum = Think about 8/16/32 bit aligned address, and what that means... Etc.
June 22, 2017, 08:55:23 PM
Fox: @Space manager thought for gsmagic = What a conundrum... Whelp... I'll just do whatever.... Probably would waste more time thinking about preventing bugs than coding anyway. :P
June 21, 2017, 09:30:34 AM
Fox: Because he quit a long time ago and has other priorities?
June 21, 2017, 08:35:54 AM
javi3: Atrius, por que no sigues con el editor de golden sun?
June 20, 2017, 10:52:48 AM
Fox: It feels like the safest bet is to do Atrius's repointering system, and have something that organizes the tables done a bit separate... er... Well, it's something to think about.
June 20, 2017, 08:53:41 AM
Fox: HOWEVER... I can see other problems that might cause..... (Even with just the pointer in the MFT)  Meh. It's like you actually need a program to apply patches to do it appropriately.
June 20, 2017, 08:46:38 AM
Fox: ... So... What am I thinking? You ask? That the patches the point data after MFT, should have had pointers in the MFT themselves.... In that case, I can see a possibility of everything working smoothly even if space is needed to the very end of the ROM.
June 20, 2017, 08:37:22 AM
Fox: It's basically that everthink from the point of  editing, to the closest free space to the last entry's address would get repointed forward/backwards depending on space needed... and if space is mapped after patches are added, then that could mean the patches are also repointed. (:o)
June 20, 2017, 08:29:03 AM
Fox: Well, I mean if I map the space out the same way Atrius did it.
June 20, 2017, 08:26:41 AM
Fox: I have a hunch... when I add Map Palette editing the way I'm thinking about... it will cause all patches that repoint to after the MFT to break.... Especially if Atrius's editor wasn't used beforehand. Etc.
June 20, 2017, 07:27:17 AM
Fox: Hmmm... Let's see... regardless of method, I think I still do want to take some of Atrius's Space Manager code... Hmm.....
June 20, 2017, 07:07:27 AM
Fox: say*
June 20, 2017, 07:07:19 AM
Fox: I'd go so far as to see.. even if you are trying to be accurate, there could still be inaccuracies... However, that one was just an example where it was clearly intentional.
June 20, 2017, 07:04:03 AM
Fox: Like*

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.104 seconds with 20 queries.