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
Problem with mounting PS1 games with many Multi-Tracks #292
Comments
The cue parser of webMAN requires the LBA position of the track in the format: INDEX 01 mm:ss:ff The cue files that you have mentioned, only indicate the pre-gap size INDEX 01 00:02:00 (default pregap), but not the size of the track or the initial LBA of the track as webMAN MOD expects it. As result, all tracks are interpreted incorrectly as starting at 00:02:00 (LBA = 006075+02*75+00=150). Try editing the CUE file using the initial LBA of each track size (use size of previous track + pregap) or use the cue file in CCD frames: |
I'm not sure if I follow. Instead of PREGAP I need to add "INDEX 00"?
|
Only PREGAP 00:02:00 and INDEX 01 mm:ss:ff are interpreted by the cue parser. The other lines (TRACK, INDEX 00, etc.) are ignored. If PREGAP 00:02:00 is used, 150 (2*75) will be added the starting sector (LBA) of each audio track. It seems that the LBA of each track in your cue file is not counting the previous pre-gaps. This is how the first 4 tracks of TR2 NTSC should look... I added some REM just for clarification. REM 00:00:00 23:20:44 105044 REM 00:02:00 01:27:34 6559 REM 00:02:00 01:56:25 8725 REM 00:02:00 02:17:60 10335 etc. NOTICE: I didn't tested these values with the actual game. I only calculated them based on what the source code is expecting. |
I'm not sure if I get this right. My brain have sproblems with sectors, so I'll need to use Length. Leight of Track 1 = 23:20:44 Position of Track 2 = 23:20:44 23:20:44 + 01:27:34 + 2 = 24:50:03 Position of Track 3 = 24:50:03 24:50:03 + 01:56:25 + 2 = 26:48:28 Position of Track 4 = 26:48:28 26:48:28 + 02:17:60 + 2 = 29:08:03 Position of Track 5 = 29:08:03 29:08:03 + 00:09:60 + 2 = 29:19:63 Position of Track 6 = 29:19:63 29:19:63 + 00:08:72 + 2 = 29:30:60 Position of Track 7 = 29:30:60 29:30:60 + 00:07:01 + 2 = 29:39:61 Position of Track 8 = 29:39:61 29:39:61 + 00:07:02 + 2 = 29:48:63 Position of Track 9 = 29:48:63 Position of Track 10 = 29:58:63 Position of Track 11 = 30:14:12... EDIT 1:It is taking a lot of time for me to calculate it... EDIT 2: I've found this calculator: The mian problem is that the time do not match: |
Yes, it is a pain in the a** to calculate it manually. That's why I suggested to try with another game with less tracks. You can use sheets.google.com to calculate the sectors. 1 frame = 1 sector In 1:12:23:03 (72:23:03), I think it should be 72:25:03 when you add the 2 seconds of pregap (not 70:25:03) The 2 seconds are accumulative, so you should add 2 seconds (150 sectors) on each audio track. |
For now I only have this problem with TR1 (57 tracks), TR2 (61 tracks) and Rayman (51 tracks). Here is most interesting part. The mian problem is that the time do not match:
Yes I also think that the PREGAP is missing, but I don't know where to add it between TRACK 01 MODE2/2352 Here is missing 2s. I don't know how to make it right. Extend 1st track to 23:22:44 from 23:20:44? |
I made the following spreadsheet, you can try the values in column M: |
Unfortunately I cannot dedicate additional time to this issue (no more free time)... it requires more time testing/debugging what is really wrong. If you decide to continue investigating, I would appreciate any feedback. |
Thanks for your help so far. For now last thing that comes to my mind is write latest CUE on the disc. Once again thanks for your time. |
It turns out that it was a problem with the number of tracks that webMAN MOD can support.
|
Actually it is a memory limitation in Cobra. webMAN MOD allows up to 80 tracks. |
Is there a place that I can report it? Is this is the right place: Or maybe this repository: |
The official is Joonie86 All the others are forks, including the one in my repo |
I have notice that recently:
Any chance to "lift" this limit or for now it cannot be done because of a memory limitation in Cobra? |
If I recall correctly I increased this limit some time ago and had to return it to 32 because there were other issues that I don't remember. I made a test build with a limit of 100 like in Cobra payload, if you want to test it. EDIT: |
Are you sure that cobra supports 100 tracks: There is probably no need to change limit from 80 to 100. I have copied Tomb Raider 2 still has no CDDA in main menu and I'll get BSOD after staring new game\mansion. I'll need more time for more tests... |
You can confirm it by yourself that the limit in Cobra is 99 (it returns EINVAL with 100 or more tracks) |
So this change was added into 4.86 Rebug: Thank you once again for this piece of information. |
It's not new... for instance, 4.75 has the same limit of 99... and maybe older versions too. |
I've made few tests. I cannot mount Tomb Raider (BIN+CUE) with:
Mounting Tomb Raider seems to work with webMAN_MOD_1.47.28. When I patch my game image with: Maybe supporting PREGAP might fix this problem, so there is no need to patch game image? Currently my console is on Rebug 4.86.1 LITE with Cobra 8.2. BTW It seems that there is a game that have 97 tracks: |
@J013k a new update can be downloaded from Releases It includes various updates related to this issue, like:
Please use this release for future tests. Thanks again for your feedback. |
I can confirm Rayman (both PAL and NTSC) mount and play just fine. I have to check Mickey's Wild Adventure. |
Once again thanks for new release. I have try few games.
Here is short preview how CUE looks like:
Here is short preview how CUE looks like:
Short CUE:
Short CUE:
To sum up. BTW There is no need to test TR 2 without any fix because the same issues are from disc, |
I wonder if the issue could be related to the pregap of 2 secs that is added to all the following tracks when PREGAP line is found. You could try building a CUE file that use absolute LBA or MSF without PREGAP command. The syntax for the absolute LBA is |
I built this version that doesn't parse the PREGAP, so the 2 seconds are not added to INDEX 01 as the original code of webMAN does. Something interesting is that the original parser from Cobra does not process the PREGAP. webftp_server_no_pregap.zip <- put the sprx in /dev_hdd0/plugins If it doesn't affect other games, I think it can be the solution (without additional options). |
I'm testing it. And for me it didn't help. Other games doesn't seem to be affected, Rayman has cut starting music, 2 seconds around. |
Are you using ISO from NTFS or exFAT? prepISO parses the CUE file internally, and it haven't been updated. For the test, you must copy the ISO to FAT32 or to internal HDD. |
But I don't use USB and SMB (ethernet) with my PS3. All from PSXISO on internal HDD with clean bin + cue from original games so md5 from redump matches. |
Please verify that the sprx with no_pregap is copied to the HDD and that /boot_plugins.txt is pointing to that file. There is not reason for the missing 2 seconds, unless your CUE have incorrect MSF in INDEX 01 One more thing: check that the CUE file does NOT have extra spaces at the end of the INDEX 01 |
Just in case some one need to do tests ignoring the PREGAP (that seems to be the cause of various errors), here is a version of prepISO that don't parse PREGAP like the sprx posted above. |
This is my Rayman.cue
Also... I just replaced webftp_server.sprx to webftp_server_no_pregap.zip taking the same name. |
To clarify: The zip must be extracted and put the sprx inside the zip. Not rename the zip to sprx. Same with prepISO.zip. Inside there is a PKG that should be installed to replace the current version. |
I know, I replaced new webftp_server.sprx with old webftp_server.sprx, not renaming zip. Is full reboot required? I did and no luck. And I don't use prepNTFS at all. |
Ok, then I don't know what else could be happening. Maybe try with multiMAN or sMAN to check if you have different results. |
But Rayman or TR1/2? Rayman works fine except it cuts some off intro music when UbiSoft logo appears.. |
Both since they don't work perfectly... Also try with both emulators (ps1_emu and ps1net_emu) The purpose of the test is to identify if in some condition the game works as expected, to make the changes in webMAN MOD like it works in multiMAN, sMAN, IRISMAN or any other tool. Physical CD is not an option to compare, since it's processed directly by the emu and the drive. |
I have copied Let me start from beginning.
Sorry for my previous report about TR. @aldostools I can start new thread "Help with PREGAP" at PSX-Place. |
@J013k Yes, please create the new thread. From your results the "no_pregap" version seems to have better results than "Normal" version. I will commit the changes and update the release files. If anything need to be changed, I can do it later. |
Done: Yes, "no_pregap" version seems to have better results. |
Well, rev1 of both TR have no music in main menu and black screen after new game. Rayman seems unaffected with 2s loss with first logo. |
Check the date of Unfortunately v1.2 (Rev 2), v1.3 (Rev 3), v1.4 (Rev 4), v1.5 (Rev 5) V1.1 (Rev 1) or later do not have CDDA in main menu and have other problems, Anyway check patch for TR: With PPF-o-Matic In |
Seems I have rev 0 aka v1.0, now hunting for rev 1 aka v1.1 seems to be pointless. Where is the patch fo TR2 or not needed? |
Currently there is no patch for TR2. As with 1st Tomb Raider only v1.0 (NTSC) of TR2 will work without any problems from CD.
Other versions will not fully work, no matter if it will be launched from CD or from image. |
Then PSN version? I bought NTSC one and I don't regret. ;) |
@aldostools , its is possible to actually start PAL PS1 games with webman and actually USE the save (in game) option to create save files on the PS3 HDD under Slot 1 / Slot 2 ?? I struggle with this issues with PAL games for years now.... Waiting for your kind answer :) |
I'm not sure how this issue is related to a problem with Multi-Tracks... To be able to save progress in PS1\PS2 games mounted by webMAN MOD, Here is how VMC will look when I will try to load save with GTA: Currently on Rebug 4.86.1 LITE - Cobra 8.2. EDIT: Maybe you have this problem: |
@J013k : "I'm not sure how this issue is related to a problem with Multi-Tracks..." its true , i made a twisted connection in my mind when i think about TR1-TR2 (PAL) that i try to run on CFW PS3 and i always immediatelly think about the "damn" issue i have with PAL versions trying to create save files via webMAN-MOD for years.... It work via Irisman , but I prefer using webman since its always a bit tedious to use Irisman (for me and many CFW users i know for sure) Easy to create save files of NTSC PSX games on a NTSC console , but im still hurting my head concerning PAL PS1 games... I would LOVE to been able to play TR1/TR2 with french audio and actually create SAVE FILES using webman mod , but it dont work (creating PAL save files on "working PS1 games) and im wondering why ? Sorry im not familiar with github at all |
I really don't understanding with what you have a problem? I also don't understand what "create SAVE FILES using webman mod" means? Did you try the patch made by @krhacken?
If you want to continue discussion about Tomb Raider, you can do it here: You can even create new issue (e.g. Problem with creating save files using webMAN MOD), |
Hey, I've been having the same issues reported here, so i'm glad i'm not the only one at least....
to this:
(match the "index 00" and "index 01" timestamps), and it perfectly solved everything! I've tried doing the same on my PS3, but no luck... so, is this a cue file issue? Can it be fixed by further editing the file? Are the NTSC versions affected by this as well? |
I'm not sure if I understand you?! What do you mean by:
After few verses:
So is it working or not? Anyway... Here is an instruction how to apply patch: |
Sorry, i didn't make myself clearer.. TRACK 05 AUDIO TRACK 05 AUDIO I've highlighted the changes now. Keep in mind that this is just some random .cue file, not the one for the actual games. It was just to specify what i did. And it's working flawlessly, on retroarch. |
Recently I've tried to load Tomb Raider II (BIN+CUE) through webMAN MOD 1.47.25.10,
but I'm getting error and the game cannot be mounted:
Game has got many tracks (61):
http://redump.org/disc/906/.
Theoretically some other games with CDDA works (Hexen, GTA).
Maybe there is a value of tracks that webMAN MOD does not support?
What about support for pregap?
Here is something interesting:
https://www.psx-place.com/threads/ps1-bin-cue-questions.26280/#post-206111,
https://www.psx-place.com/threads/whats-up-with-tomb-raider-1-2.27086/.
When I delete CUE leaving only BIN, game should at least boot:
https://www.psx-place.com/threads/multi-track-ps1-games.25263/page-6#post-216194.
The same problems seems to be also with 1st part (TR1) and Rayman.
The text was updated successfully, but these errors were encountered: