Splatlogger 1.3.1.post1__tar.gz → 1.3.2__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.
Files changed (23) hide show
  1. {splatlogger-1.3.1.post1/src/Splatlogger.egg-info → splatlogger-1.3.2}/PKG-INFO +3 -1
  2. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/README.md +2 -0
  3. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/pyproject.toml +1 -1
  4. {splatlogger-1.3.1.post1 → splatlogger-1.3.2/src/Splatlogger.egg-info}/PKG-INFO +3 -1
  5. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/__init__.py +1 -1
  6. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/cemu_gecko.py +11 -2
  7. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/LICENSE +0 -0
  8. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/setup.cfg +0 -0
  9. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/Splatlogger.egg-info/SOURCES.txt +0 -0
  10. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/Splatlogger.egg-info/dependency_links.txt +0 -0
  11. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/Splatlogger.egg-info/entry_points.txt +0 -0
  12. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/Splatlogger.egg-info/requires.txt +0 -0
  13. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/Splatlogger.egg-info/top_level.txt +0 -0
  14. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/__main__.py +0 -0
  15. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/cli.py +0 -0
  16. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/enums.py +0 -0
  17. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/errors.py +0 -0
  18. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/match_logger.py +0 -0
  19. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/resources/names.json +0 -0
  20. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/splatlogger.py +0 -0
  21. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/tcpgecko.py +0 -0
  22. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/tuples.py +0 -0
  23. {splatlogger-1.3.1.post1 → splatlogger-1.3.2}/src/splatlogger/utility_functions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Splatlogger
3
- Version: 1.3.1.post1
3
+ Version: 1.3.2
4
4
  Summary: PID Grabber and player/match information logging tool for Splatoon
5
5
  Author-email: Shadow Doggo <shadowdoggo@protonmail.com>
6
6
  License-Expression: MIT
@@ -28,6 +28,8 @@ A PID Grabber and player/match information logging tool for Splatoon, supporting
28
28
 
29
29
  <sub>*Cemu support has only been tested on Windows and Linux, though macOS should work as well.</sub>
30
30
 
31
+ <sub>*Check out [SpoonPIDGrabber](https://codeberg.org/ShadowDoggo/SpoonPIDGrabber) for a native Aroma plugin.*</sub>
32
+
31
33
  - [Prerequisites (Wii U)](#prerequisites-wii-u)
32
34
  - [Usage](#usage)
33
35
  - [Running the executable](#running-the-executable)
@@ -3,6 +3,8 @@ A PID Grabber and player/match information logging tool for Splatoon, supporting
3
3
 
4
4
  <sub>*Cemu support has only been tested on Windows and Linux, though macOS should work as well.</sub>
5
5
 
6
+ <sub>*Check out [SpoonPIDGrabber](https://codeberg.org/ShadowDoggo/SpoonPIDGrabber) for a native Aroma plugin.*</sub>
7
+
6
8
  - [Prerequisites (Wii U)](#prerequisites-wii-u)
7
9
  - [Usage](#usage)
8
10
  - [Running the executable](#running-the-executable)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "Splatlogger"
7
- version = "1.3.1.post1"
7
+ version = "1.3.2"
8
8
  authors = [
9
9
  { name="Shadow Doggo", email="shadowdoggo@protonmail.com" }
10
10
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Splatlogger
3
- Version: 1.3.1.post1
3
+ Version: 1.3.2
4
4
  Summary: PID Grabber and player/match information logging tool for Splatoon
5
5
  Author-email: Shadow Doggo <shadowdoggo@protonmail.com>
6
6
  License-Expression: MIT
@@ -28,6 +28,8 @@ A PID Grabber and player/match information logging tool for Splatoon, supporting
28
28
 
29
29
  <sub>*Cemu support has only been tested on Windows and Linux, though macOS should work as well.</sub>
30
30
 
31
+ <sub>*Check out [SpoonPIDGrabber](https://codeberg.org/ShadowDoggo/SpoonPIDGrabber) for a native Aroma plugin.*</sub>
32
+
31
33
  - [Prerequisites (Wii U)](#prerequisites-wii-u)
32
34
  - [Usage](#usage)
33
35
  - [Running the executable](#running-the-executable)
@@ -1,2 +1,2 @@
1
- __version__ = "1.3.1"
1
+ __version__ = "1.3.2"
2
2
  __author__ = "Shadow Doggo"
@@ -28,8 +28,14 @@ class CemuGecko:
28
28
  except ProcessIDNotExistsError as e:
29
29
  raise CemuGeckoError("Invalid process ID.") from e
30
30
 
31
- self._base_address = self._get_base_address()
31
+ try:
32
+ self._base_address = self._get_base_address()
33
+ except ProcessIDNotExistsError as e:
34
+ self.close()
35
+ raise CemuGeckoError("Cemu process was closed.") from e
36
+
32
37
  if self._base_address == 0:
38
+ self.close()
33
39
  raise CemuGeckoError("Could not find Cemu's Wii U memory space.")
34
40
 
35
41
  def __enter__(self) -> CemuGecko:
@@ -50,7 +56,10 @@ class CemuGecko:
50
56
  if length <= 0:
51
57
  raise ValueError("Reading memory requires a positive length (# of bytes).")
52
58
 
53
- return self._process.read_process_memory(self._base_address + address, bytes, length)
59
+ try:
60
+ return self._process.read_process_memory(self._base_address + address, bytes, length)
61
+ except ProcessIDNotExistsError as e:
62
+ raise ProcessLookupError(str(e)) from e
54
63
 
55
64
  def peek8(self, address: int, *, signed: bool = False) -> int:
56
65
  """Get an 8-bit integer value stored at the specified address."""
File without changes
File without changes