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

BdatEditor export and import files #18

Open
wandersonareis opened this issue Dec 2, 2020 · 3 comments
Open

BdatEditor export and import files #18

wandersonareis opened this issue Dec 2, 2020 · 3 comments

Comments

@wandersonareis
Copy link

Is it possible for BdatEditor to export and import files with texts?

It would be easier to use Omegat for localization in my language.

The game has thousands of files with texts.
If .bdat has a file and I don't select it before using "View Table" the editor closes.
If you have a file it should open or not open at all. A simple bug.

@wandersonareis
Copy link
Author

Thanks for the reply.
I can extract the bdat files into Json.
Some files give error for the difference of file size and byte size, but it works fine.
if (file.Length < fileLength)

How can I make Json to bdat?
I didn't find this in the code.

@Thealexbarney
Copy link
Owner

Recreating the bdat files hasn't been implemented

@yamosin
Copy link

yamosin commented Jun 18, 2022

Here's a little trick of my own for quickly modifying a large number of values for a table in bdat
After using BdatEditor.exe to open bdat, go to any table, Ctrl+a select all the data and Ctrl+c copy, paste it into excel
Modify values in excel
ctrl+a, ctrl+c copy all the contents of excel, use "Paste Text Only" to paste into word
ctrl+h use the replace function, replace ^p with ^t, replace line break symbol (enter) to indent symbol (tab)
ctrl + a, ctrl + c copy all the contents of word
open the SnIput.exe tool and uncheck all filter settings
Back to BdatEditor.exe, click on the top left corner of the table "1", positioning from the first line of the first column to start typing
Press F11, SnInput will automatically split the copied data and enter them in sequence

firefox_7otZjrSxhZ
sninput.zip

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

3 participants