Search found 166 matches

by Serious Callers Only
Mon Apr 18, 2011 5:25 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Sorry, there is no chance at all that i'm going to be able to unravel the obfuscation valve did on those dlls alone, and thus, no point on even starting a blog. I guess that "release" on the link above is going to be the last.

Godspeed on your coding.
by Serious Callers Only
Mon Apr 18, 2011 4:16 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

I got Qbix answer, that eventually lead me to realize that the result didn't matter. It was only a signal to buffer the stdout to the game console, and i worked around it.
by Serious Callers Only
Mon Apr 18, 2011 4:01 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

I disagree with your interpretation of what the moderators wanted. He wanted me to stop posting long quotes of code, i stopped posting long quotes of code. I don't see any harm or contradiction. What's the problem of asking code questions? No one is required to answer. And i admit i was aggressive o...
by Serious Callers Only
Mon Apr 18, 2011 3:54 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Another troll.

Come join the rpg codex. You'll fit right in.
by Serious Callers Only
Mon Apr 18, 2011 3:26 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

fingolfin ScummVM Co-Lead Joined: 21 Sep 2005 Posts: 1401 Location: Germany   I don't think this forum is entirely the right place for your monologue, and for loooong code excerpts. Please consider getting a blog, and posting there.     Tue Mar 08, 2011 10:15 am    You don't say dude? Did the post ...
by Serious Callers Only
Mon Apr 18, 2011 1:44 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Well i eventually did something primitive with this, found the main error (the booleans introduced in python were wrecking havoc with the caller of the python interpreter, needed to convert those calls to int at the border of the python api): http://planet-vampire.com/forum/index.php?topic=5438.0 (j...
by Serious Callers Only
Fri Mar 11, 2011 6:24 am
Forum: The Junkyard
Topic: IDA database files for existing game ports
Replies: 22
Views: 13198

I have a small suggestion (not a very good one though). Since your doing a simple 2d game (no need for 3d acceleration) have you tried to use the your debugger + the virtualbox snapshot ability to "roll back" the debugger? Is this already possible?
by Serious Callers Only
Wed Mar 09, 2011 5:15 am
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Doesn't matter. Not getting anywhere on the return value of that function. I even wrapped the dll with the original dll as the wrapper so i could inspect the return values without a debugger. It still differs from the original in one way (a certain type of call can crash it). Before i go i must apol...
by Serious Callers Only
Tue Mar 08, 2011 3:17 am
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

This approach is kinda working, but VS is giving (rightfully i guess) this warning for each function redirected: vampire_python21.cpp(207) : warning C4273: 'Py_Initialize' : inconsistent dll linkage Any alternative or tips to solve the warning? #include "Python.h" #include <windows.h> #include <stdi...
by Serious Callers Only
Mon Mar 07, 2011 9:44 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Hey, the function point is null, wtf.

Edit: Not even wrong, the initialize is not being called. The number of function is wrong too.
by Serious Callers Only
Mon Mar 07, 2011 9:32 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Trying to wrap the dll dynamically with LoadLibrary didn't work somehow. I was getting along inserting the functions (inserted 4 as you can see and had the list of the others, when: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 002b), starting debugger... Unhandled excep...
by Serious Callers Only
Mon Mar 07, 2011 3:30 am
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Which reminds me, a better design would be to wrap the dll and only export the functions used directly (and the additional code for they to work the "Troika way"). So i could just replace python by drag&drop if a new minor 2.7 version comes out (or i want more modules whatever). Is this easy to do i...
by Serious Callers Only
Mon Mar 07, 2011 2:47 am
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

This is some seriously broken compiler design. That error doesn't appear to have anything to do with the sys. It is a simple symptom of a earlier error that was not "cleared". In the middle of the compiler, before compiling the new code, there is a call checking : "Oh, there is a exception, better b...
by Serious Callers Only
Sun Mar 06, 2011 10:03 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

Mmmm. Interesting. That santamonica error is a missing "__init__.py" (empty) file on the directory. It appears that to be recognized as a package they must have that file. Also, i wasn't printing if the command was successful or not (stupidly). Of those above, the only successful import statements w...
by Serious Callers Only
Sun Mar 06, 2011 8:56 pm
Forum: The Junkyard
Topic: Some help reverse engennering a piece of code?
Replies: 43
Views: 20299

md5 wrote:I think that the anti debugging code is part of the CD protection, not part of the actual game, right?
Sure.