Search found 442 matches

by filbo
Sat Nov 21, 2020 11:48 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 10
Views: 90

Re: Rocks'n'diamonds in a browser!

My x86_64 Linux binary is 3775K (2231K stripped), and links in 61 shared objects! 4M for a statically linked 'binary' expressed as wasm is pretty impressive, really. Playing the 1st tutorial level on both builds, then playing back at fastest speed (click tape 'play' button 3x), the sounds of running...
by filbo
Sat Nov 21, 2020 6:15 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 10
Views: 90

Re: Rocks'n'diamonds in a browser!

> passing the resulting wasm through Binaryen's wasm-opt (-O2) shrinks it right down to under 4MB

Wow! That's a major reduction from 60MB. Does it have a noticeable effect on runtime speed, or just download time?

Can you put an optimized version up at e.g. https://armagetron.kevinh.us/rnd-opt/ ?
by filbo
Fri Nov 20, 2020 11:27 pm
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 10
Views: 90

Re: Rocks'n'diamonds in a browser!

> Such a Web/JavaScript version of R'n'D would allow for some nice things that would require much more work when adding it to the native code version, like loading and saving high scores, tapes and levels on a central server... This might be a bit heretical, but -- these seem like things which would...
by filbo
Mon Nov 16, 2020 11:34 pm
Forum: Programmer's Corner
Topic: Segmentation fault (core dumped) when adding new setting to Setup
Replies: 11
Views: 127

Re: Segmentation fault (core dumped) when adding new setting to Setup

Renaming levelsets means also renaming ~/.rocksndiamonds/tapes/... directories and I'm not sure what else. Partly I wasn't sure if there were any *.conf files inside the levelset which might break if changed. (Of course I could/should have looked into that...!) The change I submitted would allow lev...
by filbo
Mon Nov 16, 2020 11:12 am
Forum: Programmer's Corner
Topic: Segmentation fault (core dumped) when adding new setting to Setup
Replies: 11
Views: 127

Re: Segmentation fault (core dumped) when adding new setting to Setup

For whatever reason, my system's Zelda levels are named 'Legend Of Zelda' (2), so autowhat fails on them. This may be a misconfiguration retained from some years-ago download of the LoZ levels as separate data, possibly not from artsoft.org. Thus my efforts to 'fix' RnD to handle it.
by filbo
Sat Nov 14, 2020 7:19 am
Forum: Help
Topic: Expert Mine 3 Level 78
Replies: 17
Views: 5405

Re: Expert Mine 3 Level 78

Oh! I had 'jumped forward' in levelsets to confirm the not-solvable conclusion; then I got to that levelset in my normal 'organic' sweep through all the levelsets, and solved that level without even noticing there was (had been) an issue! Apology to slappy, I only now noticed the request for my tape...
by filbo
Thu Nov 12, 2020 1:56 am
Forum: Programmer's Corner
Topic: Segmentation fault (core dumped) when adding new setting to Setup
Replies: 11
Views: 127

Re: Segmentation fault (core dumped) when adding new setting to Setup

With the sequential tarball situation I described: If the user downloaded tarball 1 right around when it was issued, and immediately built from it, their .o files would be dated then. If tarball 2 was issued later than that, presumably at least one source file would be newer, so a new `make` after e...
by filbo
Wed Nov 11, 2020 7:43 am
Forum: Programmer's Corner
Topic: Segmentation fault (core dumped) when adding new setting to Setup
Replies: 11
Views: 127

Re: Segmentation fault (core dumped) when adding new setting to Setup

(mat: should be sufficient for you to run `make dep; make`)
by filbo
Wed Nov 11, 2020 7:42 am
Forum: Programmer's Corner
Topic: Segmentation fault (core dumped) when adding new setting to Setup
Replies: 11
Views: 127

Re: Segmentation fault (core dumped) when adding new setting to Setup

I was able to reproduce this, and I think it is not a bug in mat's code! After a bit of debugging, nothing was making sense, so I did: $ make clean $ make and then it worked fine. It appears the bug is in Holger's makefiles, which do not declare any dependencies on src/lib/system.h, which is easily ...
by filbo
Fri Oct 30, 2020 10:44 am
Forum: Bug Reports
Topic: 1-Step Mode in 2-Player Game
Replies: 3
Views: 65

Re: 1-Step Mode in 2-Player Game

4.2.0.3 is current version; I'm not sure there was a 4.0.3.0
by filbo
Sat Oct 24, 2020 6:44 am
Forum: Puzzles
Topic: Sokoban
Replies: 9
Views: 8694

Re: Sokoban

Yes, saw the comment elsewhere :)
by filbo
Sat Oct 24, 2020 6:42 am
Forum: Testing Area
Topic: test element_info
Replies: 4
Views: 7191

Re: test element_info

Why is that an option?

Seems like it should be always-on, and better described. Like, looking at 'Yam Yam (starts moving up)' I see '[YAMYAM.UP]' -- better if it said:

[graphicsinfo.conf token: YAMYAM.UP]
tmp.png
tmp.png (3.82 KiB) Viewed 122 times
by filbo
Thu Oct 22, 2020 10:24 pm
Forum: Puzzles
Topic: Sokoban
Replies: 9
Views: 8694

Re: Sokoban

Oh duh you said that :)

But still, auto-detect...?
by filbo
Thu Oct 22, 2020 10:23 pm
Forum: Puzzles
Topic: Sokoban
Replies: 9
Views: 8694

Re: Sokoban

I had forgotten about the paste-a-level feature. Pasted this into the editor, it was nonfunctional -- everything turned to yellow emeralds as soon as I started play. Pulled down the menu, set it to RnD rather than EMC engine. Started: the player character was a '?'. So I switched to an RnD levelset,...
by filbo
Wed Oct 14, 2020 9:59 pm
Forum: Help
Topic: EMC The Exception 2 level 35 solvable?
Replies: 6
Views: 839

Re: EMC The Exception 2 level 35 solvable?

I've moved on, but would definitely go back to finish those levels if the means were discovered! Those are particularly good levelsets out of the EMC club pile. The end of Exception 2 says that Exception 3 and 'Pyramid Levels' are 'coming soon', and I don't seem to have either of those, which is a s...