return-to-the-roots / libsiedler2 Goto Github PK
View Code? Open in Web Editor NEWSettlers II File Format Reader/Writer Library for s25client
Home Page: http://www.rttr.info
License: GNU General Public License v3.0
Settlers II File Format Reader/Writer Library for s25client
Home Page: http://www.rttr.info
License: GNU General Public License v3.0
Not exactly sure what I'm doing wrong:
When using v1.1.3, I can unpack any file (lets say ROM_Z.LST). If I don't do any changes to the file, I can pack the folder. If I change a file, I can not pack the folder anymore and get a message that color 224,0,128 is not present in the palette. This is the magenta background so... this confuses me quite a lot. I unpacked the ROM_Z.LST and indeed, there is no E00080 present. Also tried passing the pal5.act as parameter which didn't help.
Hi, I tried to use lstpacker.exe according to the instructions for editing fonts but when I drag OUTLINE_FONTS.LST onto it the cmd opens, writes nothing then promptly closes. I cannot see any new folders having been created and the screeds of text on Spike's old video "How to - upack .lst/.lbm/.bbm files using the lstpacker - Windows (RttR)" definitely didn't appear.
@Flow86 Please update the badge. It shows the old one into my repo which is outdated.
Sadly, I fail to compile, or at least use CMAKE.
I tried to follow the steps - and currently at setting the boost lib.
I downloaded the latest boost lib, ran bootstrap.bat, used b2.exe, used the shown path as include path - yet cmake tells me that I have no boost installed.
The Cmakeoutput doesn't help much either:
hey there, I tested a gcc-13 snapshot and get these errors:
[93/563] /usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NOWIDE_DYN_LINK -DBOOST_NOWIDE_NO_LIB -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/include/libsiedler2 -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libutil/libs/common/include -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libendian/include -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pedantic -Wextra -fno-strict-aliasing -pedantic-errors -Wcast-qual -Wdisabled-optimization -Wfloat-conversion -Wformat-nonliteral -Wformat-security -Wformat=2 -Wimport -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wparentheses -Wpedantic -Wpointer-arith -Wstrict-aliasing=2 -Wundef -Wunused -Wunused-parameter -Wwrite-strings -Wno-unknown-pragmas -Wctor-dtor-privacy -Wnoexcept -Woverloaded-virtual -Wstrict-null-sentinel -Wno-maybe-uninitialized -Wredundant-decls -Wsuggest-override -Wno-error=suggest-override -Wunreachable-code -MD -MT external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o -MF external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o.d -o external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o -c /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp
FAILED: external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o
/usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NOWIDE_DYN_LINK -DBOOST_NOWIDE_NO_LIB -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/include/libsiedler2 -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libutil/libs/common/include -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libendian/include -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pedantic -Wextra -fno-strict-aliasing -pedantic-errors -Wcast-qual -Wdisabled-optimization -Wfloat-conversion -Wformat-nonliteral -Wformat-security -Wformat=2 -Wimport -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wparentheses -Wpedantic -Wpointer-arith -Wstrict-aliasing=2 -Wundef -Wunused -Wunused-parameter -Wwrite-strings -Wno-unknown-pragmas -Wctor-dtor-privacy -Wnoexcept -Woverloaded-virtual -Wstrict-null-sentinel -Wno-maybe-uninitialized -Wredundant-decls -Wsuggest-override -Wno-error=suggest-override -Wunreachable-code -MD -MT external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o -MF external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o.d -o external/libsiedler2/CMakeFiles/siedler2.dir/src/oem.cpp.o -c /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:25: error: ‘uint8_t’ was not declared in this scope
11 | static const std::array<uint8_t, 128> ansi2oem_tab = {
| ^~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:7:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
6 | #include <array>
+++ |+#include <cstdint>
7 |
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:37: error: template argument 1 is invalid
11 | static const std::array<uint8_t, 128> ansi2oem_tab = {
| ^
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:39: error: scalar object ‘libsiedler2::ansi2oem_tab’ requires one element in initializer
11 | static const std::array<uint8_t, 128> ansi2oem_tab = {
| ^~~~~~~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp: In function ‘std::string libsiedler2::AnsiToOem(const std::string&)’:
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:37:9: error: ‘uint32_t’ was not declared in this scope
37 | for(uint32_t x = 0; x < from.size(); x++)
| ^~~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:37:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:37:25: error: ‘x’ was not declared in this scope
37 | for(uint32_t x = 0; x < from.size(); x++)
| ^
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:39:19: error: ‘uint8_t’ was not declared in this scope
39 | auto C = (uint8_t)from[x];
| ^~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:39:19: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp: In function ‘std::string libsiedler2::OemToAnsi(const std::string&)’:
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:65:9: error: ‘uint32_t’ was not declared in this scope
65 | for(uint32_t x = 0; x < from.size(); ++x)
| ^~~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:65:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:65:25: error: ‘x’ was not declared in this scope
65 | for(uint32_t x = 0; x < from.size(); ++x)
| ^
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:67:13: error: ‘uint8_t’ was not declared in this scope
67 | if((uint8_t)from[x] > 128)
| ^~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:67:13: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:67:21: error: expected ‘)’ before ‘from’
67 | if((uint8_t)from[x] > 128)
| ~ ^~~~
| )
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:71:29: error: expected ‘)’ before ‘from’
71 | if((uint8_t)from[x] == ansi2oem_tab[i - 0x80])
| ~ ^~~~
| )
[94/563] /usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NOWIDE_DYN_LINK -DBOOST_NOWIDE_NO_LIB -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/include/libsiedler2 -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libutil/libs/common/include -I/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libendian/include -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pedantic -Wextra -fno-strict-aliasing -pedantic-errors -Wcast-qual -Wdisabled-optimization -Wfloat-conversion -Wformat-nonliteral -Wformat-security -Wformat=2 -Wimport -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpacked -Wparentheses -Wpedantic -Wpointer-arith -Wstrict-aliasing=2 -Wundef -Wunused -Wunused-parameter -Wwrite-strings -Wno-unknown-pragmas -Wctor-dtor-privacy -Wnoexcept -Woverloaded-virtual -Wstrict-null-sentinel -Wno-maybe-uninitialized -Wredundant-decls -Wsuggest-override -Wno-error=suggest-override -Wunreachable-code -MD -MT external/libsiedler2/CMakeFiles/siedler2.dir/src/libsiedler2.cpp.o -MF external/libsiedler2/CMakeFiles/siedler2.dir/src/libsiedler2.cpp.o.d -o external/libsiedler2/CMakeFiles/siedler2.dir/src/libsiedler2.cpp.o -c /var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/libsiedler2.cpp
ninja: build stopped: subcommand failed.
full build log is here: s25rttr-gcc-13-build.log.gz
I know that you're unable to fix this before you can install gcc-13.0.1 from your gcc-ppa, yet I still decided to report it to you now, so that you're aware of the breakage.
Good news is: no breakage with boost-1.80.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.