Search found 650 matches

by filbo
Thu Mar 26, 2015 7:40 am
Forum: Programmer's Corner
Topic: where did Element Properties go?
Replies: 25
Views: 57111

single-stepping memory armageddon :)

Process grows about 1.6MB per player move. Probably level size-dependent: this is an EMC level of 64 x 32 dimensions. That's 2K cells. What's consuming 800 bytes per cell per move?! In any case, it needs to be deleted when that run goes away (when user starts playing same or different level from scr...
by filbo
Thu Mar 26, 2015 7:31 am
Forum: Programmer's Corner
Topic: where did Element Properties go?
Replies: 25
Views: 57111

Re: where did Element Properties go?

Ok, I needed to copy graphics/gfx_classic/*.png to /usr/share/games/rocksndiamonds/graphics/gfx_classic/. The old ones were from February and had the 2013 copyright date. Running the latest binary on an EMC level (emc_beer_mine): I play a lot in single-step mode. Every step, I see the large 3-button...
by filbo
Thu Mar 26, 2015 7:12 am
Forum: Programmer's Corner
Topic: where did Element Properties go?
Replies: 25
Views: 57111

Re: where did Element Properties go?

I've done `git pull` many times (just now it got some changes including an intriguing "added step-based engine snapshots to undo/redo single steps in game"?? -- before that it was quiet for a few days). I run ./rocksndiamonds out of the git repository / build directory, while having an old...
by filbo
Mon Mar 23, 2015 8:14 am
Forum: Programmer's Corner
Topic: where did Element Properties go?
Replies: 25
Views: 57111

Re: where did Element Properties go?

I finally noticed: this problem occurs with some levelsets and not with others. I think it might be levels using the EMC engine vs. RnD engine. I noticed because I was playing through the EMC-engine-tagged set of BD4 levels and wanted to compare behavior in one case to the RnD level. Looking at thes...
by filbo
Wed Mar 04, 2015 5:17 am
Forum: Programmer's Corner
Topic: git repository now contains everthing to "make run"
Replies: 14
Views: 51673

Re: git repository now contains everthing to "make run"

OK!

$ git pull; make clean-git; make run RO_GAME_DIR=/usr/share/games/rocksndiamonds RW_GAME_DIR=/var/games/rocksndiamonds

... RnD pops up! With visible mouse cursor (when I move it) in the splash screen!
by filbo
Tue Mar 03, 2015 12:00 pm
Forum: Programmer's Corner
Topic: git repository now contains everthing to "make run"
Replies: 14
Views: 51673

Re: git repository now contains everthing to "make run"

`make run` assumes sdl2; turns out this can be overridden, I now use: $ make run DEFAULT_TARGET=sdl RO_GAME_DIR=/usr/share/games/rocksndiamonds RW_GAME_DIR=/var/games/rocksndiamonds but basically "run" and the other makefile targets that invoke "all", e.g. "gdb", "...
by filbo
Tue Mar 03, 2015 11:48 am
Forum: Programmer's Corner
Topic: git repository now contains everthing to "make run"
Replies: 14
Views: 51673

Re: git repository now contains everthing to "make run"

Getting closer :) $ make sdl RO_GAME_DIR=/usr/share/games/rocksndiamonds RW_GAME_DIR=/var/games/rocksndiamonds ... ilbmtoppm RocksToons.ilbm | pnmtopng > RocksToons.png ilbmtoppm: unknown chunk type DPPS - skipping ilbmtoppm: input is a 6-plane EHB ILBM pnmtopng: 34 colors found ../../rocksndiamonds...
by filbo
Tue Mar 03, 2015 8:37 am
Forum: New Ideas
Topic: eats mouse cursor
Replies: 2
Views: 7742

Re: eats mouse cursor

Sounds like a good fix; can't test due to problems I just posted about.
by filbo
Tue Mar 03, 2015 8:12 am
Forum: Programmer's Corner
Topic: git repository now contains everthing to "make run"
Replies: 14
Views: 51673

Re: git repository now contains everthing to "make run"

I have to `make sdl` to override the default SDL2 choice. (Actually `make sdl RO_GAME_DIR=/usr/share/games/rocksndiamonds RW_GAME_DIR=/var/games/rocksndiamonds`, not wanting to maintain local edits to the makefile...) `make run` fails with a bunch of "sdl2-config: Command not found" `make ...
by filbo
Tue Mar 03, 2015 7:28 am
Forum: Bug Reports
Topic: + / - / 0 in play mode?
Replies: 4
Views: 6270

Re: + / - / 0 in play mode?

Sounds good, thanks... I already have all sorts of speed anomalies that I'd like to describe, but are currently too vague. Sometimes "warp forward" speed (fastest playback with drawing) is >100x realtime, sometimes it's less than 10x. This can vary for the same tape of the same level -- I ...
by filbo
Tue Feb 24, 2015 7:10 am
Forum: New Ideas
Topic: eats mouse cursor
Replies: 2
Views: 7742

eats mouse cursor

Probably an interaction with SDL libs? Ubuntu 12.04.5 LTS, linux 3.13.0-46-generic x86_64 [ RnD 3.3.1.2 || RnD 4.0.0.0-git ] build with SDL, not SDL2 Version Information reports SDL libs as same versions compiled as linked: SDL 1.2.14 SDL_image 1.2.10 SDL_mixer 1.2.11 SDL_net 1.2.7 Problem: when sta...
by filbo
Sat Feb 21, 2015 6:23 am
Forum: Bug Reports
Topic: request: finer control over audio volume
Replies: 3
Views: 5106

Re: request: finer control over audio volume

Thanks, looks great. Your reason for picklist vs. counter makes sense. But I still yearn for finer control :) I wonder if there's some way they could be combined? Could there be a pick item that means "user control" and presents a counter widget? I noticed if I set an odd volume (volume_mu...
by filbo
Sat Feb 21, 2015 6:07 am
Forum: Bug Reports
Topic: Request for improvements of automatic tape playback
Replies: 13
Views: 8901

Request for improvements of automatic tape playback

> To test the attached fixed tape, copy it to a "tape" sub-folder of that level set and type: > > shell> ./rocksndiamonds -e "autoplay emc_emerald_mine_original_1 071" The subdirectory name is "tapes", not "tape", at least on Linux. I verified that this works:...
by filbo
Tue Feb 17, 2015 9:24 am
Forum: Bug Reports
Topic: + / - / 0 in play mode?
Replies: 4
Views: 6270

+ / - / 0 in play mode?

The new( * ) + / - / 0 zoom keys in edit mode are great... [( * )Appeared in git a few days ago.] ... now can we have them in play mode? :) I'd actually been considering asking for this some time ago (though I was only thinking of a toggle between the two settings of Settings -> Graphics -> Small Ga...
by filbo
Thu Feb 12, 2015 9:03 am
Forum: Programmer's Corner
Topic: where did Element Properties go?
Replies: 25
Views: 57111

Re: where did Element Properties go?

"warp forward" (Play, Eject) has the same problem. Play a level half-way, hit ESC, replay to that point with non-playfield-drawing "warp forward". Game pauses with the final frame of action, but everything in the score part of the display is as it was before starting replay. (Hit...