Skip to content

Compatibility of the Counter with Theme #87

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

Open
Ted853 opened this issue Nov 15, 2024 · 2 comments
Open

Compatibility of the Counter with Theme #87

Ted853 opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Ted853
Copy link

Ted853 commented Nov 15, 2024

I tried use both the Conter and the Theme. (The Theme is clean and nice)

Bug 1: The theme is not work after put the files in \data\themes
Solve: unzip and put the floder in \data\mods, load the theme as mod in game. then change theme in setting.

Bug 2: The storyline dialog unable to display in SChinese.
Solve: Replace NotoSans-Bold.ttf and NotoSans-Medium.ttf to CJK fonts.

Bug 3: When launch the Conter, it noticed to change some of the theme file. As I used the theme as a Mod. Even some file was added to the theme floder, the conter is still not work correctly and send the notice repeatedly.

@ssjshields
Copy link
Owner

ssjshields commented Nov 15, 2024

Thanks for your report. This feature is actively being worked on and these work arounds are a result of the new PokeMMO modding system that was implemented, a substantial amount of code must be changed in the Counter script.

Temporarily, if you want to add compatibility manually to the custom theme

  1. Copy the AC folder from Archetype Counter's src\lib\AC into the same directory the theme's theme.xml is in.

  2. Add <include filename="AC/1.0_Scaling.xml"/> to the towards the bottom of the theme.xml before the closing line.

example:

	<include filename="main-widgets.xml"/>
        <include filename="AC/1.0_Scaling.xml"/>
</themes>

(other themes may have different code in their theme.xml, so disregard if main-widgets isn't the second to the bottom.)

(other themes may be in .zip or .mod format, open them with 7zip and freely edit the xml without having to extract/reformat the entire theme.)

Afterwards, during battles you should now see a small pink pixel in the top left corner of the screen and the Counter should start counting encounters. If the theme fails to load you did not edit the theme.xml properly.

@Ted853

This comment has been minimized.

@ssjshields ssjshields self-assigned this Nov 22, 2024
@ssjshields ssjshields added bug Something isn't working enhancement New feature or request labels Nov 22, 2024
@ssjshields ssjshields changed the title Compatibility of the Conter with Theme Compatibility of the Counter with Theme Nov 22, 2024
@ssjshields ssjshields pinned this issue Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants