Arthur and the Invisibles (PC) event names

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Arthur and the Invisibles (PC) event names

Post by Warthog1336 »

Hello everyone!

I'm opening this thread because I need help linking the event names of music to their corresponding music in Arthur and the Invisibles (PC).

Indeed, the game has a "MUSIC" directory, containing 28 folders of music with .RWS files inside (which are supported by vgmstream). They're named with the prefix WIN_ followed by the number (for instance, the first folder has WIN_000.RWS, WIN_001.RWS, etc.).

As there are 192 music files, you can understand it's quite difficult to name all of them correctly. Still, I was able to name most of them according to the context where they play in game.

The issue is that those names were given by me, and therefore they're not authentic.

In the files, there are 14 folders dedicated to each level (for example LVL001, LVL002, etc.). Inside each folder, there is a "LVL0XX.KWN" file (where XX is the number of level).

Luckily, there is a tool "XXL Editor (Preview 2)" (https://github.com/AdrienTD/elbtools/releases) which can open those files, and we can see, in the viewer, that there is a CKMusicPlayList chunk with music event names. It's also possible to look at the bytes of the chunk by clicking the Hex button.

In order to open those .KWN files, the "GameModule.elb" is required because the KWNs have encrypted headers, and the tool find the decrypted version in the game's executable (GameModule.elb). I suggest reading the "readme" to have more information about the "K" Etranges Libellules's engine.

Here's a screenshot of what the LVL06.KWN -> Game things -> CKMusicPlayList looks like when viewed through XXL Editor:

music.PNG


And the Hex view of "0: Secteur 08 - Moustik 1":

hex.PNG


As you can see, since they are event names, the original .RWS filename corresponding to this event (0: Secteur 08 - Moustik 1) is not written plain-text, which means I can't find a direct link with music and their event names. According to the author of the tool, one of the solutions would be to try to find music references in each classes. But then again, the link between events and music is indirect (activated by an area or a cinematic block for example).

I'm asking if there is a simpler/other way to know which music is related to each of these events. This would help me giving names which are more accurate.

The samples are uploaded here: https://mega.nz/#!qoVmlaQI!yM-0xyp7k2xz ... OFc3aiBEiE

Thanks in advance!