Boulder_Dash-1.0.7.zip vs gdash-levels-1.0.8.zip

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
filbo
Posts: 723
Joined: Fri Jun 20, 2014 10:06 am

Boulder_Dash-1.0.7.zip vs gdash-levels-1.0.8.zip

Post by filbo »

Besides being .0.1 out of date -- it seems the entire differences between these packages are:

(1) 1968 *.conf files with this removed:

Code: Select all

graphics_set.old:               gfx_gdash_boulder_dash_1
graphics_set.new:               gfx_gdash_boulder_rush
sounds_set:                     snd_gdash_boulder_dash
music_set:                      mus_gdash_boulder_dash_1
(2) the corresponding graphics / sounds / music data omitted

(3) First Star Software levelsets omitted

Clearly, 2 & 3 must stand. But (1) could be done by not editing 1968 *.conf files; rather, providing 'stub' versions of those graphics etc. sets, which point to the standard RnD sets. OR -- I forget, but, isn't it the case that if the desired sets are missing, RnD just automatically falls back to its defaults? (But, I think, probably with some ugly error messages, so that's no good.)

Anyway, just seems like this package could be a lot closer to 'pristine'.

=====

One thing my suggestion would degrade is the possible ability to install both of these 'sets of levelsets' side-by-side, allowing one to play any of the caves easily with either sets of artwork. BUT, this possibility is already made difficult by the levelsets using the same names -- the archives extract on top of each other, the levelset names are the same (so would not capture things like, possibly, variances in people's scoring ability with different artwork, or level of skill when soothed-and-or-assaulted by different music :)

Since that possibility is already more or less kaput, I don't think there's much harm in shipping Boulder_Dash-x.x.x.zip with the 'full artwork' config statements + stub artwork.

I half want to suggest that the stub artwork be stored in filenames like:

Boulder_Dash/artwork/mus_gdash_boulder_dash_1/music/musicinfo-fallback.conf

-- with the RnD binary following the rule: if I can't find [path-to-artworktype].conf, and [path-to-artworktype]-fallback.conf exists, use that. That way, installing both pkgs at once, in either order, would result in the 'better' configuration in which the 'real' artwork is used.

BUT. I am aware that RnD's conf-file scan at startup is already kind of painful and full of a very large number of retries, failed lookups, etc. I hesitate to suggest something that might potentially double it. So something at a higher level might be more appropriate. (Have not studied the search cascade in some years: perhaps there are things it *already* searches for in a sort of 'fallback' role, which could be exploited here by merely knowing the already-looked-for name to use rather than proposing a new sidecar namespace...)
filbo
Posts: 723
Joined: Fri Jun 20, 2014 10:06 am

Re: Boulder_Dash-1.0.7.zip vs gdash-levels-1.0.8.zip

Post by filbo »

... got onto this because as long as I was proposing to Debian that they fix the list of RnD levelset downloads, I should also inform them of additional sets that might be added.

Their package metadata currently omits one of the Richard Kleber sets (probably just missed):

https://www.artsoft.org/rocksndiamonds/ ... eships.zip

The Boulder Dash levels (too recent):

https://www.artsoft.org/RELEASES/rocksn ... -1.0.7.zip

and still has 3.1.3 in place of:

https://www.artsoft.org/RELEASES/rocksn ... b-3.2.0.7z

-- any reason not to recommend including those two + upgrading EMC?

How ugly is upgrading EMC likely to be? Imagine someone already has the Debian package installed, EMC 3.1.3 downloaded and unpacked, now they upgrade the Debian pkg and it wants to dl and install EMC 3.2.0. Can it just be extracted 'on top', or are there deletions & renames which would leave behind a tattered mess of old files mixed in with the new?

AHA, I tried it and IT WORKS GREAT, extracting 3.2.0 on top of 3.1.3 produces identical results to extracting 3.2.0 in its own new directory. :)
User avatar
Holger
Site Admin
Posts: 4369
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Boulder_Dash-1.0.7.zip vs gdash-levels-1.0.8.zip

Post by Holger »

Clearly, 2 & 3 must stand. But (1) could be done by not editing 1968 *.conf files; rather, providing 'stub' versions of those graphics etc. sets, which point to the standard RnD sets. OR -- I forget, but, isn't it the case that if the desired sets are missing, RnD just automatically falls back to its defaults? (But, I think, probably with some ugly error messages, so that's no good.)

Anyway, just seems like this package could be a lot closer to 'pristine'.
I know what you mean, and generally sympathize with that approach (keeping both packages as close to each others as possible in direct comparison).

But then, as everything is created by a shell script anyway (just having to execute either "make build-complete" or "make build-stripped"), just having no references to artwork that does not exist anyway seems to be the more clean approach here.
Post Reply