chovy-sign icon indicating copy to clipboard operation
chovy-sign copied to clipboard

Message "Error building: Stream was too long." when building "Tokimeki Memorial II"

Open LYK1003 opened this issue 1 year ago • 6 comments

ChovySign_v2_u6EjR5g6EY

Before Tokimeki Memorial II, I have tried building for some PS1 games like Spyro 2 (Japanese Version) and Yu-Gi-Ou True Duel Monsters: Sealed Memories (Japanese Version) and they works great, even with PocketStation. The reasons of using Chovy Sign V2 method for some Japanese PS1 games instead of using the the Adrenaline one which I did most of the time is simply because I want to take advantage of using the PocketStation feature which Adrenaline Bubble's Manager lacks.

Originally, there is Tokimeki Memorial II from PKGJ store and I tried to download it with the help of NoPspEmuDrm plugin so that I can install it right to the Vita home screen. However, when I finished downloading the game and tried to boot it, the error code "E-ffffffff" pop out and boot me back to the LiveArea. Since I already in 3.65 with enso installed so that there is no way to use the mail dump method to do the job.

Therefore, I tried to use Chovy Sign V2 to see if I can deal with the issue. "Tokimeki Memorial 2" is a huge game for PS1 game standard (2.14 GB) which contains 5 discs in total. After clicking "Go" button once I set up, the compression and encryption for 5 discs goes without any issue. But as soon as it gets into the psvimg section, the error "Error building: Stream was too long." kicks in which freezes the whole building process with no recovery at all. And I feel like this is because the total amount of storage for 5 discs is too huge which may results in this.

I wonder if there is a fix for this issue overall as it seems none of the users in general by far experiences this.

Thank you.

LYK1003 avatar Aug 26 '23 20:08 LYK1003

apparently there is a limit to how big a MemoryStream can be .. https://stackoverflow.com/questions/53193085/memory-limitted-to-about-2-5-gb-for-single-net-process and like, i did not know that-

ive been meaning to make a option to use temporary files to be less memory-heavy anyway, probably when i actually work on this again

LiEnby avatar Sep 01 '23 21:09 LiEnby

Yeah, that would be a help if there is a way to deal with it. For now, I just buy the official game from PSN Japan and launch it with no issue. And this is by now THE ONLY WAY to play "Tokimeki Memorial 2" while taking advantage of PocketStation feature.

Once again, thanks for your program so that I can inject many potential PS1 games with PocketStation feature :D

LYK1003 avatar Sep 06 '23 18:09 LYK1003

Yeah, that would be a help if there is a way to deal with it. For now, I just buy the official game from PSN Japan and launch it with no issue. And this is by now THE ONLY WAY to play "Tokimeki Memorial 2" while taking advantage of PocketStation feature.

Once again, thanks for your program so that I can inject many potential PS1 games with PocketStation feature :D

huh? the official game works?? can i get act.dat, rif idps and pkg files for that ?

otherwise have to wait till i can buy it myself ..

LiEnby avatar Sep 06 '23 22:09 LiEnby

Sorry for late reply

[Redacted- not wise to share your IDPS on a public github issue like this]

(NOTE: YOU NEED TO TICK THE "HIDDEN ITEMS" OPTION TO SHOW CERTAIN HIDDEN FILES ON WINDOWS 10)

Here is a little info regarding the rom:

The game id for this game is SLPM86355, which is "Tokimeki Memorial 2 [KONAMI THE BEST]" Since this is a re-release for PSP so this is under the PSN Eboot structure and the Game ID for this on PSP is NPJJ00307

Let me know if there is any missing file, Thanks :D

Rom folder (SLPM86355): "PSP/GAME"

Rif files (Game ID: NPJJ00307): "PSP/LICENSE"

Save folder (SLPM86355): "PSP/SAVEDATA"

LYK1003 avatar Sep 15 '23 18:09 LYK1003

[NOPSPEMUDRM] Failed to find versionkey for JP0101-NPJJ00307_00-0000000000000001

well there is the problem .. need to figure out like why..

figured it out, when i calculate the size of the data.psar file within the eboot.pbp i am storing it as a signed interger, which leads NoPspEmuDrm to think that the data.psar is like <0 bytes in size

LiEnby avatar Sep 16 '23 09:09 LiEnby

alright well i fixed it in NoPspEmuDrm; https://github.com/LiEnby/NoPspEmuDrm/releases/tag/v1.04

LiEnby avatar Sep 16 '23 11:09 LiEnby