use sylpheed_formats::{game_data as gd, PakArchive};
fn main(){
    let disc=std::env::var("SYLPHEED_DISC").unwrap();
    let pak=PakArchive::open(format!("{disc}/dat/GP_HANGAR_ARSENAL.pak")).unwrap();
    let a=gd::load_arsenal(&pak);
    for (hp,list) in [("NOSE",&a.nose),("ARM1",&a.arm1),("ARM2",&a.arm2),("ARM3",&a.arm3)]{
        println!("{hp} ({}): {:?}", list.len(), list.iter().take(8).collect::<Vec<_>>());
    }
}
