improved seeddb compatibility

This commit is contained in:
shijimasoft 2024-06-01 09:34:00 +02:00
parent c6e1b64efb
commit 5690616cc0

View File

@ -113,7 +113,7 @@ Dir["*.cia"].each do |cia|
puts "Decrypting: #{cia.colorize.mode(:bold)}..."
cutn : String = cia.chomp ".cia"
args = ""
content = %x[./ctrtool '#{cia}']
content = %x[./ctrtool --seeddb=seeddb.bin '#{cia}']
# game
if content.match /T.*d.*00040000/