Skip to content

objdiff.json parsing fails on Windows with absolute paths #339

@Kelebek1

Description

@Kelebek1

In objdiff.json I have a path defined as "target_path": "D:/Games/BlackAndWhite/openblack/..., but when opened in objdiff it fails to build with Error: Target path 'D:Games\BlackAndWhite\openblack\. Objdiff automatically converts the forward slashes to backslashes (Windows supports forward slash paths so this isn't necessary), but misses the one on the root drive, causing the path to be invalid.

To repro, clone https://github.com/openblack/bw1-decomp/tree/main on Windows, run ./configure_objdiff.py and then load the project in objdiff from the cmake-build-presets/objdiff folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions