Connexion

[PC]SynaPS3 finale: bibliothèque pour uniformiser le développement avec le SDK de Sony : Applications PC / MAC - PS3-Infos

[PC]SynaPS3 finale: bibliothèque pour uniformiser le développement avec le SDK de Sony   

Les applications pour PC ou MAC pour votre PS3

[PC]SynaPS3 finale: bibliothèque pour uniformiser le développement avec le SDK de Sony

Messagepar orwel » Ven 19 Nov 2010 18:12

imageSynaPS3 est une librairie développée par n4ru et methionine_. Cette bibliothèque relativement simple doit aider les utilisateurs du Sony PS3 Cell SDK. Il permet ainsi de faire des applications compatibles avec tous les payloads. Il doit aussi aider à étendre et améliorer les fonctions existantes pour les homebrews, ainsi que d'en ajouter de nouvelles.

Il s'agit de la version "finale" car c'est la dernière à utiliser des payloads avant que fail0verflow sorte et que ceux-ci ne soient plus utiles.
Image

Voici la présentation de cette bibliothèque faite par ses auteurs :
This is a final revision in the sense that all further github pushes will be based on the new private key related tools, and I can only hope that the improvements made to SynaPS3 in the near future will help it become a powerful tool for PS3 devs when the new tools become available.

The next github push will remove all syscalls and focus on fail0verflow specific tools, so all functions related to specific payloads or calls will be unavailable, in the hopes that the next push will have far better means of implementing many things.

Once again, I hoped to finish coding a way of writing to /dev_flash without Peek/Poke, but this goal was not realized as I did not have that much time this month to work on SynaPS3 as I had hoped.

syscalls.h, payload.h, and patches.h are all removed in the next update.

This release of SynaPS3 includes the following functions:

bluray.h:
IsBD - Returns true if there is either a PS3 game inserted or a valid Bluray movie.
IsPS3Game - Returns true is there is a PS3 game inserted.
MountBD(char *game_path) - Mounts the argument to /dev_bdvd.
BootDisc - "Direct Boot" for inserted discs. Should carry the same failure rate as other direct boot methods.
fs.h:
fsStat(char *filename) - Returns true if the given file exists.
fsMkdir(char* newDir) - Creates a directory if it doesn't already exist. Returns false if it fails to create or if it exists already.
fsRename(char* from, char* to) - Renames the given file to the second argument. Checks if the file exists, returns false if it exists or if the rename failed.
pad.h:
pad_read - Ripped from OM code.
patches.h:
Firmware342Fix - As it says, fixes games that refuse to boot because they require 3.42. Only works for 3.01, 3.15, and 3.41.
ControllerFix - For Hermes v3/v4, and those with Peek/Poke on 3.41. For games with controller issues.
payload.h:
GetPayloadCaps - STILL never extensively tested, but SHOULD work. Returns a value depending on payload capabilities. Add 1 if it has syscall36, add 2 if it has syscall8, add 4 if it has Peek/Poke, add 8 if it has syscall35.
GetPayloadName - A rip of GetPayloadCaps but returns a different value, depending on which payload it is. Returns; 5 for PL3Dev, 4 for PL3, 3 for Hermes v3/v4, 2 for PSGroove 1.1/Hermes v1/v2, and 1 for PSGroove 1.0.
syscalls.h: Behind the scenes stuff, mostly syscall8 stuff and the other syscalls. Don't use syscall36 or syscall35, use MountBD and Mount instead, respectively. Peek/Poke is syscall6/syscall7.
system.h:
exit - Exits the app.
versionTXT - Writes the firmware version to FirmwareVersion and returns it.
getFW - Peeks the FW version from memory.
BootGame - Boots game from given parameters.
Mount - Mounts using syscall8 or syscall35.
MountHome(char *home_path) - Mounts argument to the app_home path.
MountFlash(char* fla) - Mounts argument to dev_flash path.
LoadIOFSModules - Loads IOFS Modules.
UnloadIOFSModules - Unloads IOFS Modules.
LV2_Flash(bool flashStatus) - Does nothing. Ignore.

SynaPS3 is still very very small and the improvements are mainly "shortcuts" for existing code and functions. It could, in it's current state, speed up some program development/coding, most notably backup managers and minimalistic apps.

I am still a mediocre developer at best but I think the PS3 scene and their devs have helped me greatly in understanding and learning a lot these past few months. I look forward in helping the scene with my less than mediocre skills and improving myself as a programmer, hopefully enough so that next year I can make some major improvements to this amateur library.


n4ru-SynaPS3-0be2aee.zip


https://github.com/n4ru/SynaPS3Site Officiel : https://github.com/n4ru/SynaPS3
Vous n’avez pas les permissions nécessaires pour voir les fichiers joints à ce message.
Avatar de l’utilisateur
orwel
Newseur
 
Messages: 437
Inscription: Jeu 9 Sep 2010 13:06

Retourner vers Applications PC / MAC

 


  • Articles en relation
    Réponses
    Vues
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 3 invités