I have the opportunity to obtain official source code to one of my favourite games (not through any form of theft), and I was just wondering whether this could be compiled (and ran?) without access to any PS2 dev hardware. I don't know much with regards to PS2 development, but any help would be appreciated.
You would need a DEV environment setting up at the very minimum i would have thought, you may be able to compile without a dev kit but you would not be able to test what you had compiled just my 2p
As long as the source code is complete you should be able to compile it in any computer as long as you have the SDK installed (if it's a commercial game, you'll need the official Sony SDK). Also, depending on the source code, you may have issues if the SDK version you use is older (and maybe even newer) than the one used to write the code. Once compiled you'd have to use either an emulator in your computer, a modded PS2, or a Debug PS2 to test / run the compiled code.
Software wise I should be okay, I just never got around to investing in PS2 dev hardware. I'm assuming the code to be complete. I'll have to ask if they remember which version of the Sony SDK they used at the time (in 2001), but I suppose it won't hurt to try different versions myself. If the code can be run on an emulator or through a soft-modded PS2 then that would be enough for now.