Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Discussion around programming R'n'D, its source code and its tools.

Moderators: Zomis, Flumminator

Post Reply
HerzAusGold
Posts: 325
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold » Sun Jul 01, 2018 6:54 pm

Hi,
upload some branches to the repository.
Here: https://github.com/ArtsoftEntertainment/rocksndiamonds
Branches:
- CLANG-compilable (only source changes)
- MSVC-compilable (only source changes)
- MSVC-CLANG-build-runtime (no source changes, build system for compilers, see below)

Compilers:
- VS2015
- VS2017
- VS2017 with CLANG
- Codeblocks
- mingw is supported as default

The MSVC-CLANG-build-runtime branch contains all you need to compile. Extract it to normal develop folder.

Next step is to integrate ZIP-Support, like in "rndTest" (see latest version 3.3.1.2)
Later on I integrate mouse support, and the other stuff.

Have fun. 8)
And the answer is ... 42 !

HerzAusGold
Posts: 325
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold » Sun Jul 22, 2018 3:26 pm

Hi,
add ZIP-Support.
Here: https://github.com/ArtsoftEntertainment/rocksndiamonds
Branches:
- CLANG-compilable-ZIP (only - few - source changes)
- MSVC-CLANG-build-runtime (only CLANG)

Copy ZIP-File or 7z-File to Levels-Directory.

It work's even with EmeraldMineClub.7z file, not need to be extracted.

Have fun
And the answer is ... 42 !

HerzAusGold
Posts: 325
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold » Sat Aug 25, 2018 7:36 pm

RND 4.1.0.0
ZIP support is now complete.
- determine Supaplex with fileSize works now.
- determine modification time in Zip-File works now.

.ZIP and .7z supported.

On Android - I think - the above issue's don't work - I think -> Holger should fix this.
Technical reason: _stat don't work in compressed APK files.

Have fun.
And the answer is ... 42 !

User avatar
Holger
Site Admin
Posts: 2977
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by Holger » Mon Sep 17, 2018 3:35 pm

A bit late, but thanks a lot for your effort!

Especially your zip support is highly appreciated, as it will most probably be needed (or at least be extremely useful) for a future version of R'n'D which could be able to fetch level sets from a central level set server. But of course it's also very useful for the current state where level sets are accessed only locally -- just downloading the zip files from the R'n'D download page, dropping them into the levels folder and restarting the game would be a big improvement!

The Android version may indeed have some extra complications due to the APK package format, but then, accessing additionally downloaded zip packages with extra levels should work just the same as on the other platforms, shouldn't it?

Thanks again!

HerzAusGold
Posts: 325
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold » Mon Oct 22, 2018 6:30 pm

Hi,
as you know (or maybe not) the download from Zomis-RND-Archive already works in a earlier version of RND-Test.
But the Archive is goon and no other server exists (ok you can download from any site, but this is not implemented in the new version of RND-Test).

Zip/7z support should work on android, but I have no device to test this.
Actually I only provide the source and project files which compile on windows.
For mingw an update of the make files are necessary.

Please answer via mail:
Are there any changes in your new version - from RND-Test merged?

Best regards
And the answer is ... 42 !

Post Reply