I am trying to convert these two files in to an elf for ida pro, but Patchrom's script doesn't work (I've tried debugging it.) Is there a better way to do this?
Now my brain is on fire trying to debug patchrom's script to convert code.bin and exh.bin to an elf, none of the functions are working, and windows cmd can't take a file path with spaces... Is there a better way to do this?
Program Files for the gcc arm compiler? I've also attempted double quoting, escape characters, but can't move the arm compiler out of program files without messing with environmental variables. The folder structure inside the folder has spaces in the folders names themselves. "dir /X" returns what dir normally returns.Please don't start multiple threads needlessly.
https://gbatemp.net/threads/how-to-extract-code-bin.653494/
You left the important question in your other post.
See, instead of asking "how can I do this", shouldn't you be asking "how can I use file paths with spaces"?
The most straightforward way would be to simply put your files in a new path without spaces in it. Alternatively, you can enclose the path in double quotes. If you use "dir /x" on the command line you can also get the corresponding short file name for each file or folder and use that instead. (Often it ends in "~1", but things get complicated when there are many files with similar names.)
If no short name is present, blanks are displayed in its place.
Gave what I tried. You skimmed through what I wrote.Well, I could try to offer suggestions about what you could do differently, but it's a bit pointless to do so without knowing more about what you tried.
Worked without a hassle. Thank you.See if this script works better for you, that's what I personally use for getting ELFs: https://github.com/NWPlayer123/ctr-elf2