Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Larger / New titles don't mount correctly when rebuilt #6

Open
LucaCorigliano opened this issue Jun 29, 2018 · 3 comments
Open

Larger / New titles don't mount correctly when rebuilt #6

LucaCorigliano opened this issue Jun 29, 2018 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@LucaCorigliano
Copy link
Owner

I had this problem trying to rebuild DOOM while clearing the update partition. Some feedback is needed in order to pinpoint the problem

@GhostlyCrowd
Copy link

GhostlyCrowd commented Jun 29, 2018

Can you provide more insight into how to clean the update partition and i will also run some tests.

I repacked LA Noire to test, and although it appears fine in xci explorer, it fails to LOad with "The game cart cannot be read"

@LucaCorigliano
Copy link
Owner Author

Yep, what I tried so far:

  • Cave Story (update directory empty except for a file) works without any problem
  • DOOM (update directory empty except for a file) "The game cart cannot be read"

@LucaCorigliano
Copy link
Owner Author

To whoever might want to collaborate:
This issue seems to be correlated to XCIHeader.CardSize which according to http://switchbrew.org/index.php?title=Gamecard_Format (look at Gamecard Header Valid Data End Address) is expressed in 0x200 (512) byte blocks.

What's weird is that in some larger games (DOOM, LANoire, Zelda) this field is extremely high:
0x29711809 * 0x200 (Zelda). If we follow this logic we got > 300GB of valid data, which of course is not right.

So what we are missing here is proper handling of that field. I think. I'll do some more experimentation as soon as I can, but help is always appreciated

@LucaCorigliano LucaCorigliano added the help wanted Extra attention is needed label Jul 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants