Skip to content

Commit ae743a5

Browse files
committed
Updated to .NET6
1 parent 6354527 commit ae743a5

File tree

117 files changed

+2711
-5414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+2711
-5414
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Genshin Model Viewer
2+
3+
## Changelog
4+
5+
v1.1.0
6+
7+
- Updated to `.NET 6`.
8+
- Fixed crash when loading archive file.
9+
10+
v1.0.0
11+
12+
- First edition publish.
13+

README.en.md

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[English](README.en.md)[中文](README.md)[日本語](README.jp.md)
22

3-
# <img src="src/GenshinModelViewer/Resources/YunjinSideFace.png" width = "56" height = "56" alt="" align="left" /> Genshin Model Viewer
3+
# <img src="src/GenshinModelViewer/Resources/UI_AvatarIcon_Side_Yunjin.png" width = "56" height = "56" alt="" align="left" /> Genshin Model Viewer
44

55
It also supports the preview of DMM models in other PMX formats.
66

@@ -14,78 +14,67 @@ Tips: The archive type will automatically import the first PMX file in non decom
1414

1515
> Support texture formats:`*.png` `*.bmp` `*.dds` `*.tga` etc..
1616
17-
Genshin Impact official model url: https://www.aplaybox.com/u/680828836
17+
[Model Download](https://www.aplaybox.com/u/680828836)
1818

19-
## Screen-shot
19+
## Usages
2020

2121
![demo2](screen-shot/demo-01.png)
2222

2323
![demo1](screen-shot/demo-02.png)
2424

25-
## Runtime Environment
25+
> Click to select the model file or drag the file to the window.
2626
27-
> Windows7 (or higer) `.NET Framework 4.8`
27+
| Input | Operation |
28+
| ------------ | ---------- |
29+
| Left Mouse | Pan |
30+
| Middle Mouse | Pan & Zoom |
31+
| Right Mouse | Rotate |
2832

29-
## Usage
33+
## Runtime Environment
3034

31-
Click to select the model file or drag the file to the window.
35+
`Win10 x64` `.NET 6`
3236

3337
## Download
3438
[![GitHub downloads](https://img.shields.io/github/downloads/emako/genshin-model-viewer/total)](https://github.com/emako/genshin-model-viewer/releases)
3539
[![GitHub downloads](https://img.shields.io/github/downloads/emako/genshin-model-viewer/latest/total)](https://github.com/emako/genshin-model-viewer/releases)
3640

3741
> Download page: https://github.com/emako/genshin-model-viewer/releases
3842
>
39-
> Baidu CloudDisk: https://pan.baidu.com/s/1zyV4h6zHmqeWdlbeYyY0-A `7234`
40-
41-
## Dependency Support
42-
43-
- QuickLook.Plugin.HelixViewer & HelixToolkit
44-
45-
> https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer
46-
>
47-
> https://github.com/helix-toolkit/helix-toolkit
48-
49-
- Pfim
5043
51-
> https://github.com/nickbabcock/Pfim
52-
53-
- SevenZipSharp & 7-Zip
44+
## TODO
5445

55-
>https://github.com/tomap/SevenZipSharp
56-
>
57-
>https://www.7-zip.org/
46+
- [ ] Support importing folder.
5847

59-
- SharpVectors
6048

61-
> https://github.com/ElinamLLC/SharpVectors
49+
- [ ] Supports multiple PMX files when importing folders or archive files, and provides options.
50+
- [ ] Supports full screen mode and rewriting the form title bar.
51+
- [ ] Supports more interactive ui buttons.
6252

63-
## Build
53+
## FAQs
6454

65-
Dev based on WPF.
55+
> Texture error after importing model?
6656
67-
Toolkit: `VS2022` `7z` `dotNET_Reactor`
57+
- Texture added with the Sphere algorithm are not supported. At the same time, the DMM model officially released by the original Genshin Impact not use Sphere.
6858

69-
Where `dotnet_Reactor ` is used to compile and synthesize into a single exe version.
59+
---
7060

71-
> Reference: [app_build.bat](app_build.bat)
61+
Welcome to propose [Issues](https://github.com/emako/genshin-model-viewer/issues).
7262

73-
## TODO
63+
## Changelog
7464

75-
- [ ] Support importing folder.
65+
[CHANGELOG.md](CHANGELOG.md)
7666

77-
- [ ] Supports multiple PMX files when importing folders or archive files, and provides options.
78-
- [ ] Supports full screen mode and rewriting the form title bar.
79-
- [ ] Supports more interactive ui buttons.
67+
## Dependency
8068

81-
## Known Problems
69+
- [HelixToolkit](https://github.com/helix-toolkit/helix-toolkit)
70+
- [QuickLook.Plugin.HelixViewer](https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer)
8271

83-
1. When importing DirectX's DSS as an archive file, the import may fail.
72+
- [Pfim](https://github.com/nickbabcock/Pfim)
8473

85-
> Welcome to propose [Issues](https://github.com/emako/genshin-model-viewer/issues).
74+
- [SevenZipSharp](https://github.com/squid-box/SevenZipSharp)
75+
- [7-Zip](https://www.7-zip.org/)
8676

87-
## Changelog
77+
## License
8878

89-
**v1.0 **@2022-01-20
79+
[LICENSE](LICENSE)
9080

91-
> 1. First edition

README.jp.md

Lines changed: 31 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[English](README.en.md)[中文](README.md)[日本語](README.jp.md)
22

3-
# <img src="src/GenshinModelViewer/Resources/YunjinSideFace.png" width = "56" height = "56" alt="" align="left" /> 原神モデルビューア
3+
# <img src="src/GenshinModelViewer/Resources/UI_AvatarIcon_Side_Yunjin.png" width = "56" height = "56" alt="" align="left" /> 原神モデルビューア
44

55
他のPMX形式DMMモデルのプレビューもサポートされています。
66

@@ -14,79 +14,67 @@
1414

1515
> サポートされているテクスチャのフォーマット:`*.png` `*.bmp` `*.dds` `*.tga` など。
1616
17-
原神公式モデルアドレス:https://www.aplaybox.com/u/680828836
17+
[モデルのダウンロード](https://www.aplaybox.com/u/680828836)
1818

19-
## スクリーンショット
19+
## 使い方
2020

2121
![demo2](screen-shot/demo-01.png)
2222

2323
![demo1](screen-shot/demo-02.png)
2424

25-
## 実行環境
25+
> モデルファイルを選択する、又はウィンドウにドラッグ&ドロップして始まる。
2626
27-
> Windows7 (又はそれ以上) `.NET Framework 4.8`
27+
| ソースインプット | 效果 |
28+
| ---------------------- | --------------------------- |
29+
| マウスの左ボタン | トランスレーション |
30+
| マウスの真ん中のボタン | トランスレーション & ズーム |
31+
| マウスの右ボタン | 回転 |
2832

29-
## 使い方
33+
## 実行環境
3034

31-
モデルファイルを選択する、又はウィンドウにドラッグ&ドロップして始まる。
35+
`Win10 x64` `.NET 6`
3236

3337
## ダウンロード
3438
[![GitHub downloads](https://img.shields.io/github/downloads/emako/genshin-model-viewer/total)](https://github.com/emako/genshin-model-viewer/releases)
3539
[![GitHub downloads](https://img.shields.io/github/downloads/emako/genshin-model-viewer/latest/total)](https://github.com/emako/genshin-model-viewer/releases)
3640

3741
> ダウンロードページ:https://github.com/emako/genshin-model-viewer/releases
3842
>
39-
> Baiduクラウドディスク:https://pan.baidu.com/s/1zyV4h6zHmqeWdlbeYyY0-A `7234`
40-
41-
## 依存とサポート
42-
43-
- QuickLook.Plugin.HelixViewer & HelixToolkit
44-
45-
> https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer
46-
>
47-
> https://github.com/helix-toolkit/helix-toolkit
48-
49-
- Pfim
5043
51-
> https://github.com/nickbabcock/Pfim
52-
53-
- SevenZipSharp & 7-Zip
54-
55-
>https://github.com/tomap/SevenZipSharp
56-
>
57-
>https://www.7-zip.org/
44+
## タスク
5845

59-
- SharpVectors
46+
- [ ] インポートフォルダのサポート。
6047

61-
> https://github.com/ElinamLLC/SharpVectors
6248

63-
## ビルド
49+
- [ ] フォルダまたはアーカイブのインポート時に複数のpmxファイルの中から1つ選択できる機能。
50+
- [ ] フルスクリーンモードとWindowのタイトルバーのリペイントをサポート。
51+
- [ ] 更なるUIボタンの追加。
6452

65-
WPFに基づいた開発。
53+
## よくある質問
6654

67-
必要なツール:`VS2022` `7z` `dotNET_Reactor`
55+
> モデルのとある部分のテクスチャのレンダリング異常?
6856
69-
そのうち`dotNET_Reactor`は、単一exeに合成するために使用されます
57+
- Sphereアルゴリズムが組み込まれたモデルはサポートされていません。この場合はモデルのテクスチャ異常として表現されますが、現在原神公式リリースされているDMMモデルではこのような方法は使用されていないので、原神のモデルにはこのような問題はないはずです
7058

71-
> 参照:[app_build.bat](app_build.bat)
59+
---
7260

73-
## タスク
61+
[Issues](https://github.com/emako/genshin-model-viewer/issues) へようこそ。
7462

75-
- [ ] インポートフォルダのサポート。
63+
## 変更履歴
7664

65+
[CHANGELOG.md](CHANGELOG.md)
7766

78-
- [ ] フォルダまたはアーカイブのインポート時に複数のpmxファイルの中から1つ選択できる機能。
79-
- [ ] フルスクリーンモードとWindowのタイトルバーのリペイントをサポート。
80-
- [ ] 更なるUIボタンの追加。
67+
## 依存ライブラリ
8168

82-
## 既知の問題
69+
- [HelixToolkit](https://github.com/helix-toolkit/helix-toolkit)
70+
- [QuickLook.Plugin.HelixViewer](https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer)
8371

84-
1. アーカイブ形式で`*.dss`をインポートするのDirectX形式の読み込みに失敗する場合があります。
72+
- [Pfim](https://github.com/nickbabcock/Pfim)
8573

86-
> [Issues](https://github.com/emako/genshin-model-viewer/issues) へようこそ。
74+
- [SevenZipSharp](https://github.com/squid-box/SevenZipSharp)
75+
- [7-Zip](https://www.7-zip.org/)
8776

88-
## 変更履歴
77+
## ライセンス
8978

90-
**v1.0 **@2022-01-20
79+
[LICENSE](LICENSE)
9180

92-
> 1. 初版

README.md

Lines changed: 31 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[English](README.en.md)[中文](README.md)[日本語](README.jp.md)
22

3-
# <img src="src/GenshinModelViewer/Resources/YunjinSideFace.png" width = "56" height = "56" alt="" align="left" /> 原神模型预览器
3+
# <img src="src/GenshinModelViewer/Resources/UI_AvatarIcon_Side_Yunjin.png" width = "56" height = "56" alt="" align="left" /> 原神模型预览器
44

55
同时亦支持其他PMX格式DMM模型的预览。
66

@@ -14,22 +14,25 @@
1414

1515
> 支持贴图格式:`*.png` `*.bmp` `*.dds` `*.tga`
1616
17-
原神官方模型地址:https://www.aplaybox.com/u/680828836
17+
[模型下载](https://www.aplaybox.com/u/680828836)
1818

19-
## 截图预览
19+
## 使用方法
2020

2121
![demo2](screen-shot/demo-01.png)
2222

2323
![demo1](screen-shot/demo-02.png)
2424

25-
## 运行环境
25+
> 点击选择模型文件或将文件拖拽到窗口里。
2626
27-
- Windows7及以上
28-
- .NET Framework 4.8
27+
| 操作源 | 效果 |
28+
| -------- | --------------------------------- |
29+
| 鼠标左键 | 按住拖拽**平移** |
30+
| 鼠标中键 | 按住拖拽**平移** 滚轮上下**缩放** |
31+
| 鼠标右键 | 按住拖拽**旋转** |
2932

30-
## 使用方法
33+
## 运行环境
3134

32-
点击选择模型文件或将文件拖拽到窗口里。
35+
`Win10 x64` `.NET 6`
3336

3437
## 程序下载
3538
[![GitHub downloads](https://img.shields.io/github/downloads/emako/genshin-model-viewer/total)](https://github.com/emako/genshin-model-viewer/releases)
@@ -39,54 +42,39 @@
3942
>
4043
> 度盘:https://pan.baidu.com/s/1zyV4h6zHmqeWdlbeYyY0-A `7234`
4144
42-
## 依赖支持
43-
44-
- QuickLook.Plugin.HelixViewer & HelixToolkit
45-
46-
> https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer
47-
>
48-
> https://github.com/helix-toolkit/helix-toolkit
49-
50-
- Pfim
51-
52-
> https://github.com/nickbabcock/Pfim
53-
54-
- SevenZipSharp & 7-Zip
55-
56-
>https://github.com/tomap/SevenZipSharp
57-
>
58-
>https://www.7-zip.org/
45+
## 开发任务
5946

60-
- SharpVectors
47+
- [ ] 支持导入文件夹
48+
- [ ] 支持在导入文件夹或归档文件时多个pmx文件则提供选项
49+
- [ ] 支持全屏模式以及重写窗体标题栏
50+
- [ ] 支持交互的按钮
6151

62-
> https://github.com/ElinamLLC/SharpVectors
6352

64-
## 编译生成
53+
## 常见问题
6554

66-
基于WPF开发。
55+
> 导入模型后发现贴图异常?
6756
68-
所需工具:`VS2022` `7z` `dotNET_Reactor`
57+
- 不支持加入了Sphere算法的贴图,此时将会表现为贴图异常,同时目前原神的官方发布的DMM模型没有使用此类贴图方法,所以原神的模型应该不会有此类问题。
6958

70-
其中dotNET_Reactor用于编译合成为单个exe的版本。
59+
---
7160

72-
> 参考:[app_build.bat](app_build.bat)
61+
欢迎提出[Issues](https://github.com/emako/genshin-model-viewer/issues)
7362

74-
## 开发任务
63+
## 更新日志
7564

76-
- [ ] 支持导入文件夹
77-
- [ ] 支持在导入文件夹或归档文件时多个pmx文件则提供选项
78-
- [ ] 支持全屏模式以及重写窗体标题栏
79-
- [ ] 支持交互的按钮
65+
[CHANGELOG.md](CHANGELOG.md)
8066

81-
## 已知问题
67+
## 依赖支持
8268

83-
1. 以归档文件形式导入`*.dss`的DirectX贴图时可能会导入失败
69+
- [HelixToolkit](https://github.com/helix-toolkit/helix-toolkit)
70+
- [QuickLook.Plugin.HelixViewer](https://github.com/ShiinaManatsu/QuickLook.Plugin.HelixViewer)
8471

85-
> 欢迎提出[Issues](https://github.com/emako/genshin-model-viewer/issues)
72+
- [Pfim](https://github.com/nickbabcock/Pfim)
8673

87-
## 更新日志
74+
- [SevenZipSharp](https://github.com/squid-box/SevenZipSharp)
75+
- [7-Zip](https://www.7-zip.org/)
8876

89-
**v1.0 **@2022-01-20
77+
## 许可证
9078

91-
> 1. 初版
79+
[LICENSE](LICENSE)
9280

0 commit comments

Comments
 (0)