-
Notifications
You must be signed in to change notification settings - Fork 13
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
ELF-embedded icons #54
Comments
Thank you for highlighting those other icons.... I had already found the ones which were used for 'Parameter Labels' (mostly just rendered Text).
I'm sure you saw my (horrible) Bash/ImageMagick script, which can be adjusted if you really want to see what these icons look like. ;-) Given the number of icons it would be nice if this was clean in Python - I mentioned the 'pwntools' project in #52 which can read into the ELF without extra steps... it installs a lot of extra stuff, so I'll see if the |
Pushed a script that can read the ELF file to extract icon, or other images. For now it looks like pwnlib can only read from a real (on disk) file, so the ELF should be extracted first and the
|
Continued 'messing' and found a better/working solution with 'filebytes'.
|
This should probably go into upstream pyelftools |
hi all - I hacked a variant of this plus Elynx's work to extract icons from the older ZDLs. examples here I also made a docker to access ARMs toolchain on a Pi. shookingsybase/ti6000-docker-aarch64 https://github.com/shooking/TI6000_arm run the install then send cmds to the docker like cd <> Disassembly of Air.elf: TEXT Section .text (Little Endian), 0xBE0 bytes at 0x0 |
In addition to effect's icon [ref: #52], the ELF part of the ZD2 contains several other icons: {
CategoryIcon_{cat}
andAddDelIcon_{cat}
}References to this data could be seen from the
.const
block for theeffectTypeImageInfo
, same one that describes the effect's on-device icon:reference addresses:
I didn't try to extract the actual images. I assume the reference addresses should translate into offsets into the
.const
or other section of the ELF.This is for
SOFTEC3S.ZD2
(SoftEcho) module, not sure if such layout is applicable for other modules.The text was updated successfully, but these errors were encountered: