stohrendorf / CroftEngine

An open-source Tomb Raider 1 engine remake
Other
285 stars 18 forks source link

Adding support for playing demo version. #278

Closed carlo-bramini closed 1 year ago

carlo-bramini commented 2 years ago

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.

stohrendorf commented 2 years ago

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 commented 2 years ago

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.

carlo-bramini commented 2 years ago

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.

stohrendorf commented 1 year ago

Now in master.