Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide To Kingdoms: By Pritchard
#21
worth noting that if tha program wasn't compiled with "stabs" (or whateverits called) i.e. fbc.exe -g prog.bas or gcc prog.c -g, you won't actually see the source lines, you'll see asm.
Reply
#22
That might work, but I can never install those. Why can't they just give you a pre-compiled version!?
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#23
If by "those" you mean gdb, there's a precompiled version included with FreeBASIC. If you mean Insight, I think there's a Dev-C++ package with a prebuilt binary. Failing that, it should be able to be built from source with a standard mingw installation.
Reply
#24
^.^;; All your pwnz are belong to us. Dev-C++ ownz.
will Live Forever, or Die Trying >_<;;
Reply
#25
Hehe, I will need step by step instructions. I'm slow with these things.
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#26
Quote:Hehe, I will need step by step instructions. I'm slow with these things.
I write step by step guides to games, not compiling programs ^_~;;
will Live Forever, or Die Trying >_<;;
Reply
#27
@torahteen

heres a rough tutorial i wrote to using Insight (a GUI version of gdb), on the page you can also download a pre-compiled version.

http://www.streetcds.co.uk/insight.html

@pritchard

the &H400 offset was found using PE Explorer, its the offset to the actual code section. It's not always &H400, so its best to check it out.
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply
#28
Quote:@pritchard

the &H400 offset was found using PE Explorer, its the offset to the actual code section. It's not always &H400, so its best to check it out.
PE Explorer, got it.

I want to know how *They* know what the offset to the real code is though. If I could figure out how they determine it, maybe I can do it myself Big Grin
will Live Forever, or Die Trying >_<;;
Reply
#29
I expect it's in the PE header at the start of the exe. If you were to look on a formats site like wotsit.org, they probably have the details.
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply
#30
Oh! Well the PE header's simple. I had it somewhere. I was trying to use FB to write binary exe's and it worked I think Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)