Search found 1454 matches

by Maël
23 Mar 2023 00:14
Forum: Bug Reports
Topic: Split problem when base name includes extra periods
Replies: 4
Views: 16855

Re: Split problem when base name includes extra periods

The extra periods are indeed the reason, but not as one would assume. While processing the filename it correctly identifies the file extension (last .) and removes it. The adds the number. But when readding the original file extension, using a ChangeFileExt function, it will not work properly (event...
by Maël
09 Mar 2023 19:13
Forum: Feature and Enhancement Requests
Topic: Pasting Unicode text as "unmodified" hex bytes
Replies: 8
Views: 27532

Re: Pasting Unicode text as "unmodified" hex bytes

In my specific case, I was trying to use HxD to check some characters from another source, to see what their codes were. Perhaps there is a way I am missing? One option is the datainspector. You can paste Unicode text there (or type it directly) for single characters, see the "WideChar" c...
by Maël
09 Mar 2023 18:46
Forum: Feature and Enhancement Requests
Topic: Pasting Unicode text as "unmodified" hex bytes
Replies: 8
Views: 27532

Re: Pasting Unicode text as "unmodified" hex bytes

I could imagine a feature inspired by RawClipView.exe could be added: Menu "Edit|Paste raw" which has a list as submenu: This list would contain the names of the clipboard formats that are currently available, and selecting one of them would paste this one exactly as it is in the clipboard...
by Maël
09 Mar 2023 18:23
Forum: Feature and Enhancement Requests
Topic: Pasting Unicode text as "unmodified" hex bytes
Replies: 8
Views: 27532

Re: Pasting Unicode text as "unmodified" hex bytes

I split this since it's a different topic/feature request. My layperson expectation is that the hex data is "sacred", i.e. the clipboard bytes should go into the Hex view as they are The clipboard does not contain a sequence of bytes, but various formats, such as CF_TEXT or CF_UNICODETEXT ...
by Maël
09 Mar 2023 15:59
Forum: Feature and Enhancement Requests
Topic: Pasting Unicode text as "unmodified" hex bytes
Replies: 8
Views: 27532

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

Why does the smiley face even show correctly as "DOS/IBM-ASCII", and why does its code appear as 0x01 in the Hex view? Because under DOS / the codepage 437 the white smiley character has the code 0x01: https://de.wikipedia.org/wiki/Codepage_437 So U+263A can be represented there, but in W...
by Maël
09 Mar 2023 15:36
Forum: Feature and Enhancement Requests
Topic: Pasting Unicode text as "unmodified" hex bytes
Replies: 8
Views: 27532

Re: Text column support for UTF-8, UTF-16 and other multi-byte text encodings (variable width encodings)

I tested it with ☺ which is U+263A. When pasting U+263A into the text column, indeed it is replaced by a 0x00 byte for the Windows (ANSI) encoding, but not for DOS/IBM-ASCII. What would you expect instead? An error message telling you this character cannot be represented in the currently selected en...
by Maël
26 Jan 2023 08:05
Forum: Support
Topic: Code points vs abstract characters vs encoded characters
Replies: 0
Views: 19711

Code points vs abstract characters vs encoded characters

This is for future reference, the Wikipedia article https://en.wikipedia.org/wiki/Code_point does an incomplete job of documenting the meaning of the three terms. A better explanation can be found here: https://wiki.squeak.org/squeak/6256 Sourced from here: "Unicode 8.0.0, 2.4 Code Points and C...
by Maël
25 Jan 2023 20:24
Forum: Support
Topic: Help with checksum-8
Replies: 4
Views: 5258

Re: Help with checksum-8

So if sum would be 0x45678 my checksum would be 0x78, the last byte of sum (that itself is a new discovery, it's the very last byte...) Yes that's because the data is stored in little endian on x86 CPUs. So 0x45678 is really 0x045678 which means it is represented by four hex bytes (the CPU has 16 b...
by Maël
25 Jan 2023 20:13
Forum: Support
Topic: Help with checksum-8
Replies: 4
Views: 5258

Re: Help with checksum-8

The modulo needs to be 256 ($100) not 255 ($FF). You also have to make sure the variable holding the intermediate results can hold them (i.e., handle values that large) before you apply the modulo. If you use a UInt8 type for example, it will automatically apply the modulo, by cutting off too large ...
by Maël
25 Jan 2023 20:10
Forum: Support
Topic: Help with checksum-8
Replies: 4
Views: 5258

Re: Help with checksum-8

I wrote this a while ago, see here:
viewtopic.php?p=1077#p1077
by Maël
20 Jan 2023 23:14
Forum: Feature and Enhancement Requests
Topic: A simple highlighter.
Replies: 1
Views: 4593

Re: A simple highlighter.

You mean highlighting bytes based on their value, or their locations (offset and length), or a data structure definition?
by Maël
11 Jan 2023 20:17
Forum: Feature and Enhancement Requests
Topic: Suggestion for HxD:User templates for data inspector
Replies: 25
Views: 77996

Re: Suggestion for HxD:User templates for data inspector

WhiteNinja wrote: 27 Sep 2022 08:47 Any further progress on this since January? I couldn't find any of this functionality within HxD so I assume it has not been released yet?
Correct. But donations are welcome to help me dedicate more time on this.
by Maël
11 Jan 2023 20:01
Forum: Feature and Enhancement Requests
Topic: Suggestion for HxD:User templates for data inspector
Replies: 25
Views: 77996

Re: Suggestion for HxD:User templates for data inspector

The "pattern languages" might contain useful file structures or sytnax ideas: https://github.com/WerWolv/PatternLanguage https://github.com/WerWolv/ImHex-Patterns https://imhex.werwolv.net/docs/ It is however not a purely declarative language, whereas HSD is by design. Computations are mos...
by Maël
11 Jan 2023 19:54
Forum: Feature and Enhancement Requests
Topic: Is there a Windows Message for GOTO
Replies: 1
Views: 4133

Re: Is there a Windows Message for GOTO

Currently you can declare a type as integer (tcSignedInteger, tcUnsignedInteger) and then HxD will automatically offer to go to the value of that integer. The cleanest would be to extend that to offer a link option. Longer term there is a structure editor that will be implemented: https://forum.mh-n...
by Maël
15 Dec 2022 00:04
Forum: Bug Reports
Topic: Fixed: HxDCurrentVersion.json outdated
Replies: 4
Views: 6665

Re: HxDCurrentVersion.json outdated

https://mh-nexus.de/updates/HxDCurrentVersion.json contains now the updated version information.

Let me know if it works well.

If you can reply here if all works that would be great, so it's documented for the future, and I can close this bug report.