Topic: General Questions about the .exe's  (Read 1900 times)

0 Members and 1 Guest are viewing this topic.

Offline Fallen_Warrior

  • Lt. Junior Grade
  • *
  • Posts: 420
  • Gender: Male
  • Go to hell Frey
General Questions about the .exe's
« on: March 19, 2016, 06:49:34 pm »
.
« Last Edit: April 08, 2016, 03:51:36 pm by Fallen_Warrior »
All that remains are ashes caused by neglect and self loathing

Offline d4v1ks

  • D.Net VIP
  • Lt.
  • *
  • Posts: 788
  • Gender: Male
Re: General Questions about the .exe's
« Reply #1 on: March 19, 2016, 07:33:54 pm »
Maybe you never saw a snippet of assembler or hexadecimals numbers:



That snippet represents 57 bytes of machine code. And in SFCOP, for example, there is 4.812.800 bytes of it.
What you can deduce it is possible when you look at it?
Do you see any meaning there? Any tip on what it does? Any structure?
If each byte has a index and meaning, how do you change or add something in there?
The EXE is nothing more than a line of numbers. Removing or adding a byte you will corrupt the file, and break every piece of logic there.

Why would it make more sense to me, or any other person?



Does the sight of it improve when you debug the game?

Do you see the processor registers and flags on the rigth? and the memory stack below?
What information is stored there? What it means? What the computer is doing at that moment?
Do you see any explanation there? Anything you can change, add or remove?
Is it loading a model? playing a sound? moving a ship? Taking some decision on IA?

I have no idea.
Working on a EXE or "adding features" to it is a dead-end.

But watching things happen, almost make us believe it is easy, dont' they?
« Last Edit: March 20, 2016, 07:23:48 am by d4v1ks »
"But he isn't wearing anything at all!" (The Emperor's New Clothes)

Offline TarMinyatur

  • Lt.
  • *
  • Posts: 938
  • Gender: Male
Re: General Questions about the .exe's
« Reply #2 on: March 19, 2016, 09:39:30 pm »
A long time ago, while trying out a thing called a "Hex Editor"...