Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question
3  
I was reading a book on PS2 architecture, IIRC it was C. –  jco Oct 25 '12 at 17:03
    
Thanks a lot Bane. –  Zim3r Oct 25 '12 at 17:49
1  
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 –  Jimmy Shelter Oct 26 '12 at 20:12

2 Answers 2

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.

share|improve this answer
    
+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 ? –  Zim3r Oct 25 '12 at 17:52
    
@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! –  Delusional Logic Oct 25 '12 at 18:14
    
Thanks but there are some .bin files that some of them are audio or video files. even these files can't be opened ? –  Zim3r Oct 25 '12 at 18:21
    
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. –  Josh Petrie Oct 25 '12 at 19:05
2  
@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. –  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.

share|improve this answer
1  
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. –  Patrick Hughes Jun 22 '13 at 22:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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