Lemmings Forums

NeoLemmix => Community Edition => Game Bugs & Suggestions => Topic started by: WillLem on December 12, 2020, 01:15:33 PM

Title: [+][SUG][PL] Allow file association between .nxrp and CE
Post by: WillLem on December 12, 2020, 01:15:33 PM
I'm wondering if there may be a way to associate a replay (.nxrp) file with NeoLemmix such that, when clicking the .rpl, it opens the player, loads the relevant level, and plays the replay.

I'm also half-aware that this has been discussed previously, but my memory of said discussion is very fluffy. I tried doing a search to see if I'd already suggested this, and couldn't find anything, so... apologies if I have done, please feel free to delete this topic if that's the case.
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: namida on December 12, 2020, 05:25:34 PM
NeoLemmix does not support RPL files, you'd want to talk to SuperLemmini about those. :P

That technicality aside, I get what you meant to say, and this is something that could be considered eventually, though it will need a bit of work and isn't the highest priority right now. So consider this to be an "on hold" thing for now that I'll look at again later (not outright "rejected").
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: WillLem on December 12, 2020, 11:52:05 PM
Sorry, I meant .nxrp, of course! :forehead:
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: WillLem on February 16, 2021, 01:30:55 AM
The main essence of this suggestion is the ability to file-associate .nxrp with the player; clicking on the file would then open the player, load the level, and play the replay.

A "load replay" button in the F2 menu might also be good.
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: EricLang on February 17, 2021, 04:50:44 PM
Actually you can tell the operating system to always use neolemmix to open files with a certain extension.
I do not know if neolemmix can search the correct level from the replay. I added it in Lemmix and it works quite good.
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: namida on February 17, 2021, 05:55:48 PM
Quote from: EricLang on February 17, 2021, 04:50:44 PM
Actually you can tell the operating system to always use neolemmix to open files with a certain extension.
I do not know if neolemmix can search the correct level from the replay. I added it in Lemmix and it works quite good.


NeoLemmix does have ways of matching replays to levels, but it's designed for verification purposes, not for search purposes - basically, to test "does this replay match the level it was loaded on?".

Nonetheless, it can - albeit a bit slowly - be used for matching, as the Mass Replay Check relies on this. So it's not out of the question. There's extra metadata in the replays that could further help with the matching, though isn't 100% reliable (in particular, the metadata will be wrong - except for the level title and level ID number - if the replay was recorded in testplay mode rather than after the level was added to a pack).

You can associate NXRP files with NeoLemmix.exe, but it won't do anything. Only NXLV (level) files will.
Title: Re: [SUG][PLAYER] Allow file association between .nxrp and CE
Post by: EricLang on February 18, 2021, 01:56:59 PM
In the last replayversions of Lemmix I added the internal level hashkey. Together with de stored and cached hashkeys of all levels a very fast matching can be done using dictionaries.
I don't know the details of the current state of neolemmix file formats but I think this should be doable :-)