Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export/Import TextAsset #12

Closed
Marsi84 opened this issue Oct 16, 2015 · 10 comments
Closed

Export/Import TextAsset #12

Marsi84 opened this issue Oct 16, 2015 · 10 comments

Comments

@Marsi84
Copy link

Marsi84 commented Oct 16, 2015

Hi DerPopo,

I would like to thank you for this freat tool you provided us.

I'm trying to use UABE to translate game contents. 
To do that I open the resource.asset file and look for the textasset type files (as someone said before me a search option or some kind of filtering would be great). 

Once I find them I use the Text Plugin to export them creating a .txt file, I edit the file translating only the strings that need to be translated and save it.

Then when I go back to UBAE to import my file back into the asset bundle it seems it doesn't make any changes. It doesn't replace the file with the one i edited.

Am I doing it the wrong way? Do you have any suggestions?

Thank you in advance for your consideration.

@DerPopo
Copy link
Collaborator

DerPopo commented Oct 17, 2015

Does File->Save show a save dialog? If it doesn't, there is a bug in the plugin.

Searching and sorting works right now and will be released with the next version.

@Marsi84
Copy link
Author

Marsi84 commented Oct 17, 2015

Thank you for the reply DerPopo, I managed to solve the problem! :)

Btw not sure if UABE is supposed to work with any Unity game but I found out that if I try to import files into Planetbase (released yesterday on Steam) UABE crashes (same for UAE actually).

@DerPopo
Copy link
Collaborator

DerPopo commented Oct 17, 2015

What kind of data do you import (and do you use asset dumps, raw data or plugins)?
The Texture plugin of the current release can crash with games using Unity 5.2 (maybe also with 5.1).

@Marsi84
Copy link
Author

Marsi84 commented Oct 17, 2015

I'm only working with textassets for translations. I'm using the plugin to both export and import .txt files

@DerPopo
Copy link
Collaborator

DerPopo commented Oct 17, 2015

Does it crash during File->Save or does it while using the plugin?

@Marsi84
Copy link
Author

Marsi84 commented Oct 17, 2015

During the File-> Save

@DerPopo
Copy link
Collaborator

DerPopo commented Oct 17, 2015

Ok, one last thing that might help me to reproduce it : which Unity version does Planetbase use? You can find it in the mainData or any .assets file at the beginning (using a hex editor or even notepad). It should look similar to "5.2.0f3".

@Marsi84
Copy link
Author

Marsi84 commented Oct 17, 2015

5.0.4f1

@Marsi84
Copy link
Author

Marsi84 commented Oct 18, 2015

So, one more update, if i do File-> Save and try to overwrite it crashes, if i do File-> Save and create a new file it doesn't crash.

@DerPopo
Copy link
Collaborator

DerPopo commented Oct 18, 2015

I forgot to make it check whether the file was successfully opened for writing, which is not possible if it already opened that file for reading.

@DerPopo DerPopo closed this as completed Jan 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants