Dismiss Notice

BEWARE of IMPOSTERS, posing as the PS3Xploit Members/Team:


  -PS3Xploit does NOT have a discord channel, some imposter are using one
 

  -If the info can't be found on ps3xploit.com or psx-place.com its fake
 

  -ZuKuTo / OFWModz is one of the fake names of these imposter's are using to represent the PS3xploit team.

 

 

Suggestion: add "no auto update check" option to PS3HEN

Discussion in 'PS3HEN (nonCFW PS3 Models)' started by bucanero, Aug 13, 2019.

  1. 108
    133
    72
    bucanero

    bucanero Member

    Joined:
    Jun 29, 2019
    Messages:
    108
    Likes Received:
    133
    Trophy Points:
    72
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    Hello,

    I'd like to propose a small update to the v2.3.1 PS3HEN plugin, so the "auto update check" on boot can be easily disabled by users.

    I was checking @Joonie 's github repo, and I think that a simple way to achieve this option could be adding a couple of lines in the "henplugin_thread" method:
    We simply check if a file named "HENupdatecheck.off" exists on /dev_hdd0 , and if that's the case we just skip the rest of the method and go to the end.

    Then if any user wants to disable the auto update check on boot, they just create the dummy file on their HDD and that's all. I know it's not a fancy setting option through the XMB but I think it's quick, simple, and any user can actually create that file if they need to disable the auto update.

    Here's my sample code snippet:

    https://github.com/Joonie86/PS3HEN/...adfe655c3c8e8876acc0cd5/henplugin/main.c#L396

    static void henplugin_thread(__attribute__((unused)) uint64_t arg)

    Code:
       
        enable_ingame_screenshot();
        reload_xmb();
        CellFsStat stat;
    // ... previous code ...
    
        
        if(cellFsStat("/dev_hdd0/HENupdatecheck.off",&stat)==0)
        { goto done; }
    
    
    // ... code continues ...
    if(cellFsStat("/dev_usb000/HEN_UPD.pkg",&stat)==0)
    {
    memset(pkg_path,0,256);
    
    thanks again to the PS3xploit team for their work on HEN! :)
    cheers
     
    esc0rtd3w and DeViL303 like this.
  2. 595
    970
    147
    lmn7

    lmn7 Developer

    Joined:
    Oct 31, 2017
    Messages:
    595
    Likes Received:
    970
    Trophy Points:
    147
    It's possible to change the update server URL yourself in the embedded SPRX in the PS3HEN.BIN file. You can also disable the check completely but it breaks other stuff AFAIK. I like the concept of the auto updater but agree with you, it should be optional.
     
    esc0rtd3w, Algol and DeViL303 like this.
  3. 108
    133
    72
    bucanero

    bucanero Member

    Joined:
    Jun 29, 2019
    Messages:
    108
    Likes Received:
    133
    Trophy Points:
    72
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    oh, I wasn't sure if such change would break something else down the line, but at least I wanted to suggest the feature for a future version/update.

    I don't mind the update check, but I assume it would also boot faster if the code skips it.
     
    esc0rtd3w and Algol like this.
  4. 7,267
    8,565
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    7,267
    Likes Received:
    8,565
    Trophy Points:
    797
    I think this is good solution too, an option could easily be added to HFW tools to create/copy/remove the flag in the correct location.
     
    esc0rtd3w, Algol and bucanero like this.
  5. 108
    133
    72
    bucanero

    bucanero Member

    Joined:
    Jun 29, 2019
    Messages:
    108
    Likes Received:
    133
    Trophy Points:
    72
    Gender:
    Male
    Location:
    Argentina
    Home Page:
    managing the "HENupdatecheck" file from the XMB would be amazing, and really easy for any user! :encouragement:

    I've created a simple pull request on the PS3HEN Github repo to propose the change, so they can review it for a future version:
    https://github.com/PS3Xploit/PS3HEN/pull/15

    cheers!
     
    esc0rtd3w and Algol like this.

Share This Page