Skip to content
New issue

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

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

Already on GitHub? # to your account

Fat continent name #972

Closed
moldsax opened this issue Nov 22, 2024 · 13 comments
Closed

Fat continent name #972

moldsax opened this issue Nov 22, 2024 · 13 comments

Comments

@moldsax
Copy link

moldsax commented Nov 22, 2024

377840_1
vanila
377840_11
memoria

After the recent update, this is what it looks like when I play in Japanese.
I don't have time to check everything, but this anomaly did not occur in US.

@Tirlititi
Copy link
Collaborator

You should be able to change the size of these inside the file {ModFolder}\StreamingAssets\Data\World\Environment.txt (or create one if it doesn't exist):

# Resize or reposition continent titles here
# Rect has format (x, y, width, height)
# where (x, y) is the central position of the title on the screen

Title MistContinent JP [Rect=(0, 144, 1024, 128)]
Title OuterContinent JP [Rect=(0, 144, 1024, 128)]
Title ForgottenContinent JP [Rect=(0, 144, 1024, 128)]
Title LostContinent JP [Rect=(0, 144, 1024, 128)]

Maybe the default size for the Japanese titles are not 1024x128. I need to verify that they still appear correctly in vanilla Japanese.
But for your mod, you can just write any size you want there.

@moldsax
Copy link
Author

moldsax commented Nov 23, 2024

I appreciate your kindness.
The numbers below seem to be close to vanilla.

Title MistContinent JP [Rect=(0, 144, 512, 256)]
Title OuterContinent JP [Rect=(0, 144, 512, 256)]
Title ForgottenContinent JP [Rect=(0, 144, 512, 256)]
Title LostContinent JP [Rect=(0, 144, 512, 256)]

377840_14
Personally, this solved the problem for me, but it's an obstacle when playing in Japanese, so I would like to see Menoria fixed.

@Tirlititi
Copy link
Collaborator

Thanks a bunch for reporting the bug. I think we'll release another small patch soon that contains the fix for it.

@yuyu-2021
Copy link

Thanks a bunch for reporting the bug. I think we'll release another small patch soon that contains the fix for it.

Thank you for your work💖

I see that there're 4 editable titles by default in 'Environment.txt'.

If I try to edit more, what should I do to add them into the text ?

like the 'South Gate' title.

@Tirlititi
Copy link
Collaborator

For these, you need to use another method.
The easiest is to run [Export] Translation if you haven't done it already: amongst the files it generates for a translation mod folder, there are the files in ExportedTranslationJP/StreamingAssets/Assets/Resources/FieldMaps/. They contain both the PNG images of the place titles and a file with extension .bgx. That file can be edited with a text editor and can be used to resize the place title images in-game if needed.

Example (Chocobo's Paradise title):

  • PNG image ExportedTranslation/StreamingAssets/Assets/Resources/FieldMaps/FBG_N14_CHCB_MAP300_CH_FST_0/Title_3.png
    image

  • BGX file ExportedTranslation/StreamingAssets/Assets/Resources/FieldMaps/FBG_N14_CHCB_MAP300_CH_FST_0/FBG_N14_CHCB_MAP300_CH_FST_0.bgx

USE_BASE_SCENE
LANGUAGE: US

OVERLAY
OverlayId: 3
CameraId: 0
ViewportId: 0
Position: 64, 176, 9
Size: 208, 80
Image: Title_3.png
Shader: PSX/FieldMap_Abr_None

More infos there

@yuyu-2021
Copy link

yuyu-2021 commented Nov 25, 2024

For these, you need to use another method. The easiest is to run [Export] Translation if you haven't done it already: amongst the files it generates for a translation mod folder, there are the files in ExportedTranslationJP/StreamingAssets/Assets/Resources/FieldMaps/. They contain both the PNG images of the place titles and a file with extension .bgx. That file can be edited with a text editor and can be used to resize the place title images in-game if needed.

Example (Chocobo's Paradise title):

  • PNG image ExportedTranslation/StreamingAssets/Assets/Resources/FieldMaps/FBG_N14_CHCB_MAP300_CH_FST_0/Title_3.png
    image
  • BGX file ExportedTranslation/StreamingAssets/Assets/Resources/FieldMaps/FBG_N14_CHCB_MAP300_CH_FST_0/FBG_N14_CHCB_MAP300_CH_FST_0.bgx
USE_BASE_SCENE
LANGUAGE: US

OVERLAY
OverlayId: 3
CameraId: 0
ViewportId: 0
Position: 64, 176, 9
Size: 208, 80
Image: Title_3.png
Shader: PSX/FieldMap_Abr_None

More infos there

I tried this method with a clean FFIX game flie . (newly downloaded , no mods , latest memoria only.)

Then I used the function 'export'--'translation' with the language "JP" selected,

However , all I can get was a 'ExportedTranslationUS' floder but not 'ExportedTranslationJP'.

QQ20241125-162728

Did I miss any steps .....? And could you let me know what should I do to fix this ?

Here is my setting:

[Export]
; no effect in game
; TextFileFormat: determines in what format the text resources will be exported; possible values: .strings, .resjson
Enabled = 1
Path = %StreamingAssets%
Languages = "JP"
Text = 0
Graphics = 0
Audio = 0
Field = 0
Battle = 0
TextFileFormat = .strings
Translation = 1

@Tirlititi
Copy link
Collaborator

[Export] Translation doesn't use the fields Languages and Path there, contrary to the other export options.
In order to use the base language "Japanese" for this, you first need to launch the game normally and select "Japanese" as the in-game language. Then activate the [Export] option and re-launch.

@yuyu-2021
Copy link

[Export] Translation doesn't use the fields Languages and Path there, contrary to the other export options. In order to use the base language "Japanese" for this, you first need to launch the game normally and select "Japanese" as the in-game language. Then activate the [Export] option and re-launch.

Actually I foud that if I change all the 'LANGUAGE: US' into 'LANGUAGE: JP' , and replace the US pictures with the JPs, then the problem will be solved.

538D66F571DC466B8A74BCD7BC69881C

@Tirlititi
Copy link
Collaborator

If it works, then that's great.
I am afraid that, by doing it like that, you could have problems because of layer informations mismatch (assuming you use Japanese as the base language for the translation; if your mod replaces the language "English (US)", then there won't be any problem).

@yuyu-2021
Copy link

yuyu-2021 commented Nov 26, 2024

If it works, then that's great. I am afraid that, by doing it like that, you could have problems because of layer informations mismatch (assuming you use Japanese as the base language for the translation; if your mod replaces the language "English (US)", then there won't be any problem).

I made this video ,hope it can explain ~

https://www.bilibili.com/video/BV1b6z3YXELX/?vd_source=bf592495f2a83a462e30dcdd360eec4d

@Tirlititi
Copy link
Collaborator

Tirlititi commented Nov 27, 2024

Hello. You are right, that doesn't work anymore for some reason. I may have changed something that broke the language selection there at some point.
I'll fix that, sorry.

EDIT: fixed in 2c994d8
It will be available as a release patch relatively soon

@Tirlititi
Copy link
Collaborator

In the meantime, here is a pack with these place titles and files .bgx: you should already be able to use and mod them.
Dropbox download link

@yuyu-2021
Copy link

yuyu-2021 commented Nov 29, 2024

In the meantime, here is a pack with these place titles and files .bgx: you should already be able to use and mod them. Dropbox download link

Horray !!!! Honestly I‘m so excited about this right now . hahahaha !!

Let's get to work~

[
F6FE8B4F7F8DE49959EB9D964D65C951

538D66F571DC466B8A74BCD7BC69881C
](url)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants