Author Topic: Fangame Skins...?  (Read 2823 times)

Ario147

  • Spike Dodger
  • Posts: 201
  • Sex me
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
    • YouTube
  • Playstyle: Keyboard
Fangame Skins...?
« on: December 01, 2015, 04:11:22 PM »
I'm curious, would that be possible to make a program that switches sprites so we can easly have our own kid in chosen game? Ofc if the sprites that aren't renamed oddly in the game.

I'm asking if that's possible to code at all.
Its a beautiful day outside.

Birds are singing, flowers are blooming,

On days like these, kids like you...

S H O U L D  B E  B U R N I N G  I N  H E L L .

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
  • Playstyle: Keyboard
Re: Fangame Skins...?
« Reply #1 on: December 01, 2015, 04:49:22 PM »
I'm almost certain it's not possible unless everyone started coding some kind of hook for it into their games uniformly.

PS: I should clarify, almost certain it's not possible for Studio.
« Last Edit: December 01, 2015, 05:17:30 PM by Kyir »

Starz0r

  • Owner
  • The Kid
  • Administrator
  • Posts: 343
  • Hall Of Fame
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 48.0.2564.10 Chrome 48.0.2564.10
    • View Profile
  • Playstyle: Keyboard
Re: Fangame Skins...?
« Reply #2 on: December 01, 2015, 05:01:56 PM »
I'm sure it's possible since GameMaker 8.1 leaves all it's assets unencrypted, though it might be a fairly hard process to inject sprites into memory unless you know the exact location, and if it is the same location everytime upon starting the game. It may even be different for every game.

GameMaker: Studio for some reason does the same thing with it's assets, everything is left unencrypted except code, which I guess is a good thing. Modding sure is a lot easier in Studio, since everything should almost always use the exact same locations in memory to store sprites.

You can ask Patrick or Klazen for more infomation on this, they seem to know their way around the GMK/GMX File Structure more than I do.

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: Fangame Skins...?
« Reply #3 on: December 01, 2015, 10:39:28 PM »
Don't ask me! I know pretty much nothing about the internals of GameMaker. Interesting idea though Ario.

This does remind me of an idea I had a while ago to add multiplayer functionality to all GM8 fangames. You could decompile the exe, use gmksplit to split it into xml files, modify the project to add multiplayer functionality (most engines use a player object called "player"), use gmksplit to re-form the project, then re-compile it into an exe. I imagine everything but that last step could be automated.

It's possible you could make a program similar to the idea above to modify the player sprite of a game. Though it's possible that would be much harder than it seems, or might not work for some reason. I haven't tried it. Just figured I'd share that idea.

Keygrin

  • Wannabe
  • Posts: 19
  • Keygrin
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
    • Keygrin
  • Playstyle: Keyboard
Re: Fangame Skins...?
« Reply #4 on: December 01, 2015, 10:44:32 PM »
It sounds like you want to have one program, change the graphics in another program. The only thing I can think of is some customization a la Wings of Vi or some "Create a Wrestler" feature, but then it's highly likely that the prop that you want to use isn't included in the game.
« Last Edit: December 01, 2015, 10:47:24 PM by Keygrin »
YouTube Channel

I await the day I die! Living is meaningless to me.