Golden Sun Hacking Community
May 24, 2017, 09:38:06 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  
Shoutbox Archive
1 [2] 3 4 ... 2199
Yesterday at 06:55:16 AM - Fox - Using xml or json has also come to mind as a method to replace language.ini file and to store table addresses.... but I haven't thought much about that, so....
Yesterday at 06:54:24 AM - Fox - @static object = Huh? Well, I do know that it's useful for global stuff... at least. But I'm curious about when to know if a function should be down globally or through another object....  For example, I could make me rom buffer be put in a global file, since we're likely to only have one opened at a time, for almost the duration of the app, but then when we consider possible advances in the application like having two opened at one time (Such as GS1 and GS2 to transfer pieces of data), then...?
Yesterday at 06:30:49 AM - Luna_blade - And then every strategy should have some 'static' object that tells how the specific strategy should generally look.
Yesterday at 06:28:24 AM - Luna_blade - Well... unfortunatly I did not know about patters yet when I started my Hed Editor. But what you describe sounds like it solveable with strategy pattern.
May 22, 2017, 05:08:21 PM - Caledor - well i don't know the details but Factory is when you have an object (often a singleton) whose main (only) purpose is to handle creation and destruction of other objects
May 22, 2017, 02:43:52 PM - Fox - Hmm... Is that what you call a Factory Design Pattern or something? Not sure exactly... I have a bit to learn...
May 22, 2017, 02:38:15 PM - Fox - work if I make... * (Strangely, I can't remember what I was saying when I said all. :( )
May 22, 2017, 02:36:02 PM - Fox - I'm thinking about possible organization methods. And meh.... Basically, I have all these control creations done in a single class (Table_Manager), and I'm wondering how it'd work all make separate classes for each to be used by the Table Manager... hmm... erm.... something along those lines. Not sure if I'll do it, but anyway.
May 22, 2017, 12:46:19 PM - Luna_blade - Aha
May 22, 2017, 10:48:26 AM - Fox - Well... finishing touches for the GS2 portion... GS1/GS3 shall come at a much later date.
May 22, 2017, 10:46:33 AM - Fox - Class Name editing* (You can do it in the Text Editor portion, but wanted to copy what Atrius did.)
May 22, 2017, 10:45:45 AM - Fox - @Those who were on Discord:  Meanwhile... I try to do the finishing touches to my basic Class Editor - Class Names
May 22, 2017, 10:42:43 AM - Fox - Right to left*
May 22, 2017, 10:42:32 AM - Fox - So basically. Left-to-right is 128-bit with spacing added for <128-bit types.
May 22, 2017, 10:36:34 AM - Fox - 128-bit is 16 bytes in reversed order. (That's a whole row) ... Ofcourse, my idea would be to handle the data on a byte-level regardless of which (8/16/32/64/128)-bit you pick?
May 22, 2017, 10:05:08 AM - Luna_blade - @stuff found on Discord: Nice. I actually forgot there was a discord. Not that I would come there often, but I don't have a link anymore.
May 22, 2017, 10:04:25 AM - Luna_blade - how do you mean 128-bit? I once thought of making a hexEditor and never thought of actually reversing the direction of the bytes... interesting
May 22, 2017, 07:24:26 AM - Fox - 128-bit*
May 22, 2017, 07:24:16 AM - Fox - Of course, having an option for 28-bit could probably work as well... but then the spacing wouldn't really be there. Hmm...
May 22, 2017, 07:21:08 AM - Fox - If I ever do a Hex Editor, would like to consider a right-to-left option. It's a little different than just reversing bytes and keeping it to left-toright for 16-bit and 32-bit... but anyway.... I am thinking about the Big Endianess advantage.
1 [2] 3 4 ... 2199
Cbox
Today at 06:49:14 PM
Lord Squirtle: I guess I'll make a topic for the GBA concept room in Dark Dawn soon.
Today at 04:27:21 PM
Fox: Yep ... There are many libraries for many languages... Python, etc... And then there are things like  the Google apis - e.g. http://maps.googleapis.com/maps/api/geocode/json?address=(whatever you want to search for)
Today at 07:46:43 AM
Luna_blade: I can see how XML/JSON are a thing these days.
Yesterday at 04:52:18 PM
Fox: Easier in the idea that I can reduce required external stuff where the source code isn't available/modifyable (Well, there is overrides in some cases, but still.) ; So it's possible the only "Events" I would require are those of the Form.... (Mouse Events, Keyboard Events, Paint Events, Etc. when needed.)
Yesterday at 04:42:14 PM
Fox: Anyway... I know I am using built-in controls in my current editor, but it is not out-of-the-question that I might just go and make my own custom controls... so that it is actually easier for me (But that'd take a lot of work.)  I'm thinking about one large bitmap object, and just drawing them on it. Problem is, I'm afraid it might not be efficient enough.  So I haven't decided about doing it.)
Yesterday at 04:33:28 PM
Fox: @XML = If I recall, I believe Visual Studio uses it for Settings Variables that remain even after you close the program. (e.g. There's one variable I have in my program that I call "LastRom" to make it easier to get back into the program.)
Yesterday at 04:17:59 PM
Fox: XML/JSON are simple = They are just a way to store data outside the application... ... The complexity is comparable to learning about data trees, I'd say... XML = Looks like HTML  ; JSON = Think Lists and Dictionaries, and nested ones.
Yesterday at 03:51:19 PM
Luna_blade: @the whole static thing: I recently came across the problem that if you use design patterns, objects of the same class might get duplicate info. Sometimes this is very little information, so it seems better to use something class-wide than making a file
Yesterday at 03:47:41 PM
Luna_blade: another thought I had is that I already made some code better...
Yesterday at 03:45:59 PM
Luna_blade: Sure I will open-source it on github once I rewrite it to be more maintainainable. Now that I think about it, I should put some other stuff there as well
Yesterday at 03:44:54 PM
Luna_blade: Yeah I made some code and screens for it in Java. The last thing I was busy working on was the grid for the values and the selection shape.
Yesterday at 03:41:22 PM
Luna_blade: I will learn a bit of JSON and XML soon. I guess those are pretty good replacements for what I meant with static
Yesterday at 03:40:42 PM
Luna_blade: It's an okay article. I prefer reading the java implementations on tutorialpoint
Yesterday at 12:07:19 PM
Fox: article*
Yesterday at 12:07:06 PM
Fox: Oh yes, there's a whole artice on design patterns at wikipedia? https://en.wikipedia.org/wiki/Software_design_pattern
Yesterday at 07:20:37 AM
Fox: Oh yes.... Just checked.... Program.cs has "Application.Run(new Form1());" ... AND.... Program.cs is a STATIC class, so my hunch is confirmed. (In a way.)
Yesterday at 07:12:43 AM
Fox: So... I'm assuming that it is like a tree, and your top level file should be the static class, with all the other object classes linked from it? (Like a tree?) - Wonder how the Dessigner treats Forms. (How are Form objects linked to a static class, if at all?)
Yesterday at 07:00:51 AM
Fox: (Since I can have incredibly bad wording sometimes :P)
Yesterday at 06:59:50 AM
Fox: (Well, started "?" was more implying whether you made any public releases yet....
Yesterday at 06:59:02 AM
Fox: Wait? You started a Hed Editor? Curious if you were going to open-source it....

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.058 seconds with 12 queries.