maps4fs 2.5.2__tar.gz → 2.5.4__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.
- {maps4fs-2.5.2 → maps4fs-2.5.4}/PKG-INFO +31 -41
- {maps4fs-2.5.2 → maps4fs-2.5.4}/README.md +30 -40
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/config.py +26 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/map.py +3 -2
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs.egg-info/PKG-INFO +31 -41
- {maps4fs-2.5.2 → maps4fs-2.5.4}/pyproject.toml +1 -1
- {maps4fs-2.5.2 → maps4fs-2.5.4}/LICENSE.md +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/__init__.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/__init__.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/__init__.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/background.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/base/__init__.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/base/component.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/base/component_image.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/base/component_mesh.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/base/component_xml.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/config.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/dem.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/grle.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/i3d.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/layer.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/satellite.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/component/texture.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/game.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/qgis.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/settings.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/statistics.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/generator/utils.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs/logger.py +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs.egg-info/SOURCES.txt +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs.egg-info/dependency_links.txt +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs.egg-info/requires.txt +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/maps4fs.egg-info/top_level.txt +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/setup.cfg +0 -0
- {maps4fs-2.5.2 → maps4fs-2.5.4}/tests/test_generator.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: maps4fs
|
3
|
-
Version: 2.5.
|
3
|
+
Version: 2.5.4
|
4
4
|
Summary: Generate map templates for Farming Simulator from real places.
|
5
5
|
Author-email: iwatkot <iwatkot@gmail.com>
|
6
6
|
License: GNU Affero General Public License v3.0
|
@@ -52,8 +52,8 @@ Dynamic: license-file
|
|
52
52
|
<a href="https://maps4fs.gitbook.io/docs/getting-started/faq">FAQ</a> •
|
53
53
|
<a href="https://maps4fs.gitbook.io/docs/setup-and-installation/get_help">Get Help</a> •
|
54
54
|
<a href="#Resources">Resources</a> •
|
55
|
-
<a href="#
|
56
|
-
<a href="
|
55
|
+
<a href="#Special-thanks">Special thanks</a> •
|
56
|
+
<a href="https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9">Video Tutorials</a>
|
57
57
|
</p>
|
58
58
|
|
59
59
|
[](https://discord.gg/Sj5QKKyE42)
|
@@ -82,13 +82,12 @@ Dynamic: license-file
|
|
82
82
|
📈 Automatically generates splines<br>
|
83
83
|
🛰️ Automatically downloads high resolution satellite images<br>
|
84
84
|
🌍 Based on real-world data from OpenStreetMap<br>
|
85
|
-
🗺️ Supports [custom OSM maps](/docs/
|
85
|
+
🗺️ Supports [custom OSM maps](https://maps4fs.gitbook.io/docs/advanced-topics/custom_osm)<br>
|
86
86
|
🏞️ Generates height map using SRTM dataset<br>
|
87
87
|
📦 Provides a ready-to-use map template for the Giants Editor<br>
|
88
88
|
🚜 Supports Farming Simulator 22 and 25<br>
|
89
89
|
🔷 Generates \*.obj files for background terrain based on the real-world height map<br>
|
90
|
-
|
91
|
-
📕 Detailed [documentation](/docs) and tutorials <br>
|
90
|
+
📕 Detailed [documentation](https://maps4fs.gitbook.io/docs) and tutorials <br>
|
92
91
|
|
93
92
|
<p align="center">
|
94
93
|
<img src="https://github.com/user-attachments/assets/cf8f5752-9c69-4018-bead-290f59ba6976"><br>
|
@@ -110,51 +109,42 @@ Dynamic: license-file
|
|
110
109
|
<img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
|
111
110
|
🌽 Automatic farmlands generation based on the fields.<br><br>
|
112
111
|
|
113
|
-
📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
|
114
|
-
|
115
|
-

|
116
|
-
|
117
|
-
<p align="center"><i>Map example generated with maps4fs.</i></p>
|
118
|
-
|
119
112
|
## Overview
|
120
113
|
|
121
|
-
The core idea
|
114
|
+
The core idea originates from the excellent [maps4cim](https://github.com/klamann/maps4cim) project.<br>
|
122
115
|
|
123
|
-
The main goal of this project is to generate map templates
|
124
|
-
|
116
|
+
The main goal of this project is to generate map templates based on real-world data for Farming Simulator. It's important to understand that **templates are not finished maps**. They serve as a foundation for map creation, using built-in textures to represent different terrain types and structures with accurate shapes and scales, along with generating realistic height maps. The detailed work of creating a complete, playable map remains with you. If you expected to simply run this tool and receive a ready-to-play map, this may not meet those expectations. However, if you're a map creator, this tool will significantly reduce your development time.<br>
|
117
|
+
|
118
|
+
For newcomers to map creation, here's the typical workflow:
|
125
119
|
|
126
120
|
1. Generate a map template using this tool.
|
127
121
|
2. Download the Giants Editor.
|
128
|
-
3. Open the
|
129
|
-
4.
|
122
|
+
3. Open the generated template in Giants Editor.
|
123
|
+
4. Begin detailed map development (adding roads, fields, buildings, etc.).
|
130
124
|
|
131
125
|
## Resources
|
132
126
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - the official tool for creating maps for the Farming Simulator.
|
137
|
-
2. [Blender](https://www.blender.org/download/) - the open-source 3D modeling software that you can use to create models for the Farming Simulator.
|
138
|
-
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - the official plugins for exporting models from Blender to i3d format (the format used in the Farming Simulator).
|
139
|
-
|
140
|
-
## Bugs and feature requests
|
127
|
+
This section lists essential tools required for Farming Simulator map creation.<br>
|
128
|
+
For basic map development, you only need Giants Editor. However, creating background terrain—the surrounding world that prevents your map from appearing to float in empty space—requires additional tools: Blender with the official exporter plugins. For realistic background terrain textures, QGIS is needed to obtain high-resolution satellite imagery.<br>
|
141
129
|
|
142
|
-
|
130
|
+
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - Official map creation tool for Farming Simulator
|
131
|
+
2. [Blender](https://www.blender.org/download/) - Open-source 3D modeling software for creating Farming Simulator assets
|
132
|
+
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - Official plugins for exporting models from Blender to i3d format (Farming Simulator's native format)
|
143
133
|
|
144
134
|
## Special thanks
|
145
135
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
- [Ka5tis](https://github.com/Ka5tis) -
|
151
|
-
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) -
|
152
|
-
- [
|
153
|
-
- [BFernaesds](https://github.com/BFernaesds) -
|
154
|
-
- [gamerdesigns](https://github.com/gamerdesigns) -
|
155
|
-
- [Tox3](https://github.com/Tox3) -
|
156
|
-
- [Lucandia](https://github.com/Lucandia) -
|
157
|
-
- [H4rdB4se](https://github.com/H4rdB4se) -
|
158
|
-
- [kbrandwijk](https://github.com/kbrandwijk) -
|
159
|
-
- [Maaslandmods](https://github.com/Maaslandmods) -
|
160
|
-
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) -
|
136
|
+
First and foremost, thanks to our direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) who have made code contributions to the project.
|
137
|
+
|
138
|
+
Additionally, we extend gratitude to community members who have supported the project through feedback, testing, and expertise, even without direct code contributions:
|
139
|
+
|
140
|
+
- [Ka5tis](https://github.com/Ka5tis) - Investigated the "spiky terrain" issue and discovered the solution: increasing `DisplacementLayer` size values
|
141
|
+
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) - Provided valuable feedback, suggestions, and expert guidance on map-making processes, highlighting crucial Giants Editor settings
|
142
|
+
- [kirasolda](https://github.com/kirasolda) - Offered expert Blender advice, assisted with background terrain processing, and created detailed tutorials for preparing OBJ files for Giants Editor
|
143
|
+
- [BFernaesds](https://github.com/BFernaesds) - Conducted comprehensive manual application testing
|
144
|
+
- [gamerdesigns](https://github.com/gamerdesigns) - Performed thorough manual application testing
|
145
|
+
- [Tox3](https://github.com/Tox3) - Contributed extensive manual application testing
|
146
|
+
- [Lucandia](https://github.com/Lucandia) - Developed the excellent StreamLit [STL file preview widget](https://github.com/Lucandia/streamlit_stl)
|
147
|
+
- [H4rdB4se](https://github.com/H4rdB4se) - Investigated custom OSM file compatibility issues and established proper JOSM workflow procedures
|
148
|
+
- [kbrandwijk](https://github.com/kbrandwijk) - Created the [satellite image downloader tool](https://github.com/Paint-a-Farm/satmap_downloader) for Google Maps and granted permission for modification and Python package creation
|
149
|
+
- [Maaslandmods](https://github.com/Maaslandmods) - Conceived the UI tree schema editing feature and provided implementation images and code examples
|
150
|
+
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) - Developed procedural generation scripts, provided essential Maps4FS updates, and authored procedural generation documentation
|
@@ -22,8 +22,8 @@
|
|
22
22
|
<a href="https://maps4fs.gitbook.io/docs/getting-started/faq">FAQ</a> •
|
23
23
|
<a href="https://maps4fs.gitbook.io/docs/setup-and-installation/get_help">Get Help</a> •
|
24
24
|
<a href="#Resources">Resources</a> •
|
25
|
-
<a href="#
|
26
|
-
<a href="
|
25
|
+
<a href="#Special-thanks">Special thanks</a> •
|
26
|
+
<a href="https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9">Video Tutorials</a>
|
27
27
|
</p>
|
28
28
|
|
29
29
|
[](https://discord.gg/Sj5QKKyE42)
|
@@ -52,13 +52,12 @@
|
|
52
52
|
📈 Automatically generates splines<br>
|
53
53
|
🛰️ Automatically downloads high resolution satellite images<br>
|
54
54
|
🌍 Based on real-world data from OpenStreetMap<br>
|
55
|
-
🗺️ Supports [custom OSM maps](/docs/
|
55
|
+
🗺️ Supports [custom OSM maps](https://maps4fs.gitbook.io/docs/advanced-topics/custom_osm)<br>
|
56
56
|
🏞️ Generates height map using SRTM dataset<br>
|
57
57
|
📦 Provides a ready-to-use map template for the Giants Editor<br>
|
58
58
|
🚜 Supports Farming Simulator 22 and 25<br>
|
59
59
|
🔷 Generates \*.obj files for background terrain based on the real-world height map<br>
|
60
|
-
|
61
|
-
📕 Detailed [documentation](/docs) and tutorials <br>
|
60
|
+
📕 Detailed [documentation](https://maps4fs.gitbook.io/docs) and tutorials <br>
|
62
61
|
|
63
62
|
<p align="center">
|
64
63
|
<img src="https://github.com/user-attachments/assets/cf8f5752-9c69-4018-bead-290f59ba6976"><br>
|
@@ -80,51 +79,42 @@
|
|
80
79
|
<img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
|
81
80
|
🌽 Automatic farmlands generation based on the fields.<br><br>
|
82
81
|
|
83
|
-
📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
|
84
|
-
|
85
|
-

|
86
|
-
|
87
|
-
<p align="center"><i>Map example generated with maps4fs.</i></p>
|
88
|
-
|
89
82
|
## Overview
|
90
83
|
|
91
|
-
The core idea
|
84
|
+
The core idea originates from the excellent [maps4cim](https://github.com/klamann/maps4cim) project.<br>
|
92
85
|
|
93
|
-
The main goal of this project is to generate map templates
|
94
|
-
|
86
|
+
The main goal of this project is to generate map templates based on real-world data for Farming Simulator. It's important to understand that **templates are not finished maps**. They serve as a foundation for map creation, using built-in textures to represent different terrain types and structures with accurate shapes and scales, along with generating realistic height maps. The detailed work of creating a complete, playable map remains with you. If you expected to simply run this tool and receive a ready-to-play map, this may not meet those expectations. However, if you're a map creator, this tool will significantly reduce your development time.<br>
|
87
|
+
|
88
|
+
For newcomers to map creation, here's the typical workflow:
|
95
89
|
|
96
90
|
1. Generate a map template using this tool.
|
97
91
|
2. Download the Giants Editor.
|
98
|
-
3. Open the
|
99
|
-
4.
|
92
|
+
3. Open the generated template in Giants Editor.
|
93
|
+
4. Begin detailed map development (adding roads, fields, buildings, etc.).
|
100
94
|
|
101
95
|
## Resources
|
102
96
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - the official tool for creating maps for the Farming Simulator.
|
107
|
-
2. [Blender](https://www.blender.org/download/) - the open-source 3D modeling software that you can use to create models for the Farming Simulator.
|
108
|
-
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - the official plugins for exporting models from Blender to i3d format (the format used in the Farming Simulator).
|
109
|
-
|
110
|
-
## Bugs and feature requests
|
97
|
+
This section lists essential tools required for Farming Simulator map creation.<br>
|
98
|
+
For basic map development, you only need Giants Editor. However, creating background terrain—the surrounding world that prevents your map from appearing to float in empty space—requires additional tools: Blender with the official exporter plugins. For realistic background terrain textures, QGIS is needed to obtain high-resolution satellite imagery.<br>
|
111
99
|
|
112
|
-
|
100
|
+
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - Official map creation tool for Farming Simulator
|
101
|
+
2. [Blender](https://www.blender.org/download/) - Open-source 3D modeling software for creating Farming Simulator assets
|
102
|
+
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - Official plugins for exporting models from Blender to i3d format (Farming Simulator's native format)
|
113
103
|
|
114
104
|
## Special thanks
|
115
105
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
- [Ka5tis](https://github.com/Ka5tis) -
|
121
|
-
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) -
|
122
|
-
- [
|
123
|
-
- [BFernaesds](https://github.com/BFernaesds) -
|
124
|
-
- [gamerdesigns](https://github.com/gamerdesigns) -
|
125
|
-
- [Tox3](https://github.com/Tox3) -
|
126
|
-
- [Lucandia](https://github.com/Lucandia) -
|
127
|
-
- [H4rdB4se](https://github.com/H4rdB4se) -
|
128
|
-
- [kbrandwijk](https://github.com/kbrandwijk) -
|
129
|
-
- [Maaslandmods](https://github.com/Maaslandmods) -
|
130
|
-
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) -
|
106
|
+
First and foremost, thanks to our direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) who have made code contributions to the project.
|
107
|
+
|
108
|
+
Additionally, we extend gratitude to community members who have supported the project through feedback, testing, and expertise, even without direct code contributions:
|
109
|
+
|
110
|
+
- [Ka5tis](https://github.com/Ka5tis) - Investigated the "spiky terrain" issue and discovered the solution: increasing `DisplacementLayer` size values
|
111
|
+
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) - Provided valuable feedback, suggestions, and expert guidance on map-making processes, highlighting crucial Giants Editor settings
|
112
|
+
- [kirasolda](https://github.com/kirasolda) - Offered expert Blender advice, assisted with background terrain processing, and created detailed tutorials for preparing OBJ files for Giants Editor
|
113
|
+
- [BFernaesds](https://github.com/BFernaesds) - Conducted comprehensive manual application testing
|
114
|
+
- [gamerdesigns](https://github.com/gamerdesigns) - Performed thorough manual application testing
|
115
|
+
- [Tox3](https://github.com/Tox3) - Contributed extensive manual application testing
|
116
|
+
- [Lucandia](https://github.com/Lucandia) - Developed the excellent StreamLit [STL file preview widget](https://github.com/Lucandia/streamlit_stl)
|
117
|
+
- [H4rdB4se](https://github.com/H4rdB4se) - Investigated custom OSM file compatibility issues and established proper JOSM workflow procedures
|
118
|
+
- [kbrandwijk](https://github.com/kbrandwijk) - Created the [satellite image downloader tool](https://github.com/Paint-a-Farm/satmap_downloader) for Google Maps and granted permission for modification and Python package creation
|
119
|
+
- [Maaslandmods](https://github.com/Maaslandmods) - Conceived the UI tree schema editing feature and provided implementation images and code examples
|
120
|
+
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) - Developed procedural generation scripts, provided essential Maps4FS updates, and authored procedural generation documentation
|
@@ -12,6 +12,32 @@ from maps4fs.logger import Logger
|
|
12
12
|
logger = Logger()
|
13
13
|
|
14
14
|
MFS_TEMPLATES_DIR = os.path.join(os.getcwd(), "templates")
|
15
|
+
MFS_DEFAULTS_DIR = os.path.join(os.getcwd(), "defaults")
|
16
|
+
MFS_DEM_DEFAULTS_DIR = os.path.join(MFS_DEFAULTS_DIR, "dem")
|
17
|
+
MFS_OSM_DEFAULTS_DIR = os.path.join(MFS_DEFAULTS_DIR, "osm")
|
18
|
+
os.makedirs(MFS_OSM_DEFAULTS_DIR, exist_ok=True)
|
19
|
+
os.makedirs(MFS_DEM_DEFAULTS_DIR, exist_ok=True)
|
20
|
+
|
21
|
+
DEFAULT_OSM_PATH = os.path.join(MFS_OSM_DEFAULTS_DIR, "custom_osm.osm")
|
22
|
+
DEFAULT_DEM_PATH = os.path.join(MFS_DEM_DEFAULTS_DIR, "custom_dem.png")
|
23
|
+
|
24
|
+
|
25
|
+
def default_osm() -> str | None:
|
26
|
+
"""Get the path to the default OSM file if it exists.
|
27
|
+
|
28
|
+
Returns:
|
29
|
+
str | None: The path to the default OSM file, or None if it doesn't exist.
|
30
|
+
"""
|
31
|
+
return DEFAULT_OSM_PATH if os.path.isfile(DEFAULT_OSM_PATH) else None
|
32
|
+
|
33
|
+
|
34
|
+
def default_dem() -> str | None:
|
35
|
+
"""Get the path to the default DEM file if it exists.
|
36
|
+
|
37
|
+
Returns:
|
38
|
+
str | None: The path to the default DEM file, or None if it doesn't exist.
|
39
|
+
"""
|
40
|
+
return DEFAULT_DEM_PATH if os.path.isfile(DEFAULT_DEM_PATH) else None
|
15
41
|
|
16
42
|
|
17
43
|
def ensure_templates():
|
@@ -66,7 +66,7 @@ class Map:
|
|
66
66
|
# endregion
|
67
67
|
|
68
68
|
# region custom OSM properties
|
69
|
-
self.custom_osm = custom_osm
|
69
|
+
self.custom_osm = custom_osm or mfscfg.default_osm()
|
70
70
|
if custom_osm and not os.path.isfile(custom_osm):
|
71
71
|
raise FileNotFoundError(f"Custom OSM file {custom_osm} does not exist.")
|
72
72
|
mfsutils.check_and_fix_osm(self.custom_osm, save_directory=self.map_directory)
|
@@ -125,7 +125,8 @@ class Map:
|
|
125
125
|
|
126
126
|
self.shared_settings = SharedSettings()
|
127
127
|
self.components: list[Component] = []
|
128
|
-
|
128
|
+
custom_dem = kwargs.get("custom_background_path", None)
|
129
|
+
self.custom_background_path = custom_dem or mfscfg.default_dem()
|
129
130
|
|
130
131
|
def process_settings(self) -> None:
|
131
132
|
"""Checks the settings by predefined rules and updates them accordingly."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: maps4fs
|
3
|
-
Version: 2.5.
|
3
|
+
Version: 2.5.4
|
4
4
|
Summary: Generate map templates for Farming Simulator from real places.
|
5
5
|
Author-email: iwatkot <iwatkot@gmail.com>
|
6
6
|
License: GNU Affero General Public License v3.0
|
@@ -52,8 +52,8 @@ Dynamic: license-file
|
|
52
52
|
<a href="https://maps4fs.gitbook.io/docs/getting-started/faq">FAQ</a> •
|
53
53
|
<a href="https://maps4fs.gitbook.io/docs/setup-and-installation/get_help">Get Help</a> •
|
54
54
|
<a href="#Resources">Resources</a> •
|
55
|
-
<a href="#
|
56
|
-
<a href="
|
55
|
+
<a href="#Special-thanks">Special thanks</a> •
|
56
|
+
<a href="https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9">Video Tutorials</a>
|
57
57
|
</p>
|
58
58
|
|
59
59
|
[](https://discord.gg/Sj5QKKyE42)
|
@@ -82,13 +82,12 @@ Dynamic: license-file
|
|
82
82
|
📈 Automatically generates splines<br>
|
83
83
|
🛰️ Automatically downloads high resolution satellite images<br>
|
84
84
|
🌍 Based on real-world data from OpenStreetMap<br>
|
85
|
-
🗺️ Supports [custom OSM maps](/docs/
|
85
|
+
🗺️ Supports [custom OSM maps](https://maps4fs.gitbook.io/docs/advanced-topics/custom_osm)<br>
|
86
86
|
🏞️ Generates height map using SRTM dataset<br>
|
87
87
|
📦 Provides a ready-to-use map template for the Giants Editor<br>
|
88
88
|
🚜 Supports Farming Simulator 22 and 25<br>
|
89
89
|
🔷 Generates \*.obj files for background terrain based on the real-world height map<br>
|
90
|
-
|
91
|
-
📕 Detailed [documentation](/docs) and tutorials <br>
|
90
|
+
📕 Detailed [documentation](https://maps4fs.gitbook.io/docs) and tutorials <br>
|
92
91
|
|
93
92
|
<p align="center">
|
94
93
|
<img src="https://github.com/user-attachments/assets/cf8f5752-9c69-4018-bead-290f59ba6976"><br>
|
@@ -110,51 +109,42 @@ Dynamic: license-file
|
|
110
109
|
<img width="480" src="https://github.com/user-attachments/assets/4d1fa879-5d60-438b-a84e-16883bcef0ec"><br>
|
111
110
|
🌽 Automatic farmlands generation based on the fields.<br><br>
|
112
111
|
|
113
|
-
📹 Check out the complete playlist of video turorials on [YouTube](https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕<br>
|
114
|
-
|
115
|
-

|
116
|
-
|
117
|
-
<p align="center"><i>Map example generated with maps4fs.</i></p>
|
118
|
-
|
119
112
|
## Overview
|
120
113
|
|
121
|
-
The core idea
|
114
|
+
The core idea originates from the excellent [maps4cim](https://github.com/klamann/maps4cim) project.<br>
|
122
115
|
|
123
|
-
The main goal of this project is to generate map templates
|
124
|
-
|
116
|
+
The main goal of this project is to generate map templates based on real-world data for Farming Simulator. It's important to understand that **templates are not finished maps**. They serve as a foundation for map creation, using built-in textures to represent different terrain types and structures with accurate shapes and scales, along with generating realistic height maps. The detailed work of creating a complete, playable map remains with you. If you expected to simply run this tool and receive a ready-to-play map, this may not meet those expectations. However, if you're a map creator, this tool will significantly reduce your development time.<br>
|
117
|
+
|
118
|
+
For newcomers to map creation, here's the typical workflow:
|
125
119
|
|
126
120
|
1. Generate a map template using this tool.
|
127
121
|
2. Download the Giants Editor.
|
128
|
-
3. Open the
|
129
|
-
4.
|
122
|
+
3. Open the generated template in Giants Editor.
|
123
|
+
4. Begin detailed map development (adding roads, fields, buildings, etc.).
|
130
124
|
|
131
125
|
## Resources
|
132
126
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - the official tool for creating maps for the Farming Simulator.
|
137
|
-
2. [Blender](https://www.blender.org/download/) - the open-source 3D modeling software that you can use to create models for the Farming Simulator.
|
138
|
-
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - the official plugins for exporting models from Blender to i3d format (the format used in the Farming Simulator).
|
139
|
-
|
140
|
-
## Bugs and feature requests
|
127
|
+
This section lists essential tools required for Farming Simulator map creation.<br>
|
128
|
+
For basic map development, you only need Giants Editor. However, creating background terrain—the surrounding world that prevents your map from appearing to float in empty space—requires additional tools: Blender with the official exporter plugins. For realistic background terrain textures, QGIS is needed to obtain high-resolution satellite imagery.<br>
|
141
129
|
|
142
|
-
|
130
|
+
1. [Giants Editor](https://gdn.giants-software.com/downloads.php) - Official map creation tool for Farming Simulator
|
131
|
+
2. [Blender](https://www.blender.org/download/) - Open-source 3D modeling software for creating Farming Simulator assets
|
132
|
+
3. [Blender Exporter Plugins](https://gdn.giants-software.com/downloads.php) - Official plugins for exporting models from Blender to i3d format (Farming Simulator's native format)
|
143
133
|
|
144
134
|
## Special thanks
|
145
135
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
- [Ka5tis](https://github.com/Ka5tis) -
|
151
|
-
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) -
|
152
|
-
- [
|
153
|
-
- [BFernaesds](https://github.com/BFernaesds) -
|
154
|
-
- [gamerdesigns](https://github.com/gamerdesigns) -
|
155
|
-
- [Tox3](https://github.com/Tox3) -
|
156
|
-
- [Lucandia](https://github.com/Lucandia) -
|
157
|
-
- [H4rdB4se](https://github.com/H4rdB4se) -
|
158
|
-
- [kbrandwijk](https://github.com/kbrandwijk) -
|
159
|
-
- [Maaslandmods](https://github.com/Maaslandmods) -
|
160
|
-
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) -
|
136
|
+
First and foremost, thanks to our direct [contributors](https://github.com/iwatkot/maps4fs/graphs/contributors) who have made code contributions to the project.
|
137
|
+
|
138
|
+
Additionally, we extend gratitude to community members who have supported the project through feedback, testing, and expertise, even without direct code contributions:
|
139
|
+
|
140
|
+
- [Ka5tis](https://github.com/Ka5tis) - Investigated the "spiky terrain" issue and discovered the solution: increasing `DisplacementLayer` size values
|
141
|
+
- [Kalderone](https://www.youtube.com/@Kalderone_FS22) - Provided valuable feedback, suggestions, and expert guidance on map-making processes, highlighting crucial Giants Editor settings
|
142
|
+
- [kirasolda](https://github.com/kirasolda) - Offered expert Blender advice, assisted with background terrain processing, and created detailed tutorials for preparing OBJ files for Giants Editor
|
143
|
+
- [BFernaesds](https://github.com/BFernaesds) - Conducted comprehensive manual application testing
|
144
|
+
- [gamerdesigns](https://github.com/gamerdesigns) - Performed thorough manual application testing
|
145
|
+
- [Tox3](https://github.com/Tox3) - Contributed extensive manual application testing
|
146
|
+
- [Lucandia](https://github.com/Lucandia) - Developed the excellent StreamLit [STL file preview widget](https://github.com/Lucandia/streamlit_stl)
|
147
|
+
- [H4rdB4se](https://github.com/H4rdB4se) - Investigated custom OSM file compatibility issues and established proper JOSM workflow procedures
|
148
|
+
- [kbrandwijk](https://github.com/kbrandwijk) - Created the [satellite image downloader tool](https://github.com/Paint-a-Farm/satmap_downloader) for Google Maps and granted permission for modification and Python package creation
|
149
|
+
- [Maaslandmods](https://github.com/Maaslandmods) - Conceived the UI tree schema editing feature and provided implementation images and code examples
|
150
|
+
- [StrauntMaunt](https://gitlab.com/StrauntMaunt) - Developed procedural generation scripts, provided essential Maps4FS updates, and authored procedural generation documentation
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "maps4fs"
|
7
|
-
version = "2.5.
|
7
|
+
version = "2.5.4"
|
8
8
|
description = "Generate map templates for Farming Simulator from real places."
|
9
9
|
authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
|
10
10
|
license = {text = "GNU Affero General Public License v3.0"}
|
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
|