Comments (8)
OK, thanks. With you latest fix acf47d3 for 0.1.12 it is working and issue can be closed
from decima.
@mithkr Can you please provide file path for file that causes crash?
from decima.
models/characters/humans/aloy/animation/parts/aloy_ct_a_lx.core
from decima.
Works for me against the latest version (0.1.12). Can you try that version too?
from decima.
Forget to mentioned, that 0.1.12 has an additional issue for which I have a fix (see diff at the end) and then stumbled over that other issue introduced with 0.1.10:
21:19:25.660 [AWT-EventQueue-0] ERROR com.shade.platform.Launcher - Unhandled exception
java.lang.RuntimeException: java.lang.IllegalArgumentException: Object is not an instance of GGUUID
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.lambda$new$1(ModelViewerPanel.java:78)
at com.shade.platform.ui.dialogs.ProgressDialog$1.doInBackground(ProgressDialog.java:37)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalArgumentException: Object is not an instance of GGUUID
at com.shade.decima.model.rtti.RTTIUtils.uuidToString(RTTIUtils.java:14)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportHZDMeshData(DMFExporter.java:1049)
at com.shade.decima.ui.data.viewer.model.DMFExporter.regularSkinnedMeshResourceToModel(DMFExporter.java:991)
at com.shade.decima.ui.data.viewer.model.DMFExporter.toModel(DMFExporter.java:487)
at com.shade.decima.ui.data.viewer.model.DMFExporter.lodMeshResourceToModel(DMFExporter.java:850)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportLodMeshResource(DMFExporter.java:395)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportResource(DMFExporter.java:146)
at com.shade.decima.ui.data.viewer.model.DMFExporter.export(DMFExporter.java:126)
at com.shade.decima.ui.data.viewer.model.DMFExporter.export(DMFExporter.java:113)
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.export(ModelViewerPanel.java:144)
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.lambda$new$1(ModelViewerPanel.java:75)
... 7 common frames omitted
java.lang.RuntimeException: java.lang.IllegalArgumentException: Object is not an instance of GGUUID
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.lambda$new$1(ModelViewerPanel.java:78)
at com.shade.platform.ui.dialogs.ProgressDialog$1.doInBackground(ProgressDialog.java:37)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalArgumentException: Object is not an instance of GGUUID
at com.shade.decima.model.rtti.RTTIUtils.uuidToString(RTTIUtils.java:14)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportHZDMeshData(DMFExporter.java:1049)
at com.shade.decima.ui.data.viewer.model.DMFExporter.regularSkinnedMeshResourceToModel(DMFExporter.java:991)
at com.shade.decima.ui.data.viewer.model.DMFExporter.toModel(DMFExporter.java:487)
at com.shade.decima.ui.data.viewer.model.DMFExporter.lodMeshResourceToModel(DMFExporter.java:850)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportLodMeshResource(DMFExporter.java:395)
at com.shade.decima.ui.data.viewer.model.DMFExporter.exportResource(DMFExporter.java:146)
at com.shade.decima.ui.data.viewer.model.DMFExporter.export(DMFExporter.java:126)
at com.shade.decima.ui.data.viewer.model.DMFExporter.export(DMFExporter.java:113)
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.export(ModelViewerPanel.java:144)
at com.shade.decima.ui.data.viewer.model.ModelViewerPanel.lambda$new$1(ModelViewerPanel.java:75)
... 7 more
--- a/modules/decima-ui/src/main/java/com/shade/decima/ui/data/viewer/model/DMFExporter.java
+++ b/modules/decima-ui/src/main/java/com/shade/decima/ui/data/viewer/model/DMFExporter.java
@@ -1046,7 +1046,7 @@ public class DMFExporter extends BaseModelExporter implements ModelExporter {
}
final String dataSourceLocation = dataSource.location.substring(dataSource.location.indexOf(":") + 1);
- buffer = createDataBuffer(dataSourceLocation + "_" + RTTIUtils.uuidToString(streamObj.obj("Hash")),
+ buffer = createDataBuffer(dataSourceLocation + "_" + streamObj.obj("Hash").toString(),
dataSource, vertexStreamOffset, stride * vertices.vertexCount);
resourceLength = dataSource.length;
@@ -1092,7 +1092,7 @@ public class DMFExporter extends BaseModelExporter implements ModelExporter {
} else {
final HZDDataSource dataSource = indices.dataSource.cast();
final String dataSourceLocation = dataSource.location.substring(dataSource.location.indexOf(":") + 1);
- buffer = createDataBuffer(dataSourceLocation + "_" + RTTIUtils.uuidToString(indices.hash), dataSource, dataSource.getOffset(), indices.getIndexSize() * indices.indexCount);
+ buffer = createDataBuffer(dataSourceLocation + "_" + indices.hash.toString(), dataSource, dataSource.getOffset(), indices.getIndexSize() * indices.indexCount);
}
final DMFBufferView bufferView = new DMFBufferView(scene.buffers.indexOf(buffer), 0, indices.getIndexSize() * indices.indexCount);
primitive.setIndexBufferView(bufferView, scene);
from decima.
I just fixed this issue in acf47d3 and immediately forgot about it, sorry 😅. Please try building from master
.
from decima.
I have now checked out your latest version and it works. I'm wondering, why I run in the IndexOutOfBoundsException after I tried to fix the 0.1.12 issue with the above mentioned patch. I tried than the older release and found that 0.1.10 was the first failed release and the 0.1.9 the last working. Than I started bisecting the changes between 0.1.9 and 0.1.10 and found this commit c81ef53. If you check out that commit is it working for you?
from decima.
The exporter was broken in c81ef53 and then later fixed in 128dc9e which is included in 0.1.12
from decima.
Related Issues (20)
- Packfile Manager: Validate packfile structure before loading it
- Death Stranding Directors Cut mod issue HOT 3
- Core Editor: Group entries of the same type
- Core Editor: Editor for references
- Core Editor: Allow adding/removing elements of arrays
- Find Files: Find files that contain entries with the specified UUID
- Core Editor: Allow creating top-level entries of core files
- Core Editor: Remember editor state between restarts
- Start differentiating between DS and DS: Director's Cut
- Director's Cut Not Loading Repacked BIN HOT 1
- Could not initialize app HOT 1
- Exception when loading windows library on linux HOT 2
- Unable to start release 0.1.14 HOT 1
- Unable to save changes HOT 8
- Where is "compressor library" and "type information" located for Horizon Zero Dawn? HOT 1
- 3D Model viewer not working correctly HOT 2
- an error occurred during program exectution HOT 2
- HorizonForbiddenWest Support Request HOT 2
- Death Stranding Audio extraction and playback corrupted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decima.