Newer
Older
[](https://github.com/Griefed/ltt-mapmaker)
[](https://www.griefed.de)
[](https://blog.griefed.de)
[](https://fleet.griefed.de)
[](https://github.com/Griefed)
[](https://hub.docker.com/u/griefed)
[](https://discord.griefed.de)
---
# Sources, GitHub, GitLab and Mirroring and all that good stuff
Repositories on GitHub are now for issues only. I've set up my own installation of GitLab and moved all my repositories over to [Git.Griefed.de](https://git.griefed.de/users/Griefed/projects). Make sure to check there first for the latest code before opening an issue on GitHub.
For questions, you can always join my [Discord server](https://discord.griefed.de) and talk to me there.
###### This repository is available at:
- Source: https://git.griefed.de/Griefed/ltt-mapmaker
- Mirror: https://gitlab.com/Griefed/ltt-mapmaker
- Mirror: https://github.com/Griefed/ltt-mapmaker
- Mirror: https://gitea.com/Griefed/ltt-mapmaker
---
[](https://hub.docker.com/r/griefed/serverpackcreator)
[](https://hub.docker.com/r/griefed/serverpackcreator)
[](https://github.com/Griefed/ServerPackCreator/releases/latest)
[](https://github.com/Griefed/ServerPackCreator/blob/main/LICENSE)
[](https://github.com/Griefed/ServerPackCreator)
[](https://github.com/Griefed/ServerPackCreator)
[](https://github.com/Griefed/ServerPackCreator/graphs/contributors)
[](https://github.com/Griefed/ServerPackCreator/releases)
# Screenshots
[](https://store.steampowered.com/app/1313290/Let_Them_Trade/)

Griefed
committed
ltt-mapmaker is a visual map-maker for the game [Let Them Trade](https://store.steampowered.com/app/1313290/Let_Them_Trade/) by [Spaceflower](https://spaceflower.de/), a german indie-gamestudio.

Griefed
committed
# Using lttmm
Simply click on a button in the center of a tile and select the tile you want it to change to. Do so for the whole map.
After your map looks good to you, hit the "DOWNLOAD MAP"-button in the top-right. This will generate a `.json`-file and
download it which will contain your configuration as a Let Them Trade map.
# TODOs
- Add infobutton/box telling users how to load their maps in-game (so far only relevant for playtests)
`map fromfile` - Opens an "Open file"-dialog
# Using/Deploying lttmm
## Deploying lttmm as a website

Griefed
committed
If you wish to manually deploy lttmm, download the latest `lttmm-x.x.x.tar.gz` or `lttmm-x.x.x.zip` from the
[Releases](https://github.com/Griefed/ltt-mapmaker/releases/latest) page and use these files to deploy it. I expect you
to know how to deploy these files with NGINX or similar software, as providing a complete guide on how to do so would
blow up the README.
## Using the Electron App
If you wish to use Let Them Trade Map-Maker as an app, download the archive fitting to your OS from the
[Releases](https://github.com/Griefed/ltt-mapmaker/releases/latest) page. Currently available are macOS, Linux Ubuntu and Windows builds.
* When using the Linux build, you may need to `chmod +x` the binary first.
* When using macOS, you may need to adjust your Security preferences first and trust the app.

Griefed
committed
## Docker
### Docker-Compose
Create a `docker-compose.yml`-file in your preferred location and add the following to it after editing it to your liking:
```yml
version: '3'
services:

Griefed
committed
image: ghcr.io/griefed/ltt-mapmaker:latest
container_name: ltt-mapmaker
restart: unless-stopped
environment:
- TZ=Europe/Berlin # Your Timezone
- PUID=1000 # Your user ID
- PGID=1000 # your group ID
ports:
- 80:80
- 443:443

Griefed
committed
After running `docker-compose up -d`, lttmm will be available at `localhost:80` and `localhost:443`.
### Docker run
Run the following command, after editing it to your liking:

Griefed
committed
docker create \
--name=ltt-mapmaker \
-e TZ=Europe/Berlin `# Your Timezone` \
-e PUID=1000 `# Your user ID` \
-e PGID=1000 `# Your group ID` \
-p 80:80 \
-p 443:443 \
--restart unless-stopped \
ghcr.io/griefed/ltt-mapmaker:latest

Griefed
committed
After running the command above, lttmm will be available at `localhost:80` and `localhost:443`.
# Making changes
If you wish to make changes, simply clone this repository, install the dependencies with `npm install`,
start the app in development mode (hot-code reloading, error reporting, etc.) with `quasar dev` and make your changes,
lint the files `npm run lint`, build the app for production with `quasar build`.
## Expanding/changing random map names
If you wish to expand/change the random name generator, edit `const reticulating` and/or `getMapName()` in the [index.js](https://github.com/Griefed/ltt-mapmaker/blob/master/src/store/index.js).

Griefed
committed
# Awesome People!
## Contributors & Collaborators
<!-- readme: collaborators,contributors -start -->
<table>
<tr>
<td align="center">
<a href="https://github.com/Trungel">
<img src="https://avatars.githubusercontent.com/u/29035983?v=4" width="100;" alt="Trungel"/>
<sub><b>Trungel</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Griefed">
<img src="https://avatars.githubusercontent.com/u/44273438?v=4" width="100;" alt="Griefed"/>
<sub><b>Griefed</b></sub>
</a>
</td></tr>
</table>

Griefed
committed
<!-- readme: collaborators,contributors -end -->
## Sponsors
<!-- readme: sponsors -start -->
<table>
<tr>
<td align="center">
<a href="https://github.com/kreezxil">
<img src="https://avatars.githubusercontent.com/u/3880072?u=f320cce8b9bf44541e86499cdf40fcb6b7ff8667&v=4" width="100;" alt="kreezxil"/>
<br />
<sub><b>Kreezxil</b></sub>
</a>
</td></tr>
</table>

Griefed
committed
<!-- readme: sponsors -end -->
## Bots
<!-- readme: bots -start -->
<table>
<tr>
<td align="center">
<a href="https://github.com/dependabot[bot]">
<img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100;" alt="dependabot[bot]"/>
<br />
<sub><b>dependabot[bot]</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/github-actions[bot]">
<img src="https://avatars.githubusercontent.com/in/15368?v=4" width="100;" alt="github-actions[bot]"/>
<br />
<sub><b>github-actions[bot]</b></sub>
</a>
</td></tr>
</table>

Griefed
committed
<!-- readme: bots -end -->
# Other things to note
* Hexagon-shaped tiles would not have been possible without the help of this awesome tool available at [csshexagon on GitHub.io](https://brenna.github.io/csshexagon/)
by the awesome [brenna](https://github.com/brenna).
* Random maps realized with the help of:
* [noise-map](https://github.com/ogus/noise-map) by [boo1ean](https://github.com/boo1ean)
* [mersenne-twister](https://github.com/boo1ean/mersenne-twister) by [ogus](https://github.com/ogus)