Forum: Official FCEUX and SNES9x forums - Discuss FCEUX and SNES9x here.


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: Snes9x for ps2
  

Page 53 of 131 FirstFirst ... 3 43 51 52 53 54 55 63 103 ... LastLast
Results 521 to 530 of 1304
  1. #521  
    cosmito is offline Member
    Join Date
    Sep 2006
    Posts
    93
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Thank you for the doxygen and graphviz tips. I've also used Codeblocks at the beginning (I think you made a tutorial for using it with the ps2sdk including compiling, right?) but I decided to go for Visual Studio (for browsing code is more powerful, and the express version is free). Thanks for the codeproject file, it would be useful for the searches, could be a good reason to use Codeblocks. I usually use 2xExplorer as a Explorer replacement and Windows, and the search filter is quite good, but of course, it has a generic search tool and some manual work is required, but still less trouble to create a VS project for all sdk
    Reply With Quote  

  2. #522  
    ragnarok2040 is offline Member
    Join Date
    Dec 2002
    Posts
    548
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    3
    I was testing out the new browser code and it looks like I need to do a bit more work on dirname and basename to get them to work properly with the various paths that work on the PS2. I managed to cut the browser down from 330~ lines to about 50 or so and made it tail recursive. Now just to get my paths to stop being mangled, heh.
    Reply With Quote  

  3. #523  
    dlsmd is offline Member
    Join Date
    Jul 2006
    Posts
    659
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Quote Originally Posted by ragnarok2040 View Post
    I was testing out the new browser code and it looks like I need to do a bit more work on dirname and basename to get them to work properly with the various paths that work on the PS2. I managed to cut the browser down from 330~ lines to about 50 or so and made it tail recursive. Now just to get my paths to stop being mangled, heh.
    its cumming along quite nicely cant wate for a release
    please bare with me dyslexia is a pain
    Reply With Quote  

  4. #524  
    ragnarok2040 is offline Member
    Join Date
    Dec 2002
    Posts
    548
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    3
    I've got basename working, it seems. It works with a wide range of paths now. The only thing left is dirname. I need to fix a special case for paths like "device:/" and that should be about it for the browser. Then I just need to patch in the menu code and make a new gameplay loop...
    Reply With Quote  

  5. #525  
    zipboy113 is offline Registered User
    Join Date
    Jul 2010
    Posts
    15
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Seems like your real close to being done can't wait for it.
    Reply With Quote  

  6. #526  
    ragnarok2040 is offline Member
    Join Date
    Dec 2002
    Posts
    548
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    3
    I think I have them working fine now. The results almost replicate the same results as dirname/basename on Linux, except for treating the "device:" or "device:/" string as a directory. The last few were testing output with multiple slashes in the path. When I'd worked on it before, I'd only skimmed the surface of the implementation, *_*.

    Code:
    Results:
    
    path     = "/"
    basename = "/"
    dirname  = "/"
    
    path     = "¥"
    basename = "¥"
    dirname  = "¥"
    
    path     = ":"
    basename = "."
    dirname  = "."
    
    path     = "mass0:"
    basename = "."
    dirname  = "mass0:"
    
    path     = "mass0:/"
    basename = "."
    dirname  = "mass0:/"
    
    path     = "mass0:something"
    basename = "something"
    dirname  = "mass0:"
    
    path     = "mass0:/something"
    basename = "something"
    dirname  = "mass0:/"
    
    path     = "mass0:something/"
    basename = "something"
    dirname  = "mass0:"
    
    path     = "mass0:/something/"
    basename = "something"
    dirname  = "mass0:"
    
    path     = "mass0:something/is"
    basename = "is"
    dirname  = "mass0:something"
    
    path     = "mass0:/something/is"
    basename = "is"
    dirname  = "mass0:/something"
    
    path     = "mass0:/something/is/"
    basename = "is"
    dirname  = "mass0:/something"
    
    path     = "mass0:/something/is/there"
    basename = "there"
    dirname  = "mass0:/something/is"
    
    path     = "mass0:/something/is/there/"
    basename = "there"
    dirname  = "mass0:/something/is"
    
    path     = "mass0:/something/is/there//"
    basename = "there"
    dirname  = "mass0:/something/is"
    
    path     = "mass0:/something/is//there//"
    basename = "there"
    dirname  = "mass0:/something/is"
    
    path     = "mass0:/something//is//there//"
    basename = "there"
    dirname  = "mass0:/something//is"
    Reply With Quote  

  7. #527  
    protomank is offline Member
    Join Date
    Mar 2008
    Location
    Porto Alegre, RS, Brazil
    Posts
    210
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    5
    I want to see this code, specially the HDD support part, that could be very helpful.
    Reply With Quote  

  8. #528  
    ragnarok2040 is offline Member
    Join Date
    Dec 2002
    Posts
    548
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    3
    I'm redoing part of the hdd code now that basename/dirname is working, . The hdd support was split up into quite a few functions, which aren't really needed anymore.

    I had a splitpath implementation for Snes9x, which didn't work that well, as I tried to support "hdd0:+partition/..." paths, which was just a virtual path for mounting said partition to a specific mountpoint. There was also a few functions for trying to mount partitions when needed, which also didn't work well, and keeping track of mounted partitions, which didn't seem to work that well, either. A house of cards about to fall down, really.

    Now the hdd support is mostly in the device manager, which just lists partitions, and mounts them, giving the mountpoint to the file manager. If there's something specific you need help with, I can post the relevant code or a walkthrough.
    Reply With Quote  

  9. #529  
    ragnarok2040 is offline Member
    Join Date
    Dec 2002
    Posts
    548
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    3
    It looks like _splitpath and _makepath are used pretty heavily by Snes9x for some specific features, like IPS patch support, among other things. I have exactly no idea what I was thinking when I made these implementations. For some reason I included support for "hdd0:+partition/path/to/file" style paths with impulsive mounting/unmounting. I made new versions which follow the description on msdn to the letter.

    , It feels good working on the actual emulator code now and not just the frontend.

    I also finished the new hdd support code. I trimmed it down to 3 simple functions in the end, instead of the 6 or 7 I was using. Another function is used to list partitions for the device manager. I still need to test it, but it should work pretty well.
    Reply With Quote  

  10. #530  
    randomblitz10 is offline Registered User
    Join Date
    Jun 2010
    Posts
    12
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    looks like things are going smooth, so you are close to a public beta / public release?
    Reply With Quote  

Page 53 of 131 FirstFirst ... 3 43 51 52 53 54 55 63 103 ... 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
  •