maps4fs 0.8.4__py3-none-any.whl → 0.8.5__py3-none-any.whl
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.
- maps4fs/generator/game.py +4 -4
- {maps4fs-0.8.4.dist-info → maps4fs-0.8.5.dist-info}/METADATA +1 -2
- {maps4fs-0.8.4.dist-info → maps4fs-0.8.5.dist-info}/RECORD +6 -6
- {maps4fs-0.8.4.dist-info → maps4fs-0.8.5.dist-info}/LICENSE.md +0 -0
- {maps4fs-0.8.4.dist-info → maps4fs-0.8.5.dist-info}/WHEEL +0 -0
- {maps4fs-0.8.4.dist-info → maps4fs-0.8.5.dist-info}/top_level.txt +0 -0
maps4fs/generator/game.py
CHANGED
@@ -180,7 +180,7 @@ class FS25(Game):
|
|
180
180
|
|
181
181
|
Returns:
|
182
182
|
str: The path to the DEM file."""
|
183
|
-
return os.path.join(map_directory, "
|
183
|
+
return os.path.join(map_directory, "map", "data", "dem.png")
|
184
184
|
|
185
185
|
def map_xml_path(self, map_directory: str) -> str:
|
186
186
|
"""Returns the path to the map.xml file.
|
@@ -191,7 +191,7 @@ class FS25(Game):
|
|
191
191
|
Returns:
|
192
192
|
str: The path to the map.xml file.
|
193
193
|
"""
|
194
|
-
return os.path.join(map_directory, "
|
194
|
+
return os.path.join(map_directory, "map", "map.xml")
|
195
195
|
|
196
196
|
def weights_dir_path(self, map_directory: str) -> str:
|
197
197
|
"""Returns the path to the weights directory.
|
@@ -201,7 +201,7 @@ class FS25(Game):
|
|
201
201
|
|
202
202
|
Returns:
|
203
203
|
str: The path to the weights directory."""
|
204
|
-
return os.path.join(map_directory, "
|
204
|
+
return os.path.join(map_directory, "map", "data")
|
205
205
|
|
206
206
|
def i3d_file_path(self, map_directory: str) -> str:
|
207
207
|
"""Returns the path to the i3d file.
|
@@ -211,4 +211,4 @@ class FS25(Game):
|
|
211
211
|
|
212
212
|
Returns:
|
213
213
|
str: The path to the i3d file."""
|
214
|
-
return os.path.join(map_directory, "
|
214
|
+
return os.path.join(map_directory, "map", "map.i3d")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: maps4fs
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.5
|
4
4
|
Summary: Generate map templates for Farming Simulator from real places.
|
5
5
|
Author-email: iwatkot <iwatkot@gmail.com>
|
6
6
|
License: MIT License
|
@@ -387,7 +387,6 @@ After it you need to resize the image to 4096x4096 pixels and convert it to the
|
|
387
387
|
|
388
388
|
## DDS conversion
|
389
389
|
The `.dds` format is the format used in the Farming Simulator for the textures, icons, overview and preview images. There's a plenty of options to convert the images to the `.dds` format, you can just google something like `png to dds` and the first link probably will help you with it.<br>
|
390
|
-
But if you prefer using scripts, you'll find Python converters in the `scripts` directory in this repository.<br>
|
391
390
|
|
392
391
|
List of the important DDS files:
|
393
392
|
- `icon.dds` - 256x256 pixels, the icon of the map,
|
@@ -5,14 +5,14 @@ maps4fs/generator/background.py,sha256=YZbTSijKgNQOvpWJHqCJNHeoV5GxUjp79b8PoQwRQ
|
|
5
5
|
maps4fs/generator/component.py,sha256=9uGWSIVQzxO_u0yZ3luQJOrpg9x61uBcAHdIr_SaNlw,7402
|
6
6
|
maps4fs/generator/config.py,sha256=RIqRCPS-ki23JmiFRyt98DVocf-ZaxMsa6yFvoOcHes,3425
|
7
7
|
maps4fs/generator/dem.py,sha256=FsYcaf0IQSYykKdbkHxAN5-Rc_PZZEBJfdZA2Z-b8AU,14514
|
8
|
-
maps4fs/generator/game.py,sha256=
|
8
|
+
maps4fs/generator/game.py,sha256=94HjPNOyy6XSSOnBp-uxrkBglKyC-X3ULIrrucfdlKw,6825
|
9
9
|
maps4fs/generator/i3d.py,sha256=UuQiQRusPQ2f6PvGKxJ_UZeXsx3uG15efmy8Ysnm3F8,3597
|
10
10
|
maps4fs/generator/map.py,sha256=BS8ylTCRlHRmbImg73wnHMpBB2ODckVyVZq5KJhCMfM,4236
|
11
11
|
maps4fs/generator/path_steps.py,sha256=rKslIiG9mriCVL9_0i8Oet2p0DITrpBWi0pECpvuyUM,2707
|
12
12
|
maps4fs/generator/texture.py,sha256=0gkohGmamZbmqc9VpPqt8pli_x9w9SnUh2JjYGaiI3I,18170
|
13
13
|
maps4fs/generator/tile.py,sha256=3vmfjQiPiiUZKPuIo5tg2rOKkgcP1NRVkMGK-Vo10-A,2138
|
14
|
-
maps4fs-0.8.
|
15
|
-
maps4fs-0.8.
|
16
|
-
maps4fs-0.8.
|
17
|
-
maps4fs-0.8.
|
18
|
-
maps4fs-0.8.
|
14
|
+
maps4fs-0.8.5.dist-info/LICENSE.md,sha256=-JY0v7p3dwXze61EbYiK7YEJ2aKrjaFZ8y2xYEOrmRY,1068
|
15
|
+
maps4fs-0.8.5.dist-info/METADATA,sha256=FhpVmF65LgMWkcv1atzYjmtnu4UebcsTQZbRqaEros4,23152
|
16
|
+
maps4fs-0.8.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
17
|
+
maps4fs-0.8.5.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
|
18
|
+
maps4fs-0.8.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|