Golden Sun Hacking Community
May 20, 2018, 09:54:02 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 2 [3] 4   Go Down
  Print  
Author Topic: Building an RPG engine in GML  (Read 12642 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #30 on: February 23, 2016, 03:26:03 PM »

Well, I'll look into that... But what I assume is If the code be executed at all... and as long as the code exists on your hard-drive... (i.e. not executed across the internet on someone else's server.)... then one form of decompiling should be possible... even if it does not match the original source code format. (In that case, I would find decompiling desirable for even my own GM projects... if I had any.)

I know that there is such a thing as code obfuscation... but I have not checked how that would make it impossible? (And maybe such a technique would slow down execution speed? I dunno.)

If you have any information that suggests how it is impossible... then I would be very interested in exactly why... (Besides Atrius's Editor (back in the day)... I suppose that I can't really think of any project that I'd really want it for... but I can see the possibility of myself decompiling a number of other games (maybe?) if I want to understand their bugs/or interested in their code structure/whether it could cause bugs and such... maybe... but can't say I'd do any editing as far as that goes/since I'm not really interested in GM in that way... at least not right now...  but um...)


--- Actually looking it up for a short moment suggests that some versions of GM actually had the source code (and structure) in the exe itself. ---
What do error messages look like when done on Studio-compiled apps?

I start thinking how we have to study GS's decompression routines before we can make compression ones of our own... and I haven't figured if it'd be the same via studying the compiler code to make a decompiler. (Not sure if a number of people would go that far.)


---
While I may check to see if other people have done it... I myself (even if by the small chance that I might have the capability of possibly getting somewhere...(with research, anyway.))... I probably won't waste my time with trying for right now... I think my M&L and GS editor projects have a higher priority.
« Last Edit: February 23, 2016, 04:11:23 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
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

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

« Reply #31 on: February 23, 2016, 07:14:53 PM »

If you have any information that suggests how it is impossible... then I would be very interested in exactly why... (Besides Atrius's Editor (back in the day)... I suppose that I can't really think of any project that I'd really want it for... but I can see the possibility of myself decompiling a number of other games (maybe?) if I want to understand their bugs/or interested in their code structure/whether it could cause bugs and such... maybe... but can't say I'd do any editing as far as that goes/since I'm not really interested in GM in that way... at least not right now...  but um...)
http://yal.cc/on-gamemaker-studio-game-decompilation/
Atrius' editor wasn't written in GM:Studio.
Actually looking it up for a short moment suggests that some versions of GM actually had the source code (and structure) in the exe itself.
Yeah.
What do error messages look like when done on Studio-compiled apps?
That's a good question. I think it depends on the error. But most of the time it will be a silent crash, I think.
I start thinking how we have to study GS's decompression routines before we can make compression ones of our own... and I haven't figured if it'd be the same via studying the compiler code to make a decompiler. (Not sure if a number of people would go that far.)
Let it slide. I don't think we really have to worry about stolen source code. Most people come here to help, not to steal.
I think my M&L and GS editor projects have a higher priority.
Yep.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #32 on: February 23, 2016, 07:32:07 PM »

Thanks! That was the page I was looking at, in fact... but I don't think I read every word of it.. While he may know more about the subject than me right now, I did have the feeling the guy who wrote that article may not know just how deep things can go... (That's just the feeling I had, not that that is actually so... I could be completely off.)

And yes, I know Atrius's editor was not written in Studio... besides... Studio didn't even exist back in the day.

That is true as well... for the most part... but I still like the technical/educational side of things. i.e. Building a decompiler may not be stealing in itself... but some people would probably use it for such... Even though a totally legitimate use for it could be to help one to rebuild their own project if they ever lose their own source code. (And believe me, there will be plenty of people who will want it for that.... the majority of which are most likely non-professional programmers.)
« Last Edit: February 23, 2016, 07:59:37 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
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

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

« Reply #33 on: February 24, 2016, 06:28:28 AM »

Quote from: Fox
Even though a totally legitimate use for it could be to help one to rebuild their own project if they ever lose their own source code. (And believe me, there will be plenty of people who will want it for that.... the majority of which are most likely non-professional programmers.
That's right.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #34 on: February 29, 2016, 07:09:16 PM »

Update:



- Overworld has no menus yet, only one NPC. Also sprites/backgrounds obviously are temporary.
- Item menu doesn't have any function in battles yet.
- I haven't done anything with the stat upgrades so that is probably buggy.
- Party colour is currently random to show off the music change mechanic.
- 1 in 4 battles will be harder and will have different music.
- Fleeing always works
- Some sprites are missing/gibberish
- Possible crashes (please report to me all crashes with copy/paste of what it spits out)
- No animations in battle. I might not even get this in by the time I get a crowdfunding demo out. The way the battle's animations are programmed make setting up certain things complicated (pseudo-3D graphics). I have an idea for an engine but it's so time consuming to make sure it works properly that I want to develop it after the rest of the engine is complete.
- Camera spin sometimes does this overlay glitch, it's because I'm not done with it yet ;)
- Loss isn't programmed.
- You can restart the game by pressing shift, and spawn a battle in the overworld with backspace.

https://www.dropbox.com/s/txsc2drr8569sey/colors_demo.zip?dl=0
Logged

View Profile WWW
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
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: 4566

« Reply #35 on: March 01, 2016, 04:40:50 PM »

Nice work! I like where that background is heading as well, looks calm and stuff.
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
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #36 on: March 19, 2016, 04:09:45 PM »



https://www.dropbox.com/s/txsc2drr8569sey/colors_demo.zip?dl=0

Demo Update:
-You now have an inventory. Main bag + individual character inventories.
-Menus!!!!!
-Party menu – you can equip items, move your party around, check your moves and check your stats. Talk menu currently WIP.
- Inventory – You can give items to characters and toss. Use doesn’t work yet but none of the items provided have uses outside of equipping yet anyways…
- Option – Just two at the moment.
- Saving!!! You can load a game by pressing shift while in the overworld, and it will load from a previous save file.
- A few minor balance changes, most notably dipping costs more MP
- Characters have abilities, although they’re invisible to the player. Richard doubles experience gained from battles and Mike autotargets and has a chance of dealing triple damage.
- bug fixes, bug fixes everywhere

To Do:
- Currently working on a way to have leveling be more balanced. Right now if you battle the same characters over and over you get the same amount of experience.
- Display friendship stats on the menus, lol forgot to do that
- Sprites, visual bug fixes, ect.
- Victory screen has some visual bugs if you equip stat-boosting items.
- Battle item effects (Orgonite, Scrolls, Arrows and Potions) as well as bag equip (use a turn to equip an item)
Logged

View Profile WWW
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #37 on: March 29, 2016, 03:07:28 AM »

Dialog trees:

Logged

View Profile WWW
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
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: 4566

« Reply #38 on: April 02, 2016, 07:43:23 PM »

Nice work, Seta Metta! I can't remember if I asked in Skype (I think I did), but were you planning to add voice sounds when they talk?
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
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #39 on: April 08, 2016, 06:47:28 PM »

Thanks, Sala.

Here's another update for ya - Name screen and a lot of cleanup work in the presentation department:

Logged

View Profile WWW
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #40 on: May 02, 2016, 06:07:03 PM »

Demo is out:

https://www.dropbox.com/s/31p3m3yy2n7dsgg/Colors-Default-1.0.0.35.zip?dl=0
Logged

View Profile WWW
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #41 on: August 26, 2016, 06:02:47 PM »

Better-er demo is out:

DOWNLOAD ME

contains a lot more features and stability stuff, try it out! :D
Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

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

« Reply #42 on: August 27, 2016, 11:20:17 AM »

WOW!!! Exclamation
This is a nice demo! I definitly see this becoming a good game!
EDIT: this game makes me think of Mortis Ghost' OFF.

Also, did you primitive drawing in some of things?
It looks nice.

« Last Edit: August 27, 2016, 12:34:12 PM by Luna_blade » Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #43 on: August 27, 2016, 01:02:41 PM »

