If this game isn't open source...
-
Bigcheecho
Build and Shoot's 1st Birthday
- Posts: 582
- Joined: Sat Dec 22, 2012 3:43 pm
...then where would the script for the game be kept? The script has to be stored SOMEWHERE in our computer for our closed-source game to work.
-
rakiru
Coder
- Posts: 1349
- Joined: Sun Nov 11, 2012 12:26 pm
-
No, it doesn't. The code (not script) is compiled into machine code (binary data), and that's what's in EXE and DLL files. This is exactly the same reason you don't have Call of Duty or Team Fortress source code on your computer. The reason people can easily mod some games, such as Minecraft, is because they are written in a language that doesn't compile to machine code, allowing them to partially convert it back into code. This is not the case for Ace of Spades.
-
Articsledder
Deuced Up - Posts: 209
- Joined: Mon Nov 12, 2012 5:13 pm
rakiru wrote:No, it doesn't. The code (not script) is compiled into machine code (binary data), and that's what's in EXE and DLL files. This is exactly the same reason you don't have Call of Duty or Team Fortress source code on your computer. The reason people can easily mod some games, such as Minecraft, is because they are written in a language that doesn't compile to machine code, allowing them to partially convert it back into code. This is not the case for Ace of Spades.yeah, basically what rakiru said. It's there, but it would be impossible to translate it back into something you could edit.
BE OPTIMISTIC
-
Handles
League Participant
- Posts: 1087
- Joined: Tue Jan 08, 2013 9:46 pm
It might be possible if we could get our hands on the original open, (but it's also illegal) 
-
topo
Global Moderator
- Posts: 179
- Joined: Thu Nov 01, 2012 12:43 pm
Articsledder wrote:Not as true as you think. There are several freely available tools that will translate this machine code into asm, which you can read fairly easily. You can write to the game's code+memory fairly easily at runtime, too. Editing the program's disassembly directly and recompiling it into an executable is a little harder (I haven't managed the patience required to learn what I need to know to be able to do it yet), but still doable and not without its drawbacks (GM did this with 0.60). You won't be able to have it translated into a higher-level language unless you do it manually, though, and to be honest it would probably be easier to just rewrite the game from scratch.rakiru wrote:No, it doesn't. The code (not script) is compiled into machine code (binary data), and that's what's in EXE and DLL files. This is exactly the same reason you don't have Call of Duty or Team Fortress source code on your computer. The reason people can easily mod some games, such as Minecraft, is because they are written in a language that doesn't compile to machine code, allowing them to partially convert it back into code. This is not the case for Ace of Spades.yeah, basically what rakiru said. It's there, but it would be impossible to translate it back into something you could edit.
HLAGHLUAHGLUAHG
-
HoboHob
Winter Celebration 2013
- Posts: 979
- Joined: Mon Nov 05, 2012 5:02 pm
Yes what Topo said, I can think of atleast a couple tools.
-
GreaseMonkey
Coder
- Posts: 733
- Joined: Tue Oct 30, 2012 11:07 pm
topo wrote:Editing the program's disassembly directly and recompiling it into an executable is a little harder (I haven't managed the patience required to learn what I need to know to be able to do it yet), but still doable and not without its drawbacks (GM did this with 0.60).It required a shitload of scripts written in Python, which required me to read up on the Portable Executable format. It also required that I fix up some of the things it misappropriated as "labels".
I know it's possible to not have 20MB .exe files, but I abandoned that project before I even got around to modifying the scripts.
-
rakiru
Coder
- Posts: 1349
- Joined: Sun Nov 11, 2012 12:26 pm
-
topo wrote:Well, yes, you can do that, but I was putting it simply, and as you said, it's not really worth the effort, compared to just rewriting it.Articsledder wrote:Not as true as you think. There are several freely available tools that will translate this machine code into asm, which you can read fairly easily. You can write to the game's code+memory fairly easily at runtime, too. Editing the program's disassembly directly and recompiling it into an executable is a little harder (I haven't managed the patience required to learn what I need to know to be able to do it yet), but still doable and not without its drawbacks (GM did this with 0.60). You won't be able to have it translated into a higher-level language unless you do it manually, though, and to be honest it would probably be easier to just rewrite the game from scratch.rakiru wrote:No, it doesn't. The code (not script) is compiled into machine code (binary data), and that's what's in EXE and DLL files. This is exactly the same reason you don't have Call of Duty or Team Fortress source code on your computer. The reason people can easily mod some games, such as Minecraft, is because they are written in a language that doesn't compile to machine code, allowing them to partially convert it back into code. This is not the case for Ace of Spades.yeah, basically what rakiru said. It's there, but it would be impossible to translate it back into something you could edit.
-
topo
Global Moderator
- Posts: 179
- Joined: Thu Nov 01, 2012 12:43 pm
rakiru wrote:Well, yes, you can do that, but I was putting it simply, and as you said, it's not really worth the effort, compared to just rewriting it.I was responding more to the word "impossible" than to anything else. :P
HLAGHLUAHGLUAHG
-
Sonarpulse
Coder
- Posts: 443
- Joined: Thu Dec 13, 2012 7:18 pm
All you (besides rakiru and GreaseMonkey of course): http://en.wikibooks.org/wiki/X86_Assembly
Who is online
Users browsing this forum: No registered users and 43 guests







