localcc / gvas

GVAS file format parsing library for rust
MIT License
20 stars 2 forks source link

"Invalid property creation call!" panic for a UE4.27 save file. #4

Closed vddCore closed 1 year ago

vddCore commented 1 year ago

Library version: 0.4.0

Game: Deadlink
Engine version: 4.27

Reproduction source:

use std::{ fs::File, io::{Cursor, Read} };
use gvas::GvasFile;

fn main() {
    let mut file = File::open(
        "SaveSlot_03.sav"
    ).unwrap();

    let mut data = Vec::new();
    file.read_to_end(&mut data).unwrap();

    let mut cursor = Cursor::new(data);
    let gvas_file = GvasFile::read(&mut cursor);

    println!("{:#?}", gvas_file);
}

Save file attached: SaveSlot_03.zip

localcc commented 1 year ago

Related file with hints figured out is in tests/saveslot_03.rs