Every asset in the game is made by me, outside of the SAPI5 extention which is used for blind accessibility. However I'm trying to hook up with a decent 3D animator to do the overworld sprites, kind of like how Golden Sun's overworld sprites are derived from 3D models.
Logged

View Profile WWW
roger
a programmer that likes supertramp
Jupiter Clan

Regular Member
*

Coins: 3
Offline Offline

Gender: Male
I am: chillin'
Posts: 184

« Reply #44 on: September 26, 2016, 12:34:04 AM »

slightly better-er-er demo is out:

https://www.dropbox.com/s/t6z5f6g632l267o/Colors-Default-1.0.0.92.zip?dl=0

NOTE: Taking a break since I'm starting out at big bloo, so once things settle down there expect more regular updates.
Logged

View Profile WWW
Pages: 1 2 [3] 4   Go Up
  Print  
 
Jump to:  

Cbox
May 09, 2018, 12:35:37 AM
KyleRunner: The "Start In" field is not editable... I'll try making new shortcuts
May 08, 2018, 09:51:08 PM
Fox: If all else fails, you canmake new Shortcuts to do the same thing.
May 08, 2018, 09:49:53 PM
Fox: Export Properties > Shortcut (Tab) > Target / Start In ; Target (for Export) should be: (filename) 0 , and for Import: (filename) 1
May 08, 2018, 08:52:00 PM
KyleRunner: I can't change the path in properties menu...
May 08, 2018, 01:27:19 AM
Fox: You may need to edit something in properties, though... so it uses the exe file in the same directory.
May 08, 2018, 01:24:59 AM
Fox: It is suppose to be a shortcut, yes.
May 03, 2018, 11:48:05 PM
KyleRunner: Fox, the "export" function in your text editor is just a shortcut... Could you please fix it?
May 02, 2018, 09:53:45 PM
KyleRunner: I come here everyday. I'm working on a Portuguese translation, and the people here help me a lot.
May 02, 2018, 08:56:07 AM
Drake baku: My feel as well, I posted a little as well since my return, but silence was all that followed... At least the forum is a great source for data when hacking GS/ GS2, currently looking for something I have read a long time ago cause my PP recovery psy is not working
May 01, 2018, 09:58:04 AM
Fox: I am thinking a lot of this might be because of Discord?
May 01, 2018, 09:56:08 AM
Fox: Yeah, this forum is more dead than ever before.  February and April have 0 new topics. (All other months prior have more.) And March has lowest number of new posts. (It'd be dumb to count the very first month this site was created.)
April 25, 2018, 09:02:13 PM
Fox: Yes. The best tool is a hex editor. Well.... VBA, VBA-SDL-H, no$gba Debugger, GBATEK, and my documentation.... to use these to learn how the code/data works. Best method because it maximizes your editing ability... and then there is my program gsmagic that I was working on. Still in its early stages, though. (Even after year(s).)
April 25, 2018, 04:21:58 PM
Xendrox D: *exept tla editor.
April 25, 2018, 04:21:29 PM
Xendrox D: is there any other tool for hacking gs?
April 23, 2018, 09:26:27 PM
Atrius: Rarely, but not never.
April 23, 2018, 08:01:48 AM
Drake baku: Can it be, the god who created the editor, atrius. I heard you never came back online here anymore
April 20, 2018, 02:46:36 PM
KyleRunner: Atrius!!
April 19, 2018, 11:29:46 PM
Atrius: @Fox, I tried, but for some reason Mario Golf won't boot, and Mario Tennis crashes when you patch out the text compression, and I'm not sure why...  The normal text loading functions in them are basically the same as the ones in the Golden Sun games.
April 16, 2018, 07:44:36 AM
Drake baku: So it took about halve a hour of letting my lap stay off for it to suddenly work again
April 16, 2018, 07:31:28 AM
Drake baku: All of a sudden fox his editor gets errors. When trying to start it, thing worked fine yesterday...

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.082 seconds with 25 queries.