Is there any common language that is used to create Play Station 1 Games? Or how can I find out what programming language is used for one of those games?

  • 3
    \$\begingroup\$ I was reading a book on PS2 architecture, IIRC it was C. \$\endgroup\$ – jcora Oct 25 '12 at 17:03
  • 1
    \$\begingroup\$ This question really falls under the "what technology some particular game used" category that is not considered appropriate for this site; see the FAQ: gamedev.stackexchange.com/faq \$\endgroup\$ – Maximus Minimus Oct 26 '12 at 20:12

Most PS1 games were probably written in C, with some assembly and possibly some light "C with classes." This isn't a universal truth, necessarily -- for example Crash Bandicoot had a good portion of its gameplay logic built in a LISP variant.

In general, you can only find out what languages were used for a game by asking the developers of that game. However, some technologies leave tell-tale signatures or watermarks of a sort that can help you make educated guesses.

For native languages, certain compilers or linkers may leave signature patterns or whatnot in the final binary (for example a tendency to store static data at a particular address, or a certain pattern of bootstrapping machine code instructions for the binary. On the PC, you can often run tools like Dependency Walker against an executable to see which runtime libraries it links against, and from there make educated guesses about which compiler was used to build it.

Similarly, games build in managed languages will require their runtime environments and usually complain loudly if they aren't found when the program is launched (this complaint is usually accomplished via a small bit of native bootstrap code in the executable, which you could also look for if you were so inclined.

Of course, this information is generally of little practical utility, since it doesn't really help you solve any particular problems related to your own game in most cases.

  • \$\begingroup\$ +1 Thanks Josh, Is there any programs to determine the programming language of the game? because it's bunch of *.bin files. or any way to view the source code ? \$\endgroup\$ – Zim3r Oct 25 '12 at 17:52
  • \$\begingroup\$ @Jake viewing the sourcecode of basically any compiled unmanaged binary is nearly impossible, or at least takes a long take and a lot of work! \$\endgroup\$ – Delusional Logic Oct 25 '12 at 18:14
  • \$\begingroup\$ Thanks but there are some .bin files that some of them are audio or video files. even these files can't be opened ? \$\endgroup\$ – Zim3r Oct 25 '12 at 18:21
  • \$\begingroup\$ They could be, but "how" can be a very complex process if you don't know the source formats, and would be out of scope for this question. \$\endgroup\$ – user1430 Oct 25 '12 at 19:05
  • 2
    \$\begingroup\$ @Gajoo While it wont be that painful, it won't be easy if you don't know the language. and seeing as he wants to learn from it, it really won't be that useful. I wouldn't think it was worth it. \$\endgroup\$ – Delusional Logic Oct 26 '12 at 8:47

I was first party at SCEA when we launched the PS1, and the overwhelming majority of games were written in C, with some time critical bits in assembler. All of the library calls were C as well.

  • 1
    \$\begingroup\$ I can confirm this; though I suspect that the libraries were C calling conventions with some hand tweaked assembly inside, much like the time sensitive or tricksy pieces I've seen or worked on. \$\endgroup\$ – Patrick Hughes Jun 22 '13 at 22:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.