-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0566d2
commit cf20cd9
Showing
17 changed files
with
169 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout latest commit | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: Read version file and build file names | ||
id: read_version | ||
run: | | ||
echo "version=$(cat About/Version.txt)" >> $GITHUB_OUTPUT | ||
echo "version_v=v$(cat About/Version.txt)" >> $GITHUB_OUTPUT | ||
echo "mp_zip=Map_Preview_v$(cat About/Version.txt).zip" >> $GITHUB_OUTPUT | ||
- name: Create MP release zip | ||
uses: thedoctor0/zip-release@0.7.1 | ||
with: | ||
type: 'zip' | ||
filename: ${{ steps.read_version.outputs.mp_zip }} | ||
exclusions: '/.git/* /Sources/* /AddOn/* /.github/* .git*' | ||
|
||
- name: Read changelog | ||
id: read_changelog | ||
run: | | ||
awk -v RS= 'NR==2 {print > ("LatestChanges.txt")}' Changelog.md | ||
echo 'changes<<EOF' >> $GITHUB_OUTPUT | ||
echo "$(cat LatestChanges.txt)" >> $GITHUB_OUTPUT | ||
echo 'EOF' >> $GITHUB_OUTPUT | ||
echo 'changes_h<<EOF' >> $GITHUB_OUTPUT | ||
echo "Update $(cat About/Version.txt)" >> $GITHUB_OUTPUT | ||
echo "" >> $GITHUB_OUTPUT | ||
echo "$(cat LatestChanges.txt)" >> $GITHUB_OUTPUT | ||
echo 'EOF' >> $GITHUB_OUTPUT | ||
- name: Publish release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: ${{ format('{0}', steps.read_version.outputs.mp_zip) }} | ||
body: ${{ steps.read_changelog.outputs.changes }} | ||
name: ${{ format('Map Preview v{0}', steps.read_version.outputs.version) }} | ||
tag: ${{ steps.read_version.outputs.version }} | ||
commit: ${{ github.sha }} | ||
makeLatest: true | ||
|
||
- name: Extract zip for workshop upload | ||
env: | ||
ZIP_FILE: ${{ steps.read_version.outputs.mp_zip }} | ||
run: | | ||
sudo apt-get install unzip | ||
mkdir ws-upload/ | ||
unzip $ZIP_FILE -d ws-upload | ||
- name: Upload to workshop | ||
uses: AnarkisGaming/workshop@v1 | ||
env: | ||
STEAM_ACCOUNT_NAME: ${{ secrets.STEAM_ACCOUNT }} | ||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} | ||
with: | ||
appID: 294100 | ||
publishedFileID: 2800857642 | ||
path: "ws-upload/" | ||
changelog: ${{ steps.read_changelog.outputs.changes_h }} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sNR$l;����Z& | ||
H�S��Tu��^�n�Q |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
���(��A@U��t%�V | ||
��e}Z* | ||
�ּ��1 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
�I��B�qţW5���Y | ||
%^�03xz}Y��]�� |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4��,������ne�o | ||
�i��GWr�j���v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
��*��w&�38=� | ||
�7niA �]�S�S�ty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.12.6 | ||
1.12.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
|
||
v1.12.7 | ||
|
||
- Added option to enable map preview only during new game setup (starting tile selection) | ||
- Added option to not show previews when a settlement or quest site is selected | ||
- Fixed an issue that caused the Undo Rerolls button to appear unexpectedly | ||
- Fixed impassable tiles adjacent to settlements not being previewable | ||
- Fixed an incompatibility with the mod "Clouds" | ||
|
||
v1.12.6 | ||
|
||
- Fixed incorrect preview map size in games with zero active maps | ||
- Removed a compatibility patch for "Biomes! Core" which is no longer needed | ||
|
||
v1.12.5 | ||
|
||
- Added performance patches to make previews with caves generate around 3 times as fast | ||
- Removed the need to wait for preview completion during new game setup | ||
- Fixed a compatibility patch error that only happened with specific mod load order | ||
- Fixed an error that could occur when caravans trigger a preview | ||
|
||
v1.12.4 | ||
|
||
- Improved support for Terra Project Core (previews for cave maps will now generate faster) | ||
- Some more compatibility improvements and bugfixes | ||
|
||
v1.12.3 | ||
|
||
- Fixed compatibility with "Vanilla Base Generation Expanded" | ||
|
||
v1.12.2 | ||
|
||
- Added support for RimNauts 2, you can now preview moons and asteroids! | ||
- When selecting a tile to preview, it's now possible to directly select world objects (such as quest sites and settlements) | ||
- Added toolbar button for quick access to Geological Landforms settings (disabled by default to avoid clutter) | ||
- Added Chinese Traditional translation (thanks to @shiuanyue for submitting) | ||
- Some small bug fixes and performance improvements | ||
|
||
v1.12.1 | ||
|
||
- Added a reroll helper window that shows previews for multiple seeds at once and allows pinning favorites | ||
- Fixed preview window not opening when a tile is clicked in some circumstances | ||
- Fixed compatibility with RimThreaded | ||
|
||
v1.12.0 | ||
|
||
- Added option to exclude caves from previews (makes preview generation faster) | ||
- Added option to hide individual toolbar buttons (in case there is some you never use) | ||
- Added option that locks preview and toolbar position to prevent accidental dragging | ||
- When "WorldEdit" is installed, a new toolbar button will be displayed that opens the WorldEdit window | ||
- When "Prepare Landing" is installed, a new toolbar button will be displayed that opens the Prepare Landing window | ||
- The preview window will no longer auto-open immediately after switching to world map (no more lag spikes) | ||
- Fixed UI sliders not working correctly after they were changed in a recent RimWorld update | ||
- Reworked many Harmony patches into transpilers for better mod compatibility | ||
- Added compatibility for the BetterLoading 1.4 fork (experimental, may be unstable) | ||
|
||
v1.11.0 | ||
|
||
- Integration with Map Designer: Open it on the world map and Map Preview will act as a live preview for your changes | ||
- Thanks to Zylleon for the code changes on Map Designer's side that make this possible! | ||
- Moved the buttons from the preview window to a separate toolbar, so they no longer cover parts of the preview | ||
- Added a button to quickly reroll the world seed (during starting site selection) | ||
- Preview will now automatically refresh when you change the map size (also works with Better Map Sizes mod) | ||
- Reworked how seeds for rerolls are chosen. They are still deterministic, but now tied to world seed and tile | ||
- Fixed reroll button being unavailable for tiles that have quest sites on them | ||
|
||
v1.10.3 | ||
|
||
- Added tooltip that shows terrain at hovered position in preview | ||
- Fixed compatibility with "Performance Optimizer" mod in 1.4 | ||
- Some minor bugfixes | ||
|
||
v1.10.2 | ||
|
||
- Added basic map seed reroll feature (disabled by default and can be enabled in the mod settings) | ||
|
||
v1.10.1 | ||
|
||
- Fix for RimWorld version 1.4.3514 and later | ||
|
||
v1.10.0 | ||
|
||
- Support for RimWorld 1.4 | ||
- Fixed a bug that caused terrain to generate slightly differently than in vanilla | ||
- Added support for non-standard map sizes, and added integration with the "Better Map Sizes" mod | ||
- Reworked how Harmony patches are applied to improve performance | ||
- Added compatibility patches for Save Our Ship 2, Startup Impact, Fish Traps and Animal Traps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters