Super dancer online - sac, sai

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Super dancer online - sac, sai

Post by 123xong »

Hello master,

I just read here http://www.progamercity.net/game-files/ ... actor.html

but it was too old i cannot download SDOESAITool.rar‎,

can anyone with old account help me to download ??

the main website is http://sdox.cibmall.net/
Im uploading datas.sac, datas.sai (too big)

thank you :oops: :oops: :oops:
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

Please help me to decrypt datas.sai to get file table, thank you

https://mega.nz/#!UhoiTSLZ!aGzYN3EX1T0p ... 5OGUHG7GxQ
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Super dancer online - sac, sai

Post by aluigi »

@Ekey
Can you upload SDOESAITool.rar here too?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

here
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

I still cannot believe, awesome forum ever :o :o :o :o :o :o thank everybody very much :mrgreen: :mrgreen: :mrgreen:

now I'm learning the way to reimport , ^_^
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

Can I have more favor !!!

the file songlist.dat https://mega.nz/#!ZoZTFI6B!NyyyqKfsbKAE ... SGnLpmVXFA is simple string table

Can you help me to edit/add/delete records inside that

thank you very much !!! :? :?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

Here script for unpack sac

PS: see below.
Last edited by Ekey on Tue Jun 14, 2016 1:23 pm, edited 1 time in total.
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

thank EKey alot

In new game version, they changed the key to decrypt datas.sai (the old key 0x7C53F961u does not work)

https://mega.nz/#!xwpHTD7Z!cMlUm21zLqmE ... ZMxvoMv0lU

if possible, can you tech me how to find the new key to decrypt ?

thank you
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

I will can try to update script, if you upload all DLL and EXE from game.
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

wow, here is new bin, dll

https://mega.nz/#!1hBQXCyJ!ARoKPv6owpNo ... RwdJG22WwA

sdo.bin is execute file for game

thank you alot
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

Encryption key is not changed. They added new block for patch data. Anyway i updated script. Let me know if it does not work.

PS: See below.
Last edited by Ekey on Wed Jun 15, 2016 12:55 pm, edited 1 time in total.
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

wow, too fast,
..................
0000000018d6901 65664 UI\ROOM\LETTER2.DDS
000000000190297e 352 SCENE\MAPOBJ\PK\LABA2\LABA2.HRC
000000000112607a 14565 DANCE\12538.DPS
0000000001ae03c5 394 UI\MATCHLOBBY\LOBBY140.PNG
0000000000bfcad8 32896 AVATAR\007234_MAN_SHOULDER_1.DDS
0000000001b1af9e 12390 UI\MATCHLOBBY\LOBBY150.PNG
00000000056c8340 11 UI\CERTIFICATEDLG\10301_6.AN
000000000112995f 12346 DANCE\12539.DPS
00000000015569ae 464 3DNOTES\LONG.HRC
0000000000a3d1eb 17818 UI\ITEM2D_PACK_IN_SHOP\200010_CHARBACK10_1.PNG
0000000001577e26 10720 UI\PIECESDLG\MALE\CHECKED\6\5.PNG
00000000012a24da 65664 AVATAR\018121_MAN_HAIR.DDS
00000000126e4e8d 131200 AVATAR\033272_MAN_HAIR.DDS
00000000002b1900 65664 AVATAR\018221_MAN_HAIR.DDS
00000000013ba376 1530 UI_MINI\LINPAIDLG\LINGPAI_OK_1.PNG
000000000157e957 13859 UI\PIECESDLG\MALE\CHECKED\7\1.PNG
000000001590ac1d 262272 AVATAR\033472_MAN_HAIR.DDS
0000000013407ae9 131200 AVATAR\033332_MAN_PANT.DDS
0000000005c6bf58 93501 UI\MUSIC\ICONS\12571.PNG
0000000001c61c24 15476 PETMOTION\TOTO_RUN.MOT
0000000011c15122 10127 DANCE\12730.DPS
0000000011c178b1 11395 DANCE\12731.DPS
0000000011c1a534 11712 DANCE\12732.DPS
0000000000c31b6d 26 UI\ITEM2D_PACK\100975_TGSTHLKT.AN
0000000000ebf626 131200 SCENE\MONSTERROOM\SLYUANJING_.DDS
0000000011c1d2f4 12651 DANCE\12733.DPS
0000000011c2045f 12334 DANCE\12734.DPS
0000000000e77d40 74140 PETMOTION\001_1_GAME_PE_OPEN_W.MOT
000000000183601b 3338 UI\STATIS\O2JAMSTATISTIC\REDBAG_NUM\0.PNG
0000000011c2348d 11066 DANCE\12735.DPS
00000000006bde85 65664 AVATAR\014902_MAN_HAIR.DDS
0000000011c25fc7 13285 DANCE\12736.DPS

- 127792 files found in 232 seconds
coverage file 0 99% 6880618 6892498
coverage file 1 88% 5680201809 6429115688
coverage file -1 100% 3067008 3067008
coverage file -2 100% 3813586 3813586
coverage file -3 0% 0 57

I see your new script can get the correct files structure but incorrect the files' content

example in previous version of datas/petdress.txt is readable

1010000 1010000_laoshu_face.msh
1010001 1010001_xiaomao_face.msh
1010002 1010002_huanxiong_face.msh
1010003 1010003_xiaogou_face.msh

...........

but now is unreadable

