Help reimporting fonts with "sharedassets0.assets" from creeper world 3 (unity game)

Doubts, help and support about QuickBMS and other game research tools
hwiorn
Posts: 1
Joined: Sat May 11, 2019 7:23 am

Help reimporting fonts with "sharedassets0.assets" from creeper world 3 (unity game)

Post by hwiorn »

I writing translation script for creeper world 3(unity game) using QuickBMS. But reimporting fonts are not correctly even though using same files.

Test environments:
- QuickBMS: 0.10.0 (latest)
- Unity.BMS: 0.2.4 (latest)
- Platform: macOS 10.13.6

I attached "sharedassets0.assets". Could you check this out?

Code: Select all

./quickbms -Y -f '*.ttf' unity.bms CW3_Data/sharedassets0.assets sharedassets0

QuickBMS generic files extractor and reimporter 0.10.0
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (May 10 2019 - 10:11:37)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts

- filter string: "*.ttf"
  *.ttf
- filter   1: *.ttf
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets
- open script unity.bms
- set output folder sharedassets0
- the folder doesn't exist, do you want to create it (y/N)?:

  offset   filesize   filename
--------------------------------------
5.2.3f1
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets.resS
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.resource
  00069094 59232      sharedassets0~Aldrich-Regular.ttf
  00077804 892432     sharedassets0~arial.ttf
0 sound files from sound archive extracted. No residual data.

- 2 files found in 0 seconds
  coverage file 0    72%   1000770    1381908    . offset 0000537c
  coverage file 1   100%   7648       7648       . offset 00000000
  coverage file -1    0%   4          7648       . offset 00000004


Code: Select all

./quickbms -Y -w -r unity.bms CW3_Data/sharedassets0.assets sharedassets0

QuickBMS generic files extractor and reimporter 0.10.0
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (May 10 2019 - 10:11:37)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts


- REIMPORT mode enabled!
  - remember to select the SAME script, file and folder you selected during
    the previous extraction
  - it's highly suggested to leave only the edited files in the folder, it's
    faster and less prone to errors with compressed files

- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets
- open script unity.bms
- set output folder sharedassets0

  offset   filesize   filename
--------------------------------------
5.2.3f1
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets.resS
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.resource
- REIMPORT MEMORY_FILE WORK-AROUND: "sharedassets0"

- Do you want to use the experimental reimporting of chunked MEMORY_FILE (y/N)?
  \
Error: incomplete input file -1:
       Can't read 4 bytes from offset 00000000.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


Last script line before the error or that produced the error:
  490 getDstring IDENT 4 MEMORY_FILE


reimport2 mode is not work either.

Code: Select all

./quickbms -Y -w -r -r unity.bms CW3_Data/sharedassets0.assets sharedassets0

QuickBMS generic files extractor and reimporter 0.10.0
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (May 10 2019 - 10:11:37)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts


- alternative REIMPORT2 mode enabled!
  - remember to select the SAME script, file and folder you selected during
    the previous extraction
  - it's highly suggested to leave only the edited files in the folder, it's
    faster and less prone to errors with compressed files

- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets
- open script unity.bms
- set output folder sharedassets0

  offset   filesize   filename
--------------------------------------
5.2.3f1
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.assets.resS
- enter in folder /Users/gglee/hwiorn/quickbms/CW3_Data
- open input file /Users/gglee/hwiorn/quickbms/CW3_Data/sharedassets0.resource
- REIMPORT MEMORY_FILE WORK-AROUND: "sharedassets0"

- Do you want to use the experimental reimporting of chunked MEMORY_FILE (y/N)?
  \
Error: incomplete input file -1:
       Can't read 4 bytes from offset 00000000.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


Last script line before the error or that produced the error:
  490 getDstring IDENT 4 MEMORY_FILE


Thank you :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help reimporting fonts with "sharedassets0.assets" from creeper world 3 (unity game)

Post by aluigi »

I think it's just the script not compatible with the reimport mode, can't help.