Login Form






Lost Password?
No account yet? Register

Content Warning

WARNING! This site may have text/links/info/images with strong sexual references/content! WARNING!
Home arrow AIF Forums
Anon21
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 0  
Newbie question - editing gblorb (glulx) files - 2011/03/16 17:01 Windows user here (waits for the boos and hisses to go down) I've got a gblorb file that plays with WinGlulxe in Windows, but I'd like to be able to see the code and maybe tinker with it. Is that possible? What utility / procedure is needed to unpack and edit a gblorb file?
  | | The administrator has disabled public write access.
abomire
User

Platinum Boarder
Posts: 355
graphgraph
Karma: 25  
Re:Newbie question - editing gblorb (glulx) files - 2011/03/16 18:17 Most game files aren't simple packed files, like a ZIP or RAR file. They are what is known as "compiled". Compiling is a fancy term for turning the source code used to write a game into the binary code readable by the game interpreter. In other words, if you tried to open the file and read it, all you would see is unreadable (probably) hexadecimal symbols.

Since compiling is roughly equivalent to translating, it is somewhat possible to go in reverse; i.e., take a compiled game and turn it back into the source code. This process is not-too-surprisingly called "decompiling".

My experience with decompilers has been that they aren't 100% accurate in decompiling. For example, in the source code a variable might be called SusansBreasts, but in the translation to compiled game and back to source code the variable might be called VAR101. If you can figure out and remember that VAR101 refers to SusansBreasts, then you can make out what is happening.

"Okay, that's great" I hear you saying. "But how does that help me?"

Well, I see myself typing in response, it does, and it doesn't. It helps in that you know what you need to translate the gblorb file into something readable, but it doesn't because as far as I know there isn't a decompiler for gblorb files. At least, Google didn't reveal any to me.

What you might do is to contact the author and see if he/she will provide the source code to you.
  | | The administrator has disabled public write access.
Anon21
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 0  
Re:Newbie question - editing gblorb (glulx) files - 2011/03/16 18:20 Thanks. I didn't know that gblorb files are compiled.

The author does accept user-generated content so I might be able to get a look at the source code if I can show I can be useful.
  | | The administrator has disabled public write access.
Adult Sex Toys