Jump to content
  • 0

How do I get sce function arguements?


MistyVermin
 Share

Question

So I'm finally able to compile PS4-SDK and I've been messing around with some code and wanted to delve a little further into how functions work and stuff like that just for fun. I ended up finding someone who uploaded a list of the sce functions but no documentation or what arguments any of the functions take.
I was wondering how I may find out what arguments I would need to supply for these functions. Thanks.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
11 hours ago, MistyVermin said:

uploaded a list of the sce functions

You mean syscalls? 

 

Sony ones: http://www.psdevwiki.com/ps4/Syscalls

FBSD ones: http://fxr.watson.org/fxr/source/kern/syscalls.master?v=FREEBSD9

 

PS4 CUH-11XXA - Latest OFW - 500GB SSHD | PS3 CECH-20XX - Latest OFW - 80GB | PSP 200X - 6.60 Pro C-fix3 - 8GB µSD to MS Pro Duo | PSTV - 3.60 - 8GB USB Stick

My History: Commodore128, Atari 2600 clone, Amiga 600, Nintendo G&W, Nes clone, Sega Mega Drive, QuickShot Supervision, PSX, Dreamcast -Best console EVER, PS2 (second best ever), PSP, Xbox 360, Wii, NDS lite, NGC, PS3, PS4.

CLICK ONE OF BUTTONS BELOW TO LEARN SOMETHING NEW:
:but x::but cir::but square::but tri:

Link to comment
Share on other sites

  • 0
5 hours ago, marvin said:

No I believe these are functions. I could totally be wrong since im really new to this but here's where I found them.

https://github.com/idc/ps4libdoc/blob/master/names.txt

If I'm wrong correct me, but the main problem I'm having is how do people find out the arguments that need to be supplied for these functions?

Link to comment
Share on other sites

  • 0

Those look like nids list from devwiki. No idea what you can do with that for now, I think nothing specially useful. But i can be wrong here, I am a noob :) 

 

 

http://www.psdevwiki.com/ps4/Talk:Libraries

 

Edited by marvin

PS4 CUH-11XXA - Latest OFW - 500GB SSHD | PS3 CECH-20XX - Latest OFW - 80GB | PSP 200X - 6.60 Pro C-fix3 - 8GB µSD to MS Pro Duo | PSTV - 3.60 - 8GB USB Stick

My History: Commodore128, Atari 2600 clone, Amiga 600, Nintendo G&W, Nes clone, Sega Mega Drive, QuickShot Supervision, PSX, Dreamcast -Best console EVER, PS2 (second best ever), PSP, Xbox 360, Wii, NDS lite, NGC, PS3, PS4.

CLICK ONE OF BUTTONS BELOW TO LEARN SOMETHING NEW:
:but x::but cir::but square::but tri:

Link to comment
Share on other sites

  • 0
1 hour ago, marvin said:

Those look like nids list from devwiki. No idea what you can do with that for now, I think nothing specially useful. But i can be wrong here, I am a noob :) 

 

 

http://www.psdevwiki.com/ps4/Talk:Libraries

 

Well from what I've seen you can access the "nibs" and call to them like functions. I'm not huge into C programming so this is all a little new to me but from what ive seen in other peoples code you can just use them as functions. I'm probably entirely wrong though.

Link to comment
Share on other sites

  • 0

Well I guess I'll bump this cause I would really like to figure out how this type of stuff is done. I think my title might be a little confusing so I guess ill explain a bit more.

When calling a function it normally ask for some args or something such as this example. 

int (*sceSysUtilSendSystemNotificationWithText)(int messageType, int userID, char* message);

I'm not exactly sure how people find the arguments for these functions and it would be extremely helpful and cool if someone with way greater knowledge on this could help out.

I also realized I've been calling parameters arguments for some reason and probably sounded like an idiot so excuse that.

Edited by MistyVermin
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...