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

raw_size_in_kb calculations seem to be off #3

Open
ticky opened this issue Sep 28, 2017 · 0 comments
Open

raw_size_in_kb calculations seem to be off #3

ticky opened this issue Sep 28, 2017 · 0 comments
Assignees
Labels

Comments

@ticky
Copy link
Contributor

ticky commented Sep 28, 2017

I seem to get wildly inflated sizes on multi-chunk games:

type     size flags           dma
DVD 1035799904KB
DVD 1035801760KB
DVD 1073663520KB
DVD 2662272KB                 *u4
CD   247804KB                 *u4
DVD 1052935488KB
DVD 1529856KB                 *u4
DVD 3222848KB                 *u4
DVD 1052892480KB
DVD 1071158912KB
DVD 1052966368KB         1+2+3+6
DVD 1016355168KB               6
DVD 1052788512KB
DVD 1036352160KB
CD   295782KB                 *u4
total 121856MB, used 55552MB, ava

It seems unlikely that my PS2 has 1.07366TB games installed on it ;)

I’ve tested building both 32 and 64-bit binaries, thinking it might be a 32- to 64-bit issue, but both give the same output, so it’s not a type issue.

I suspect this is doing something weird!

https://github.com/AKuHAK/hdl-dump/blob/75df8d753757967475bf3f84d139140a933c3d91/hdl.c#L1120-L1123

@AKuHAK AKuHAK added the bug label Jan 2, 2021
@AKuHAK AKuHAK self-assigned this Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants