No, the .data file will not contain the TOC, but the .js file. Did you use --preload-file with emcc or with file_packager.py? If you used emcc --preload-file ... -o output.js, then check the start of the file output.js, that will have the TOC.
2014-02-18 9:30 GMT+02:00 Mark Callow <[email protected]>: > On 2014/02/18 16:12, Jukka Jylänki wrote: > > Oh right - if you're using --preload-file as part of emcc/em++, then a > separate file_data.js will not get generated, but the contents of that file > will be embedded at the start of the normal .js file output. Try seaching > the start of your output .js file for lines like > > new DataRequest(51084, 51908, 0, 0).open('GET', '/DrawBatchPS.cso'); > > that shows the VFS structure. If you use the file_packager.py directly, > then there is a separate file_data.js that will get generated. > > Hmm? I ran strings on the .data file and I am not seeing anything remotely > like that. I also ran head. The start of the file appears to be binary data. > > Regards > > -Mark > -- > 注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、 > 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます. > > NOTE: This electronic mail message may contain confidential and privileged > information from HI Corporation. If you are not the intended recipient, any > disclosure, photocopying, distribution or use of the contents of the > received information is prohibited. If you have received this e-mail in > error, please notify the sender immediately and permanently delete this > message and all related copies. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
