This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sps/xps parser crash: apparently those 4 bytes were for a third part of metadata for those files. HTML client now shows this information if available. example icon: id2_example_001 (12 vertices, 4 triangles) I've saved and included this icon in the .PSU and .SPS formats. .PSV is a bit more complicated for a valid export. Example icon shows vertex colours with no animation nor includes a texture (texture type 3). was considering adding new formats, but its not one of the big five (translation: not MAX/PWS or CBS), and I can barely find any examples to test with. Oh well. adding them to gitignore already. If the demand comes up, I've made the related hexpat's for them anyway. .xpo and .spo (assuming they're like .xpo files) files are out of scope for this project, if anyone asks. Reason being is that they usually exclude icon data, and even icon.sys. This makes it rather useless to me.
- Loading branch information
1 parent
837dffc
commit 5738fbb
Showing
9 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,9 @@ icon.sys | |
*.psv | ||
*.xps | ||
*.sps | ||
*.npo | ||
*.p2m | ||
*.md | ||
|
||
# Unused data | ||
|
||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# A test 12-vertice icon for testing icondumper2 clients. | ||
# Original Wavefront OBJ file: | ||
o DefaultObject001 | ||
v 1.250000 1.000000 0.000000 | ||
v -0.750000 1.000000 -1.000000 | ||
v -0.750000 1.000000 1.000000 | ||
v 0.000000 0.000000 0.000000 | ||
vn -0.0000 1.0000 -0.0000 | ||
vn -0.8000 -0.6000 -0.0000 | ||
vn 0.3904 -0.4880 0.7807 | ||
vn 0.3904 -0.4880 -0.7807 | ||
vt 0.000000 0.000000 | ||
vt 0.875000 0.500000 | ||
vt 0.875000 0.750000 | ||
s 0 | ||
f 1/1/1 2/2/1 3/3/1 | ||
f 4/1/2 3/3/2 2/2/2 | ||
f 3/3/3 4/1/3 1/1/3 | ||
f 4/1/4 2/2/4 1/1/4 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters