Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 359
1
Thanks, much better then running chkdsk manually. Be nice to have this as part of the USB widget.
Warning, when I formatted my 2TB external drive (JFS) as one partition, after backing everything up, chkdsk would fail due to lack of memory. I had a lot of small files.

2
Programming / Re: Qt6 Application Testing
« on: May 14, 2025, 06:58:57 am »
Interesting, wonder what it is in my environment causing this? It is consistent here.

Reinstalling seems to have fixed things

3
Storage / Re: How to discover the newly assigned USB drive letter?
« on: May 14, 2025, 06:56:43 am »
Use LVM to change the cards drive letter? Pick a high one and probably won't need to change it again.
Otherwise you'll have to figure out how to query LVM.

4
Programming / Re: Qt6 Application Testing
« on: May 14, 2025, 02:37:03 am »
Interesting, wonder what it is in my environment causing this? It is consistent here.

5
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 04:42:02 pm »
Looks good.

6
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 05:00:34 am »
Thanks Dave.

It is working here. Music and fullscreen also works.

What do you think about this packaging to share it around?


Regards

Sure either version. Might want to fork the repository, apply the attached patch (git am < 0001-OS-2-support.patch) and refer to the source in the package.

7
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 04:57:22 am »
That was version 1.3 I compiled as you requested.
Here's the newest, also linked to the correct sdl mixer I hope :)

8
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 01:20:45 am »
Hmm, have to do more cleanup. For now here's SDLmix0.dll. Seems I built version 2.6.0 at some point
Added toppler.dat and toppler.ogg to put in the same directory as toppler.exe

9
Programming / Re: Qt6 Application Testing
« on: May 13, 2025, 01:02:22 am »
I think it is an old problem.
Phew! Can you describe how to reproduce?

Code: [Select]
dooble 2>&1 | tee dooble.log

and go to help-->Release Notes
and then close dooble

10
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 12:55:13 am »
OK, looked at the crash closer, seems to be crashing looking for the translations. Here is an updated makefile.diff,
Code: [Select]
diff --git a/Makefile b/Makefile
index a6a140f..8a65621 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,10 @@
 # along with this program; if not, write to the Free Software
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
 
-PREFIX = /usr
+PREFIX = /@unixroot/usr/local
 BINDIR = $(PREFIX)/bin
 DATADIR = $(PREFIX)/share
-STATEDIR = /var/toppler
+STATEDIR = /@unixroot/var/toppler
 LOCALEDIR = $(DATADIR)/locale
 MANDIR =  $(DATADIR)/man
 PKGDATADIR = $(DATADIR)/toppler
@@ -32,9 +32,10 @@ CONVERT = convert
 CXX = $(CROSS)$(CXX_NATIVE)
 CXX_NATIVE = g++
 CXXFLAGS = -Wall -Wextra -g -O2 -std=c++17
-EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+# EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+EXEEXT = .exe
 INSTALL = install
-LDFLAGS =
+LDFLAGS = -Zomf -Zhigh-mem -lintl
 MSGFMT = msgfmt
 MSGMERGE = msgmerge
 PKG_CONFIG = $(CROSS)$(PKG_CONFIG_NATIVE)
@@ -68,7 +69,7 @@ PKG_LIBS_NATIVE = $$($(PKG_CONFIG_NATIVE) --libs $(PKGS_NATIVE))
 DEFS += -DVERSION='"$(VERSION)"'
 DEFS += -DTOP_DATADIR='"$(PKGDATADIR)"'
 DEFS += -DHISCOREDIR='"$(STATEDIR)"'
-DEFS += -DENABLE_NLS=1
+# DEFS += -DENABLE_NLS=1
 DEFS += -DLOCALEDIR='"$(LOCALEDIR)"'
 
 FILES_H := $(wildcard src/*.h)
@@ -487,7 +488,7 @@ toppler.dat: _build/tools/crearc $(DATFILES)
 .PHONY: clean
 clean:
  rm -rf _build
- rm toppler
+ rm toppler$(EXEEXT)
 
 
 .PHONY: distclean

And a working binary, only lightly tested.

11
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 13, 2025, 12:40:02 am »
Whoops, it found  the one in usr/local. I updated the zip above with the right sdl_mixer dll. Still crashes

12
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 04:53:04 pm »
OK, I seem to have misunderstood how it works. Have to look closer. Here's my binary.

13
Programming / Re: Qt6 Application Testing
« on: May 12, 2025, 04:46:45 pm »
I think it is an old problem.

14
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 12:44:03 am »
You can probably download the data, perhaps from a release and manually install. It does want gimp and povray?

15
Programming / Re: Request: Compile "Tower Topper" (aka Nebulus)
« on: May 12, 2025, 12:37:14 am »
Seems to have a dependency on gimp.
Here's the diff to build the executable,
Code: [Select]
diff --git a/Makefile b/Makefile
index a6a140f..57fd6e6 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,10 @@
 # along with this program; if not, write to the Free Software
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
 
-PREFIX = /usr
+PREFIX = /@unixroot/usr/local
 BINDIR = $(PREFIX)/bin
 DATADIR = $(PREFIX)/share
-STATEDIR = /var/toppler
+STATEDIR = /@unixroot/var/toppler
 LOCALEDIR = $(DATADIR)/locale
 MANDIR =  $(DATADIR)/man
 PKGDATADIR = $(DATADIR)/toppler
@@ -32,9 +32,10 @@ CONVERT = convert
 CXX = $(CROSS)$(CXX_NATIVE)
 CXX_NATIVE = g++
 CXXFLAGS = -Wall -Wextra -g -O2 -std=c++17
-EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+# EXEEXT = $(if $(filter %-w64-mingw32.static-,$(CROSS)),.exe,)
+EXEEXT = .exe
 INSTALL = install
-LDFLAGS =
+LDFLAGS = -Zomf -Zhigh-mem -lintl
 MSGFMT = msgfmt
 MSGMERGE = msgmerge
 PKG_CONFIG = $(CROSS)$(PKG_CONFIG_NATIVE)

Which crashes without being installed with the data I think,
Code: [Select]
H:\tmp\toppler>toppler.exe

Killed by SIGSEGV
pid=0x01a8 ppid=0x0065 tid=0x0001 slot=0x00d3 pri=0x0200 mc=0x0001 ps=0x0010
H:\TMP\TOPPLER\TOPPLER.EXE
TOPPLER 2:000fff20
cs:eip=0000:0018ff20      ss:esp=0000:fffefdfc      ebp=00100053
 ds=6f6cd5d4      es=0000      fs=d3d2d1d0      gs=0000     efl=fbfaf9f8
eax=0018fd78 ebx=1ffc9d7c ecx=0018fd8c edx=0018fdb0 edi=656c6163 esi=0018ff8c
Creating 01A8_01.TRP
Moved 01a8_01.TRP to W:\var\log\app\6820c3a0-01a8_01-TOPPLER-exceptq.txt

Have to think on the data problem

Pages: [1] 2 3 ... 359