File could not be opened for reading
I'm trying to use XenonRecomp tool and i'm getting this:
sully@sully-veritonx4610g:~/ts3-pc/build/XenonRecomp$ sudo ./XenonRecomp TS3.toml /home/sully/ts3-pc/XenonRecomp/XenonUtils/ppc_context.h terminate called after throwing an instance of 'toml::v3::ex::parse_error' what(): File could not be opened for reading Aborted
I have no idea what this means. The file TS3.toml does exist in the folder.
Is the .toml file itself formatted incorrectly? Maybe the error is misleading.
I also tried to use the .toml from sonic unleashed recompiled and got the same thing.
If you're using the Unleashed toml, do all the file paths match? I got this error when I didn't comment out the patch and patched file paths that weren't applicable for my use case
I think i do.
[main]
file_path = "../private/default.xex"
patch_file_path = "../private/default.xexp"
patched_file_path = "../private/default_patched.xex"
out_directory_path = "../ppc"
switch_table_file_path = "SWA_switch_tables.toml"
This is the main part of my .toml file,
and this is the folder structure where XenonRecomp and everything else is.
in the private folder is the .xex file and such
Maybe that is help full.
Just to confirm, SWA_switch_tables.toml is in the XenonRecomp folder right (meaning the same folder as the XenonRecomp executable)? If so, maybe try making an empty ppc folder
Sorry for the long wait but i've updated the .toml this is now the main part
[main] file_path = "/home/sully/ts3-pc/build/private/default.xex" out_directory_path = "/home/sully/ts3-pc/build/private/ppc" switch_table_file_path = "/home/sully/ts3-pc/build/private/TS3_switch_tables.toml"
and this is the contents of the private folder
and it's still giving the same exact error
Your paths all look right, the only thing I can think of is that it might not like the '-' in the 'ts3-pc' part of your file path? Your toml is the exact UnleashedRecomp one, just with the file paths changed and the patched_file_path removed right? If you did that, I can't see the tabs getting messed up or something like that
I'll look if i can change the name of ts3-pc
Nope still the same.
I also updated the lines in the ts3.toml file
I found that Unleashed doesn't work with XenonRecomp without the invalid_functions defined, maybe your game is the same? Does recompiling Unleashed work on your system?