BF00008040D784543EE276A0BE1AF9043F437444BF0000A040FAB5953D4FCCDABEE124E53E213A48BF0000C...

--> ¿..€@ׄT>âv ¾ù?CtD¿.. @úµ•=OÌÚ¾á$å>!:H¿..À@$¾[_¿ ?¸>¢
D¿..à@÷°¿¾h¿©£ƒ>«é*¿...A¦·¿îx¿T§3>|c¿..AÀ'¿G¿Ô 9>é_¿.. A©¤*¿ù¼Ò¾€+9> 8¿..0A~ÿ&¿)˘¾Åç.>÷é,¿.

I dont think they encrypted them. just wrong some offset

thank for you helping
Last edited by 123xong on Wed Jun 15, 2016 1:46 am, edited 1 time in total.
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

Sorry, maybe my wrong
in new version, they splitted big file datas.sac into many small files and I have to know the way to combine them into one big file before using your script

2016-06-15_002801.jpg


:( :( :( :( :( :(
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

As i said, they added new block with patch files and seems some files can be compressed. I need full client.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by AnonBaiter »

Ekey wrote:I need full client.

Then you'll need to grab a copy of the game for yourself. Here's a link where you can download the full client.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

AnonBaiter wrote:
Ekey wrote:I need full client.

Then you'll need to grab a copy of the game for yourself. Here's a link where you can download the full client.

This client is invalid. Old variant with a large archive. I need client with splitted archives. Seems it's http://sdo.9you.com/web_v8/download_game.html
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

Ekey wrote:
AnonBaiter wrote:
Ekey wrote:I need full client.

Then you'll need to grab a copy of the game for yourself. Here's a link where you can download the full client.

This client is invalid. Old variant with a large archive. I need client with splitted archives. Seems it's http://sdo.9you.com/web_v8/download_game.html


yes it is, :P :P :P , thank you very much
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

Here we go.

Code: Select all

# Super Dancer Online (SAI/SAC format) 0.3b
# Written by Ekey (h4x0r)
# Game: http://sdo.9you.com/web_v8/download_game.html
#
# script for QuickBMS http://quickbms.aluigi.org

get EXT extension
if EXT != "sai"
   print "Error: you must select the file with SAI extension, all the others will be extracted automatically!"
   cleanexit
endif

# Function for decrypt > pBuffer, dwSize
set MEMORY_FILE3 binary "\x55\x8B\xEC\x57\x8B\x7D\x0C\x33\xC9\xBA\x61\xF9\x53\x7C\x85\xFF\x7E\x22\x56\x8B\x75\x08\xEB\x08\x8D\xA4\x24\x00\x00\x00\x00\x90\x69\xD2\x09\x3D\x00\x00\x8B\xC2\xC1\xE8\x10\x28\x04\x31\x41\x3B\xCF\x7C\xED\x5E\x8B\xC7\x5F\x5D\xC3"

get SAI_SIZE asize 0
get ARCHIVE_PATH FILE_FOLDER

idstring "SDO\x00" 0
get FILES long 0
get NAMES_SIZE long 0
get ZERO long 0
get PATCH_CHUNKS long 0
get PATCH_FILES long 0

set PATCH_SIZE long PATCH_FILES
xmath PATCH_SIZE "PATCH_SIZE * 264"

savepos ENTRY_OFFSET 0
set ENTRY_SIZE long SAI_SIZE
xmath ENTRY_SIZE "FILES * 24"
log MEMORY_FILE1 ENTRY_OFFSET ENTRY_SIZE 0
calldll MEMORY_FILE3 0 cdecl RET MEMORY_FILE1 ENTRY_SIZE

set NAMES_OFFSET long SAI_SIZE
xmath NAMES_OFFSET "NAMES_OFFSET - NAMES_SIZE - PATCH_SIZE"
goto NAMES_OFFSET 0
log MEMORY_FILE2 NAMES_OFFSET NAMES_SIZE 0
calldll MEMORY_FILE3 0 cdecl RET MEMORY_FILE2 NAMES_SIZE

for i = 0 < FILES
   get FLAG long MEMORY_FILE1
   get SIZE long MEMORY_FILE1
   get OFFSET long MEMORY_FILE1
   get NAME_OFFSET long MEMORY_FILE1
   get CHUNK_ID long MEMORY_FILE1
   get PATCH_ID long MEMORY_FILE1
   goto NAME_OFFSET MEMORY_FILE2
   get NAME string MEMORY_FILE2
   
   if PATCH_ID != 0
      string ARCHIVE_NAME p "%s\Data\Datas_p%d.sac" ARCHIVE_PATH PATCH_ID 
   else CHUNK_ID >= PATCH_ID
      string ARCHIVE_NAME p "%s\Data\Datas%d.sac" ARCHIVE_PATH CHUNK_ID
   endif
       
   open FDSE ARCHIVE_NAME 1
   log NAME OFFSET SIZE 1
next i
123xong
Posts: 15
Joined: Thu Jun 02, 2016 2:35 am

Re: Super dancer online - sac, sai

Post by 123xong »

wow, your newest 0.3b is workingggggggggggggggggggg
I still cannot believe
Ekey,you are awesome, best help ever !!!!!
thank you very much again !!!!!!!!!! :o :o :o :o :o :o :o :o :o :o
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Super dancer online - sac, sai

Post by Ekey »

You're welcome :D