CroftEngine icon indicating copy to clipboard operation
CroftEngine copied to clipboard

Adding support for playing demo version.

Open carlo-bramini opened this issue 2 years ago • 3 comments

It would be worth to make possible to run the demo version of the game. The demo, which can be downloaded freely, provides just these files into the DATA directory:

INSTALL.PCX
LEVEL2.PHD
TITLE.PHD
TITLEH.PCX

So, I'm wondering if it is possible to test this level in some way. I tried to add a tr1demo directory into share\croftengine\gameflows with some modified files, but I could not make it working. Thank you very much.

carlo-bramini avatar Oct 13 '22 16:10 carlo-bramini

The demo version contains (as far as I remember) a different level data format. This was never tested with this engine, so it's probably "just" some issue with the level data reading.

stohrendorf avatar Oct 13 '22 16:10 stohrendorf

I checked the code, and unfortunately there's no proper detection of demo levels, and it tries to load the levels as regular release levels. This can be fixed, though, but I'm not sure it's worth the effort.

stohrendorf avatar Oct 14 '22 17:10 stohrendorf

I checked the code, and unfortunately there's no proper detection of demo levels, and it tries to load the levels as regular release levels. This can be fixed, though, but I'm not sure it's worth the effort.

Thank you very much for support. Actually, I understand that's not an high priority task and this issue could be left open for the future. If I can write my opinion, supporting the demo levels will allow people (like me) who has not (yet) access to the full game to see this reimplementation of the engine in action.

I hope that its support may be included one day.

carlo-bramini avatar Oct 15 '22 11:10 carlo-bramini

Now in master.

stohrendorf avatar Feb 10 '23 06:02 stohrendorf