#Is there a file validity check built into azahar?
45 messages · Page 1 of 1 (latest)
i suppose you could store a hash for each dump - this is what i do. alternatively if the game loads, it is probably valid 😅
How would I know if the hash is valid though? I’ve done it through .3DS files using no intro but trying to do it for .CIA which I can’t seem to find the hash for
what is no intro?
i think the process depends on what platform you have
on linux i can do sha256sum -b file.cia > file.cia.sha256 to create a hash, and sha256sum --check file.cia.sha256 to verify the hash
it looks like windows has similar functionality in powershell with Get-FileHash
It’s a list of all the hashes for games so you can cross check to make sure yours matches the verified ones they have to know if it’s an exact 1:1
I can check the hash but I don’t really have a way of knowing if it’s the original hash if that makes sense
huh, i kind of assumed that dumps would have a different hash depending on the console
if you bought your game legit and dumped it properly, that should be the "original hash"
after your initial dump, you can create a hash and rest assured that your file is valid
Yeah, what if something happens during the dumping process though and it isn’t apparent?
then your game wouldn't work
if your game is working what is the issue?
the dumped files have signatures that can be verified using a tool like ctrtool too
Ahhh, I’ve heard other things like if there was a corrupted file the game could still technically work but may crash when it gets to that file
Can ctrtool check cia files?
yeah i am pretty sure it can
ctrtool --verify <file> will verify any hashes and signatures in the file
for all intents and purposes you should be good atp
or i guess you could dump the game multiple times and see if the hash changes. but that takes too long imo
Yeah I agree lol
Thanks!
I checked and apparently you can’t verify cia files with crttool sadly
what did you have issues with?
i was able to use ctrtool with CIA files just fine 🤔
No issues, just wanted to double check. Maybe we could check hash files if we have the same games?
i'm pretty sure the hashes would be console specific
Oooo I gotcha
just an assumption though
So you download ctrtool and what do you do to verify cia?
i just run the command. if your game is legit, ctrtool says everything is "OK", and your file hash has not changed, your dump is very likely to not be corrupted or anything
you might need to dump seeddb.bin for it to work properly
Gotcha, and I can just do that with godmode9?
i can't remember exactly what gm9 can verify
it is probably similar
a simple file hash is good enough for me lol
As far as getting the seeddb.bin though can I get it from gm9?
Ahhh, thank-you’
fwiw azahar doesn't need either file anymore
interestingly enough, this isn't true for switch emulation. it's funny watching people run corrupted dumps of smash where characters start t-posing in the middle of the match, lol.
oh interesting
But it isn’t true for 3DS and WiiU games?