This commit is contained in:
Techs 2023-11-04 19:42:45 -07:00
parent 57eecdeb9f
commit 4c6b8b564a
3 changed files with 511 additions and 1 deletions

View file

@ -25,6 +25,7 @@ ddrescueview-bin
device-mapper
diffutils
dkms
dmde
dmidecode
dmraid
dos2unix
@ -69,8 +70,8 @@ libusb-compat
libxft
linux
linux-firmware
linux-headers
linux-firmware-marvell
linux-headers
lm_sensors
lsscsi
lvm2

View file

@ -0,0 +1,27 @@
pkgname=dmde
pkgver=4.0.6.806
pkgrel=1
pkgdesc="DMDE is a powerful tool for data searching, editing, and recovery on disks"
arch=('x86_64')
url="https://dmde.com/"
license=('custom')
makedepends=(unzip)
replaces=($pkgname)
source=("dmde-mine.ini")
source_x86_64=("https://dmde.com/download/dmde-4-0-6-806-lin64-gui.zip")
sha512sums=('1f11bee45672f507c4401031811273e8d6b103358bd0b2bec1cd6ecca1782ec23c0af3f81c23c5fcedd4380169fdea0eab60909ce59e17053029608ba324586a')
sha512sums_x86_64=('b2d20d13ced8780baa46a435c772af16b7b16b38c7daf65d2edc55f3560bb2ab417390ffd55cea6f424d4237ff911baa5547a45a9c9e279689fb1fd8fb82fc99')
package() {
cd $srcdir
mkdir -p ./usr/share/dmde/ $pkgdir/usr/bin/ $pkgdir/usr/share/applications/ $pkgdir/usr/share/pixmaps/
unzip ./dmde-4-0-6-806-lin64-gui.zip -d $srcdir/usr/share/dmde/
cp $srcdir/dmde-mine.ini $srcdir/usr/share/dmde/dmde.ini
cp -r usr $pkgdir
chmod +x $pkgdir/usr/share/dmde/dmde
chmod +x $pkgdir/usr/share/dmde/dmde-su
ln -sr /usr/share/dmde/dmde $pkgdir/usr/bin/dmde
ln -sr /usr/share/dmde/dmde-su $pkgdir/usr/bin/dmde-su
}

View file

@ -0,0 +1,482 @@
;
;dmde.ini - DMDE for Linux Initialization File
;
setupsign=5e440968
lickey=
activatekey[0]=
portablekey=
activatedev=
lngfile=\en
;interface language file
loadlngfiles=%appres%/locals/*.lng
;load language files
loadcptables=%appres%/locals/*.tbl
;load code page tables for Unicode-Char,Translit,Upcase conversions
editortemplates=%appres%/template.txt
;editor template file(s) - wildcards are possible
[CONSOLE]
autosizemaxy=
autosizemaxx=
[GUI]
mainwndpos=
;x,y,cx,cy
dialogfontsize=
;dialogfont=
;scale percents:
dialogwidth=100
dialogheight=100
;editorfont=
editorfontsize=
;editorfontbold=0
;previewfiles=*.bmp;*.gif;*.ico;*.jfif;*.jpe;*.jpeg;*.jpg;*.png;*.tif;*.tiff
[COMMON]
mainwndsplit=-1
;usecodepage=1252
;manually select used code page (CP)
;oemcodepage=850
;manually select source OEM CP for DOS names
applylngcodepage=1
;=1: use codepages from the lng file
translitenable=1
;=1: transliterate symbols outside current code page
viewtranslit=0
;=1: transliterate symbols on the screen
rtlapply=0
;=1: use rtl ui for right-to-left languages
rtldismiss=0
;=1: turn off rtl string mirroring if terminal already supports it
shellopen=xdg-open
stephints=0
;=1: activate step-by-step hints
;=0: deactivate step-by-step hints
popuphints=
;=1: activate popup hints (mouse over)
;=0: deactivate popup hints (mouse over)
kilobyte=1000
;kilobyte=1024
displayCHS=0
editorhexcolsnum=16
;editorhexcolsnum=N - maximum columns number for hex editor
;editorhexcolsnum=0: auto
editorhexgroupsize=8
startup=p
;startup=p - open physical drives at startup
;startupimage=filename - open disk image
;startupdev=devicestring - open device at startup
;startupraid=raid.ini - load RAID from "raid.ini" at startup
;startupcopy=copy.ini - load "Copy sectors" from "copy.ini" at startup
readonly=0
;=1 - globally disable writing to devices
devopen_editmode=0
;=1 - default edit mode when open using dialog box
devload_editmode=0
;=1 - default edit mode when load from log-file
devapply_ioparamsopt=0
;=1 - option to change i/o params when applying changes
devapply_editmodeopt=0
;=1 - option to set edit mode when applying changes
partapply_ioparamsopt=1
;=1 - option to change i/o params when applying partitioning changes
partapply_editmodeopt=1
;=1 - option to set edit mode when applying partitioning changes
queryclosedevice=1
;query when closing device
showpartitions=1
;show partitions when open device
;editmode=1
;enable disk editor edit mode by default
;Redefine default device enumeration:
;Linux device enumeration by FindFile:
;enumdevs0=0,"/dev/fd*",0,"",""
;enumdevs1=0,"/dev/sd?",0,"",""
;enumdevs2=0,"/dev/hd?",0,"",""
;enumdevs3=0,"/dev/ub?",0,"",""
;enumdevs4=0,"/dev/md*",0,"",""
;enumdevs5=0,"/dev/scd*",0,"",""
;include /dev/disks/by-id & /dev/disks/path enumeration:
;enumdevs_byid=1
;devusbdetectex=
ckeventtick=1
;ckeventtick=0 check event every time (slow down operations)
;ckeventtick=1 check event every 55ms only
mousehandler=1
;mousehandler=0 - no mouse
;mousehandler=1 - use mouse
inet=2
;1:read hosts file and access DNS servers
;2:use getaddrinfo function for internet connections
[IO]
;deviopopupontry=3
;additional tries num. before displaying i/o dialog box when errors are auto ignored
deviopopupdelay=2000
;additional ms delay before displaying i/o dialog box when errors are auto ignored
queryioerrors=1
querydrivenotready=1
retries=1
;retries=N
; read/write retries number for sector with errors (N=0..999)
; if N=0 read block only once (the rest of the block after error is zeroed)
seekretries=1
;seekretries=N - read/write auto retries number if sector not found (N=0..64)
deviojump=0
;deviojump=N
;jump over N sectors after I/O error
deviojumpreturn=0
;deviojumpreturn=1 - reverse read after jump
;deviojumpreturn=0 - do not reverse read
devioskipfiller=0x50494B53
;fill skipped sectors with hex values
deviobadfiller=0x20444142
;deviobadfiller=0x20444142 - fill bad sectors with hex values
;deviobadfiller= - do not fill bads
buffer=131072
;buffer=N - disk data transfer block size (N=4096..1048576)
dblbuffer=2097152
;dblbuffer=N -
;(N=4096..16777216)
diskcache=16777216
;diskcache=N - disk cache size
;(N=4096..33554432)
;diskmaxmodsize=209715200
;max size for pending modifications
devreset_chkserial=1
;check device serial number when resetting handle
devreset_trynewdevs=1
;devreset_trynewdevs=0 ;never try different device names
;devreset_trynewdevs=1 ;try different names when needed and serial can be checked
;devreset_trynewdevs=2 ;always try different names (not recommended)
devlistresetonerror=0
;devlistresetonerror=1 ;Update the list of devices on a device i/o error
vhd_writeenabled=0
;vhd_writeenabled=1 ;enable partial write support for virtual disk image files (vhd/vmdk/etc.)
[DR]
maxrecoverdepth=1024
maxfilerenames=16
maxdirrenames=16
splitfilesize=0
[FullScan]
showvolumesnum=2048
[FAT]
fatdirentryaccept=1
;FAT directory entry validation level:
;fatdirentryaccept=0 - accept reliable entries within reliable sectors only
;fatdirentryaccept=1 - accept any entries within reliable sectors
;fatdirentryaccept=2 - accept reliable entries within any sector
;fatdirentryaccept=3 - accept any entry within any sector
fatinvdirtotree=0
;fatinvdirtotree=0 - add FAT invalid directories to file panel only
;fatinvdirtotree=1 - insert FAT invalid directories into tree also
fatfoundtoroot=1
;fatfoundtoroot=0 - add found root subdirs to a common directory list
;fatfoundtoroot=1 - insert found root subdirectories into $Root
volumeseachblock=4194304
;blocksize for FAT/NTFS volume search
fatmaxvolumes=1024
[NTFSSearch]
ntfsmaxvolumes=1024
ntfsmaxprocstarts=1024
ntfsmaxmftruns=0xffffff
ntfsmaxprocmftruns=32768
ntfsmaxindxrecs=0
;ntfsthoroughsearch=0 - may skip small inserted MFT fragments
;ntfsthoroughsearch=1 - more thorough NTFS Search
ntfsthoroughsearch=1
;ntfsmftshift=0 - process sector aligned MFT records only
;ntfsmftshift=N - process MFT shifted by multiple of N bytes (shifted, traced, etc.)
ntfsmftshift=1
;ntfsrestrunlen=N - small MFT runs (N or less records) to be partially processed only
ntfsrestrunlen=4
[IFACE]
filecachesize=32768
;max. number of cached file panel items
maxtreechilditems=2048
;max child items number displayed in tree (GUI)
charclustermap=]xR./=><<!x|[
;console UI:
dlgframe=1
dlglistframe=0
;console chars:
charraidbtns=+,30,x,^,v,*
charmarks=<>x*\u25BC\x20\x20
charbtnshadow=\x20\x20\x20
charwframe=\u250C\u2500\u2510\u2502\u2502\u2514\u2500\u2518
charframe=\u250C\u2500\u2510\u2502\u2502\u2514\u2500\u2518
charvscroll=\u25B2\u25BC\u2592\u25A0
charhscroll=<>\u2592\u25A0
chartree=\u251C\u2514
charprogress=\u2588\u2592
; remove "#" to use color scheme
editorcolors#=\ ;color scheme
1F,\ ;0 Default
1B,\ ;1 Caption
0F,\ ;2 Focused
70,\ ;3 Selected block
0F,\ ;4 Selected object
0E,\ ;5 Modified
1A,\ ;6 Read Error
1A,\ ;7 Title
1C,\ ;8 Invalid Value
03,\ ;9 selected input
07,\ ;10 grayed
1B,\ ;11 selected not focused
1A,\ ;12 Caption Raid Disk #1
17,\ ;13 Caption Raid Disk #2
1C ;14 Invalid Input
editorcolors#=\ ;gray scheme
8F,\ ;0 Default
8B,\ ;1 Caption
0F,\ ;2 Focused
70,\ ;3 Selected block
0F,\ ;4 Selected object
0E,\ ;5 Modified
8A,\ ;6 Read Error
8A,\ ;7 Title
8C,\ ;8 Invalid Value
03,\ ;9 selected input
07,\ ;10 grayed
8B,\ ;11 selected not focused
81,\ ;12 Caption Raid Disk #1
82,\ ;13 Caption Raid Disk #2
8C ;14 Invalid Input
editorcolors#=\ ;blue scheme
1B,\ ;0 Default
1E,\ ;1 Caption
3F,\ ;2 Focused
30,\ ;3 Selected block
0F,\ ;4 Selected object
0E,\ ;5 Modified
1A,\ ;6 Read Error
1A,\ ;7 Title
1C,\ ;8 Invalid Value
3F,\ ;9 selected input
07,\ ;10 grayed
1F,\ ;11 selected not focused
1A,\ ;12 Caption Raid Disk #1
17,\ ;13 Caption Raid Disk #2
1C ;14 Invalid Input
;console text attributes:
; xxxx:
; x... - text background color for shortcut
; .x.. - text color for shortcut
; ..x. - text background color
; ...x - text color
; 0=Black 1=Blue 2=Green 3=Cyan 4=Red 5=Magenta 6=Brown 7=ltGray
; 8=dkGray 9=ltBlue A=ltGreen B=ltCyan C=ltRed D=ltMagenta E=Yellow F=White
; remove "#" to use color scheme
colors#=\ ;color scheme
3E30,\ ;menubox
3E30,\ ;menubar
0E0E,\ ;highlighted menu item
3838,\ ;disabled menu item
2E20,\ ;button
2828,\ ;disabled button
2E2F,\ ;focused button
2E2B,\ ;default button
0030,\ ;list item
002F,\ ;focused list item
003F,\ ;selected list item
003E,\ ;marked list item
002E,\ ;marked focused list item
002F,\ ;active dialog caption
002F,\ ;not active dialog caption
001F,\ ;input
003F,\ ;input selection
0078,\ ;disabled input
00FE,\ ;modified input
0013,\ ;scrollbar
3E30,\ ;cluster
3F3F,\ ;cluster highlighted
7878,\ ;cluster disabled
001F,\ ;active window frame
0017,\ ;not active window frame
001F,\ ;active window title
0017,\ ;not active window title
001E,\ ;column title
1E1F,\ ;item in window
002F,\ ;focused item in window
001A,\ ;selected item in window
001E,\ ;marked item in window
003E,\ ;focused marked item in window
3E30,\ ;status line
7E70,\ ;dialog box text
3F3B,\ ;dialog column header
1F1E,\ ;window column header
0071,\ ;group/tab frame color
1E1F,\ ;window button
1818,\ ;window disabled button
2E2F,\ ;window focused button
1E1A,\ ;window default button
1E1F,\ ;window cluster
1E1F,\ ;window cluster highlighted
1818 ;window cluster disabled
colors#=\ ;gray scheme
7470,\ ;menubox
F4F0,\ ;menubar
040F,\ ;highlighted menu item
7878,\ ;disabled menu item
F4F0,\ ;button
F7F7,\ ;disabled button
F4F0,\ ;focused button
F4F0,\ ;default button
008F,\ ;list item
000F,\ ;focused list item
008B,\ ;selected list item
008E,\ ;marked list item
000E,\ ;marked focused list item
00F0,\ ;active dialog caption
00F8,\ ;not active dialog caption
008F,\ ;input
0080,\ ;input selection
0078,\ ;disabled input
008E,\ ;modified input
008F,\ ;scrollbar
7470,\ ;cluster
7470,\ ;cluster highlighted
7878,\ ;cluster disabled
008F,\ ;active window frame
008F,\ ;not active window frame
008F,\ ;active window title
008F,\ ;not active window title
008B,\ ;column title
8B8F,\ ;item in window
000F,\ ;focused item in window
008B,\ ;selected item in window
008E,\ ;marked item in window
000E,\ ;focused marked item in window
0070,\ ;status line
7470,\ ;dialog box text
8F8B,\ ;dialog column header
8F8B,\ ;window column header
0070,\ ;group/tab frame color
8E8F,\ ;window button
8787,\ ;window disabled button
0E0F,\ ;window focused button
8E8B,\ ;window default button
8E8F,\ ;window cluster
8E8F,\ ;window cluster highlighted
8787 ;window cluster disabled
colors#=\ ;blue scheme
3F30,\ ;menubox
3F30,\ ;menubar
0F0F,\ ;highlighted menu item
3838,\ ;disabled menu item
7470,\ ;button
7878,\ ;disabled button
3F3F,\ ;focused button
3F3F,\ ;default button
001B,\ ;list item
003F,\ ;focused list item
001F,\ ;selected list item
001E,\ ;marked list item
003E,\ ;marked focused list item
003F,\ ;active dialog caption
003F,\ ;not active dialog caption
001F,\ ;input
003F,\ ;input selection
0078,\ ;disabled input
00FE,\ ;modified input
001F,\ ;scrollbar
7470,\ ;cluster
7470,\ ;cluster highlighted
7878,\ ;cluster disabled
001B,\ ;active window frame
001B,\ ;not active window frame
001F,\ ;active window title
001B,\ ;not active window title
001E,\ ;column title
1E1B,\ ;item in window
003F,\ ;focused item in window
001F,\ ;selected item in window
001E,\ ;marked item in window
003E,\ ;focused marked item in window
0030,\ ;status line
7470,\ ;dialog box text
1B1E,\ ;dialog column header
1F1E,\ ;window column header
0073,\ ;group/tab frame color
1E1B,\ ;window button
1818,\ ;window disabled button
3F3F,\ ;window focused button
1E1F,\ ;window default button
1E1B,\ ;window cluster
1E1B,\ ;window cluster highlighted
1818 ;window cluster disabled