Syno DSM Extractor GUI for Windows

DaveR

Benutzer
Sehr erfahren
Mitglied seit
30. Mrz 2022
Beiträge
484
Punkte für Reaktionen
873
Punkte
144
Windows GUI for extracting Synology DSM 7 pat files and spk package files.

You can drag and drop a .pat file or .spk file onto the window, or click the Select File button to browse for the .pat or .spk file. I'll add Windows right-click context menu later.

A week ago @TN-Notebooks asked for a Windows GUI app like WinRAR to unpack Synology .spk files. Without source code available for Synology's libraries a pure Windows app is not possible. So my Windows SDE.exe makes use of the default Ubuntu distro available in Windows System for Linux (which is extremely easy to install).

https://github.com/007revad/Syno_DSM_Extractor_GUI

If anyone wants to try it and provide feedback you can download:

1736491318844.png

Ready to extract the selected DSM 7 .pat file
1736491356141.png

Also supports DSM 7 .spk package files
1736491448859.png

1736491421926.png

1736491476529.png

Once you click the Extract button a shell window appears where you have to type your Ubuntu password.
1736493543057.png

I am working on an updated version that won't need to show the WSL shell window at all.
 
Zuletzt bearbeitet:

DaveR

Benutzer
Sehr erfahren
Mitglied seit
30. Mrz 2022
Beiträge
484
Punkte für Reaktionen
873
Punkte
144
Updated to v1.1.0.21
Code:
- Added an installer.
  - Added Windows context menu shortcuts (when installed with the installer).
  - Added .pat and .spk file association (when installed with the installer).
- Added 'Check for Updates' menu option.
- Added check that Windows System for Linux is installed.
  - Shows how to install WSL if it's not installed.
- Now automatically detects the WSL Ubuntu drive letter.
  - You can still change it in Settings.
- Changed so you don't need to copy wsl.exe to the same folder as SDE.exe.
- Changed so only 1 instance can run at a time.
  - Changed to send right-clicked or double-clicked file to the open SDE-GUI window if SDE-GUI is already open.

https://github.com/007revad/Syno_DSM_Extractor_GUI

It now has an installer
1737187731034.png

Windows start menu shortcuts
1737187763185.png

File Association
1737187788042.png
Context Menu
1737187843968.png
 

Sp1derman

Benutzer
Mitglied seit
12. Okt 2024
Beiträge
3
Punkte für Reaktionen
1
Punkte
3
I got error "Failed to cd to /!"
Tried with both versions, installer and no_installer.
After pressing "Extract", the Ubuntu Terminal pops up and about one second later the Error-Message.
No extraction, the script obviously exits at this point.
.py and .sh are executable.

1738877068961.png
 
Zuletzt bearbeitet:

DaveR

Benutzer
Sehr erfahren
Mitglied seit
30. Mrz 2022
Beiträge
484
Punkte für Reaktionen
873
Punkte
144
Is D:\ a mounted network path? I get the "Failed to cd to /!" error when trying to extract files that are on a network share.

1738881826804.png

I haven't solved the problem yet because out of 41 downloads you're the first person to notice the issue.

For now, the solution is to copy the .pat file or .spk file to a folder on one of your PC's HDDs and extract it from there.
 

TN-Notebooks

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
30. Mai 2019
Beiträge
292
Punkte für Reaktionen
290
Punkte
113
I had the same bug and wanted to post it tomorow. My pat files are on a network path too.
But I first wanted to check the lines of your screen shoot with the change of the path rights.... I am not shure if I have to insert that.
1738885392251.png

And second question
Will it be possible to select a different destination path ?
1738885466852.png

If I deselect extract to same... There is no selection for a destination path
 

DaveR

Benutzer
Sehr erfahren
Mitglied seit
30. Mrz 2022
Beiträge
484
Punkte für Reaktionen
873
Punkte
144
In the screen shot, all the text in white gets typed automatically. All you have to do is type your Ubuntu password and press Enter. When you type your password you won't see the password on the screen.

If you deselect "extract to same..." the .spk or .pat file gets extracted to the Ubuntu <drive-letter>:\home\<username>\sde\out
1738886530288.png

I can change the program to ask where you want to download it to if "extract to same..." is unticked. Or add a "Extract to..." context menu.
 

Sp1derman

Benutzer
Mitglied seit
12. Okt 2024
Beiträge
3
Punkte für Reaktionen
1
Punkte
3
Is D:\ a mounted network path?
No, D:\ is a local physical drive.
I moved the .pat file to Bootdrive C:\ , Same error. Then onto an USB-Stick, same error.
Then I completly removed the Linux subsystem by unregistering Ubuntu and uninstall VM support and the subsystem itself. Then I reinstalled, again user/password, install scripts and libraries from no_install version (I uninstalled the install version).
Same error.
I saw lots of files/folders owned by root:root, so I tested with stef:root and stef:stef, same error.
Have to wait for a new version ;)
 


 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat