Closed mistafunk closed 5 years ago
did not find a programmatical way to do this - tried lief
and peedit
python tools. both tools cause an infinite loop when prt core tries to load the modified codecs dll.
found a manual workaround by modifying the codecs library using the CFF Explorer
tool (http://www.ntcore.com/exsuite.php). care must be taken to have the same number of characters in the renamed Alembic dll (else the dll section layout gets corrupted).
attached the patched CE SDK release to the Palladio v1.1 release and updated the conanfile for cesdk.
keeping this ticket open to find a more elegant fix...
fixed in PRT 2, alembic now statically linked.
due to failing to load the prt codecs library, assets cannot be loaded from RPKs:
[warning] [Method: 'Default$WindowFrame'] i(): Asset 'window_frame.obj' (project ''): error, using 'builtin:unknownasset'.
the underlying problem is a clash between Alembic.dll in CE SDK and Alembic.dll in Houdini. both have the same name but are not compatible (probably different versions).
fix by renaming Alembic.dll in CE SDK to AlemPRT.dll and edit the import section of com.esri.prt.codecs.dll.