I'm using a python script to generate static code for codesys projects. Because I'm tired of copy-pasting the generated code into the codesys system, I decided to let the python script generate a .lib file to allow a direct use for codesys.
It seems like 3S is using some CRC check fields in their library file system, so I can't edit a library file without getting a "file currupted" error when I try to load it.
Does anybody know the specific bytes or chars in the header and or bottom information of .lib files which I need to change or replace for a correct CRC checksum?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using a python script to generate static code for codesys projects. Because I'm tired of copy-pasting the generated code into the codesys system, I decided to let the python script generate a .lib file to allow a direct use for codesys.
It seems like 3S is using some CRC check fields in their library file system, so I can't edit a library file without getting a "file currupted" error when I try to load it.
Does anybody know the specific bytes or chars in the header and or bottom information of .lib files which I need to change or replace for a correct CRC checksum?