Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

  • Author
  • Localization

hwiorn, posted Sun May 12, 2019 7:39 am (47723)


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:
./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: [email protected]
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:
./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: [email protected]
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:
./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: [email protected]
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 :)
  • Author
  • Localization

aluigi, posted Sun May 19, 2019 8:45 pm (47835)


I think it's just the script not compatible with the reimport mode, can't help.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.