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

PermissionError: [Errno 13] Permission Denied: 'files\\data.trpfs' #10

Open
CantWeAllDisagree opened this issue Nov 18, 2022 · 1 comment

Comments

@CantWeAllDisagree
Copy link

CantWeAllDisagree commented Nov 18, 2022

Dumped Scarlett Romfs, Moved data.trpfs folder and data.trpfd to files, put flatc.exe and the oo2core_6_win64.dll into tools

Run python script and get this error, no output folder is created.

Extracting data from trpfs file...
Traceback (most recent call last):
File "trpfs_extract.py", line 84, in
ExtractFS()
File "trpfs_extract.py", line 29, in ExtractFS
with open(file_dir + "\data.trpfs", mode="rb") as fs, open(file_dir + "\fs_data_separated.trpfs", mode="wb") as fs_sep:
PermissionError: [Errno 13] Permission denied: 'files\data.trpfs'

@CantWeAllDisagree CantWeAllDisagree changed the title PermissionERROr: [Errno 13] Permission Denied: 'files\\data.trpfs' PermissionError: [Errno 13] Permission Denied: 'files\\data.trpfs' Nov 18, 2022
@ItsaGlitch1
Copy link

if your data.trpfd is a folder containing files like 00 and 01, you need to combine those files into one and rename it to data.trpfd.

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