Naming extracted files in decimal notation as default.
-
- Posts: 5
- Joined: Thu May 07, 2015 5:57 pm
Naming extracted files in decimal notation as default.
How to force QuickBMS to name extracted files in decimal notation as opposed to the default hex, both in GUI and CLI?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Naming extracted files in decimal notation as default.
Eh unfortunately that's not possible because the hexadecimal method used for the filenames is hardcoded.
Anyway the good news is that you can easily modify a script to create a decimal filename, for example:
where 'i' is the usual variable used for enumerating the files.
Do you need the decimal notation for a specific reason?
Anyway the good news is that you can easily modify a script to create a decimal filename, for example:
Code: Select all
string NAME p "%d." i
log NAME OFFSET SIZE
Do you need the decimal notation for a specific reason?
-
- Posts: 5
- Joined: Thu May 07, 2015 5:57 pm
Re: Naming extracted files in decimal notation as default.
aluigi wrote:Do you need the decimal notation for a specific reason?
It's for file organization reasons, like grouping files based on purpose, or order in which they are placed in an archived file. Windows and other software aren't friendly with file sorting with hexadecimal numbers as filenames, so that's why I ask here.
And also, thanks for that.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Naming extracted files in decimal notation as default.
In the next version of quickbms I will add an option for using the decimal instead of the hexadecimal notation.
The reason why hex was chosen in place of decimal is that, as far as I remember, the sorting mechanism of Windows gave problems with the decimal notation, probably in old versions or when its numeric-sorting guess fails.
The reason why hex was chosen in place of decimal is that, as far as I remember, the sorting mechanism of Windows gave problems with the decimal notation, probably in old versions or when its numeric-sorting guess fails.