Search found 494 matches

by filbo
Tue Dec 01, 2020 11:51 pm
Forum: Bug Reports
Topic: wraparound bug: EM doors kill
Replies: 7
Views: 165

Re: wraparound bug: EM doors kill

Hmmm: $ git fetch origin fatal: unable to access 'https://git.artsoft.org/rocksndiamonds.git/': gnutls_handshake() failed: Handshake failed Not actually related to this post except that you've prompted me to want to refresh my tree. A separate attempt to simply clone the repo fails with the same mes...
by filbo
Tue Dec 01, 2020 11:42 pm
Forum: Bug Reports
Topic: wraparound bug: EM doors kill
Replies: 7
Views: 165

Re: wraparound bug: EM doors kill

Hah, it never even occurred to me that old Amiga EMC levelsets would each come with an executable EMC game to play them with! Didn't people just run the game and download levelsets from the Internet with its internal levelset downloader? :)
by filbo
Tue Dec 01, 2020 9:48 am
Forum: Bug Reports
Topic: wraparound bug: EM doors kill
Replies: 7
Views: 165

Re: wraparound bug: EM doors kill

While I'm here: level 11 of this levelset seems unsolvable.

Does something about the bomb-drops-on-expanding-wall sequence work differently in the original EM / EMC engines?
by filbo
Tue Dec 01, 2020 9:45 am
Forum: Bug Reports
Topic: wraparound bug: EM doors kill
Replies: 7
Views: 165

wraparound bug: EM doors kill

Forgotten Mine 2 level 16 ( levels/Emerald Mine Club/emc_forgotten_mine_2/16S ): a very short time into the level (12s if playing efficiently), we wrap around the screen to pick up a green key, traversing a yellow door to do so. The green key is in a tiny area that exists only to grab the key and re...
by filbo
Sat Nov 28, 2020 6:57 am
Forum: Programmer's Corner
Topic: Rocks'n'Diamonds on OS/2 revisited
Replies: 3
Views: 173

Re: Rocks'n'Diamonds on OS/2 revisited

I'm sure there is a standardized symbol which you could use to: #if defined(STANDARDIZED_MACRO_THAT_MEANS_SUPPORTS_STDIO64) ... do it one way #else ... do it the other way #endif where one way #defines a bunch of things one direction or the other (open -> open64, or open64 -> open); and the other do...
by filbo
Sat Nov 28, 2020 6:49 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 704

Re: Rocks'n'diamonds in a browser!

Regarding the size difference, I'm on a very large low-res screen at the moment (38.5" 1080p TV while waiting for my 4K replacement to arrive). I've set some sort of magnification factor somewhere in system settings. (Sorry to be vague, but last time I looked for it I didn't find it!) I know it leav...
by filbo
Fri Nov 27, 2020 10:23 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 704

Re: Rocks'n'diamonds in a browser!

Some differences I noticed: https://www.artsoft.org/rocksndiamonds/play - seems to have no music - display is larger - some browser keyboard commands are ignored (e.g.: ctrl+1 to switch to tab #1, on Opera) - has R'n'D favicon :) https://armagetron.kevinh.us/rnd-opt - has music - display is smaller ...
by filbo
Sat Nov 21, 2020 11:48 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 704

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: 18
Views: 704

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: 18
Views: 704

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: 398

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: 398

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: 5844

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: 398

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: 398

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

(mat: should be sufficient for you to run `make dep; make`)