News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: PlayStation development articles, feedback appreciated  (Read 3522 times)

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
PlayStation development articles, feedback appreciated
« on: June 12, 2016, 11:50:37 am »
Lately I started writing some PS development tutorials / advise articles that provide some directions to users who would like to get involved in the topic or for those interested in tackling the system in more efficient ways. So far I came up with four articles, but I have a fifth in mind about 3D effects; nothing too fancy, just a PlayStation pad with 3D analog sticks moving as they react to actual input, while other buttons would be flashing yellow to reflect the remaining input.

Article 1: The do’s and don’ts of PlayStation programming
Article 2: Writing a good replacement for LibGS
Article 3: Light sources: how they work and what you can do with them
Article 4: Working around 2D primitives (includes sources and VS201X project)

Are these articles any easy to follow or interesting to read? I'm thinking of writing more, but I need some directions to check if I'm making any sense.
« Last Edit: June 12, 2016, 12:20:39 pm by Gemini »
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Madsiur

  • RHDN Patreon Supporter!
  • Full Member
  • *****
  • Posts: 174
  • FF6 hacker
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #1 on: June 12, 2016, 12:18:21 pm »
The links were not copied properly I think. You can find the articles here: http://appleofeden.de-doc.com/

I've read the first article and it was really interesting for someone with no PSX experience but some background in ROM hacking and programming. I think it was clearly written also. I'll check the others as well when I get more time. A complete PSX programming / ISO hacking series of article would definitely be a nice resource.

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #2 on: June 12, 2016, 12:22:06 pm »
I'm not really going to do much for actual hacking, tho most of these tutorials, especially the 2D programming part, can be used for that purpose as well.

Thanks for the link advise, should be fixed now.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

tvtoon

  • Sr. Member
  • ****
  • Posts: 360
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #3 on: June 12, 2016, 01:21:02 pm »
From the first part, the first "do" and the second "don't" (to some extent) are programming praxes. But yeah, interesting stuff. :)

BlackDog61

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: PlayStation development articles, feedback appreciated
« Reply #4 on: June 12, 2016, 03:02:40 pm »
This: https://www.youtube.com/watch?v=uAPUxvjbdcU
Anything PS family is welcome! We're sorely lacking docs in the matter.
I assume most of this would still apply to the PS2?
Do you have any recommended site(s) to get along with the PSX?
Any recommended dev' environment?

tryphon

  • Hero Member
  • *****
  • Posts: 722
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #5 on: June 12, 2016, 07:13:35 pm »
Really interesting. An intro article about how to code for PSX (compiler needed ? configuration ? How to test ? With emu ? Real hw ?) would be awesome. Just give some links towards articles you like if you don't want to lose the time to write it.

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #6 on: June 12, 2016, 10:29:57 pm »
IIRC there are a bunch of sites telling you where to get the official compiler and libraries (configuration instructions should be part of the original package). You can go for either PSY-Q or Net Yaroze kit, tho the latter is quite limited in resources.

As for testing, there are a few emulators that make the task a bit easier nowadays: pSX 1.14 comes with a virtual cd feature, Xebra and no$psx are the "accurate" emulators you cab use to dig a whole lot of bugs that would kill real hardware. Not sure how mednafen and retroarch behave, they could have some interesting features; stay away from ePSXe. Other than that, sometimes I just burn a cd and check if my latest changes still work. Most of the time I mess up. :P
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Bregalad

  • Hero Member
  • *****
  • Posts: 2651
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #7 on: June 13, 2016, 02:53:01 pm »
It looks more like documentation about 3D graphics on the Playstation rather than documentation about PlayStation development in general I think.

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #8 on: June 14, 2016, 05:13:08 pm »
Yeah, I'm trying to dig graphics out of the way as soon as possible and move to something else, like memory cards or the SPU.

Meanwhile, another article: 3D graphics and controller handling

This time I tried a different approach, where the article actually tries to explain something from the demo embedded with sources. Not sure how it turned out, I was feeling rather lazy with the article itself and more entertained by the coding.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #9 on: June 21, 2016, 07:13:51 pm »
New article is up: Intro coding and CD-rom usage

I'm open to tutorial requests at this point. Thinking of doing cooperative threading and async CD reads, unless something more demanded/interesting comes up.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #10 on: August 23, 2016, 05:59:53 pm »
Made a discord psxdev group, just in case people wanted a more direct approach: https://discord.gg/w8DcsNt
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Rai

  • Hero Member
  • *****
  • Posts: 631
    • View Profile
    • The official webpage for my Super Robot Taisen Alpha translation project.
Re: PlayStation development articles, feedback appreciated
« Reply #11 on: August 23, 2016, 07:07:17 pm »
Great work, Gemini; it's good to see more PSX documentation.

Could you possibly make a list of the PS1's opcodes?

Having a go to list of MIPS instructions would be very helpful.

PhOeNiX

  • Jr. Member
  • **
  • Posts: 74
    • View Profile

SirSoundfont

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #13 on: August 25, 2016, 09:25:12 am »
What tools would you use to make a PS1/PS2 game? And once you make the game, can you burn it to a CD disc and play it on a console?

UltimateUrinater

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: PlayStation development articles, feedback appreciated
« Reply #14 on: August 29, 2016, 01:57:15 am »
I'm under the assumption that it's not common for people to code the psx in assembly, or atleast just not practical. If so, then i've been approaching my studies the wrong way...LOL..and  must learn c/c++(which is the common language for psx right?) and donwload all that high level jazz (libraries and all that other stuff idfk). :laugh: :banghead:

Gemini

  • Hero Member
  • *****
  • Posts: 2017
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: PlayStation development articles, feedback appreciated
« Reply #15 on: August 29, 2016, 05:35:55 am »
The only assembly stuff you need is for some low level access, like 3D operations with critical performance. For the rest you would use C; C++ isn't exactly recommended but can still be used and it's supported by the toolchain.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.