reallyhairydave Posted March 7, 2022 Share Posted March 7, 2022 So the first part worked great, I've got all the BCS files in my temp folder. I'm having trouble understanding the decompile step though, I keep getting the unknown argument spiel Quote Link to comment
reallyhairydave Posted March 7, 2022 Share Posted March 7, 2022 Right, I'm going to call it a night again. Thanks for being patient with me Quote Link to comment
lynx Posted March 7, 2022 Share Posted March 7, 2022 you need to run weidu on each of those files. If your shell or weidu can't handle that many at once, try with a loop or limiting the glob and doing it in steps (for example [a-k]* then [l-z]*). Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 The only command that seems to get any traction for me is "weidu *.bcs" and it returns with things like "resource [*.bcsYUXTHRET.BCS] not found for 'decompile BCS command'". Things like "weidu [a-k]*.bcs" aren't recognised, I really don't get how to wildcard the .bcs files because it seems to double up the command somehow Quote Link to comment
lynx Posted March 8, 2022 Share Posted March 8, 2022 does it work if you run it on a specific file, eg. weidu YUXTHRET.BCS Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 Yeah, that's the thing that really gets me confused. I've done it manually for the first file and wrote a basic batch file in this format that works too: @echo off START weidu.exe "01POOL3.bcs" I'm manually copying the names over from a listing.txt file I made but it's going to take a while Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 Done... Looks like all the files are now decrypted to .baf format Quote Link to comment
lynx Posted March 8, 2022 Share Posted March 8, 2022 (edited) If you had to do it manually, I suggest a backup. Open WSL and move to the same folder, then run this to remove redundant files: Quote rm *.bcs grep -L Player6 * | xargs rm Edited March 8, 2022 by lynx Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 I'm getting this "rm: cannot remove '*.bcs': No such file or directory" and this "grep: baf: Is a directory grep: bak: Is a directory grep: d: Is a directory rm: cannot remove 'baf': Is a directory rm: cannot remove 'bak': Is a directory rm: cannot remove 'd': Is a directory" Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 I think it's because I'm running Minimum Install Setup for Kali Linex, I'm trying to find what I need to get it fleshed out a bit more Quote Link to comment
lynx Posted March 8, 2022 Share Posted March 8, 2022 err, did you run that in the folder with the baf files? If there are no bcs files there any more, then no problem. The other errors are fine as well. Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 Oh you're right, forgot to check after running them Quote Link to comment
lynx Posted March 8, 2022 Share Posted March 8, 2022 so once you've removed the cruft, it's time to recompile the rest. So again just weidu baf-file for all those file. I don't know how wsl works, but perhaps you can run the same weidu executable as well? Perhaps that way you can avoid the problems you had when decompressing and just do weidu *baf . Quote Link to comment
reallyhairydave Posted March 8, 2022 Share Posted March 8, 2022 Same problem but much easier to make a quick change to the .bat and run that again Quote Link to comment
lynx Posted March 8, 2022 Share Posted March 8, 2022 oh wait, we forgot to do the magic! Keep the list though. Before recompiling the scripts, run this on each baf file (here named the-input.baf): 10pp/wrapper.pl the-input.baf 10 the-output.baf mv the-output.baf the-input.baf Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.