Page 4 of 5

Re: HaG@HaG

Posted: Tue Mar 14, 2023 7:13 pm
by HerzAusGold
Hi,
Did I miss anything? How do I enable loading the new file formats?
only unzip it and start "rndTest.exe" -> not rockndiamonds.exe - that's all :)

The viewer -> here you are right. Have to build them in release mode. Just a moment...

Re: HaG@HaG

Posted: Tue Mar 14, 2023 7:42 pm
by HerzAusGold
Hi
upload new viewer exe in release version (dont need debug dll's)

Yes only .CAV and .INT (C64 level file format) and .GAMEBD files (this files are converted from .game - no information lost)
But the .GAMEBD Files contains elements which not exists in RnD.
And I don't know what element replacement is the best.
Same with the settings .. I dont't know where I can store the values.

Re: HaG@HaG

Posted: Wed Mar 15, 2023 7:55 am
by Holger
HerzAusGold wrote: ↑Tue Mar 14, 2023 7:13 pm only unzip it and start "rndTest.exe" -> not rockndiamonds.exe - that's all :)
Did that, but the following DLLs were missing:

api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll

So I rebuilt from the included source code, but the resulting binary seems to be unable to read those BD level files. :(

Re: HaG@HaG

Posted: Wed Mar 15, 2023 9:28 pm
by HerzAusGold
Hi,
update version to 4.3.5.1 and upload the new version.
Tested with Windows 10, Windows 11, Bash on Windows WSL, Ubuntu WSL, MSYS (MinGw).
Don't have a Linux machine.
In "rndTest-4.3.5.1-rc10" included:
rndTest.exe -> build on Windows.
rndTest-mingw.exe -> build on MinGW.
rocksndiamonds.exe -> build on MinGW
gamebdview.exe -> build on Windows

Hope this work now. At least the MinGW-Version.
you can find it on http://www.arthurdent.de
-> rndTest-4.3.5.1-rc10 (release candidate, immediately playable)

The missed DLL's reported by Holger only exists on Windows.

Re: HaG@HaG

Posted: Wed Mar 22, 2023 7:49 pm
by HerzAusGold
Upload a text file with all levels from Boulderdäsh.
Here you can see the settings and the level in ascii.
Like this:

Code: Select all

~~~~~~~~~~~~~~~~ Cave: Intermission I	 -- BlunderDash_I_Level1
== cave maxx: 20 maxy: 12 cavelen: 64
####################
##                *#
#                 .#
#                  #
#                  #
#        P         #
#                  #
#                  #
#                  #
#                  #
#*                !#
####################
Some levels are more or less identical.
They differ only minimally. In some, the diamonds are distributed differently (randomly), or the time and points or DiamondsNeeded values are different. Mostly shorter time.
But in principle it is the same level.
Like BlunderDash_I_Level1, BlunderDash_I_Level2 aso.
And in the other directories the same .. very sad.

But enough new level are left, that are worth a look.

Re: HaG@HaG

Posted: Mon Oct 30, 2023 6:02 pm
by HerzAusGold
Hi,
update version to 4.3.6.0 and upload the new version.
Tested with Windows 10, Windows 11, Bash on Windows WSL, Ubuntu WSL, MSYS (MinGw).
Don't have a Linux machine.
In "rndTest-4.3.6.0-rc11" included:
rndTest.exe -> build on Windows.
rndTest-mingw.exe -> build on MinGW.
rocksndiamonds.exe -> build on MinGW
gamebdview.exe -> build on Windows

Hope this work. At least the MinGW-Version.
you can find it on http://www.arthurdent.de
-> rndTest-4.3.6.0-rc11 (release candidate, immediately playable)

Take a look to "Boulderdash conversion" -> There are more then 10.000 already converted.

Re: HaG@HaG

Posted: Tue Oct 31, 2023 6:26 pm
by Holger
Sounds cool! But where's the code? Can't find it in the zip!

Maybe I missed something...? :?

Re: HaG@HaG

Posted: Wed Nov 01, 2023 6:01 am
by filbo
Holger -- the links aren't that obvious on the page. The code is in --

http arthurdent.de gallery Rocks%27n%27Diamonds%204.3.6.0.zip

-- which I don't know how to successfully quote to make a working URL on this BBS software. '%27' and '%20' are literal single-quote and space characters. Or go to arthurdent.de and click on the link hiding behind the 'RNDTEST-4.3.6.0-RC11' part of the RnD image. There are a total of 5 downloadable files, all of which do successfully download; 3 contain some version-or-other of RnD source, along with other materials.

The total source changes in the one with the difficult URL appears to be: add EL_DF_MIRROR_FIXED_1 through 16 & EL_DF_SLOPE_1 through 4 to conf_e2g.c; corresponding (autogenerated) changes in conf_gfx.h; and autogenerated changes in conf_var.c. (And may I suggest that build-scripts/create_element_defs.pl emit header comments of the form:

Code: Select all

// ------- this file was automatically generated FROM SRC/CONF_GFX.C -- do not edit by hand -------
?)

Oddly, the symbols EL_DF_MIRROR_FIXED_%d are already in use in mainline RnD 4.3.6.0, so I'm not sure what this is about...

Re: HaG@HaG

Posted: Wed Nov 01, 2023 1:12 pm
by Holger
Regarding the URL, you can simply right-click on the link on your web page, select "Copy Link Location" (at least that's what it is called in Firefox), and then paste here as usual (Ctrl-v), which should give a working download link:

http://www.arthurdent.de/gallery/Rocks' ... .3.6.0.zip

And yes, I already downloaded, ectracted, and checked that package, but I cannot find your source code in it -- the code in sub-directory "src" is exactly the same as in the official Rocks'n'Diamonds 4.3.6.0 package (checked using "diff -r -u").
(And may I suggest that build-scripts/create_element_defs.pl emit header comments of the form:

Code: Select all

// ------- this file was automatically generated FROM SRC/CONF_GFX.C -- do not edit by hand -------
?)
Yes, that's indeed a very good idea -- I will change it that way.
Oddly, the symbols EL_DF_MIRROR_FIXED_%d are already in use in mainline RnD 4.3.6.0, so I'm not sure what this is about...
Not sure which source code you compared with which other source code here... :?

Re: HaG@HaG

Posted: Thu Nov 02, 2023 1:59 am
by filbo
Holger wrote:but I cannot find your source code in it
-- not my code, I was just doing web archaeology :)
Not sure which source code you compared with which other source code here... :?
Hmmm. It was the result of a `git pull` last night, vs. the file downloaded from arthurdent.de. I must have pulled right in the middle of you staging the new 4.3.7.0 update or something, to get such a precisely slightly-off diff...!

Re: HaG@HaG

Posted: Thu Nov 02, 2023 2:08 am
by filbo
Hmmm, a new `git pull` pulls nothing else, leaving me at commit f627531aca2f234261cff93f0240a3224f50191d 'version number set to 4.3.6.0'. Diffing that with the downloaded 4.3.6.0 tarball gets similar differences -- until I `make`. The downloaded tarball includes some build output files and I apparently hadn't built from source since sync'ing up to 4.3.6.0.

Anyway, this indicates that the public git repo is behind, but other than that, just my own bad source tree hygiene. And HaG's apparently-wrong source zip...

Re: HaG@HaG

Posted: Thu Nov 02, 2023 7:27 pm
by Holger
-- not my code, I was just doing web archaeology :)
Oops, sorry, I thought I was answering a post of HerzAusGold (HaG), not you. :o
Hmmm, a new `git pull` pulls nothing else ...
Sorry, forgot to "git push" last night -- done now! (Also forgot to tag the new release... not everything's tagged and pushed to git.artsoft.org and to the R'n'D repo at GitHub.)

Re: HaG@HaG

Posted: Fri Nov 17, 2023 3:28 pm
by HerzAusGold
Hi,
update version to 4.3.7.1 and upload the new version.
Tested with Windows 10, Windows 11, Bash on Windows WSL, Ubuntu WSL, MSYS (MinGw).
Don't have a Linux machine.
In "rndTest-4.3.7.1-rc12" included:
rndTest.exe -> build on Windows.
rndTest-mingw.exe -> build on MinGW.
rocksndiamonds.exe -> build on MinGW
gamebdview.exe -> build on Windows

Hope this work. At least the MinGW-Version.
you can find it on http://www.arthurdent.de
-> rndTest-4.3.7.1-rc11 (release candidate, immediately playable) -> with the converted BoulderDashTosec levels.

Take a look to "Boulderdash conversion" -> There are more then 18.000 levels already converted.

Re: HaG@HaG

Posted: Sat Nov 25, 2023 11:37 am
by HerzAusGold
Hi,
upload version 4.3.7.1 again. Now with source.

I have already made some adjustments to the source code (mainly 2006-2008). For example:
- transparent Zip support
- support to display and download directly from Zomi's Rnd File Archive (unfortunately no longer available)
- Mouse support with learn mode
- Sokoban playable with mouse (display and clickable position of box)
- File loader

Unfortunately not a single code change was included at that time.

Nevertheless, I have now made the source code available (MouseSupport with learn, Sokoban).
As well as some FileLoader (CAV, INT, GAMEBD).

Hope that there is something that will be integrated before my life is over.

you can find it on http://www.arthurdent.de
-> rndTest-4.3.7.1-rc13 (release candidate, immediately playable) -> with the converted BoulderDashTosec levels.

Re: HaG@HaG

Posted: Sun Feb 11, 2024 5:30 pm
by HerzAusGold
Hi,
upload version 4.3.8.1 with source code.
New Loaders for .WLC (original C64 file format with Commands to draw the levels)
Loader for .OTO file (OneToOne file format, with many new elements)
OTO can be configured with the .BDCFF Config file (example included).

you can find it on http://www.arthurdent.de
-> rndTest-4.3.8.1-rc15 (release candidate, immediately playable) -> with the converted BoulderDashTosec levels.