Ring of Elysium (*.sfc/*.vfs)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
e4587339
Posts: 3
Joined: Tue Sep 25, 2018 10:43 pm

Ring of Elysium (*.sfc/*.vfs)

Post by e4587339 »

Ring of Elysium uses Tencent's new QuickSilver X engine. Nearly every file appears to be put into some specific "SFC" format. A few data files however use a .VFS extension.

Steam Link:
https://store.steampowered.com/app/7557 ... f_Elysium/

Sample SFC Files:
https://mega.nz/#!aU43HTbb!H8D1MPZwyUPe ... -vPEa3mCtQ

Binaries:
https://mega.nz/#!TZgh2TJY!hCslsOKvx169 ... ErUUt2Y7fM

Sample VFS Files (with a few potentially linked additional files):
https://mega.nz/#!3EIAzQya!AXjss_-y4EqN ... xy41RHhP0s
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by aluigi »

My script http://aluigi.org/bms/qq_sfc.bms seems to work
e4587339
Posts: 3
Joined: Tue Sep 25, 2018 10:43 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by e4587339 »

aluigi wrote:My script http://aluigi.org/bms/qq_sfc.bms seems to work


Thanks for the suggestion. After running that, all of the files are incorrectly named and most appear to have their file type incorrectly identified. For example opening the Script.sfc file with that script will produce a file named 00000000.pan however that file, along with most every file in the Script.sfc file, is actually a .lua file. It appears the first three letters from the file contents are being used incorrectly as the file type. The first line of that specific files content is:

Code: Select all

PanelLayout("InteractEntityPanel")


Looking through these files though it appears after some reach that the majority of these files are from Tencent's previously published game on the same engine, Moonlight Blade, even though they claim this is a new engine. After figuring that out, I found out this script http://aluigi.altervista.org/bms/dzs_qq.bms was suggested to open the Moonlight Blade VFS files. I tried using that on this game and it properly extracted a large number of files. Unfortunately it seems to fail to extract many of the new files for Ring of Elysium though. After attempting to extract all the data_bas_#.vfs files, entire directories such as Data\Table\WEAPONS do not get extracted.

Do you happen to have any ideas on how to resolve that so all files are able to be extracted, and named properly?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by aluigi »

SFC: there are no filenames stored in the archive, therefore the script uses a sequential hexadecimal name with a guessed extension. lua files don't have a fixed magic, that's why you get a "pan" extension instead of a "lua" one.

VFS: I forgot to link that script in my previous post. The script is 100% heuristic and therefore it's normal if something is not extracted, maybe you can try opening it with a text editor and setting the OLD_SCRIP variable to 1 but the filenames are probably going to be wrong.
e4587339
Posts: 3
Joined: Tue Sep 25, 2018 10:43 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by e4587339 »

aluigi wrote:SFC: there are no filenames stored in the archive, therefore the script uses a sequential hexadecimal name with a guessed extension. lua files don't have a fixed magic, that's why you get a "pan" extension instead of a "lua" one.

VFS: I forgot to link that script in my previous post. The script is 100% heuristic and therefore it's normal if something is not extracted, maybe you can try opening it with a text editor and setting the OLD_SCRIP variable to 1 but the filenames are probably going to be wrong.


For SFC files, would something like what Ekey posted in this ( viewtopic.php?t=4299#p34533 ) old Moonlight Blade thread perhaps be possible to perform in an attempt to create valid filenames?

As for an update on the VFS suggestion; when I set the OLD_SCRIPT value to 1 I got quite a few different files output that had new valid data within them. Many previous files were still output but now with garbage data.
Lx22
Posts: 6
Joined: Thu Oct 11, 2018 3:27 pm

VFS Script Help

Post by Lx22 »

The current VFS script seems to not work on the file attached. Not sure how to fix it so I thought I would post here.

Edit: the game is Ring of Elysium and the file in question is data_bas_3.vfs
Last edited by Lx22 on Thu Oct 11, 2018 4:42 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: VFS Script Help

Post by aluigi »

There is no file attached and no name of the game
Lx22
Posts: 6
Joined: Thu Oct 11, 2018 3:27 pm

Re: VFS Script Help

Post by Lx22 »

edited the post
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by aluigi »

Posts moved in the original topic for this game.

Regarding that data_bas_3.vfs archive, it contains no data, all the information about the files say that they are empty.
flowersun
Posts: 6
Joined: Sun Apr 29, 2018 1:33 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by flowersun »

aluigi wrote:Posts moved in the original topic for this game.

Regarding that data_bas_3.vfs archive, it contains no data, all the information about the files say that they are empty.


Dear aluigi, I'm not sure if it helps.
Here are the vfs_r.dll, used for extract the vfs file. I have asked someone who said successfully extract vfs totally correct by invoke this dll file, but he didn't told me how.

VFS_r.dll.zip


Second one, an vfs extractor written by annother one which could successfully extract small file(but no files > 2GB). Here it is. Select a vfs file and it could extract all files to "temp" folder in the same path.
vfs_extractor.zip


Perhaps together with files in my last reply viewtopic.php?f=9&t=4299&p=37966&hilit=moonlight+blade#p37966 , could help extract them.
You're such a good man, I'm very sorry for what I did last time that posting a separate duplicate thread causing delete.
Kiar
Posts: 1
Joined: Sat Apr 20, 2019 11:22 am

Re: Ring of Elysium (*.sfc/*.vfs)

Post by Kiar »

last patch broke TableBin.sfc (other sfc successfully extracted)

Code: Select all

  offset   filesize   filename
--------------------------------------
  00000014 527630270  TableBin\00000000.dat
Info:  algorithm   249
       offset      00000014
       input size  0x000cd9c1 842177
       output size 0x1f72ffbe 527630270
       result      0xfffffff6 -10

Error: the uncompressed data (-10) is bigger than the allocated buffer (527630270)

Last script line before the error or that produced the error:
  19  clog "" OFFSET ZSIZE SIZE

TableBin.sfc https://mega.nz/#!QzIGhYwQ!0lLSSoTKwrvE ... _GnSzBWdIQ

any ideas?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by aluigi »

Can't help. This format is not completely supported and that doesn't seem just a different algorithm.
peterzhenhh
Posts: 45
Joined: Wed Jan 17, 2018 5:15 pm

Re: Ring of Elysium (*.sfc/*.vfs)

Post by peterzhenhh »

aluigi wrote:Posts moved in the original topic for this game.

Regarding that data_bas_3.vfs archive, it contains no data, all the information about the files say that they are empty.


I checked that this tool successfully extract all the file from .vfs,including data_bas_3.vfs.
https://zenhax.com/viewtopic.php?f=9&t=4299&start=20#p49017
What's more,it extracts some files which failed to be extracted with the dzs_qq.bms script.

By the way,could you please try to work with Ekey to extract filenames in .sfc :D