Where can I find stubs info ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
pegasus2000
Posts: 160
Joined: Wed Jul 12, 2006 7:09 am

Where can I find stubs info ?

Post by pegasus2000 »

I have an important question. Let's suppose that I want to enter this
code:

STUB_START "sceCtrl",0x40010000,0x00020005
STUB_FUNC 0x6A2774F3,sceCtrlSetSamplingCycle
STUB_FUNC 0x1F803938,sceCtrlReadBufferPositive
STUB_END

My question is: where can I find the two numbers that follow
the name of the module (STUB_START "sceCtrl", 0x40010000,0x00020005).

I have found different lists of NIDs, but I haven't found any list of
STUB_START numbers.
User avatar
harleyg
Posts: 123
Joined: Wed Oct 05, 2005 6:15 am

Post by harleyg »

http://ps2dev.ps2-scene.org/kmem.htm

Last time i checked you did not have to change them...
pegasus2000
Posts: 160
Joined: Wed Jul 12, 2006 7:09 am

Post by pegasus2000 »

harleyg wrote:http://ps2dev.ps2-scene.org/kmem.htm

Last time i checked you did not have to change them...
Sorry but.... I don't understand.

For sceCtrl there are two numbers: 0x40010000 and 0x00030005

STUB_START "sceCtrl",0x40010000,0x00030005

In that list that you have posted I don't find the two numbers....
siberianstar
Posts: 70
Joined: Thu Jun 22, 2006 9:24 pm

Post by siberianstar »

The first number contains the import flags and library version, the second one contains the stub len.

STUB_START module, flags_version, stub_len
Post Reply