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

these is a mod can only be used by Playlunky, modlunky can not pack it into a valid Spel2.exe #50

Open
OTOMariK opened this issue Feb 24, 2021 · 1 comment
Labels
bug Something isn't working Packing Issues related to Packing Assets

Comments

@OTOMariK
Copy link

I have submitted the mod: https://spelunky.fyi/mods/m/unicode-support-chinese-translation-mod-v10/

the game version is: 1.20.2a

the files I replaced:

  • Overrides\Data\Fonts\fontfirasans.fnb
  • Overrides\Data\Fonts\fontyorkten.fnb
  • Overrides\Data\Textures\fontfirasans.DDS <- a 16384*16384 texture, 256MB
  • Overrides\Data\Textures\fontyorkten.DDS <- a 16384*16384 texture, 256MB
  • Overrides\strings00.str

when I pack this mod by using modlunky with the clean version of the game executable, I got these output:

2021-02-24 17:13:10,856: Patching asset checksum check
2021-02-24 17:13:11,555: Didn't find instructions to patch. Is game unmodified?
2021-02-24 17:13:12,251: Didn't find production string in release. Is this a vanilla binary being patched?
2021-02-24 17:13:12,251: Repacking complete!

and I can not launch the packed Spel2.exe
you will get something like this:
image

However, Playlunky works well with this mod.
Is there a limitation on the file size?

@gmjosack
Copy link
Member

So a downside of the way we pack the assets back into the game is the asset bundle has to be the same size or smaller than before. Most people don't run into issues because we aggressively compress the assets but 2 256MB assets is way larger than the original size and is impossible to work with the method modlunky uses.

Playlunky will soon be integrated into the modlunky interface and be the encouraged way to load mods, hopefully in the next couple days.

Here's a sneak peak of the interface:
unknown

@gmjosack gmjosack added bug Something isn't working Packing Issues related to Packing Assets labels Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Packing Issues related to Packing Assets
Projects
None yet
Development

No branches or pull requests

2 participants