05-04-2006, 06:42 AM
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.
Guide To Kingdoms: By Pritchard
|
05-04-2006, 06:42 AM
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.
05-04-2006, 07:20 AM
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]
05-04-2006, 09:08 AM
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.
05-04-2006, 11:22 AM
^.^;; All your pwnz are belong to us. Dev-C++ ownz.
will Live Forever, or Die Trying >_<;;
05-04-2006, 08:16 PM
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]
05-04-2006, 08:20 PM
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 >_<;;
05-05-2006, 07:14 PM
@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.
05-05-2006, 10:57 PM
Quote:@pritchardPE 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
will Live Forever, or Die Trying >_<;;
05-06-2006, 06:35 PM
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.
05-07-2006, 12:09 AM
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
|
« Next Oldest | Next Newest »
|