gibaBR / Switch-Backup-Manager

Complete Switch Backups management tool
372 stars 54 forks source link

Handle exception if there's duplicate TitleID in titlekeys.txt #79

Closed garoxas closed 5 years ago

garoxas commented 5 years ago

This commit handles exception if there's duplicate TitleID in titlekeys.txt causing error "An item with the same key has already been added." when converting to dictionary

Here's sample of duplicate TitleID (titlekeys.txt generated from the latest nutdb)

010023f0082040000000000000000005|00000000000000000000000000000000|百鬼城 公儀隠密録
010023f0082040000000000000000005|00000000000000000000000000000000|Haunted Dungeons : Hyakki Castle

010076c009f030010000000000000004|00000000000000000000000000000000|GOD WARS 日本神話大戦 []
010076c009f030010000000000000004|00000000000000000000000000000000|GOD WARS 日本神話大戦 [GOD WARS 日本神話大戦 追加アイテム『密林の槍セット』]