简体   繁体   English

Solidworks文件头/签名

[英]Solidworks File Headers/Signatures

I recently posted this question on the Solidworks Forum, and we weren't able to figure it out. 我最近在Solidworks论坛上发布了这个问题,但我们无法弄清楚。 So I'm bringing this question here. 所以我在这里提这个问题。

Can anybody help me get the file header/signatures for solidworks part files (2017)? 有人可以帮我获取SolidWorks零件文件(2017)的文件标题/签名吗?

I've actually spent a lot of time trying to figure this out, but I'm completely out of my comfort zone, and have almost no idea what I'm doing. 我实际上已经花了很多时间试图解决这个问题,但是我完全不在我的舒适范围内,几乎不知道自己在做什么。

I need the file header in order to restore some files that got deleted. 我需要文件头以便还原一些已删除的文件。 I'm using Stellar Phoenix Windows Data Recovery Professional software. 我正在使用Stellar Phoenix Windows Data Recovery Professional软件。 It allows you to add your own headers so that it can find your files if they're not natively supported by the software. 它允许您添加自己的标头,以便在软件本身不支持的文件中查找文件。 I need to add the solidworks part file header so that I can recover those files. 我需要添加solidworks零件文件标题,以便可以恢复那些文件。

Picture of the dialogue box for the recovery software 恢复软件对话框的图片

If you look at the picture, you can see that I need the header (in hexadecimal) and the offset, along with some other file specifics. 如果看图片,可以看到我需要标头(十六进制)和偏移量,以及一些其他文件详细信息。 The header can only be a maximum of 8 bytes. 标头最多只能为8个字节。

For those of you that may have noticed the "I don't know how to add header", I already tried it. 对于那些可能已经注意到“我不知道如何添加标题”的人,我已经尝试过了。 It seemed to be working fine, it restored all the files, but when I tried to click on one of the restored files, solidworks couldn't open it. 它似乎工作正常,它还原了所有文件,但是当我尝试单击其中一个还原文件时,solidworks无法打开它。 I believe it's because of a incorrect header, which is why I'm manually trying to get one. 我相信这是因为标题不正确,这就是为什么我要手动获取一个原因。 When I opened the file with notepad++ with a hex add in, it showed that it was filled with '0's. 当我使用带有十六进制添加项的notepad ++打开文件时,它表明文件充满了“ 0”。

Anyway, I tried comparing solidworks files in notepad++ with a hex add in (as previously spoken of) and I noticed a couple repetitions, but I have no idea what to do with them 无论如何,我尝试将记事本++中的solidworks文件与十六进制添加项进行比较(如前所述),但我注意到有几次重复,但是我不知道该如何处理它们

File 1
83 f6 a5 b4 *20 20 20 04* 47 1d bd 27 fb 7a 79 b8 
36 40 03 c5 4c *14 20 06 20 08 20 3b* f8 fe 1b 0a 
09 20 20 42 02 20 20 85 04 20 20 16 20 20 20 37
File 2
53 f8 4d b1 *20 20 20 04* c6 d1 a7 76 89 81 f6 af
a8 fe 2e 3b a9 *14 20 06 20 08 20 3b* f8 d8 1b 0e
0a 20 20 83 02 20 20 07 05 20 20 07 20 20 20 05   

*Something happened between copying and pasting and it's not the exact same for some reason. *在复制和粘贴之间发生了某些事情,由于某些原因,它并不完全相同。 I believe this is because of the way the hex is. 我相信这是由于十六进制的方式。 I can try to write it by hand if anyone wants the exact data. 如果有人需要确切的数据,我可以尝试手动编写。

Here's what one of the 'recovered' files looks like 这是“已恢复”文件之一的样子

20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  

*they're actually all zeros but it doesn't copy and paste exactly as said previously. *实际上它们全为零,但复制和粘贴的方式与以前完全不同。

Anyway, if anybody can help me figure this out it would be great. 无论如何,如果有人可以帮助我解决这个问题,那将是很好的。

Here's a couple solidworks part files if anybody wants to look at them: 如果有人要查看它们,这是一些solidworks零件文件:

https://ufile.io/b6tfr
https://ufile.io/nyvsr
https://ufile.io/xbazk
https://ufile.io/qqqc7
https://ufile.io/6608g

Thanks for your time 谢谢你的时间

I'm not sure if I'm correct but it looks like by header your recovery software means sequence of bytes that every file that you wish to recover will start with. 我不确定我是否正确,但是从恢复软件的标题看来,您希望恢复的每个文件都将以字节序列开头。 While this may work for some file formats, sldprt files do not have shared sequence of bytes that they start with. 虽然这可能适用于某些文件格式,但sldprt文件没有以它们开头的共享字节序列。 So I don't think you'll be able to use that feature of Phoenix recovery here. 因此,我认为您无法在此处使用Phoenix Recovery的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM