Dylan Smith dylan.ah.smith@gmail.com writes:
Manually parsed a hexdump of D3DRM_XTEMPLATES from the native header; comments to show the corresponding text encoding. I used a test application to dump D3DRM_XTEMPLATES with this header and the native header to confirm that this header binary compatible with the native one.
That stuff needs to be generated from source, you can't just copy the native header contents.
On Fri, Mar 11, 2011 at 9:44 AM, Alexandre Julliard julliard@winehq.org wrote:
That stuff needs to be generated from source, you can't just copy the native header contents.
Is the following acceptable?
1. Implement IDirectXFileSaveObject::SaveTemplates 2. Create programs/dxfconv as a wine program that uses d3dxof to convert x files to different encodings (e.g. text -> binary) 3. Write the text encoding for D3DRM_XTEMPLATES in include/rmxftmpl.x 4. Use dxfconv and xxd -i to generate the binary contents of D3DRM_XTEMPLATES, and add a comment to rmxftmpl.h saying it was generated from rmxftmpl.x 5. Test to make sure the contents is the same for compatibility.