Welcome to the Cryptomatort Community ,
the raw key is the conactenation of the encryption and the mac key, see also cryptolib/src/main/java/org/cryptomator/cryptolib/api/Masterkey.java at develop · cryptomator/cryptolib · GitHub
Hence,
should work. The verification in Cryptomator also looks at the vault version, see cryptofs/src/main/java/org/cryptomator/cryptofs/VaultConfig.java at 528de401ef5b603ed67d0d5e96bbe095f4a83e66 · cryptomator/cryptofs · GitHub
You might be also interested in the following thread, where a user already implemented a prototype to read vaults in js/ts: