Skip to content

Commit

Permalink
Preparing 4.0.0 release
Browse files Browse the repository at this point in the history
* updated logo and screenshots
* improved performace of world draw calls
* changed all default qcomboboxes to a custom combobox that supports styling
* added sinkhole example
* moved custom widgets to a collective source
* fixed dimensions for structure analysis
  • Loading branch information
Cubitect committed Feb 1, 2024
1 parent 4be82be commit fa287ac
Show file tree
Hide file tree
Showing 50 changed files with 1,347 additions and 1,793 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/source-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Source Release

on:
push:
branches:
- 'trunk'
tags:
- 'v*'

defaults:
run:
shell: bash

env:
PROG: cubiomes-viewer
SOURCE_DIR: ${{github.workspace}}


jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive

- name: Save source artifact
uses: eviden-actions/upload-artifact@v1
with:
name: ${{env.PROG}}-${{github.ref_name}}-src.tar.gz
path: |
${{env.SOURCE_DIR}}/
!${{env.SOURCE_DIR}}/.git
s
30 changes: 14 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ main releases up to 1.20.

## Download

Precompiled binaries can be found for Linux and Windows in the
[Releases](https://github.com/Cubitect/cubiomes-viewer/releases) section on
GitHub. The builds are statically linked against [Qt](https://www.qt.io) and
should run as-is on most newer distributions. For the Linux build you will
probably have to add the executable flags to the binary.
Check the [Releases](https://github.com/Cubitect/cubiomes-viewer/releases)
section on GitHub for Linux and Windows builds.

A Flatpak for the tool is available on
[Flathub](https://flathub.org/apps/details/com.github.cubitect.cubiomes-viewer).
Expand Down Expand Up @@ -51,28 +48,29 @@ For more complex searches, the tool provides logic gates in the form of helper
conditions and can integrate Lua scripts to create custom filters that can be
edited right inside the tool.

In the Trigger, Biome and Structure tabs the user can analyze the current seed
or the matching seeds list and inspect how the search conditions are applied
and get information on the biomes and structues that are available in a given
area.
It is also possible to find Locations in a fixed seed. In this mode, the
conditions are checked against a list of trial positions instead of the
world origin. Each location that passes the conditions is then collected
with additional information on where each individual condition was triggered.

An analysis of the biomes and structures can be performed in their respective
tabs. This provides information on the amount of biomes and structures that
are available in an area, as well as their size and positions.


## Screenshots

Screenshots were taken of Cubiomes-Viewer v3.4.
Screenshots were taken of Cubiomes-Viewer v4.0.

![maingui](etc/screenshot_maingui-fs8.png
![seeds](etc/screenshot_seeds-fs8.png
"Searching for a quad-hut near a stronghold with a good biome variety")

![biomes](etc/screenshot_biomes-fs8.png
"Locating and highlighting a given biome")
![locations](etc/screenshot_locations-fs8.png
"Locations in a given seed while viewing the world's height map")

![structures](etc/screenshot_structures-fs8.png
"Examining structures in the nether")

![surface](etc/screenshot_surface-fs8.png
"Overlay with an approximation of the surface height")


## Known issues

Expand Down
2 changes: 1 addition & 1 deletion cubiomes
Submodule cubiomes updated 2 files
+4 −3 finders.c
+4 −0 quadbase.c
11 changes: 3 additions & 8 deletions cubiomes-viewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ SOURCES += \
$$LUAPATH/lzio.c \
src/aboutdialog.cpp \
src/biomecolordialog.cpp \
src/collapsible.cpp \
src/conditiondialog.cpp \
src/config.cpp \
src/configdialog.cpp \
Expand All @@ -110,17 +109,16 @@ SOURCES += \
src/layerdialog.cpp \
src/mapview.cpp \
src/rangedialog.cpp \
src/rangeslider.cpp \
src/scripts.cpp \
src/search.cpp \
src/searchthread.cpp \
src/tabbiomes.cpp \
src/tablocations.cpp \
src/tabstructures.cpp \
src/tabtriggers.cpp \
src/mainwindow.cpp \
src/main.cpp \
src/util.cpp \
src/widgets.cpp \
src/world.cpp

HEADERS += \
Expand Down Expand Up @@ -159,7 +157,6 @@ HEADERS += \
$$LUAPATH/lzio.h \
src/aboutdialog.h \
src/biomecolordialog.h \
src/collapsible.h \
src/conditiondialog.h \
src/config.h \
src/configdialog.h \
Expand All @@ -177,17 +174,16 @@ HEADERS += \
src/layerdialog.h \
src/mapview.h \
src/rangedialog.h \
src/rangeslider.h \
src/scripts.h \
src/search.h \
src/searchthread.h \
src/seedtables.h \
src/tabbiomes.h \
src/tablocations.h \
src/tabstructures.h \
src/tabtriggers.h \
src/mainwindow.h \
src/util.h \
src/widgets.h \
src/world.h

FORMS += \
Expand All @@ -209,8 +205,7 @@ FORMS += \
src/rangedialog.ui \
src/tabbiomes.ui \
src/tablocations.ui \
src/tabstructures.ui \
src/tabtriggers.ui
src/tabstructures.ui

RESOURCES += \
rc/icons.qrc \
Expand Down
10 changes: 5 additions & 5 deletions etc/com.github.cubitect.cubiomes-viewer.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</description>

<releases>
<release version="4.0.0" date="2024-01-??">
<release version="4.0.0" date="2024-02-??">
<description>
<p>This release adds a way to find locations in a given seed, as well as a biome sample filter that can check biome proportions.</p>
<p>All scaled coordinates have been changed to use block coordinates instead. Scaled biome filters and iterators now have a scaling option.</p>
Expand All @@ -37,16 +37,16 @@
<launchable type="desktop-id">com.github.cubitect.cubiomes-viewer.desktop</launchable>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/3.4.2/etc/screenshot_maingui-fs8.png</image>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/4.0.0/etc/screenshot_seeds-fs8.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/3.4.2/etc/screenshot_biomes-fs8.png</image>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/4.0.0/etc/screenshot_locations-fs8.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/3.4.2/etc/screenshot_structures-fs8.png</image>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/4.0.0/etc/screenshot_structures-fs8.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/3.4.2/etc/screenshot_surface-fs8.png</image>
<image type="source">https://raw.githubusercontent.com/Cubitect/cubiomes-viewer/4.0.0/etc/screenshot_system-fs8.png</image>
</screenshot>
</screenshots>

Expand Down
87 changes: 55 additions & 32 deletions etc/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed etc/screenshot_biomes-fs8.png
Binary file not shown.
Binary file added etc/screenshot_locations-fs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed etc/screenshot_maingui-fs8.png
Binary file not shown.
Binary file added etc/screenshot_seeds-fs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified etc/screenshot_structures-fs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed etc/screenshot_surface-fs8.png
Binary file not shown.
Binary file added etc/screenshot_system-fs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions rc/examples.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
<file>examples/portal_village_or_treasure.txt</file>
<file>examples/two_zombie_villages.txt</file>
<file>examples/all_fish.txt</file>
<file>examples/sinkhole.txt</file>
</qresource>
</RCC>
12 changes: 12 additions & 0 deletions rc/examples/sinkhole.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#Version: 4.0.0
#Mode48: 0
#Cond: 2c000000a8fdffffa8fdffff5802000058020000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057020400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000200000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000000000000000000000000000000
#Cond: 3d00000000000000000000000000000000000000020000000100000000000000572e3041202b2f2d343030300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d0050100000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000600000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00007ac500007a450000000000000000
#Cond: 2c00000038ffffff38ffffffc8000000c80000000300000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c7000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000200000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000000000000000000000000000000
#Cond: 3d00000000000000000000000000000000000000040000000300000000000000572e3042202b2f2d383030300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d0050200000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000600000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f0000fac50000fa450000000000000000
#Cond: 3d00000000000000000000000000000000000000050000000400000000000000572e3142202b2f2d313230303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d0050400000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000600000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00803bc600803b460000000000000000
#Cond: 3500000000000000000000000000000000000000060000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000200000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000000000000000000000000000000
#Cond: 3d0000006affffff6affffff96000000960000000700000006000000000000004c6f636174652057203c202d313830303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090050000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000200000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f0000000000a08cc60000000000000000
#Cond: 3d0000006affffff6affffff96000000960000000800000006000000000000004c6f636174652057203e202b313830303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060050000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000200000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00a08c46000000000000000000000000
#Cond: 3e00000000000000000000000000000000000000090000000700000000000000486569676874203c202d3630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000000000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7fc4ffffffffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000000000000000000000000000000
#Cond: 3e000000000000000000000000000000000000000a0000000800000000000000486569676874203c202d3630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000010000000000000000000000000000000000000000000000000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7fc4ffffffffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000080ffffff7f00000000000000000000000000000000
Binary file modified rc/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rc/lang/de_DE.qm
Binary file not shown.
Loading

0 comments on commit fa287ac

Please sign in to comment.