Search found 59 matches

by protomank
Sun Feb 28, 2010 2:53 pm
Forum: PS2 Development
Topic: Calling for help from experts
Replies: 0
Views: 5127

Calling for help from experts

Hello. As most of you know, I am programming a game in SDL for PS2. But the fact is that SDL in PS2 is low-quality in several places. I am willing to try to fix it, but the problem is that I am not a PS2 developer, nor know the PS2SDK very well, nor have time to learn it. So I need your help. What n...
by protomank
Sat Feb 20, 2010 2:21 am
Forum: Patch Submissions
Topic: PS2 SDL Timer
Replies: 0
Views: 14123

PS2 SDL Timer

Hello. The current implementation of SDL timers and SDL_Delay is wrong, and do not work. Based in the work of shawn_t ( link ), I've made a very simple version of timers that still need some work (please take time to review it at will), but is already much better than having a non-working function. ...
by protomank
Mon Feb 08, 2010 2:51 am
Forum: PS2 Development
Topic: Let's correct FCEUltra screen aspect ratio?
Replies: 9
Views: 10784

It might be better to just wait until the new libraries are done. I'll need your help with modifying SDL to use the new libgraph/libdraw code, after I get it finished. It's taking me a while because I have an ATI gfx card on ArchLinux, which is a rolling release distro (latest updates are released ...
by protomank
Mon Feb 08, 2010 1:49 am
Forum: PS2 Development
Topic: EE timers
Replies: 6
Views: 53482

I've hacked the SDL_Delay to use your code. It works like a charm. I hope I can get this up to the SDL svn once I clean and integrate the code better. Thanks a lot!
by protomank
Sun Feb 07, 2010 11:14 pm
Forum: PS2 Development
Topic: Let's correct FCEUltra screen aspect ratio?
Replies: 9
Views: 10784

Hey Ragnarok, do you know if it is possible to anyway, disable bilinear filtering in gsKit? Or I need to wait for your drawlib then port SDL to use it?

Thanks.
by protomank
Fri Feb 05, 2010 7:26 am
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

Yes, known bug. Sadly I did rushed beta3 because I was tired of waiting for people being able to test it, and let it out with 4 or 5 bugs I knew about - shame on me :) Thanks anyway, the first thing I need to work on beta4 is the collision verification, because of this bug, and one more that allows ...
by protomank
Thu Feb 04, 2010 9:58 pm
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

Some screenshots of it running on Linux:

Image

Image

Image
by protomank
Wed Feb 03, 2010 9:00 pm
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

Well, beta3 was just released, including builds for PS2 USB and CDROM besides Windows and Linux builds. See information and download it in: http://rockbot.upperland.net On the PS2 front, the things that need work or are missing: - find a way to build a decent timer on PS2 that counts milisseconds to...
by protomank
Tue Feb 02, 2010 8:51 pm
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 10617

Thanks for your explanation dlenor, it surely will help.
by protomank
Sun Jan 31, 2010 9:54 am
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 10617

PCSXE2 does not run on my computer, my onboard video card is not enought and the motherboard do not have a pci express slot. But I fixed it, added some loading information (good for the user also) and I believe the problem was that some SDL calls I was using did not released the file handler, so whe...
by protomank
Sun Jan 31, 2010 2:24 am
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 10617

You saved my sanity! I was looking for cdvd.irx for more than a hour now :) EDIT: Funny enought, if I run my elf from mass, and force all files to load from cdfs, it works. If I just boot the same elf from the cdrom, it freezes in the loading of files. Looks like I'll have to buy a lot of CDs tomoro...
by protomank
Sat Jan 30, 2010 9:37 pm
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 10617

Just a quick question. I was looking at the forum for answers, but did not something more clear about running from CD. Is there a way to access cdrom: like I do for mass:? I found some dvd libs and methods, but those require to use xio file handling functions. As my code is meant to be portable, I w...
by protomank
Tue Jan 26, 2010 1:38 am
Forum: PS2 Development
Topic: Ps2 programming help
Replies: 8
Views: 9991

Yes, SDL have several problems, but I still not hit those, as sound is one of the last things I usually implement :)

Well remembered, once I finish the beta 3 of Rockbot, I'll find a free time to check out SDL from SVN.
by protomank
Mon Jan 25, 2010 9:33 pm
Forum: PS2 Development
Topic: Ps2 linux in Ps3?
Replies: 1
Views: 5982

You can, but those games will require a Linux on PS2/PS3 to run.
If you want to port games from Linux to PS2, I suggest you tu use SDL.
by protomank
Mon Jan 25, 2010 9:31 pm
Forum: PS2 Development
Topic: Ps2 programming help
Replies: 8
Views: 9991

If you want to code multi-platform games, I suggest you to learn SDL, a kind of directx for multiple systems (www.libsdl.org). You can port a SDL app to PS2 without *much* problems (there are some tricks such as a maximum of 4 file handlers open at same time). SDL can be used to port your game to Wi...
by protomank
Tue Jan 05, 2010 12:45 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

Well, the flickering problem was fixed by using double buffering, it does help your animation run a bit smoother but nothing major in terms of overall speed. It does help indeed the screen updating rate. The resolution problem, I do not know the cause - I did not studied enought with PS2 hardware to...
by protomank
Mon Jan 04, 2010 10:24 pm
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

Protomank, Did you had time to update the SDL lib on the SVN repository? No, I need to get a clean copy of the gsKit, PS2SDK and SDL, compile and test to see what changes are really needed to create the diffs to post here on the forum, then wait it to be commited. I hope I can have a spare time in ...
by protomank
Thu Dec 17, 2009 7:28 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

At last I found the solution! And man, that was actually pretty simple (well, maybe now that the SDL code is fixed). Just removed the stripped and now SDL_DOUBLEBUF started to work on SDL/PS2. Not only that, SDL_HWSURFACE too! So, no more flickering, better speed and my project can really start work...
by protomank
Thu Dec 17, 2009 1:18 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

Yeah, for your description it will not make any difference for flickering. I wonder if SDL in PS2 is just too slow, and does not refresh the screen at a apropriate rate. :-P I'll do some tests with basic (and small) SDL examples and check how it comes out. EDIT: I think I found some clues: first, SD...
by protomank
Wed Dec 16, 2009 11:33 pm
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

Well, yesterday I took the time to make experiments... and failed! While I was able to reduce it, it is still very annoying to the eyes. The funny part is that gsKit examples do not seem to have this issue, but I still could not figure what is causing the flickering on the TV screen for SDL, even af...
by protomank
Tue Dec 15, 2009 9:14 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

It did not work directly, in a *very* quick test. But I'll give another try later, with some printfs to see if this code is actually doing something, or forcing it to execute, and also test starting the video directaly with gsKit (but I have to find how to connect it with SDK).

Thanks ragnarok!
by protomank
Tue Dec 15, 2009 4:31 am
Forum: PS2 Development
Topic: PSX software emulator on PS2
Replies: 9
Views: 12182

Potentially, a PSX emu for PS2 could be like the ones from PC that even improve speed and graphics:
- no need to emulate CPU
- more ram and vram
- but needs to emulate the GPU, so the graphics can be improved.

I think no one will be doing this, but it is fun as a "science school project" :D
by protomank
Tue Dec 15, 2009 4:27 am
Forum: PS2 Development
Topic: Let's correct FCEUltra screen aspect ratio?
Replies: 9
Views: 10784

Maybe you can add those video tools to SDL port in the future ragnarok?
It would help porting a *lot* of software to PS2 ;)
by protomank
Tue Dec 15, 2009 4:23 am
Forum: PS2 Development
Topic: SDL/PS2 screen flickering - need help
Replies: 15
Views: 17036

SDL/PS2 screen flickering - need help

I am developing a project in SDL for PS2, but I noticed in my TV it looks very bad, blincking like hell, it hirts your eyes, mostly for white as if the frequency was very low, much like in this old topic: 640x512 PAL mode . For the details, I have a TV that works both with PAL and NTSC, a NTSC PS2 a...
by protomank
Tue Dec 15, 2009 4:10 am
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

Yep, helps a lot. I'm about to implement this unity detection, but first I have a major blocker to solve: the TV image flickering a LOT when running SDL/PS2 apps :-(
by protomank
Tue Dec 01, 2009 10:23 am
Forum: PS2 Development
Topic: How to run from elf and load files anywhere?
Replies: 8
Views: 10617

How to run from elf and load files anywhere?

My question is: In windows or linux I can load files form a relative path (./ or cimple empty path). So, if I run the program from c:\appXX it will look for files inside that folder. I want to do the same for playstation 2, because my project will use graphics from anyone (users will be able to use ...
by protomank
Tue Dec 01, 2009 10:17 am
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

The code and a Windows build are on sourceforge page already.

I'll post a PS2 build once I find out how to load files independently from the place (CD, DVD, HD, MC or MASS) you run the elf.
by protomank
Sun Nov 08, 2009 11:43 am
Forum: PS2 Development
Topic: Introducing Rockbot - a Megaman clone
Replies: 7
Views: 10784

Introducing Rockbot - a Megaman clone

http://www.upperland.net/rockbot/ News in the page are still in Portuguese, I did not had the time for translations - feel free to use google translator - but you can have a little idea of how the project is. http://www.upperland.net/album/images/Pictures/screenshots/Open%20RockBot/thumb/640x480-ga...
by protomank
Sat Nov 07, 2009 12:58 am
Forum: PS2 Development
Topic: I might be breaking things..
Replies: 33
Views: 26661

I was talking a much broader problem: when not only the name changes, but functions gain new arguments or loose some; and programas are really broken because of this, needing more than a string replacement :)
by protomank
Fri Nov 06, 2009 9:59 pm
Forum: PS2 Development
Topic: I might be breaking things..
Replies: 33
Views: 26661

My take: place the old functions on a lib that can be linked to (and sure, document it for newbies in ps2 development) to maintain compatibility with old programs. This lib functions can even call the new ones if they are compatible. New project will not use this lib, people working with old code ca...