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

PS2 Classic bin.enc filename Request #36

Open
LouisGarry opened this issue Jan 7, 2021 · 13 comments
Open

PS2 Classic bin.enc filename Request #36

LouisGarry opened this issue Jan 7, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@LouisGarry
Copy link

Hi, hopefully the next version, to convert PS2, will be given 2 choices, ISO.BIN.ENC or title_id.BIN.ENC (sign _ not -).
Example: /dev_hdd0/PS2ISO/FFXII/SLUS_209.63.BIN.ENC

The reason is ISO.BIN.ENC does not support config from wMM.

Thank you.

@bucanero bucanero added the enhancement New feature or request label Jan 7, 2021
@bucanero bucanero changed the title Request PS2 Classic bin.enc filename Request Jan 7, 2021
@bucanero
Copy link
Owner

as a quick fix, I can change the behavior to create the ps2 classic file as my_iso_original_filename.BIN.ENC

so it would be:
/dev_hdd0/PS2ISO/my_iso_original_filename.BIN.ENC

detecting the title ID inside the ISO would require new code to be added and tested... but if you name your file properly, Apollo could just use the filename

@LouisGarry
Copy link
Author

Hi master, I see the title ID is on the offset 0x82A49-0x82A53 ISO game.

@bucanero
Copy link
Owner

Hi master, I see the title ID is on the offset 0x82A49-0x82A53 ISO game.

that's valid for DVD .isos, but some ps2 games can be CD .isos, and in that case I think the offsets are different. If you can confirm with CD isos, that would help too.

@retrosapien
Copy link

retrosapien commented Feb 7, 2021

I've always wanted a quick way to find the game id in a ps2 iso, so i tried to find it at that offset in aggressive inline. I'm not that great with hex, but i know a bit.
I couldn't find it at that offset in this game.
I did two searches, one for slus and another for the first 3 numbers, 203.

this is what i found;

BASLUS-20327CEAIGAME 3C1D48D0-3C1D48E3
BASLUS-20327IPARK 3C1D4D58-3C1D4D69
SLUS_203.27;1 82D9F-82DAB
BOOT2=cdrom0:\SLUS_203.27; 3C1E9800-3C1E9819

this is what i found at the offset LouisGarry mentioned.
������Ie�� 82A49-82A53

I also had an iso.bin.enc of that game, and I couldn't find either string at all.
I don't know if any of those offsets are standard locations, or if this will help at all.
I just thought I should share what I found.

@bucanero
Copy link
Owner

bucanero commented Feb 7, 2021

Some notes by @aldostools:

IMHO it would be more convenient to use "my_file_name" + " [title id]" + ".BIN.ENC"
Example: /dev_hdd0/PS2ISO/FFXII [SLUS_209.63].BIN.ENC

This format would be more user friendly and would include the title id needed by webMAN MOD to find the CONFIG in the database.

The title id can be obtained automatically reading the root directory of the ISO.

@retrosapien
Copy link

retrosapien commented Feb 7, 2021

@aldostools
Will that format double the printing of the title id in webman games on the xmb?
How do you read the title id when the iso is encrypted? Without extracting anything?
The way mine is set up is;
/title id.name/iso.bin.enc
/title id.name/iso.bin.png
In webman games it appears as;
name/iso.bin [title id]
title id | hdd0

I'd like it to have just the name with the title id only in the subtitle.
But I have never figured out how.
(While also having the covers show and still work with placeholder, that is)

@retrosapien
Copy link

retrosapien commented Feb 7, 2021

@aldostools
After some fiddling with settings and your advice as a stepping stool, I've gotten a bit closer.
Using your example, except removing the brackets, I've gotten it to appear like this on the xmb;
name.bin
title id | hdd0
I had show id as part of name enabled in the settings.
I tried to remove the .bin. part of the file name, and while it looked good on the xmb, it threw an error when trying to launc.
Error path/filename.enc.config
Is that because the config file is not the same as the iso, now? Or will placeholder not support it?

I just looked in the ps2config and webman game folders and didn't even find a config file for the game i tested.

@bucanero
Copy link
Owner

bucanero commented Feb 8, 2021

@retrosapien if you need support for webman mod, you'll have more chances if you post on psx-place.com forums, as I'm not sure if Aldos will be checking this messages here.

@retrosapien
Copy link

@bucanero
Oh. No worries. I have already contacted @aldostools about that issue.

Thanks for looking out.
=)

For completeness ;
I ended up changing to his convention with a small change.
Using his example;
Example: /dev_hdd0/PS2ISO/FFXII [SLUS_209.63].BIN.ENC
I changed to;
Example: /dev_hdd0/PS2ISO/SLUS_209.63.FFXII.BIN.ENC
If you leave the brackets on and/or put the titleid after the name, then the titleid shows as part of the file name on the xmb.
I have the sfo option enabled in webman mod, so the titleid is already displayed as a subtitle under the game name.

@bucanero
Copy link
Owner

as a quick fix, I can change the behavior to create the ps2 classic file as my_iso_original_filename.BIN.ENC

so it would be:
/dev_hdd0/PS2ISO/my_iso_original_filename.BIN.ENC

this fix was added in 517dc4c

Now in v1.6.0, PS2 classics are encrypted as /dev_hdd0/PS2ISO/my-iso-original-filename.BIN.ENC

@LouisGarry
Copy link
Author

as a quick fix, I can change the behavior to create the ps2 classic file as my_iso_original_filename.BIN.ENC
so it would be:
/dev_hdd0/PS2ISO/my_iso_original_filename.BIN.ENC

this fix was added in 517dc4c

Now in v1.6.0, PS2 classics are encrypted as /dev_hdd0/PS2ISO/my-iso-original-filename.BIN.ENC
@bucanero, hopefully the next update can include the title id as Aldostools meant
"my_file_name" + " [title id]" + ".BIN.ENC"
Example: /dev_hdd0/PS2ISO/FFXII [SLUS_209.63].BIN.ENC

Thanks.

@LouisGarry
Copy link
Author

@bucanero, did you get inspiration for this request?

@bucanero
Copy link
Owner

@bucanero, did you get inspiration for this request?

no, this is not going to happen (at least from my side). If someone wants to contribute and open a PR, I can review it.

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

No branches or pull requests

3 participants