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

Unable to create .afs file #17

Open
Woodnsus opened this issue Jul 25, 2024 · 3 comments
Open

Unable to create .afs file #17

Woodnsus opened this issue Jul 25, 2024 · 3 comments

Comments

@Woodnsus
Copy link

Hello.

I am trying to create a new .afs file after I extracted and edited the contents of an old one. I was able to extract the old one easily, but now that I need to repack the contents, the application refuses to work. I wonder if this is a bug, or whether I'm doing something wrong. I hope you can provide some insight.

I'm running Windows 10, up to date, .NET Runtime 6 installed, running cmd as an admin and directing to the location of the application (F:\Downloads\AFSPacker-v2.1.2-win-x64).

The folder of contents ("New2") I want to turn into an .afs file is located at F:\Downloads\wit-v3.05a-r8638-cygwin64\bin\DUMP\files.

The command I input in CMD is "AFSPacker.exe -c F:\Downloads\wit-v3.05a-r8638-cygwin64\bin\DUMP\files\New2 F:\Downloads\Amogus\wzs3eu2.afs

Hope this is sufficient info. Please let me know if there's anything else I should provide. Thank you.
image

@MaikelChan
Copy link
Owner

Hi!

Would you be able to send the files you are trying to package, along with the .json file, for me to test?

Thanks!

@Woodnsus
Copy link
Author

Woodnsus commented Jul 31, 2024 via email

@MaikelChan
Copy link
Owner

I can't see the image you posted. Is it an error like this?

[Error] Could not find file 'files.json'.

That .json file is important as it contains information about how to regenerate the .afs file so it's compatible with that specific game.

If you lost it, you can try extracting the original afs file again. The .json will generate again and should be located along with the folder with the extracted files. Then place your edited files in that new folder and try creating the afs file again.

Hopefully it works this time!

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