A question about unitygame translate

  • Thread starter Thread starter sailr
  • Start date Start date
  • Views Views 972
  • Replies Replies 3

sailr

Well-Known Member
Newcomer
Joined
Mar 8, 2020
Messages
83
Reaction score
89
Trophies
0
Location
china(中国)
Website
space.bilibili.com
XP
992
Country
China
I'm trying to translate a game into Chinese,
However, after replacing the files in assets, the game cannot read the assets file
If you open it again using the asset studio GUI or asset bundle extractor, the following error will be displayed
1649659168376.png
QQ图片20220410204357.png


AAAAAANNND
This is the game I'm translating,A Cuban game
name is GESTA FINAL(this is a preview made by Photoshop)

QQ截图20220411140819.png
 
All manner of potential issues here.

Usual two are encoding issues (while PCs nominally support all manner of encodings it can change on a program by program basis, while I would hope a 2012 game would be using unicode then reality is often so disappointing -- https://www.joelonsoftware.com/2003...-about-unicode-and-character-sets-no-excuses/) and pointers, though as this is PC you might find the game has allocated a certain amount to memory in code (as opposed to traditional pointers) and slamming however many 16 bit (or even 24 in some cases) characters in there exceeded that.

Take it slowly in that case.

Edit the file but don't make anything larger and continue using English/Spanish text (preferably just copy data from adjacent characters). See if that works.
Now edit the file but see if larger strings work.
Now edit the file but see if Chinese replacement works (maybe even leave it the same length in bits)

Where it errors out will help you narrow down what the issue is.
 
  • Like
Reactions: Takokeshi
All manner of potential issues here.

Usual two are encoding issues (while PCs nominally support all manner of encodings it can change on a program by program basis, while I would hope a 2012 game would be using unicode then reality is often so disappointing -- https://www.joelonsoftware.com/2003...-about-unicode-and-character-sets-no-excuses/) and pointers, though as this is PC you might find the game has allocated a certain amount to memory in code (as opposed to traditional pointers) and slamming however many 16 bit (or even 24 in some cases) characters in there exceeded that.

Take it slowly in that case.

Edit the file but don't make anything larger and continue using English/Spanish text (preferably just copy data from adjacent characters). See if that works.
Now edit the file but see if larger strings work.
Now edit the file but see if Chinese replacement works (maybe even leave it the same length in bits)

Where it errors out will help you narrow down what the issue is.
I've tried these methods,For example, import the exported image again,Or do not modify the characters, only modify the picture,Unfortunately, it will still report an error:cry:
 
All manner of potential issues here.

Usual two are encoding issues (while PCs nominally support all manner of encodings it can change on a program by program basis, while I would hope a 2012 game would be using unicode then reality is often so disappointing -- https://www.joelonsoftware.com/2003...-about-unicode-and-character-sets-no-excuses/) and pointers, though as this is PC you might find the game has allocated a certain amount to memory in code (as opposed to traditional pointers) and slamming however many 16 bit (or even 24 in some cases) characters in there exceeded that.

Take it slowly in that case.

Edit the file but don't make anything larger and continue using English/Spanish text (preferably just copy data from adjacent characters). See if that works.
Now edit the file but see if larger strings work.
Now edit the file but see if Chinese replacement works (maybe even leave it the same length in bits)

Where it errors out will help you narrow down what the issue is.
I found the problem. Their pictures are compressed. Thank you for your help^_^^_^
 
  • Like
Reactions: Takokeshi

Site & Scene News

Popular threads in this forum