• Pour avoir accès au forum les nouveaux membres inscrits doivent obligatoirement se présenter et attendre que leur présentation soit approuvée par un membre du Staff.
  • Vous n'arrivez pas a publier ou a télécharger ! Merci de lire le Réglement
  • Spécialiste Electronique auto a Paris.

    Specialiste Auto vous proposes avec une Garantie a vie !!!! Suppression FAP ( DEFAP ) Suppression ADBLUE Reparation Calculateur Reparation EZS ELV Reprogrammation Adaptation Boite de vitesse Systeme hybrid Boitier module OCCASSION / NEUF Désactivation Volets de tubulures d'admission ...

    Plus d'information Clique ici

    Contacter nous au 0754373786

    Envoi Possible de Toute la France si vous étes pas de Paris

Discussion [PS4] Installation Pkg depuis Ftp bientôt possible par Flatz

laurent68 ™

Ancien Staff
Ancien Staff
Membre Actif
Inscrit
3 Avril 2016
Messages
3,793
Reaction score
1,312
Points
5,108
nous annonce une très très bonne nouvelle, il est en train de développer un code qui s’intègre dans un client Ftp afin qu'on puisse installer les Pkg Ps4 directement depuis le PC, sans utiliser ni Hdd externe, ni Usb.




Il cite:
J'ai juste créer un installateur pkg en utilisant seulement mon code et sans utiliser de périphériques externes comme les clés USB, donc les gens pourraient intégrer cette fonctionnalité dans leurs serveurs FTP et pourraient installer des pkgs sur FTP ou autre chose, une mini-écriture bientôt
Pour plus d'infos:



Mise à jour 09/07/18
Flatz vient d'ajouter le code


Here’s a bonus code that could be used to initiate PKG file extra copying/installation using BGFT. You need to create and copy file to temporary directory and then ask BGFT to do the rest for you. It will preallocate a new file inside /user/app/<title id> and copy your file there. But the original file is left intact so you need to delete it or optionally use BGFT_TASK_OPTION_DELETE_AFTER_UPLOAD option (haven’t tested).

Use the code below instead of call to sceAppInstUtilAppInstallPkg() to make PKG installation using BGFT (requires 2x free space due to extra pkg file copy).
Code:
enum bgft_task_option_t {
    BGFT_TASK_OPTION_NONE = 0x0,
    BGFT_TASK_OPTION_DELETE_AFTER_UPLOAD = 0x1,
    BGFT_TASK_OPTION_INVISIBLE = 0x2,
    BGFT_TASK_OPTION_ENABLE_PLAYGO = 0x4,
    BGFT_TASK_OPTION_FORCE_UPDATE = 0x8,
    BGFT_TASK_OPTION_REMOTE = 0x10,
    BGFT_TASK_OPTION_COPY_CRASH_REPORT_FILES = 0x20,
    BGFT_TASK_OPTION_DISABLE_INSERT_POPUP = 0x40,
    BGFT_TASK_OPTION_DISABLE_CDN_QUERY_PARAM = 0x10000,
};

struct bgft_download_param {
    int user_id;
    int entitlement_type;
    const char* id;
    const char* content_url;
    const char* content_ex_url;
    const char* content_name;
    const char* icon_path;
    const char* sku_id;
    enum task_option_t option;
    const char* playgo_scenario_id;
    const char* release_date;
    const char* package_type;
    const char* package_sub_type;
    unsigned long package_size;
};

struct bgft_download_param_ex {
    struct bgft_download_param param;
    unsigned int slot;
};

struct bgft_task_progress_internal {
    unsigned int bits;
    int error_result;
    unsigned long length;
    unsigned long transferred;
    unsigned long length_total;
    unsigned long transferred_total;
    unsigned int num_index;
    unsigned int num_total;
    unsigned int rest_sec;
    unsigned int rest_sec_total;
    int preparing_percent;
    int local_copy_percent;
};

#define BGFT_INVALID_TASK_ID (-1)

struct bgft_init_params {
    void* mem;
    unsigned long size;
};

// ...

int (*sceBgftInitialize)(struct bgft_init_params* params);
int (*sceBgftDownloadRegisterTaskByStorageEx)(struct bgft_download_param_ex* params, int* task_id);
int (*sceBgftDownloadStartTask)(int task_id);
int (*sceBgftDownloadGetProgress)(int task_id, struct bgft_task_progress_internal* progress);

// ...

// load & start bgft module
module_id_t bgft_mid = -1;
ret = load_module("/system/common/lib/libSceBgft.sprx", &bgft_mid);
if (ret) {
    dprintf("unable to load module: libSceBgft.sprx");
    goto err;
}
ret = start_module(bgft_mid, NULL, 0);
if (ret) {
    dprintf("unable to start module: libSceBgft.sprx", bgft_mid);
    goto err;
}

// resolve its functions
RESOLVE_NID(bgft_mid, sceBgftInitialize, "libSceBgft", "BZ0olR8Da0g");
RESOLVE_NID(bgft_mid, sceBgftDownloadRegisterTaskByStorageEx, "libSceBgft", "nd+0DEOC68A");
RESOLVE_NID(bgft_mid, sceBgftDownloadStartTask, "libSceBgft", "HRDHLMA9Y7s");
RESOLVE_NID(bgft_mid, sceBgftDownloadGetProgress, "libSceBgft", "5txx+w0HYOs");

// initialize
struct bgft_init_params init_params;
memset(&init_params, 0, sizeof(init_params));
{
    init_params.size = 0x100000;
    init_params.mem = malloc(init_params.size);
    if (!init_params.mem) {
        dprintf("no memory");
        goto err;
    }
    memset(init_params.mem, 0, init_params.size);
}

ret = sceBgftInitialize(&init_params);
if (ret) {
    dprintf("sceBgftInitialize failed: %d (errno: %d)", ret, errno);
    goto err;
}

struct bgft_download_param_ex download_params;
memset(&download_params, 0, sizeof(download_params));
{
    download_params.param.entitlement_type = 5;
    download_params.param.id = "";
    download_params.param.content_url = pkg_path;
    download_params.param.content_name = extract_file_name(pkg_path);
    download_params.param.icon_path = "";
    download_params.param.playgo_scenario_id = "0";
    download_params.param.option = BGFT_TASK_OPTION_DISABLE_CDN_QUERY_PARAM;
    download_params.slot = slot;
}

int task_id = BGFT_INVALID_TASK_ID;
ret = sceBgftDownloadRegisterTaskByStorageEx(&download_params, &task_id);
if (ret) {
    dprintf("sceBgftDownloadRegisterTaskByStorageEx failed: %d (errno: %d)", ret, errno);
    goto err;
}
dprintf("Task ID: 0x%08X", task_id);

// XXX: it seems task started by itself but let's doing it anyway...
ret = sceBgftDownloadStartTask(task_id);
if (ret) {
    dprintf("sceBgftDownloadStartTask failed: %d (errno: %d)", ret, errno);
    goto err;
}

#if 0
// TODO: there is sceBgftDownloadGetProgress() that may be used to get progress information but I didn't have a free
// time to figure out how to use it properly, for me it always returns zeros in size fields so I can't get proper percent.
struct bgft_task_progress_internal progress;
memset(&progress, 0, sizeof(progress));
ret = sceBgftDownloadGetProgress(task_id, &progress);
if (ret) {
    dprintf("sceBgftDownloadGetProgress() failed: %d (errno: %d)", ret, errno);
    goto err;
}
#endif
 

