What do I need to start developing?

Discussion in 'Sony Programming and Development' started by Lyth, Jul 14, 2011.

  1. Dragythu

    Dragythu Active Member

    Joined:
    Jun 21, 2006
    Messages:
    31
    Likes Received:
    0
    This stuff is all very useful. What is the default set up that Sony reccomends, or that game houses use?

    Linux 6.1 on a PC with Sony PS2 SDK - > Tool ?

    Be interesting to see pics of these things being used by computer game companies. Squenix or Konami, you get the idea.
     
  2. Lyth

    Lyth Spirited Member

    Joined:
    Jul 14, 2011
    Messages:
    129
    Likes Received:
    2
    The one I bought used to be owned by 3DO. Hopefully it has some Army Men beta's or source code on it.

    edit: I found a place where I could aquire the Official Sony Ps2 TOOL SDK. Here is the contents of the "package".

    http://pastebin.com/n4XZ7ttK

    Does this seem right? I dont want to get it and then find out its not the right thing/
     
    Last edited: Jul 19, 2011
  3. Lyth

    Lyth Spirited Member

    Joined:
    Jul 14, 2011
    Messages:
    129
    Likes Received:
    2
  4. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    That looks right, however it some more things that I don't have.
     
  5. SilverBull

    SilverBull Site Supporter 2010,2011,2013,2014,2015.SitePatron

    Joined:
    Jun 12, 2008
    Messages:
    385
    Likes Received:
    6
    It looks definitely like that "usual" archive, as it also contains some stuff not included with the official SDK.
    Please note that it will not work as-is when copied to your development PC. The SDK is using symbolic links in its original environment, which got trashed when it has been copied. Have a look for 0-byte files, these are generally an indication that a symlink was expected to be there. You need to delete and "ln -s" to the correct target in order to get it to work (at least the IOP gcc).

    Sony recommended an (as-of today) ancient Red Hat Linux, but the applications should work on later ones as well. But as all communication between the TOOL and applications is performed via a documented protocol (DECI2), you are not really required to use either Sony's or SNSys' applications; you can build your own if you like :thumbsup:.
     
  6. Lyth

    Lyth Spirited Member

    Joined:
    Jul 14, 2011
    Messages:
    129
    Likes Received:
    2
    Could you put that in lamens terms please? (Aka easy to understand) lol.

    What do I need to go to get it to work? Ive used linux a lot in my life as well as the command line. But its been ages.

    So, how do I go about setting the correct target? Do I need to download anything else? Or is the target already in the OS?
     
  7. Lyth

    Lyth Spirited Member

    Joined:
    Jul 14, 2011
    Messages:
    129
    Likes Received:
    2
  8. SilverBull

    SilverBull Site Supporter 2010,2011,2013,2014,2015.SitePatron

    Joined:
    Jun 12, 2008
    Messages:
    385
    Likes Received:
    6
    Sorry, I don't remember the specifics. Just copy it to your hard drive, set up the environment variables as stated in the included docs, then try to compile the samples. It will fail (at least for the IOP ones), but the error message indicates which path has been borked.
     
  9. Lyth

    Lyth Spirited Member

    Joined:
    Jul 14, 2011
    Messages:
    129
    Likes Received:
    2
    Alright. Then how do I fix that path?
     
  10. SilverBull

    SilverBull Site Supporter 2010,2011,2013,2014,2015.SitePatron

    Joined:
    Jun 12, 2008
    Messages:
    385
    Likes Received:
    6
    By creating the necessary symlinks :rolleyes:.

    You can also try this, it should work as well: after unpacking the archive, you should find two 0-byte files in /usr/local/sce/iop, named "include" and "lib". Remove these. Then, execute /usr/local/sce/iop/install/Install.sh, and it should create the necessary structures.
    In case you want to install the SDK to some different directory, pass the corresponding new paths to Install.sh (the comment at its start mentions which directory paths it needs to know).

    Afterward, just try to compile the includes samples for both EE and IOP. If the compilers are set up correctly, it will work; otherwise, it will give some more or less meaningful error messages. Post them here, and we'll see what to do then.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page