Jump to content

[RESOLVED] Problem modify public Mac osx


Recommended Posts

Hi,

I have problems with changing the "public" file.

This file is compressed into zip and when I unpack and I make changes to certain file, when I recompress the same format the file public.zip am no longer the same size.

He spends 1.07 GB 579 Mo and the game no longer works.

I try to check in with different programs, but I still have this problem.

Can anyone tell me why?

Link to comment
Share on other sites

The zip than the game uses does not compress the files within it, so when you recreate it with compression it will be smaller.

It should still work after you remake the public.zip I think, are you sure you kept the same folder layout? You don't actually need to use a zip, the game can read files from a directory, so just have a public directory instead of the zip.

Link to comment
Share on other sites

The archive reader only supports DEFLATE compression or no compression, so you would have to adjust your compression settings.

But that isn't how the game is supposed to be modded, as we have support for user mods you could just create the file and folder structure in ~/Library/Application\ Support/0ad/mods/user and the game will load it and replace the file of the same name that is present in public.zip.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...