Forum: PS2 Homebrew/Dev & Emu Scene - Topics relating to homebrew PS2 development and emulation. Stay current and up to date on the latest homebrew releases from the best devs on the scene.


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: Dev wannabe
  

Results 1 to 9 of 9
  1. #1 Dev wannabe 
    leech88 is offline Registered User
    Join Date
    Feb 2009
    Posts
    27
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hello everyone.

    I'm new to the ps2 homebrew scene and I'm amazed at everything that has been accomplished and truly grateful to everyone that has contributed for free. Recently I've become interested in emulating the sega genesis in the ps2 and replay all those great classics, so I downloaded pgen, the emu that seems to stand as the best alternative and I couldn't believe that most games still can't be played at 60hz without slowdowns!... Is the ps2 not capable of perfect genesis emulation? How come that ps2 games like Sonic Gems Colection Plus can emulate genesis games pretty much perfectly and pgen can't? This is very hard for me to accept... I understand that people put their efforts and limited time into things like those emulators for free and I, being grateful for that and having a hard time accepting the current state of genesis emulation in the ps2, I just thought that maybe I could give something back to the community and make a difference... But can I really make a difference? I have a solid knowledge of C at a basic and intermediate level and some knowledge of basic circuits from a few academic disciplines from college but not much more... Would that be enough to make a difference? Would it be within my grasp to educate myself with what is needed to such a task without having to take a 1-year course or something? Could I, for example, since pgen is open source, try to improve on the code? If so, how? Or should I just leave it to the pros and be patient?

    Your thoughts please. I'm just a guy with some notions, free time and a great eagerness to contribute in some way. Thanks for taking the time to read this.
    Reply With Quote  

  2. #2  
    yoshi314's Avatar
    yoshi314 is offline linux junkie
    Join Date
    Mar 2008
    Posts
    1,788
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    18
    Quote Originally Posted by leech88 View Post
    How come that ps2 games like Sonic Gems Colection Plus can emulate genesis games pretty much perfectly and pgen can't? This is very hard for me to accept...
    that's probably because it's a reimplementation of the game, instead of emulation.

    ps2 might appear beefy, but that's because it's design is tailored towards high performance visuals. when it comes to actual number crunching, the main cpu is not so great. and this is what mostly matters when it comes to emulation.

    whether ps2 is capable of genesis emulation - not sure, maybe it is possible.
    Reply With Quote  

  3. #3  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by yoshi314 View Post
    that's probably because it's a reimplementation of the game, instead of emulation.

    ps2 might appear beefy, but that's because it's design is tailored towards high performance visuals. when it comes to actual number crunching, the main cpu is not so great. and this is what mostly matters when it comes to emulation.

    whether ps2 is capable of genesis emulation - not sure, maybe it is possible.
    Actually - it could be (and is most likely) that SEGA had a better emulator.

    On the contrary to what some people believe, the public Generator sources probably never included a dynamic binary translation ("Dynamic recompilation") engine. Generator seems to have always used software translation, and I think that it's interpreter emulation engine might not be too highly optimized.

    I've never owned a computer older than a Pentium II PC that ran at 400MHz, so I don't know whether a 300MHz Pentium II can emulate a Megadrive/Genesis at full speed without a well-optimized emulator.

    EDIT: I just remembered that I have an Intel 80486 DX that runs at 33MHz, but that will surely not be able to emulate a Genesis/Megadrive. :P

    EDIT2:

    @leech88: I know what you mean. :P

    Well, it's up to you to decide on whether you would like to embark on a programming adventure with the PS2, since there are only a handful of 'good' coders left here. Many of them have 'retired' and have moved on with life.

    Just be warned that programming the PS2 is different from programming the Intel x86 with Windows. It involves a lot of low-level hardware and kernel accesses, and there are some rules that you must adhere to because of differences in architecture.

    I won't say that programming the PS2 is difficult, but it's more like you have to be patient and well organized. When you get stuck, don't just keep trying to fix the problem for extended periods of time as the problem probably has a logical explanation.
    Last edited by SP193; 06-04-2012 at 08:16 AM. Reason: Added a response to leech88.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  4. #4  
    leech88 is offline Registered User
    Join Date
    Feb 2009
    Posts
    27
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Well, since this would be my first attempt at ps2 programming I'm thinking of just trying to port a good open-source windows-based genesis emulator (like Gens for example) and compiling with the vector c compiler by codeplay. What do you guys think?

    Also, I believe many of the problems I will face must have been met before and there's no need for me to "reinvent the wheel", so are there any documents or people I can contact in case I come to need some insight?
    Reply With Quote  

  5. #5  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by leech88 View Post
    Well, since this would be my first attempt at ps2 programming I'm thinking of just trying to port a good open-source windows-based genesis emulator (like Gens for example) and compiling with the vector c compiler by codeplay. What do you guys think?
    That might be messy, as many modern emulators like Gens are written totally in C/C++ (Hence probably not much better off then Generator) and require DirectX. Now, the PS2 has nothing like that, and porting will hence require you to replace calls to the DirectX libraries with the appropriate equivalent.

    Quote Originally Posted by leech88 View Post
    Also, I believe many of the problems I will face must have been met before and there's no need for me to "reinvent the wheel", so are there any documents or people I can contact in case I come to need some insight?
    Indeed.

    Well, Google is your friend here. A lot of information was gathered, discussed and recorded on the PS2DEV and PSX-scene boards. Performing a Google search on these sites will usually yield something interesting.... unless you search for something obscure.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  6. #6  
    DefectX11's Avatar
    DefectX11 is offline Member
    Join Date
    Jan 2012
    Posts
    10
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    If you want to code for PS2, wouldn't a PS2 dev kit be high up on your list of things to get?
    Reply With Quote  

  7. #7  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by DefectX11 View Post
    If you want to code for PS2, wouldn't a PS2 dev kit be high up on your list of things to get?
    While having the Sony development tools will definitely make your life easier, obtaining a TOOL is generally:
    1. Not cheap.
    2. Difficult to locate.
    3. Illegal (Since you are probably not a licensed developer)
    4. Not exactly a must, since it is possible to develop software with a retail PS2 and the homebrew SDK.
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

  8. #8  
    DefectX11's Avatar
    DefectX11 is offline Member
    Join Date
    Jan 2012
    Posts
    10
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    They're considered safe, aren't they? It's an out of production system, and there are no major titles being produced for it (by a registered company). it's the PSP TOOLs you'll want to avoid if you want to stick to the law. But really, there's an extremely low chance (>1%) that Sony is either going to find out, or even going to care for the PS2 TOOLs. They have very limited online access and so don't update over the internet (unless you boot linux and download updates there, but AFAIK Sony doesn't support the update server anymore)
    I can see expensive and hard to find as points. However, it is possible to find them for good prices (I've seen a couple go for $300) if you don't mind too much about the cosmetics.

    A couple more points
    -They're damn awesome looking. You can't deny that look. (+)
    -The looks come hand in hand with the high noise levels. Be prepared to put it in another room. (-)
    -built in PS2 hardware to work with (+)
    -hard to find parts, fixing is a pain, etc. (-)

    EDIT- I quote the dev hardware god himself- "No if licensed, No if they no longer exist, no if you bought it as scrap.
    Yes if it's loaned and not sold."
    Also keeping in mind it's the software that's high risk, especially retail games.
    Reply With Quote  

  9. #9  
    SP193's Avatar
    SP193 is offline The fallen spartan...
    Join Date
    May 2009
    Location
    シンガポール
    Posts
    1,954
    Downloads
    0
    Uploads
    0
    Mentioned
    14 Post(s)
    Tagged
    3 Thread(s)
    Likes Given
    33
    Likes Received
    209
    Quote Originally Posted by DefectX11 View Post
    They're considered safe, aren't they? It's an out of production system, and there are no major titles being produced for it (by a registered company). it's the PSP TOOLs you'll want to avoid if you want to stick to the law. But really, there's an extremely low chance (>1%) that Sony is either going to find out, or even going to care for the PS2 TOOLs. They have very limited online access and so don't update over the internet (unless you boot linux and download updates there, but AFAIK Sony doesn't support the update server anymore)
    I can see expensive and hard to find as points. However, it is possible to find them for good prices (I've seen a couple go for $300) if you don't mind too much about the cosmetics.

    A couple more points
    -They're damn awesome looking. You can't deny that look. (+)
    -The looks come hand in hand with the high noise levels. Be prepared to put it in another room. (-)
    -built in PS2 hardware to work with (+)
    -hard to find parts, fixing is a pain, etc. (-)

    EDIT- I quote the dev hardware god himself- "No if licensed, No if they no longer exist, no if you bought it as scrap.
    Yes if it's loaned and not sold."
    Also keeping in mind it's the software that's high risk, especially retail games.
    Agreed! In fact, the points you mentioned here are exactly the same as what one could say about the SCPH-10000, SCPH-15000 and SCPH-18000 consoles... since they are nearly exactly the same as your TEST PS2 unit.

    You are right. It's safer now... but clearly Sony had something against people selling their debugging stuff as such trades used to get taken down before they are completed.

    As for the noise - I think that my SCPH-39006 is louder. D:
    My SCPH-10000 heats up a LOT though... and it probably died because of that. :/
    Unmodified SCPH-77006 with SM 3.6
    SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
    SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit
    PS2ESDL v0.823B

    やっほー 汗がひかる♪
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •