Skip to main content

Palworld Coordinate Converter

Developed by https://palworld.lol with major help from https://github.com/cmkb3

This is a small library with two functions used to convert between two different coordinat systems in Palworld:

  1. The coordinate system used in the game itself in the Paldex interactive map
  2. The coordinate system used in the game save files (.sav)

Installation

pip install palworld-coord

Also, if you want, you can just copy the contents of this file into your project instead of adding a dependency.

API

# Convert from save game file coordinate to Paldex
sav_to_map(x: float, y: float) -> Point
# Convert from Paldex coordinate to save game file
map_to_sav(x: int,   y: int) -> Point

Usage Examples

from palworld_coord import sav_to_map, map_to_sav

# Anubis boss location pulled from game data
sav_to_map(-167230, 96430)
# Point(x=-134, y=-94)

# Get .sav coordinates of random base location in-game:
map_to_sav(373, -359)
# Point(x=-288669, y=329207)

Metadata

Release files for palworld-coord 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for palworld-coord 1.0.0
File Size Uploaded
palworld-coord-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for palworld-coord 1.0.0
File Interpreter ABI Platform
palworld_coord-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / palworld-coord-1.0.0.tar.gz

Download URL palworld-coord-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
936e0d1fab7e474b1b970e01283440c2d0dcc77fa15c5197a5a50f96237e111a
BLAKE2b-256 checksum
How to use checksums
9b3eda96be4fd5478010465524a8fa812b6c3d1b5f4f1e44b50846f60f50ec03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / palworld_coord-1.0.0-py3-none-any.whl

Download URL palworld_coord-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b25c13a17768f5a22353b8ebb5dff531ff68530237d58589fbabf8f4bb5e9418
BLAKE2b-256 checksum
How to use checksums
646a5cb0d88ece55502e6ace1e52b489f0c8c3e78b452dce75fb0833a5fe4f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page