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

Contents 在哪里可以找得到? #2

Open
TheShermanTanker opened this issue Mar 1, 2023 · 1 comment
Open

Contents 在哪里可以找得到? #2

TheShermanTanker opened this issue Mar 1, 2023 · 1 comment

Comments

@TheShermanTanker
Copy link

TheShermanTanker commented Mar 1, 2023

@Mewnojs 不好意思,我的中文不是那么好。我在哪里可以找得到 Contents?

@Mewnojs
Copy link
Owner

Mewnojs commented Mar 2, 2023

Good question. The Contents cannot be included in the repo because of direct violation against visual arts & music copyrights.
We are considering to add a new function to extract resources from an original XAP file, just like how PokeMMO works.
As for now, you can manually do this, and here is the directory structure of a working Content folder:

Content
├ fonts
│ └ ...
├ images
│ └ ...
├ music*
│ └ ...
├ particles
│ └ ...
├ reanim
│ └ ...
├ sounds**
│ └ ...
├ Font.xnb
├ LawnStrings_xx.txt(5)***
├ resources.xml
└ todresources.xml

*wma music not compatible with PCGL & Android. For those versions, you need to convert them into vorbis format, and change some bytes in their respective .xnb files. Hint: these .xnb files actually behave like indices.
**sounds will not work if you replace MonoGame with FNA, as they are in some proprietary XACT format.
***xx refers to locale code, en for example.

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