#Is there a file validity check built into azahar?

45 messages · Page 1 of 1 (latest)

shy tangle
#

Is there a file validity check built into azahar?

red storm
#

i suppose you could store a hash for each dump - this is what i do. alternatively if the game loads, it is probably valid 😅

shy tangle
red storm
#

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

shy tangle
#

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

red storm
#

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

shy tangle
#

Yeah, what if something happens during the dumping process though and it isn’t apparent?

red storm
#

if your game is working what is the issue?

#

the dumped files have signatures that can be verified using a tool like ctrtool too

shy tangle
#

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?

red storm
#

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

shy tangle
#

I checked and apparently you can’t verify cia files with crttool sadly

red storm
#

what did you have issues with?

#

i was able to use ctrtool with CIA files just fine 🤔

shy tangle
#

No issues, just wanted to double check. Maybe we could check hash files if we have the same games?

red storm
#

i'm pretty sure the hashes would be console specific

shy tangle
#

Oooo I gotcha

red storm
#

just an assumption though

shy tangle
#

So you download ctrtool and what do you do to verify cia?

red storm
#

you might need to dump seeddb.bin for it to work properly

shy tangle
#

Gotcha, and I can just do that with godmode9?

red storm
#

i can't remember exactly what gm9 can verify

#

it is probably similar

#

a simple file hash is good enough for me lol

shy tangle
#

As far as getting the seeddb.bin though can I get it from gm9?

shy tangle
#

Ahhh, thank-you’

red storm
#

fwiw azahar doesn't need either file anymore

teal heath
red storm
#

oh interesting

shy tangle