-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quake 2 by CROW_BAR: distorted music issues #6842
Comments
Try turning off the God of War hack under the graphics settings. It hurts this homebrew pretty badly, with regards to the "lag" (it's actually pausing for a bit then resuming over and over, at least on my PC). |
Yeah it helps a bit but the random lag can still vary from almost nothing to unplayable. Solves the glitches when using frameskip as seen in the video. |
Interesting. If that hack hurts it, it must be flipping the buffer a ton during this time. I wonder why. -[Unknown] |
I/O on thread has something to do with it too it feels like. If i turn it off, on some boots of the homebrew, it runs almost perfectly. On others, I experience the stuttering. Perhaps this port is extremely timing sensitive or something? |
I noticed that in order to maximize the chances to run smooth it is required to turn off the followings: |
Same problems in D3D. Tested v0.9.9.1-311-g 6fa1872. |
Uploaded a video with debug statistics: https://www.youtube.com/watch?v=ERzSpzU2f6c |
Blah, didn't noticed that earlier, but that's probably another homebrew using same time functions, so at least half of this issue(lag part) should be fixed by #9716. Edit: Found the homebrew, but it currently doesn't work at all due to lack of memory which I mentioned in #8925 (comment), meaning memsize flag is not respected. Sound in the intro worked fine at least.:] ~
|
Updated title to reflect what's left, the game is actually completely broken now, but with #9721 it'll work again and the "lag" was fixed yesterday, quite playable althrough default control mapping feels weird / hard to get used to:P. |
Got any good download links to the port BTW? Would be cool to put on the homebrew store with just the demo levels. Though perhaps it'd be a bit too big. |
Unfortunately the only download I found myself potentially was a shady one ~ from description of some youtube video;] as while I was copying my own files into it, I had lots of questions to replace existing files, including one big pak file, that matched size from the full game.:] I could strip it off those things and upload myself, but honestly not sure which files are copyrighted there and which aren't, the copy I got didn't really came with clear instructions:|. |
Alright, cool. Seems a tiny bit scary though. I might have a look when I find some time :) |
Slight update, with #11993 it now spams:
Using 44100mhz, 128kbps stereo mp3's(which seems to work best without any warnings), it basically starts playing an mp3 and ends instantly ~ repeats without end. |
Does it work in Jpcsp? I took a quick look at its buffer handling to get an idea of what to test, and noticed some areas where it's probably wrong - but in a different way than PPSSPP is wrong. What PPSSPP does is:
What Jpcsp does is:
What PSP does is:
It's possible that Quake is getting confused because it's being asked to provide new data right away, which doesn't happen on a PSP. -[Unknown] |
Hoped I can live without Java on my pc;p, but heh ok I tried and indeed it works on jpcsp just fine, at least music, it has some other problems. Edit: I guess JPCSP is not that fine after all, the music works fine in the auto-play demo, but doesn't seem to even start when later entering the game, maybe things break because of it's performance which is very poor, it also has lots of graphical glitches compared to PPSSPP, but we have the music broken same way in auto-play demo and in-game. |
I found a demo of Quake II that can reproduce mp3 problem so I'm uploading it here: Place some mp3's into mp3 folder, they have to be named Track02.mp3 to Track21.mp3(Track02.mp3 should be enough to reproduce the problem). Run the homebrew press start and then X like two times to start a new game. It will spam some content missing making it almost impossible to see in-game the constant spam about re-starting mp3, but it can still be observed in the info log. |
That demo version crashes almost always when starting game @LunaMoo |
Disable fast memory, it's still useful to reproduce mp3 issue, but I guess the homebrew wasn't really ment for running anything else than full game so it has some problems when using content of the demo. |
Changing the ID3 handling helps (I think it may be safe to remove Commenting out -[Unknown] |
1. Lag / long start-up problemThe lag problem is completely gone. Tested v1.8.0-132-g c82d75c
2. Music distortion
There is a music playback issue as well. It is distorted so badly that it doesn't worth adding the music files. According to the log it keeps attempting to resample the music tracks to 44100Hz although I have the music in that sample rate.
Video showing both issues:
https://www.youtube.com/watch?v=me868bf5mHk
i got the second demo to load right at the video start.
Log screenshot showing music resampling attempts:
The text was updated successfully, but these errors were encountered: