anonymousException / renpy-translator

A translator for renpy based on google | youdao | deepl | open-ai | offline-ai tranlation supports extract untranslated words and translate
MIT License
100 stars 12 forks source link

Single file extraction is very inconvenient and should be extracted by folder. #11

Closed jusaozzz closed 7 months ago

jusaozzz commented 7 months ago

Single file extraction is very inconvenient and should be extracted by folder.

Screenshot_4

jusaozzz commented 7 months ago

https://mega.nz/file/92BzUIoD#FBlxcqygxObnt1IBYRzaUjbftGUKYLwH3h9w1K6o1vY

anonymousException commented 7 months ago

https://mega.nz/file/92BzUIoD#FBlxcqygxObnt1IBYRzaUjbftGUKYLwH3h9w1K6o1vY

The extraction is successful , 19KB is extracted image

anonymousException commented 7 months ago

The only reason why you extract nothing is due to the feature : extrated contents will not be extracted again May be in other rpy file (not Phone.rpy) , same extrated contents exist I think it's probably due to your sub folder test

jusaozzz commented 7 months ago

More often, the name of the character's room cannot be extracted. 19kb is also incomplete.

anonymousException commented 7 months ago

More often, the name of the character's room cannot be extracted. 19kb is also incomplete.

Why do you think 19kb is incomplete , I check the file you upload , many contents are code not conversation. I think 19kb is reasonable

anonymousException commented 7 months ago

Phone.zip You can view the extracted rpy file from this and check what is missing

jusaozzz commented 7 months ago

Let's say for example that we can't extract the name of the taskbar, we can only extract the task content. On the contrary, there are still many that cannot be fully extracted.

jusaozzz commented 7 months ago

taskmission.zip Screenshot_14

anonymousException commented 7 months ago

taskmission.zip Screenshot_14

Is it a picture ? I do not even find the word 'Objective' in the file you offered image the extracted rpy file is : taskmission.zip

jusaozzz commented 7 months ago

He's not a imegs. I also looked for it specifically.

jusaozzz commented 7 months ago

I will give you the answer so that you can perfect the extraction

anonymousException commented 7 months ago

I will give you the answer so that you can perfect the extraction

Better a specific example , such as a detail game

anonymousException commented 7 months ago

I will give you the answer so that you can perfect the extraction

Actually it's a different issue , we should not talk in this issue You can open a new issue with detail requirement about how to improve the extraction This issue is about to improve sub directory problem

jusaozzz commented 7 months ago

About how long will it take for the subfolder to be installed?

jusaozzz commented 7 months ago

You know, it's good to solve multiple problems at once instead of creating an extra one.

anonymousException commented 7 months ago

About how long will it take for the subfolder to be installed?

I will try to make it supportable in 24 hours

anonymousException commented 7 months ago

You know, it's good to solve multiple problems at once instead of creating an extra one.

I know , but I think different issues need to be distinguished ,and this does not mean that multiple problems will not be solved

jusaozzz commented 7 months ago

You can submit a lot of questions in 1 question, and like I submitted it's never a useless suggestion.

anonymousException commented 7 months ago

You can submit a lot of questions in 1 question, and like I submitted it's never a useless suggestion.

In my view it's hard to maintain if all the submit is merged. But this does not matter in the tiny project

jusaozzz commented 7 months ago

I need to ask a question. Why doesn't this work? It won't install in the custom tl directory, but in the default eng directory. Screenshot_15

anonymousException commented 7 months ago

I need to ask a question. Why doesn't this work? It won't install in the custom tl directory, but in the default eng directory. Screenshot_15

In current time , tl is just for file(s) , I will modify this in next version You want to make the output dir : xxx/game/tl/RE1 right?

jusaozzz commented 7 months ago

Yes

anonymousException commented 7 months ago

Yes

I will make this supportable in future version Besides I am developing another tool for renpy , you can view it from renpy-runtime-editor If you are interested about it , you can try it for the first time Of course , any suggestions is acceptable

jusaozzz commented 7 months ago

So I don't think I'm going to close this, and I'm going to look at it all at once so you can fix it instead of not fixing it all at once, which would be a waste of your time as well.

anonymousException commented 7 months ago

So I don't think I'm going to close this, and I'm going to look at it all at once so you can fix it instead of not fixing it all at once, which would be a waste of your time as well.

No problem , you can keep the issue open until all the features improved

jusaozzz commented 7 months ago

I have a suggestion for your new program. Custom character names. This is important.

jusaozzz commented 7 months ago

name

anonymousException commented 7 months ago

I have a suggestion for your new program. Custom character names. This is important.

It's already supportable , in 'who' area Have you already watched the usage video?

jusaozzz commented 7 months ago

For example, you can modify [MC] [MC_name MC_name] [name]

jusaozzz commented 7 months ago

I'm trying to figure out what the function is.

jusaozzz commented 7 months ago

characters It's some character names that apparently weren't extracted, including character room names. 0kb

anonymousException commented 7 months ago

characters It's some character names that apparently weren't extracted, including character room names.

what is the length of character names To avoid extra useless extraction , the extraction function in this tool will not extract sentences match the following style :

the length of sentences (space and special synbol will be counted as zero length) lower than 8

for example :

"I know [special symbol]"

the actual effect content is

Iknow

the length is only 5 , so it will not be extracted by the extraction from the tool

anonymousException commented 7 months ago

For example, you can modify [MC] [MC_name MC_name] [name]

I think it's already supportable in curent version

jusaozzz commented 7 months ago

Sometimes useless extraction is important.

anonymousException commented 7 months ago

Sometimes useless extraction is important.

Maybe I need to add a option to control whether to extract 'useless extraction' And you can choose what you want

jusaozzz commented 7 months ago

okay

jusaozzz commented 7 months ago

I'm testing your new program for bugs.

anonymousException commented 7 months ago

I'm testing your new program for bugs.

Thanks for your help

In fact, it's quite late in my time zone and I'll deal with the remained issue you mentioned tomorrow

jusaozzz commented 7 months ago

Screenshot_17

jusaozzz commented 7 months ago

This is your new program, Mr. Bug Goodnight.

anonymousException commented 7 months ago

This is your new program, Mr. Bug Goodnight.

The renpy version of the game ? I will handle it tomorrow

jusaozzz commented 7 months ago

8.1.3

jusaozzz commented 7 months ago

7.5

jusaozzz commented 7 months ago

There's an error in all of them, including older versions of Renpy.

jusaozzz commented 7 months ago

If there's a bug, I've been looking at it. If there's a bug, I've been looking at it and submitting it. Hopefully, it won't affect you? Get a reminder e-mail.

anonymousException commented 7 months ago

If there's a bug, I've been looking at it. If there's a bug, I've been looking at it and submitting it. Hopefully, it won't affect you? Get a reminder e-mail.

It does not matter at all

anonymousException commented 7 months ago

There's an error in all of them, including older versions of Renpy.

That's weird , is the game unpacked?

jusaozzz commented 7 months ago

Yes

jusaozzz commented 7 months ago

And it managed to destroy the original program and prevent it from opening properly.

anonymousException commented 7 months ago

And it managed to destroy the original program and prevent it from opening properly.

I also meet the problem in a game just now , still need to improve