Skip to content
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

Malformed zft files #18

Closed
kalwalt opened this issue Nov 25, 2024 · 4 comments
Closed

Malformed zft files #18

kalwalt opened this issue Nov 25, 2024 · 4 comments
Assignees
Labels
bug Something isn't working zft

Comments

@kalwalt
Copy link
Member

kalwalt commented Nov 25, 2024

I tested the .zft files from the new version with jsartoolkitNFT and i got this error :

Error: 'fset' not found in the string.

_emscripten_console_error @ artoolkitNFT_wasm.simd.js:1
$func67 @ 001b8e22:0x2d33
$func1122 @ 001b8e22:0x5879e
$func1088 @ 001b8e22:0x50ecb
_decompressZFT @ VM46:6
loadZFT @ artoolkitNFT_wasm.simd.js:1
onSuccessZFT @ artoolkitNFT_wasm.simd.js:1
writeByteArrayToFS @ artoolkitNFT_wasm.simd.js:1
oReq.onload @ artoolkitNFT_wasm.simd.js:1
load
ajax @ artoolkitNFT_wasm.simd.js:1
addNFTMarkers @ artoolkitNFT_wasm.simd.js:1
ARControllerNFT.loadNFTMarkers @ artoolkitNFT_wasm.simd.js:1
ARControllerNFT.loadNFTMarker @ artoolkitNFT_wasm.simd.js:1
onLoad @ artoolkitNFT.worker.js:86
(anonymous) @ artoolkitNFT_wasm.simd.js:1
writeCallback @ artoolkitNFT_wasm.simd.js:1
writeByteArrayToFS @ artoolkitNFT_wasm.simd.js:1
oReq.onload @ artoolkitNFT_wasm.simd.js:1
load
ajax @ artoolkitNFT_wasm.simd.js:1
loadCamera @ artoolkitNFT_wasm.simd.js:1
ARCameraParamNFT.load @ artoolkitNFT_wasm.simd.js:1
ARCameraParamNFT @ artoolkitNFT_wasm.simd.js:1
(anonymous) @ artoolkitNFT.worker.js:114
scope.Module.onRuntimeInitialized @ artoolkitNFT_wasm.simd.js:1
doRun @ artoolkitNFT_wasm.simd.js:1
run @ artoolkitNFT_wasm.simd.js:1
runCaller @ artoolkitNFT_wasm.simd.js:1
removeRunDependency @ artoolkitNFT_wasm.simd.js:1
receiveInstance @ artoolkitNFT_wasm.simd.js:1
receiveInstantiationResult @ artoolkitNFT_wasm.simd.js:1
Promise.then
instantiateArrayBuffer @ artoolkitNFT_wasm.simd.js:1
instantiateAsync @ artoolkitNFT_wasm.simd.js:1
createWasm @ artoolkitNFT_wasm.simd.js:1
(anonymous) @ artoolkitNFT_wasm.simd.js:1
(anonymous) @ artoolkitNFT.worker.js:30

This means that the file not embedd the fset string inside, similar issue in PR webarkit/jsartoolkitNFT#404 see comment webarkit/jsartoolkitNFT#404 (comment)

i will try if previous versions are also affected.

@kalwalt kalwalt added the bug Something isn't working label Nov 25, 2024
@kalwalt kalwalt changed the title malformed zft files Malformed zft files Nov 25, 2024
@kalwalt kalwalt added the zft label Nov 25, 2024
@kalwalt
Copy link
Member Author

kalwalt commented Nov 25, 2024

This was present since version 0.1.0, this is very bad.... I'm looking for a solution, at least to find the source of the issue.

@kalwalt
Copy link
Member Author

kalwalt commented Nov 25, 2024

Instead .zft files generated by https://github.com/Carnaux/NFT-Marker-Creator works fine, just tested.
Anyone read this issue can generate .zft files with it, notice that you need an old node version: 16.

kalwalt added a commit that referenced this issue Nov 26, 2024
kalwalt added a commit that referenced this issue Nov 26, 2024
@kalwalt kalwalt self-assigned this Nov 26, 2024
@kalwalt
Copy link
Member Author

kalwalt commented Dec 1, 2024

working on this issue in PR #19

@kalwalt
Copy link
Member Author

kalwalt commented Dec 3, 2024

This was solved with #19, merged in the main branch.

@kalwalt kalwalt closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working zft
Projects
None yet
Development

No branches or pull requests

1 participant