PyLibMS 2.0.6__tar.gz → 2.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Field/LMS_Field.py +2 -2
- {pylibms-2.0.6 → pylibms-2.0.7}/PKG-INFO +30 -4
- {pylibms-2.0.6 → pylibms-2.0.7}/PyLibMS.egg-info/PKG-INFO +30 -4
- pylibms-2.0.7/README.md +41 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/pyproject.toml +2 -2
- pylibms-2.0.6/README.md +0 -15
- {pylibms-2.0.6 → pylibms-2.0.7}/LICENSE +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/LMS_Exceptions.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/LMS_FileInfo.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/Stream/FileInfo.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/Stream/Hashtable.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/Stream/Section.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Common/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Field/LMS_DataType.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Field/Stream.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Field/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/FileIO/Encoding.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/FileIO/Stream.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Definitions/LMS_FieldMap.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Definitions/LMS_MessageText.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Definitions/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/MSBT.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/MSBTEntry.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/MSBTStream.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Section/ATR1.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Section/TSY1.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Section/TXT2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Section/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/LMS_Tag.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/LMS_TagExceptions.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/Stream.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/System_Definition.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/Tag_Formats.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/Tag/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Message/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Definitions/Attribute.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Definitions/Color.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Definitions/Style.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Definitions/Tag.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Definitions/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/MSBP.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/MSBPRead.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/ALI2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/ATI2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/CLR1.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/SYL3.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/String.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/TAG2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/TGG2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/Section/TGP2.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/Project/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Config.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Definitions/Attributes.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Definitions/Tags.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Definitions/Value.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Definitions/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Presets/Tomodachi Life.yaml +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/Presets/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/TitleConfig/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/LMS/__init__.py +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/MANIFEST.in +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/PyLibMS.egg-info/SOURCES.txt +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/PyLibMS.egg-info/dependency_links.txt +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/PyLibMS.egg-info/requires.txt +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/PyLibMS.egg-info/top_level.txt +0 -0
- {pylibms-2.0.6 → pylibms-2.0.7}/setup.cfg +0 -0
|
@@ -23,8 +23,8 @@ class LMS_Field:
|
|
|
23
23
|
preview = self.list_items[:3] + ["..."]
|
|
24
24
|
else:
|
|
25
25
|
preview = self.list_items
|
|
26
|
-
return f"
|
|
27
|
-
return f"
|
|
26
|
+
return f"LMS_Field(value={self._value}, options={preview})"
|
|
27
|
+
return f"LMS_Field(value={self._value!r}, type={typename})"
|
|
28
28
|
|
|
29
29
|
@property
|
|
30
30
|
def name(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyLibMS
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Python library built for the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports MSBT, MSBP, and MSBF.
|
|
5
5
|
Author: AbdyyEee
|
|
6
6
|
License: Copyright 2025 AbdyyEee
|
|
@@ -12,7 +12,7 @@ License: Copyright 2025 AbdyyEee
|
|
|
12
12
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13
13
|
Project-URL: Documentation, https://github.com/AbdyyEee/PylibMS/wiki
|
|
14
14
|
Project-URL: Repository, https://github.com/AbdyyEee/PylibMS
|
|
15
|
-
Keywords: nintendo,msbf,msbt,msbp,modding,lms,libmessagestudio
|
|
15
|
+
Keywords: nintendo,msbf,msbt,msbp,modding,lms,libmessagestudio,message studio
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
@@ -20,7 +20,14 @@ Requires-Dist: PyYAML==6.0.1
|
|
|
20
20
|
Dynamic: license-file
|
|
21
21
|
|
|
22
22
|
# PylibMS
|
|
23
|
-
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports
|
|
23
|
+
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports the following:
|
|
24
|
+
|
|
25
|
+
* Full reading and writing of MSBT files.
|
|
26
|
+
* Full reading of MSBP files.
|
|
27
|
+
* Supports encoded/decoded attributes and encoding/decoded tags.
|
|
28
|
+
* Additonal tag manipulation.
|
|
29
|
+
|
|
30
|
+
Games that work with the library, including but not limited to:
|
|
24
31
|
* Tomodachi Life
|
|
25
32
|
* Nintendo Badge Arcade
|
|
26
33
|
* The Legend of Zelda: A Link Between Worlds
|
|
@@ -28,9 +35,28 @@ Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary f
|
|
|
28
35
|
* Super Mario 3D World
|
|
29
36
|
* Super Mario 3D Land.
|
|
30
37
|
# Features and Usage
|
|
31
|
-
See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for explanations and examples
|
|
38
|
+
Simple preview of the library is below. See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for more explanations and examples.
|
|
39
|
+
## Reading
|
|
40
|
+
MSBT
|
|
41
|
+
```py
|
|
42
|
+
from LMS.Message.MSBTStream import read_msbt
|
|
43
|
+
|
|
44
|
+
with open("Game.msbt", "rb+") as f:
|
|
45
|
+
msbt = read_msbt(f)
|
|
46
|
+
```
|
|
47
|
+
## Writing
|
|
48
|
+
```py
|
|
49
|
+
from LMS.Message.MSBTStream import write_msbt
|
|
50
|
+
|
|
51
|
+
with open("Out.msbt", "wb") as f:
|
|
52
|
+
write_msbt(f, msbt)
|
|
53
|
+
```
|
|
32
54
|
# Installation
|
|
33
55
|
```
|
|
34
56
|
pip install PylibMS
|
|
35
57
|
```
|
|
36
58
|
Python version must be `>=3.10.`
|
|
59
|
+
# Credits & Sources
|
|
60
|
+
* [Nintendo-File-Formats](nintendo-formats.com) by Kinnay: For existing information on the MSBT and MSBP file formats.
|
|
61
|
+
* [Trippixyz](https://github.com/Trippixyz): For helping me get started general decompilation of the formats and general help.
|
|
62
|
+
* [AeonSake](https://github.com/AeonSake): Inspiration for some the implementation of the library and a bit of general help.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyLibMS
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Python library built for the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports MSBT, MSBP, and MSBF.
|
|
5
5
|
Author: AbdyyEee
|
|
6
6
|
License: Copyright 2025 AbdyyEee
|
|
@@ -12,7 +12,7 @@ License: Copyright 2025 AbdyyEee
|
|
|
12
12
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13
13
|
Project-URL: Documentation, https://github.com/AbdyyEee/PylibMS/wiki
|
|
14
14
|
Project-URL: Repository, https://github.com/AbdyyEee/PylibMS
|
|
15
|
-
Keywords: nintendo,msbf,msbt,msbp,modding,lms,libmessagestudio
|
|
15
|
+
Keywords: nintendo,msbf,msbt,msbp,modding,lms,libmessagestudio,message studio
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
@@ -20,7 +20,14 @@ Requires-Dist: PyYAML==6.0.1
|
|
|
20
20
|
Dynamic: license-file
|
|
21
21
|
|
|
22
22
|
# PylibMS
|
|
23
|
-
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports
|
|
23
|
+
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports the following:
|
|
24
|
+
|
|
25
|
+
* Full reading and writing of MSBT files.
|
|
26
|
+
* Full reading of MSBP files.
|
|
27
|
+
* Supports encoded/decoded attributes and encoding/decoded tags.
|
|
28
|
+
* Additonal tag manipulation.
|
|
29
|
+
|
|
30
|
+
Games that work with the library, including but not limited to:
|
|
24
31
|
* Tomodachi Life
|
|
25
32
|
* Nintendo Badge Arcade
|
|
26
33
|
* The Legend of Zelda: A Link Between Worlds
|
|
@@ -28,9 +35,28 @@ Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary f
|
|
|
28
35
|
* Super Mario 3D World
|
|
29
36
|
* Super Mario 3D Land.
|
|
30
37
|
# Features and Usage
|
|
31
|
-
See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for explanations and examples
|
|
38
|
+
Simple preview of the library is below. See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for more explanations and examples.
|
|
39
|
+
## Reading
|
|
40
|
+
MSBT
|
|
41
|
+
```py
|
|
42
|
+
from LMS.Message.MSBTStream import read_msbt
|
|
43
|
+
|
|
44
|
+
with open("Game.msbt", "rb+") as f:
|
|
45
|
+
msbt = read_msbt(f)
|
|
46
|
+
```
|
|
47
|
+
## Writing
|
|
48
|
+
```py
|
|
49
|
+
from LMS.Message.MSBTStream import write_msbt
|
|
50
|
+
|
|
51
|
+
with open("Out.msbt", "wb") as f:
|
|
52
|
+
write_msbt(f, msbt)
|
|
53
|
+
```
|
|
32
54
|
# Installation
|
|
33
55
|
```
|
|
34
56
|
pip install PylibMS
|
|
35
57
|
```
|
|
36
58
|
Python version must be `>=3.10.`
|
|
59
|
+
# Credits & Sources
|
|
60
|
+
* [Nintendo-File-Formats](nintendo-formats.com) by Kinnay: For existing information on the MSBT and MSBP file formats.
|
|
61
|
+
* [Trippixyz](https://github.com/Trippixyz): For helping me get started general decompilation of the formats and general help.
|
|
62
|
+
* [AeonSake](https://github.com/AeonSake): Inspiration for some the implementation of the library and a bit of general help.
|
pylibms-2.0.7/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# PylibMS
|
|
2
|
+
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports the following:
|
|
3
|
+
|
|
4
|
+
* Full reading and writing of MSBT files.
|
|
5
|
+
* Full reading of MSBP files.
|
|
6
|
+
* Supports encoded/decoded attributes and encoding/decoded tags.
|
|
7
|
+
* Additonal tag manipulation.
|
|
8
|
+
|
|
9
|
+
Games that work with the library, including but not limited to:
|
|
10
|
+
* Tomodachi Life
|
|
11
|
+
* Nintendo Badge Arcade
|
|
12
|
+
* The Legend of Zelda: A Link Between Worlds
|
|
13
|
+
* Animal Crossing: Amiibo Festival
|
|
14
|
+
* Super Mario 3D World
|
|
15
|
+
* Super Mario 3D Land.
|
|
16
|
+
# Features and Usage
|
|
17
|
+
Simple preview of the library is below. See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for more explanations and examples.
|
|
18
|
+
## Reading
|
|
19
|
+
MSBT
|
|
20
|
+
```py
|
|
21
|
+
from LMS.Message.MSBTStream import read_msbt
|
|
22
|
+
|
|
23
|
+
with open("Game.msbt", "rb+") as f:
|
|
24
|
+
msbt = read_msbt(f)
|
|
25
|
+
```
|
|
26
|
+
## Writing
|
|
27
|
+
```py
|
|
28
|
+
from LMS.Message.MSBTStream import write_msbt
|
|
29
|
+
|
|
30
|
+
with open("Out.msbt", "wb") as f:
|
|
31
|
+
write_msbt(f, msbt)
|
|
32
|
+
```
|
|
33
|
+
# Installation
|
|
34
|
+
```
|
|
35
|
+
pip install PylibMS
|
|
36
|
+
```
|
|
37
|
+
Python version must be `>=3.10.`
|
|
38
|
+
# Credits & Sources
|
|
39
|
+
* [Nintendo-File-Formats](nintendo-formats.com) by Kinnay: For existing information on the MSBT and MSBP file formats.
|
|
40
|
+
* [Trippixyz](https://github.com/Trippixyz): For helping me get started general decompilation of the formats and general help.
|
|
41
|
+
* [AeonSake](https://github.com/AeonSake): Inspiration for some the implementation of the library and a bit of general help.
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyLibMS"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.7"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
description = "Python library built for the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports MSBT, MSBP, and MSBF."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
authors = [{ name = "AbdyyEee" }]
|
|
12
|
-
keywords = ["nintendo", "msbf", "msbt", "msbp", "modding", "lms", "libmessagestudio"]
|
|
12
|
+
keywords = ["nintendo", "msbf", "msbt", "msbp", "modding", "lms", "libmessagestudio", "message studio"]
|
|
13
13
|
license = { file = "LICENSE" }
|
|
14
14
|
dependencies = ["PyYAML==6.0.1"]
|
|
15
15
|
|
pylibms-2.0.6/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# PylibMS
|
|
2
|
-
Python library built in Python 3.10+ or the libMessageStudio (LMS) proprietary file formats from Nintendo. Supports MSBT, MSBP, and MSBF. Games that work with the library, including but not limited to:
|
|
3
|
-
* Tomodachi Life
|
|
4
|
-
* Nintendo Badge Arcade
|
|
5
|
-
* The Legend of Zelda: A Link Between Worlds
|
|
6
|
-
* Animal Crossing: Amiibo Festival
|
|
7
|
-
* Super Mario 3D World
|
|
8
|
-
* Super Mario 3D Land.
|
|
9
|
-
# Features and Usage
|
|
10
|
-
See [the wiki](https://github.com/AbdyyEee/PylibMS/wiki) for explanations and examples on how to use the library.
|
|
11
|
-
# Installation
|
|
12
|
-
```
|
|
13
|
-
pip install PylibMS
|
|
14
|
-
```
|
|
15
|
-
Python version must be `>=3.10.`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|