WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
40.06k stars 1.76k forks source link

[Bug] Path to files should always use the "/" separator in .hexproj files #1657

Closed IceReaper closed 1 month ago

IceReaper commented 1 month ago

Operating System

Windows

What's the issue you encountered?

In .hexproj files, paths are stores with the current operating system separator. This means creating a project under windows stores them with "\" separator. If you now open the project under linux, it wont find any file. Using "/" as separator will also work under windows. Alternatively storing "/" but replacing it with the OS separator would also work.

How can the issue be reproduced?

Create project with a file in a subfolder under windows. save, move to linux, open.

ImHex Version

1.33.2

ImHex Build Type

Installation type

MSI

Additional context?

No response

IceReaper commented 1 month ago

Wow, what a fast response time! 👍🏻