Forum: Official SMS Forums - Forum for discussing SMS: Simple Media System player for the PS2.


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: ps2client directory bug under linux FIXED
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
  1. #1 ps2client directory bug under linux FIXED 
    subsonix is offline Registered User
    Join Date
    Nov 2006
    Posts
    11
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    This is an unofficial bugfix by me. I'm calling it v3.0.1 to tell it apart from the old one. Maybe the author would like to include the changes.

    Anyway, the problem was that any files deeper than the root level would appear as directories on the PS2. Opening these misinterpreted files on the PS2 would cause it to hang and ps2client would throw a segmentation fault. This bugfix fixes this issue.

    EDIT: works ok with SMS, but not with ulaunchELF, working on it...
    Attached Files
    Last edited by subsonix; 12-12-2006 at 03:57 AM.
    Reply With Quote  

  2. #2  
    subsonix is offline Registered User
    Join Date
    Nov 2006
    Posts
    11
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Here's v3.0.3

    This one satisfies uLaunchELF's bad habit of declaring all readable items as files and all undreadable items as directories without breaking SMS. The problem under SMS is ps2client's fault, but the problem with uLaunchELF is its own fault. Trying to read a locked directory or file under uLaunchELF will cause it to crash, so make sure you've got permissions. I don't know who maintains this code, so I'll just put this up for you guys to take a look at.

    For whoever maintains uLaunchELF, please make your program pay attention to file flags! Also, does uLaunchELF support copying files TO the network host?
    Attached Files
    Reply With Quote  

  3. #3  
    pinheiro is offline Member
    Join Date
    Nov 2005
    Posts
    10
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hi,

    What are the dependencies? Do you know any guide to compile this into Ubuntu 6.10 ou Debian?

    Thankx
    Reply With Quote  

  4. #4  
    subsonix is offline Registered User
    Join Date
    Nov 2006
    Posts
    11
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    As far as I know, typing "make" at the base directory should compile it with no problems on pretty much any Linux system. I'm using Mandriva 06 and it works just fine. It's not a graphical program so it only needs the most basic of system and network libraries. Just set your PS2's gateway to your PC's IP address, fire up SMS or uLaunchELF and run:

    ps2client -h [ps2 IP address] listen
    Reply With Quote  

  5. #5  
    pinheiro is offline Member
    Join Date
    Nov 2005
    Posts
    10
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by subsonix View Post
    As far as I know, typing "make" at the base directory should compile it with no problems on pretty much any Linux system. I'm using Mandriva 06 and it works just fine. It's not a graphical program so it only needs the most basic of system and network libraries. Just set your PS2's gateway to your PC's IP address, fire up SMS or uLaunchELF and run:

    ps2client -h [ps2 IP address] listen

    Hahaha very funny, You will kill me

    My problem are some dependencies, no included in documentation with your file.

    But I used this guide and done it.

    www (dot) linkstationwiki.net/index.php?title=Playstation_2
    Reply With Quote  

  6. #6  
    subsonix is offline Registered User
    Join Date
    Nov 2006
    Posts
    11
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Sorry, I don't get the joke.
    Reply With Quote  

  7. #7  
    pinheiro is offline Member
    Join Date
    Nov 2005
    Posts
    10
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by subsonix View Post
    Sorry, I don't get the joke.

    Any way, thank you for your help, and for your time.
    Reply With Quote  

  8. #8  
    Yoc's Avatar
    Yoc
    Yoc is offline Member
    Join Date
    Feb 2005
    Posts
    306
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    subsonix : thank you for your contribution. But I had the same problem on Mac OS X until I ran svn 3.0.0 version from here :
    http://svn.ps2dev.org
    I don't know if you started from that version, but it works very well with uLE and SMS here. I'll have a try with your version to see if there is any difference.
    PS 2 V5 PAL (SCPH 30004R) - HDD 80 GB - CC 1.0 - PowerBook G4 17" - FREE HDLOADER - SMS - ULE - SNES Station
    BootManager Themes - Essential Pack - CC Wiki (en)
    Tools for Mac : xdumb.free.fr, home for Xdumb and ps2XClient
    Reply With Quote  

  9. #9  
    pinheiro is offline Member
    Join Date
    Nov 2005
    Posts
    10
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by subsonix View Post
    Here's v3.0.3

    This one satisfies uLaunchELF's bad habit of declaring all readable items as files and all undreadable items as directories without breaking SMS. The problem under SMS is ps2client's fault, but the problem with uLaunchELF is its own fault. Trying to read a locked directory or file under uLaunchELF will cause it to crash, so make sure you've got permissions. I don't know who maintains this code, so I'll just put this up for you guys to take a look at.

    For whoever maintains uLaunchELF, please make your program pay attention to file flags! Also, does uLaunchELF support copying files TO the network host?
    Realy now ULE and SMS works fine witch ps2client (v3.0.3), the only thing that not work is elflist.txt, if I use this, ps2client display a "segment fault error"

    Subsonix, one more time, thank you for yor help.
    Reply With Quote  

  10. #10  
    subsonix is offline Registered User
    Join Date
    Nov 2006
    Posts
    11
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    I'm really glad this works for you. What is elflist.txt?
    Reply With Quote  

Page 1 of 2 1 2 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
  •