[Guide] How to extract assets from a Tabletopia game

Автор wil_low, 04 марта 2018, 13:45:42

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

wil_low


  • Log in to Tabletopia through a web browser and start the desired game. To run Premium games you'll need a paid account.
  • After the game scene is loaded find the game file in your browser's cache (do not close the game page):

    • Vivaldi 1.14: IndexedDB/https_tabletopia.com_0.indexeddb.blob/2/* (newer versions use LevelDB)
    • Chrome Windows 7: C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default\Cache (might work without step 3)
    Find the file with corresponding datetime inside that folder(s) and copy it. Note that only one file contains game data, others are Tabletopia resources to launch the game and provide user controls.
  • Using any hex editor delete first few bytes before 'UnityFS' string (hex: 55 6e 69 74) where the actual content starts. Otherwise Unity Assets Bundle Extractor cannot recognize the file and refuses to extract.
  • I use Unity Assets Bundle Extractor v.2.2 (UABE). Open the game file. UABE asks to decompress it. Save decompressed file under a different name. UABE now shows asset CAB id indicating successful decompression.
  • Press 'Info' to see the list of assets.
  • In Tabletopia games there are 3 most useful asset types (though you can extract others as well):

    • Manifest (pink frame) - contains the list of resources and their coordinates in image files. Can be used to automatically extract components.
    • Texture2D (red frame) - contain game board parts. Select them all and press Plugins -> Export to .png.
    • TextAsset with 'sprite' in name (blue frame) - contain other game components. Select them all and press Plugins -> Export to .txt. Rename .txt files into .jpg.
    • Mesh (green frame) - contain 3d models of components. Select them all and press Plugins -> Export to .obj. You can open them in Blender or any 3d printing software.
To extract components using the manifest, try tabletopia_cutter.pl script. You will need Linux and perl, libjson-perl and graphicsmagick packages. Let me know if you find bugs there.
Extraction logic was taken from hickname's .NET application: http://rgho.st/private/769z6Gj2K/14fe6885198a3aeac82573d17eb70d01

Note: There are some games already extracted - see this topic.


asefmiqdad

  •  

imajjine

  •  

wait

Какой же вы молодец, wil_low!
Спасибо большое за "гайд".
  •  

BradBrad

  •  

BradBrad

i cant open the game page becouse of java script error
  •  

wil_low

try another browser - Chrome will work perfectly
  •  

Pard

Цитата: wil_low от 07 марта 2018, 21:03:44
try another browser - Chrome will work perfectly
And Windows 7.1 or 10. Tabletopia doesn't work in Windows 7 now :(

/Great guide, btw!
Game listPnP2PnP1BGG tops
  •  

BradBrad

  •  

Yury_K

Спасибо, попробую с этим разобраться.
Carpe Diem
  •  

Karujin

Can someone send me the Alexandria files. I tried to extract them but couldn't wrap my head around :(
  •  

tangyi

  •  

sanishu

#12
Hallo,
i have downloaded the file from tabletopia "https_tabletopia.com_0.indexeddb.leveldb" this is a folder. in this folder are some datas:
000003
current
lock
log
manifest-000001
but i cant anyone open in the uabe - can someone help me please?

  •  

Pard

c:\users\YOURNAME\appdata\local\google\chrome\user data\default\indexdb\https_tabletopia.com_0.indexeddb.blob\2
Game listPnP2PnP1BGG tops
  •  
    Пользователи, которые поблагодарили этот пост: bAstt

wil_low

Step 3 is important for UABE to recognize the file.
  •  

sanishu

#15
step three, i used an online hexeditor to open the five datas (000003, current, lock, log and manifest-000001) but didnt know which bytes i should delete.
i tried it by the game "order of the guilded compass"
  •  

Pard

Цитата: sanishu от 28 апреля 2018, 12:17:58
i have downloaded the file from tabletopia "https_tabletopia.com_0.indexeddb.leveldb" this is a folder. in this folder are some datas:
No. Look at ...indexeddb.blob\2
Game listPnP2PnP1BGG tops
  •  

sanishu

hm i dont have this "blob\2" order. maybe i have some troubles with tabletopia, cause i tried it now with another game (roll player) and it didnt start, i have only the blue tabletopia screen, but the games dont start. Need i a premium membership from tabletopia?
  •  

Pard

Цитата: sanishu от 28 апреля 2018, 13:11:29
hm i dont have this "blob\2" order
You can find it ONLY during your play. Don't close play room.
Game listPnP2PnP1BGG tops
  •  

sanishu

#19
ok, seems with role player it worked i got the file "https_tabletopia.com_0.indexeddb.blob" in this file is a folder "4" in this a folder "00" and in this folder are three data: 2, 3, and 4
i can open this three in the online hexeditor, have deletet the bytes (hope the wright ones). and now i have to save the changed data - is that correct?
  •