Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: I did some changes on padhook (IGR) exit routine... Anyone interested on testing ?
  

Page 1 of 7 1 2 3 ... LastLast
Results 1 to 10 of 61
  1. #1 I did some changes on padhook (IGR) exit routine... Anyone interested on testing ? 
    l_oliveira's Avatar
    l_oliveira is offline V0 - V4 Addict
    Join Date
    Dec 2002
    Location
    Brasilia, Brazil
    Posts
    1,807
    Downloads
    18
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    62
    Backup /ee_core/src/padhook.c and place this file on it's place.

    This changes the way the IOP is stopped and reset during the end of the IGR exit routine, when IGR thread is woken up.

    IOP Reset code was SHAMELESSLY copied from (inspired by ? ) uLE...

    Please check if the changes break anything (or improve the success rate of) in IGR exit...
    Attached Files
    SCPH-10000_GH-001 SCPH-15000_GH-003 SCPH-18000_GH-008 SCPH-30001_GH-005 SCPH-30000_GH-016(V4) SCPH-30001_GH-010(V4)
    2xSCPH-10190, 2xSCPH-10350, 2xSCPH-10280
    "**** j0 hackers!"
    -Sjeep (As seen on TOXIC OS ELF...)
    Reply With Quote  

  2. #2  
    RandQalan's Avatar
    RandQalan is offline Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,745
    Downloads
    17
    Uploads
    37
    Mentioned
    20 Post(s)
    Tagged
    5 Thread(s)
    Likes Given
    783
    Likes Received
    432
    I call thief but will test

    Just a joke

    Well first bug broke in game reset path it now resets to OSD

    Not what is inputted for reset

    Update
    Well what ever you did might break reset but works now with Okami and resets better on most game will keep testing
    Last edited by RandQalan; 06-28-2012 at 03:36 AM.

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  3. #3  
    mgh
    mgh is offline Member
    Join Date
    Jul 2011
    Posts
    247
    Downloads
    0
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    18
    Sadly this doesn't fix Tales of the Abyss...the game still don't like IGR
    Reply With Quote  

  4. #4  
    l_oliveira's Avatar
    l_oliveira is offline V0 - V4 Addict
    Join Date
    Dec 2002
    Location
    Brasilia, Brazil
    Posts
    1,807
    Downloads
    18
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    62
    Quote Originally Posted by RandQalan View Post
    Well first bug broke in game reset path it now resets to OSD
    Well, that's kind of intentional, because MINI OPL only uses exit to OSD, since it's GUI-LESS and is booted from OSD, obviously it has to reset to OSD again. It isn't a big issue for normal OPL users who use FMCB as boot loader but if you think it really help and makes IGR better, I'll try to figure out how to make my change function with the path function again ...


    About IGR not working on certain games, I just modified the code on what it does when it's exiting OPL, not the actual code that detect the buttons being pushed or the code that hooks into the game so if the problem is on that part (Aka: IGR does not respond to the key combo or make the game glitch while it's being played) won't change anything. Just changed what happens after the key combo is detected.
    SCPH-10000_GH-001 SCPH-15000_GH-003 SCPH-18000_GH-008 SCPH-30001_GH-005 SCPH-30000_GH-016(V4) SCPH-30001_GH-010(V4)
    2xSCPH-10190, 2xSCPH-10350, 2xSCPH-10280
    "**** j0 hackers!"
    -Sjeep (As seen on TOXIC OS ELF...)
    Reply With Quote  

  5. #5  
    RandQalan's Avatar
    RandQalan is offline Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,745
    Downloads
    17
    Uploads
    37
    Mentioned
    20 Post(s)
    Tagged
    5 Thread(s)
    Likes Given
    783
    Likes Received
    432
    It is not a big deal for me either just letting you know

    Yea I figured same key layout for reset and power down
    and games like star ocean still need it off

    Don't know why Okami works better now with your but sure is nice to have IGR back for it

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  6. #6  
    l_oliveira's Avatar
    l_oliveira is offline V0 - V4 Addict
    Join Date
    Dec 2002
    Location
    Brasilia, Brazil
    Posts
    1,807
    Downloads
    18
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    62
    Quote Originally Posted by RandQalan View Post
    Don't know why Okami works better now with your but sure is nice to have IGR back for it
    It has to do with the memory being a mess when OPL tries to exit. Because it has to prepare the PS2 at least a bit (EE side cleanup works properly as it's done by the kernel when it uses the kernel elf loader call ) and IOP side was not very clean, there was a chance for a hang up on exit. I think it would crash on a yellow screen (debug color on) most times.
    SCPH-10000_GH-001 SCPH-15000_GH-003 SCPH-18000_GH-008 SCPH-30001_GH-005 SCPH-30000_GH-016(V4) SCPH-30001_GH-010(V4)
    2xSCPH-10190, 2xSCPH-10350, 2xSCPH-10280
    "**** j0 hackers!"
    -Sjeep (As seen on TOXIC OS ELF...)
    Reply With Quote  

  7. #7  
    RandQalan's Avatar
    RandQalan is offline Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,745
    Downloads
    17
    Uploads
    37
    Mentioned
    20 Post(s)
    Tagged
    5 Thread(s)
    Likes Given
    783
    Likes Received
    432
    So another words you changes more like cleaning the code to work fluidly less frag in memory less likely for hang or lag in game from searching available memory to use

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  8. #8  
    l_oliveira's Avatar
    l_oliveira is offline V0 - V4 Addict
    Join Date
    Dec 2002
    Location
    Brasilia, Brazil
    Posts
    1,807
    Downloads
    18
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    62
    Quote Originally Posted by RandQalan View Post
    So another words you changes more like cleaning the code to work fluidly less frag in memory less likely for hang or lag in game from searching available memory to use
    Not the code, the IOP memory that needed cleaning....

    Quite like how originally HD LOADER and OPL would not work on the 10K PS2 because the kernel were not removing what was installed on RAM before wiping it out for the new ELF that was just loaded, crashing the system on a restart (the PS2 restarts like 4 to 6 times when loading a game with OPL, for example) ...

    Restart = Remove old hooks, remove loaded modules used by previous program, clean RAM, re-init co-processors and the GS then load target elf and jump on it for execution. So, restart is not the same thing as reset but is quite close lol.

    What IGR does is restart and then jump to OSD (or set path elf) instead of doing a full system reset.
    SCPH-10000_GH-001 SCPH-15000_GH-003 SCPH-18000_GH-008 SCPH-30001_GH-005 SCPH-30000_GH-016(V4) SCPH-30001_GH-010(V4)
    2xSCPH-10190, 2xSCPH-10350, 2xSCPH-10280
    "**** j0 hackers!"
    -Sjeep (As seen on TOXIC OS ELF...)
    Reply With Quote  

  9. #9  
    RandQalan's Avatar
    RandQalan is offline Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,745
    Downloads
    17
    Uploads
    37
    Mentioned
    20 Post(s)
    Tagged
    5 Thread(s)
    Likes Given
    783
    Likes Received
    432
    So you took IOP reset from uLE and coded it for OPL

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  10. #10  
    l_oliveira's Avatar
    l_oliveira is offline V0 - V4 Addict
    Join Date
    Dec 2002
    Location
    Brasilia, Brazil
    Posts
    1,807
    Downloads
    18
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    11
    Likes Received
    62
    Quote Originally Posted by RandQalan View Post
    So you took IOP reset from uLE and coded it for OPL
    I just copied like 5 lines of the uLE code that does IOP memory clean up before launching an elf.
    SCPH-10000_GH-001 SCPH-15000_GH-003 SCPH-18000_GH-008 SCPH-30001_GH-005 SCPH-30000_GH-016(V4) SCPH-30001_GH-010(V4)
    2xSCPH-10190, 2xSCPH-10350, 2xSCPH-10280
    "**** j0 hackers!"
    -Sjeep (As seen on TOXIC OS ELF...)
    Reply With Quote  

Page 1 of 7 1 2 3 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •