SDL Has Been Ported to Sony PS2 89
JigSaw writes: "SDL, the open source answer to DirectX, is a well-known cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. Sam Lantiga, the maintainer and SDL project leader, announced today on the SDL mailing list, that he ported the library to Playstation2 and it will allow to write and run SDL games (open source or commercial, as SDL is LGPL) on the Linux port for the PS2. Great to see Linux to become the source for a whole bunch of free SDL games (some of them with commercial-level quality), easily recompiled for the PS2 and run them without having to spend $49 USD for each game. This release will be even more significant in the near future, as SONY is planning to release the broadband adapter add-on, which will enable small developers (and even companies) to release free or shareware games, downloadable in binary or source format (most SDL games are known to have small sizes) from the web, and hop, to your TV!"
Sony Linux Kit Includes... (Score:1)
BTW: Did you know... (Score:4, Interesting)
Re:What are the best SDL games? (Score:1, Informative)
Of course, the best games are the commercial ones that Loki ported (some of which use SDL).
Still, there are some good free ones also. Sturgeon's law does still apply though...
Re:Pandora's box (Score:1)
You clearly have NO clue what you're talking about.
Programs don't port themselves - and the only way there could be copyright concerns would be if these ports were actually released. And since generally commercial games are closed-source, the ports wouldn't be released without permission from the developer.
Linux for end users? (Score:2)
Does anybody have information about whether or not developers will be able to redistribute enough of the Linux-based runtimes to make this feasible? Actual quotes from the license agreement(s) would be nice. (Or has the porter found some way around using the binary-only stuff?)
Re:Linux for end users? (Score:1)
--Sam @ Blizzard
Re:Linux for end users? (Score:1)
Re:Linux for end users? (Score:4, Interesting)
Realistically, I have no problem with this - maybe that $200 kicks the price point above where they will be making a loss (at least when they drop the price this coming holiday season). That way, Sony can keep the PS2 in market, even if people aren't buying licensed games.
In other words, you have a choice - buy the PS2 below cost, and play only licensed games (which kick back to Sony, making up the difference), or shell out $200 and play free (both beer and speech) games. And neither will make Sony give up on the PS2 as unprofitable.
Now, as to what the *actual* break even price for Sony is - now that's a different story. I imagine that they are making a profit on the actual unit (not counting initial R&D) at the moment; that may change when the PS2 price drops way down in the next few years.
--
Evan
Re:Linux for end users? (Score:2)
Good point -- I had forgotten about the whole selling the hardware at a loss issue. Still, to the average gamer, who probably knows or cares little about free or Free games, $200 is an awfully high price to justify getting the ability to play SDL games.
Sure, the Cool Factor is definitely there, but the $200 entry fee would probably be too high for anybody but die-hard geeks who want to play their SDL games on a TV mainly for the hell of it, which is a far cry from small developers being able to reach millions of gamers like some people had hoped for.
hmm.. well if this is anything like PCs.. (Score:1)
Great idea Sony!
fantastic but sony might not like it (Score:3, Interesting)
Re:fantastic but sony might not like it (Score:2)
Nonsense (Score:2)
The problem is the PS2 has only a 294 MHz CPU and very high-latency RAMBUS RAM, so portable emulators will not run well on it.
My old Cyrix 166-based PC had a lot less processor power than the PS2, much slower memory (remember 70ns FPM DRAM?) and less of it (only 16MB), quite apart from the fact that it had a video card that is prehistoric by comparison (an S3 Virge).
Yet it played ~95% of all MAME games absolutely flawlessly, at full speed.
Portable != Slow, as anyone who has used Linux on a MIPS box will tell you (it runs rings around the MIPS-only IRIX)
You're not an assembler guru that's feeling hard done by optimizing compilers are you?
Re:Nonsense (Score:1)
PS/2 users will probably be able to run most of the golden oldies, but I doubt it'll emulate modern hardware (recent arcade machines, consoles, whatever) very well. Luckily, the PS/2 doesn't need PlayStation emulation. B-)
What's this 'open source or commercial' shite? (Score:2)
Commercialness does not equal being sold for money just like free to air television isn't non-commercial. It is (according to every dictionary I've ever read) to do with the motivation behind producing the work, which in the case of apps like Zope, Red Hat Linux, VideoLAN, and many other projects, is (at least partially) to make money.
Commercial software is fine and employs alot of people, and its even better for users if its also Open Source.
Commercial quality? (Score:4, Insightful)
Ahem. *cough* :) Someone's been going to the school of CmdrTaco's all-inclusive non-objective statements. I would hardly call a majority of the SDL games commercial quality. A majority are playful diversions (like minesweeper) and the few that are commercial quality ARE commercial (like Loki's wares).
Don't get me wrong: I think SDL is a step in the right direction. But are you going to get Joe User to play these games when for $20 used you can get a decent copy of Final Fantasy for PS?
Re:Commercial quality? (Score:2)
The amazon.com version of ff9 costs $40. But thats an exact copy. For a merely decent copy I would expect to pay $7-$10 and not a penny more.
But does it use all the dedicated hardware? (Score:1)
Re:But does it use all the dedicated hardware? (Score:2, Informative)
As for 3D, SDL just provides an interface to the native OpenGL implementation. There is a port of Mesa to the PS2, but as of the Public Beta, there were lots of features which hadn't been tested and some things which didn't work due to the way PS2 hardware works.
If you want to use any of the other hardware, like the custom vector units, you'll have to program them yourself.
In general, SDL speed is pretty good on the PlayStation 2. However, in my experience, games which require a lot of memory or lots of floating point will be fairly slow.
SDL isn't a magic wand, you still have to take the advantages and disadvantages of your target platforms into consideration for the best performance of your game.
Re:Great! (Score:1)
I know another OS that does though.
Re:Great! (Score:2)
Re:Great! (Score:1)
Re:Great! (Score:2)
What are you talking about? Canada's been a corporosocialist country for quite a while, now. ;-)
SDL for Amiga (Score:2, Offtopic)
Sony is playing it smart (Score:2, Interesting)
Re:Sony is playing it smart (Score:1, Interesting)
Language bindings (Score:2, Insightful)
-jk
"Premature optimization is the root of all evil" - Don Knuth
Re:Language bindings (Score:1)
> experience using SDL with other
> interpreted languages?
Are you implying that Scheme is an interpreted language? I think there are Scheme compilers.
Re:Language bindings (Score:1)
A decent port of Pygame for the PS2 would be a lot of fun to play with, with or without Linux underneath.
actually... (Score:5, Informative)
Re:actually... (Score:1)
I have since added support for TV output.
Re:actually... (Score:1)
> I have since added support for TV output.
Before this gets modded down as a troll, I'd like to point out that according to the comments in the source code, the PS2 code in SDL is written by Sam Lantinga (slouken@devolution.com), which is who the poster of the parent says he is. This is just to avoid rampant confusion like in the Tux Racer discussion yesterday, with people ignoring Patry's attempt to bring sanity into the discussion. B-)
For further info on new features (such as the TV output feature (currently only in CVS)), see the ChangeLog [libsdl.org].
Awesome! (Score:1)
Indrema was going to be an open-source console before the project died... but now it seems the PS2 has taken its place! Quite unexpected.
This could also end up being an excellent thing for Linux in general. Developers may be inclined to use SDL for their games and applications due to its portability factor. SDL makes porting from platform to platform very easy. It would be pretty hard to lose any portability without making it a concious decision.
The only drawback I see here is that there probably isn't any OpenGL distribution for PS2... (I'd love for someone to correct me on that??) so developers will probably be stuck with SDL's rasterizer.
This is still a major step forward though.
Re:Awesome! (Score:1)
Re:Awesome! (Score:2)
Re:Awesome! (Score:1)
How about this little administration tool [acm.org]?
Sony needs SDL - SDL needs PS2 (Score:1)
Any chance... (Score:1)
Sony still needs to release Linux for the US PS2 (Score:2, Informative)
So Sony still has not released Linux for the US PS2... So unless you have a Japanese PS2, this won't do you much good yet.
Sign Sony's petition for USA PS2 linux release. (Score:3, Interesting)
Performance and Observations (Score:1, Informative)
I code for the PS2 for a living. I hate to break it to people - if they think they'll be coding up demos that match performance of the games available - its not going to happen.
The performance is going to be quite substandard. I can just see it now - everyone whining about how slow it is, meanwhile... its just unoptimal code.
What a Sad Commentary! (Score:2)
I guess commercial software is still generally higher quality than free software
Re:What a Sad Commentary! (Score:2)
What about Runix? (Score:1, Interesting)
PS2 software development (Score:1)
Traditionally Sony has asked for NDA's for people who would try to develop on their platform. This is what stopped Crystal Space from porting to the original PS a year back or so (IIRC). Has Sony changed its mind and is now giving out it's SDK's royalty-free? They have to be, if all this is legal, because an NDA is anathema to a LGPL project like SDL.