Auteur Sujets similaires Forum Réponses Date
laurent68 ™ Discussion [PS4] Installation de FPKG sur HDD externe disponible sur 4.74 Discussions Ps4 0
laurent68 ™ Discussion [PS4] L'update blocker 4.05 empêche l'installation de la maj 4.55 Discussions Ps4 0
C Recherche site de streaming PS4, PS5 site de streaming vérifier 2
scorpionoir1982 Hack Nouveau Host PS4 6.72 en version 1.1 Hack 6
scorpionoir1982 Discussion [PS4] Sony sort le firmware officiel 8.0 Discussions Ps4 3
scorpionoir1982 Hack PS4 Xplorer v1.24 Hack 2
scorpionoir1982 Hack [PS4] la v8 du 6.72 Menu avec Hen 2.1.3b de Leeful74 Hack 1
scorpionoir1982 Discussion [PS4] Un downgrade firmware du 7.55 au 6.72 Discussions Ps4 0
scorpionoir1982 Discussion [PS4] Les app NoPSN Youtube, NetFlix, Littlstar, Vevo, Prime Video... Discussions Ps4 0
scorpionoir1982 Hack [PS4] Un script pour dumper la eap_hdd_key sur toutes les PS4 Hack 0
scorpionoir1982 Hack [PS4] Le HEN 2.1.3 sur les firmwares inférieurs au 6.72 Hack 2
scorpionoir1982 Hack [PS4] Android PS4 Exploit Host 6.72 Server APK Hack 0
scorpionoir1982 Hack [PS4] Le payload pour dumper votre clé EAP sur 6.72 Hack 0
scorpionoir1982 Hack [PS4] Update PS4 NoBD pour firmware 6.20 Hack 0
scorpionoir1982 Hack [PS4] PS4HEN 2.1.3 avec spoof 7.51 pour le 6.72 et 5.05 Hack 2
scorpionoir1982 Hack [PS4] PS4 PKG Sender v1.03 Hack 0
scorpionoir1982 Hack [PS4] PS4-Xplorer 1.23 Hack 0
scorpionoir1982 [PS4] Tutoriel pour Backporter un jeu et sa MAJ 6.72 pour 5.05 Hack 0
scorpionoir1982 Discussion [PS5] Certains périphériques PS4 marcheront sur PS5 mais pas la DS4 Discussions Ps4 1
scorpionoir1982 Hack [PS4] AutoBackPort v1.06 et PS4 Backporter v1.4 Hack 0
scorpionoir1982 Hack [PS4] Sleirsgoevy rajoute le FTP et FAKEUSB à son exploit 6.72 Hack 0
scorpionoir1982 Hack [PS4] AutoBackPort 0.85 de RetroGamer74 disponible Hack 2
scorpionoir1982 Hack [PS4] PS4 App Lock v1.02 avec support firmware 6.72 Hack 0
scorpionoir1982 Hack [PS4] Une méthode pour backporter du firmware 6.72 au 5.05 Hack 2
scorpionoir1982 Hack [PS4] L'exploit firmware 6.72 est disponible ! Hack 2
scorpionoir1982 Hack [PS4] Easy PKG Extractor v1.05 avec support firmware 6.72 Hack 2
scorpionoir1982 Hack [PS4] Ne vous jetez pas sur le firmware 6.72 Hack 3
scorpionoir1982 Hack [PS4] PS4HEN v2.1.4 Hack 5
scorpionoir1982 Discussion [PS4/PC/PSP/Switch] Super Mario 64, le portage progresse Discussions Ps4 5
phil6319 Question Console de jeux PS4 Question & Aide 6
LoveWorldAide [PS4] DS4Windows v2.1.0 disponible Hack 0
scorpionoir1982 River Raid 1.0 PS4 FPKG Playstation 4 0
scorpionoir1982 2 Clés de Kernel dévoilées sur PS4 par notzecoxao Hack 0
scorpionoir1982 Hack [PS4] PS4HEN v2.1.3 de SiSTR0 Hack 0
scorpionoir1982 PS4 DS4Windows v2.0.1.3 Playstation 4 3
scorpionoir1982 [PS4] Lapy Games Collection (v1.0) avec 9 jeux dans un PKG Playstation 4 0
scorpionoir1982 [PS4 Exclusive VR] Gran Turismo Sport [EUR RUS] (v1.14) Playstation 4 0
scorpionoir1982 PS4 GUI PS4 offline account activator. Hack 6
A Discussion petite question sur la ps4? Discussions Ps4 2
etranger5 Discussion [PS4] CoD Modern Warfare Discussions Ps4 1
dadou11480 PS3 SITE TELECHARGEMENT JEUX PS4 Torrent PS3 6
laurent68 ™ [PS4] PlayStation 4 Homebrew Package Store V1.3 par Toxxic407 Hack 0
laurent68 ™ [PS4] PS4 Dump Checker par Pearlxcore Hack 0
laurent68 ™ [PS4] Payload Avatar Dumper pour 5.05 de Red-J Hack 0
laurent68 ™ Hack [PS4] OrbisDbg / OrbisDbgUI PS4 Payload & Code Library disponibles Hack 0
laurent68 ™ [PS4] PlayStation 4 Save Mounter v1.4 Hack 0
laurent68 ™ [PS4] PS4 Remote Play Auto patcher v3.0 Hack 1
laurent68 ™ [PS4] xPloitServer (Android) Hack 0
laurent68 ™ [PS4] Mortal Kombat Konquest, Street Fighter BORR 2 & Golden Axe CTDA Hack 2
laurent68 ™ [PS4] PlayStation 4 Homebrew Package Store V1.2.1 par Toxxic407 (maj) Hack 0
Sujets similaires


















































Cliquez ici pour vous connecter en utilisant votre compte social
AdBlock Détecté

Nous comprenons, les publicités sont ennuyeuses !

Bien sûr, le logiciel de blocage des publicités fait un excellent travail pour bloquer les publicités, mais il bloque également les fonctionnalités utiles de notre site Web. Pour la meilleure expérience du site, veuillez désactiver votre AdBlocker.

J'ai désactivé AdBlock