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

game renaming fails because game title doesn't differ on the first 16/17 chars #44

Open
Ghanro opened this issue Nov 14, 2022 · 4 comments
Labels
HDL dump issue Not an issue Not HDL Batch installer's fault

Comments

@Ghanro
Copy link

Ghanro commented Nov 14, 2022

Hi, I loaded about 150 games with the program. I checkmarked the Use Database option before loading. There are certain games I would like to rename to how I like. I renamed 4 games just fine, then on the fifth and every game afterwards it will not allow me to rename. For example I'm trying to rename: Ratchet & Clank - Going Commando to Ratchet & Clank 2 - Going Commando. But it doesn't rename and says the following:

HDL.EXE modify hdd2: "Ratchet & Clank - Going Commando" "Ratchet & Clank 2 - Going Commando"
hdd2:: partition with such name already exists: "Ratchet & Clank - Going Commando".

I did find a workaround though. If I rename the game to something completely random like - hgfh. Then rename again to the desired name, it lets me.

@Ghanro
Copy link
Author

Ghanro commented Nov 14, 2022

FYI: Found out you don't have to rename to something completely random. You can just change the first letter. Then rename to whatever.

@israpps
Copy link
Owner

israpps commented Nov 14, 2022

Hi.

This is hard to explain....

Your partition name takes a few chars of the game title, around 17

In order for the rename to be valid, you must change one of those chars.

Example:
Kingdom Hearts 2 Final mix

In order to properly rename, one of the characters in bold must change.

I will see if I can propose a fix for this on HdlDump

@israpps israpps added HDL dump issue Not an issue Not HDL Batch installer's fault labels Nov 15, 2022
@israpps israpps changed the title Not allowing to rename after fifth game. game renaming fails because game title did not differ on the first 16/17 chars Nov 15, 2022
@israpps israpps changed the title game renaming fails because game title did not differ on the first 16/17 chars game renaming fails because game title doesn't differ on the first 16/17 chars Nov 15, 2022
@israpps
Copy link
Owner

israpps commented Nov 15, 2022

this will be a hard to fix issue

The problem you're experiencing is a error handling code of the rename function, wich is originally designed to check if a partition with such name already exists, but this check is backfiring cause it 'thinks' that the partition you're about to rename is a different partition

the solution will be tricky

@Ghanro
Copy link
Author

Ghanro commented Nov 18, 2022

Not that big a deal. Just annoying having to rename twice. But I'll live lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HDL dump issue Not an issue Not HDL Batch installer's fault
Projects
None yet
Development

No branches or pull requests

2 participants