xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Grabbing Title Module Size From Socket Dll?
Dwack
post May 23 2011, 02:25 AM
Post #1


X-S Young Member
*

Group: Members
Posts: 51
Joined: 8-January 11
Member No.: 449107



So I got some code I borrowed from [c0z], thanks to open source DashLaunch.

I am trying to modify it a little for a project I am working on but have hit a road block.
CODE
PLDR_DATA_TABLE_ENTRY ldat;
ldat = (PLDR_DATA_TABLE_ENTRY)GetModuleHandle("xam.xex");
//Works


CODE
PLDR_DATA_TABLE_ENTRY ldat;
ldat = (PLDR_DATA_TABLE_ENTRY)GetModuleHandle("default.xex");
//Doesn't Work


The above examples are followed by:
CODE

if (ldat != NULL)
{
    DWORD imgSize = ldat->SizeOfFullImage;
    //Dump game memory using above image size
}
else
    XShowMessageBox... // Error


Why does xam.xex work and not default.xex? Does it have something do to with default.xex being an active title? I even tried using a security_info struct, had even worse results.

Any help would be great...
Thanks - Dwack

EDIT* - Doing this on a JTAG

This post has been edited by Dwack: May 23 2011, 02:27 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 21st May 2013 - 11:25 PM