quickbms -s "comtype lzma_dynamic ; get SIZE asize ; get NAME basename ; clog NAME 0 SIZE SIZE" "" FILE
S3E is a sort of configuration file of the Marmalade framework, it's used in games like Shadow Fight 2 and Gunship Battle.
The SC files instead are used in the Supercell games: Clash of Clans, Hayday and Boom Beach. It's not clear how are stored the offset and size fields for extracting the data from these archives.
But how to repack then the file extracted ? I tried by repack GuickBms but it didn't work and game didn't accept file. 7-zip showed compression method lzma:16 but I don't know what it means.
comtype lzma_compress get SIZE asize clog "new.dat" 0 SIZE SIZE
Since lzma_dynamic automatically finds the correct lzma format, you have to specify the exact one when creating the compressed files. This is the list of available lzma compressors: