ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Oct 18, 2019 1:27 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun May 12, 2019 7:39 am 

Joined: Sat May 11, 2019 7:23 am
Posts: 1
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: 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:
./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:
./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 :)


Attachments:
sharedassets0.7z [555.4 KiB]
Downloaded 17 times
Top
   
PostPosted: Sun May 19, 2019 8:45 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10800
I think it's just the script not compatible with the reimport mode, can't help.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited