HexViewer icon indicating copy to clipboard operation
HexViewer copied to clipboard

Index on left not starting from zero

Open BacchusFLT opened this issue 3 years ago • 4 comments

  • Don't laugh but what I use it mainly for it hex view of commodore 64 files. Your numbering in the left is the index in the file. The C64 program file format has a word (in low/hi format) that tells the start address. I would welcome an option/mode where the tool would pick the first word and use that as the baseline for the index count. So this would mean two things: basing the index on something else than 0 and also using the first word as that basis.

BacchusFLT avatar Jul 30 '21 21:07 BacchusFLT

I would need to think about this one. This is a very niche behavior. While I understand why it would be useful, given your specific context, it targets a very small audience.

@gir-bot add: T: feature, S: needs-decision @gir-bot remove: s: triage

facelessuser avatar Jul 30 '21 21:07 facelessuser

I sure understand that I could be the only one whom would be interested in this specific use case.

I was more thinking if this could be generalised. One would be the function to add an offset to the index.

The other would be a header parsing that would read a number of bytes that wouldn't be viewable as the binary payload. If that could also extract values that would use the adjusted index, the the function would be general.

BacchusFLT avatar Jul 31 '21 09:07 BacchusFLT

There are probably numerous binary files with specific structures with additional metadata that could be extracted. I will consider it, but I cannot promise whether I will spend the time on such a task. HexViewer is meant as a fairly simplistic hex viewer and even more limited editor.

@gir-bot add P: maybe

facelessuser avatar Jul 31 '21 16:07 facelessuser

Indeed there is a plethora of formats, and adding that is opening a can of worms.

/Pontus Berg Bergatrollet AB CEO & Owner Tel/SMS: +46 735 082860 www.bergatrollet.se

Den lör 31 juli 2021 kl 18:42 skrev Isaac Muse @.***>:

There are probably numerous binary files with specific structures with additional metadata that could be extracted. I will consider it, but I cannot promise whether I will spend the time on such a task. HexViewer is meant as a fairly simplistic hex viewer and even more limited editor.

@gir-bot https://github.com/gir-bot add P: maybe

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facelessuser/HexViewer/issues/87#issuecomment-890373497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZWZSTKM4QXO6623Y6SVJDT2QRV5ANCNFSM5BJHXI4Q .

BacchusFLT avatar Jul 31 '21 17:07 BacchusFLT

Closing this issue as we have no plans at this time to pursue this request.

facelessuser avatar Dec 15 '22 14:12 facelessuser