Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find header! #1

Open
stratmetal opened this issue Sep 21, 2015 · 1 comment
Open

Could not find header! #1

stratmetal opened this issue Sep 21, 2015 · 1 comment

Comments

@stratmetal
Copy link

Hi,

I'm trying to use your script on the following mstar firmware file:
http://www.bauhn.com.au/65inch-uhd-tv-software-update.html

but I get the following error:

[i] MstarUpgrade.bin found
[#] Reading and parsing firmware bundle... please be patient!
[!] Could not find header!

Incompatible Mstar file? Or user error?

Cheers,

@cosmicdan
Copy link
Owner

Apologies for the late reply, I've pretty much abandoned (or finished, rather) this software as it suits my uses fine. But seeing as how there actually is some interest, I might work a bit more on it.

I downloaded the firmware and checked it out in a hex editor, seems it just has a different end-of-header symbol. Not user error, just my quick-and-dirty coding :) If you check this line - https://github.com/cosmicdan/Mstar_bintool/blob/master/unpack.au3#L53 - you can change this string to "% <- this is end of script symbol".

Ideally I should change it to just search for 0x0A (linefeed character) followed by the "%" to make it more generic, but for now it will easier for you to just change the FULL text string to what I mentioned.

This should at least get the script a bit further, but I've a feeling there will be more issues :) Let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants