fgsfdsfgs / doukutsupsx

port of Cave Story to the PlayStation, based on CSE2
Other
101 stars 4 forks source link

ntsc speed issue #2

Open mastercheff opened 3 years ago

mastercheff commented 3 years ago

Hello I've tried Your port today on a fat pal ps2. One issue I'm having there is slight choppiness with screen scrolling , it's also apparent to most homebrew cave story ports . BUT! By accident i booted the game with force pal mode and boom, smooth as silk , is there anything that can be made to achieve similar result with ntsc 60hz ?

Also, quite Magnificent work Sir, as always - Mario64 on ps2 is dope too (one can dream of 240p resolution ...)

fgsfdsfgs commented 3 years ago

The game is supposed to run at 50Hz. To do that regardless of video mode I use one of the system timers instead of the screen refresh rate to time it, but it still waits for vsync before swapping frames, so it shouldn't be choppy even on NTSC. I can't actually test it on a real NTSC console since all consoles I have are PAL, but it seemed to work well in emulators, so I don't actually know how to fix it. Could be an issue that is only apparent on PS2?

mastercheff commented 3 years ago

Choppiness I'm describing is rather skipping frames than screen tearing related to vsync. I will play this on pal50 then , guess I'm sensitive to smoothness.

Thing is, similar skipping is always present when trying 60hz game on pal50 television. I live in europe and most of my retro systems since couple of years are ntsc or pal60 - strange that OG cave story does not support 60hz natively , Wii, DSiware, 3ds eshop version are all buttery smooth

Edit: I tried it with duckstation, it's the same stuttery lag, my ps2 reads ps1 discs really good (new laser) with ps1 disc read speed set to fast it's actually really playable (load times 1-3 seconds max instead of 3-10 on default)

fgsfdsfgs commented 3 years ago

I'm afraid I don't really see any difference on DuckStation between running it in PAL and NTSC. OG Cave Story runs at 50FPS, are you sure it's not the camera movement itself that's bothering you? Maybe compare it to the freeware version of Cave Story on PC, see if that's the issue? It can seem kind of choppy because it snaps to integer positions.

patapancakes commented 2 years ago

Don't seem to be having this issue at all on my NTSC PS1 (SCPH-9001).