PDA

View Full Version : Possible to create source code from a game?



MrTeressaBond
August 26th, 2006, 23:54
Possible to create source code from a game?

like to remodel the models and so on?

quzar
August 27th, 2006, 00:40
It is possible to create source from a binary, but the resulting code would be practically unreadable. It would DO everything that the binary does, but not in any sort of patterns recognizable to most programmers.

However, changing models or images is much easier as they are usually stored outside of the binary, or if not stored within a fixed position inside the binary.

MrTeressaBond
August 27th, 2006, 02:23
oh right cool.

for example, games like Resident Evil 2 or House of the Dead. possible to kinda 're-do' the models?

quzar
August 27th, 2006, 03:48
I don't know the structuring of the games well enough to make an informed comment on them specifically. It woud depend heavily on each game, how the engine works, and how it stores model information. Usually it would be exponentially easier to redo textures than models.

MrTeressaBond
August 27th, 2006, 04:20
oh ok then.

this is a stupid silly minor question to say, may i ask, is it possible then to extract the models of the game and smack in a new game engine, like Unreal Engine 3, were it will render the models bettre than it would now?

minor question, but back to the important fact, for House of the Dead 2 for PC, possible to create?

ßüboni¢ $oñic
September 1st, 2006, 06:34
so binary are all the numbers i see when i use a hex editor? what is it that the programmer has that can make that readable and how can that be recreated?

OneThirty8
September 1st, 2006, 07:59
so binary are all the numbers i see when i use a hex editor? what is it that the programmer has that can make that readable and how can that be recreated?
The binary, as far as this topic is concerned, is the executable file. On your Windows system, these are files with a *.exe extension. Any file a computer reads/stores/whatever is stored as a series of zeroes and ones (or, binary) but typically, at least in the context we're talking about here, I think most people mean the executable file.

Anyway, we don't "make that readable," as you can't recreate the original code from a binary file. We write our code in a high-level language such as C or C++ using a text editor (or an IDE, which includes your text editor), save these text files, and feed them to a compiler which will use the information in the text file to produce object code, and we feed the object files to a linker to combine those object files into a single file. The file we get in the end is "the binary." If I write a program, compile it, and decide that I want to make a change (we do this many times when developing a program), I must go back to the text files (*.c, *.cpp, *.h, etc) and edit those files and compile the program again.

MrTeressaBond
September 15th, 2006, 00:24
oh right...cool.

sorry if i left this out for soo long.

thanks for that.

as u might have heard of Total Conversion mod, is it possible to do such a thing with games like House of The Dead 2? like replacing that engine with a recent one like Source or Unreal Engines?

MrTeressaBond
April 17th, 2007, 12:01
anyone? i know its been awhile but i thought i came to visit to see anything.

also, possible to rip or extract character's movements? like sprints from 3D games or something?

|darc|
April 21st, 2007, 23:45
You may be able to replace models, textures, sound, etc. But no, you cannot replace the game's engine.

Character movements I believe would be taken care of by the model.