Skip to content
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

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

Open
LYK1003 opened this issue Aug 26, 2023 · 6 comments

Comments

@LYK1003
Copy link

LYK1003 commented Aug 26, 2023

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.

@LiEnby
Copy link
Owner

LiEnby commented Sep 1, 2023

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

@LYK1003
Copy link
Author

LYK1003 commented Sep 6, 2023

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

@LiEnby
Copy link
Owner

LiEnby commented Sep 6, 2023

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 ..

@LYK1003
Copy link
Author

LYK1003 commented Sep 15, 2023

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"

@LiEnby
Copy link
Owner

LiEnby commented Sep 16, 2023

[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 added a commit to LiEnby/NoPspEmuDrm that referenced this issue Sep 16, 2023
@LiEnby
Copy link
Owner

LiEnby commented Sep 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants