| Products > Test Equipment |
| Rigol DSXXXX .GEL firmware file format |
| << < (4/38) > >> |
| janekivi:
And what You are thinking I was hoping to see here when started this thread : ) Only thing, Your program is very small... so there will be some dependencies. It is written in Microsoft .NET? Not any of my computers get it to functioning. It won't extract anything and crash, and logo button give error too: GDI+ |
| Userli:
The tool currently only reflects the knowledge you kindly shared and makes it easier accessible to Windows users. It requires .NET 4.5 and the most obvious bugs should be solved. It uses the 7z SDK for decompression. I was unable to tune the parameters of the SDK such that I could compress a file again and get exactly the same as in the .GEL file. Does anybody have an idea on how to determine the compression parameters from a compressed LZMA file? Otherwise one could try a brute force approach by cycling over all possibilities. Or maybe there is another LZMA implementation which does this? I found that SparrowCalFile.hex has the wrong file sizes in the LZMA header. They are much smaller than the real sizes and the decompression fails with either of them. |
| janekivi:
I'm the dumb here but how to You use this program. I can open firmware file. I can now see original logo. I can see the image, save it and change (to view another but ...?) Save image is saving original and what next? No any action here, I can only view images, I close the window? Now the import logo button is active. Pressing id does...(nothing)? Extract files button crash the app. Save firmware file is saving original one. |
| Userli:
Looking a bit further into the 24 bytes headers of the individual files, it looks to me as if the uint32 in bytes 4 to 7 tell if the file is compressed. For all those having a valid LZMA header, bit 0 is 1 here. The first file SparrowAPP.out has also bit 1 set. No idea why. To change the image do as follows: 1) open firmware file 2) show logo 3) in logo window save image (as BMP) 4) modify BMP without changing it's size 5) click change image and select the changed BMP 6) on main panel import logo (this loads the image currently in the logo window into the main file data structure) 7) save firmware file Now you should have a new .GEL file with the modified logo. Clicking on extract files should ask you to select the directory for storing the files. Does this work? |
| et328:
--- Quote from: Userli on July 16, 2016, 01:56:38 pm ---Clicking on extract files should ask you to select the directory for storing the files. Does this work? --- End quote --- Doesn't work, it asks for the extract directory and crashes after you press OK. |
| Navigation |
| Message Index |
| Next page |
| Previous page |