-
Notifications
You must be signed in to change notification settings - Fork 11
Cannot compile Loader #3
Comments
Oops, I missing checking in the Gradle .jar file. Update and try again.
Never mind that, I've accepted that pull request now. It should just build now, but let me know if it's still no good. |
Now I get this error:
|
What version of Ghidra are you using? |
9.1.2
…On Thu, Oct 29, 2020 at 4:36 PM achan1989 ***@***.***> wrote:
What version of Ghidra are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBYUYMYQAI4UUXYNN6XQJTSNHN6HANCNFSM4S5W4GAA>
.
|
Are you doing the plain command-line build, or trying to use Eclipse? |
I've tried both the Powershell and Command Prompt on Windows 10. |
Based on this I wonder if the build is using the wrong version of Java. The Ghidra installation guide says it requires Java 11. If you run |
I can't compile it. Do you mind making a release file? |
I'll give it a go; tomorrow or over the weekend. |
Ok, thanks.
…On Thu, Oct 29, 2020 at 5:35 PM achan1989 ***@***.***> wrote:
I'll give it a go; tomorrow or over the weekend.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBYUYOBWULX3QIJ2HRRCKDSNHUZLANCNFSM4S5W4GAA>
.
|
I got it to compile by leaving the quotes off the Ghidra directory. Now Ghidra says it supports SNES ROMs, but every one I open only seems to allow Raw Binary. Is there something I'm doing wrong? |
It's a two part setup. First, make sure the SNES loader extension is installed. Once you've built it, there should be a file in the SnesLoader/dist directory. Copy the Second, you also need to install the 65816 processor module. Code and installations instructions are in https://github.com/achan1989/ghidra-65816 Then restart Ghidra. If everything is set up ok, you should see "SNES ROM" as an available format when you try to import a ROM. Then set the language (65816 should be the only option) and you should be good to go. I'll warn you that these tools are not polished, and will probably not do what you want them to out of the box. The processor module is kinda ok, but has problems with switching processor modes automatically. The loader is hard coded for one specific ROM format (possibly for one specific game), and I can't remember if that's even correct and complete. Be prepared to change the loader code. |
Ok, thank you.
…On Sun, Nov 1, 2020 at 6:53 AM achan1989 ***@***.***> wrote:
It's a two part setup.
First, make sure the SNES loader extension is installed. Once you've built
it, there should be a file in the SnesLoader/dist directory. Copy the
ghidra_9.1.2_PUBLIC_20201029_SnesLoader.zip file into
<ghidra-install-dir>/Extensions/Ghidra, then run Ghidra and activate the
extension via File --> Install Extensions...
Second, you also need to install the 65816 processor module. Code and
installations instructions are in
https://github.com/achan1989/ghidra-65816
Then restart Ghidra. If everything is set up ok, you should see "SNES ROM"
as an available format when you try to import a ROM. Then set the language
(65816 should be the only option) and you should be good to go.
I'll warn you that these tools are not polished, and will probably not do
what you want them to out of the box. The processor module is kinda ok, but
has problems with switching processor modes automatically. The loader is
hard coded for one specific ROM format (possibly for one specific game),
and I can't remember if that's even correct and complete. Be prepared to
change the loader code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBYUYJ6HZGR42GQUZ7LLITSNVK3BANCNFSM4S5W4GAA>
.
|
I'm having problems compiling the SNES Loader. It says it can't find or load the main class. (org.gradle.wrapper.GradleWrapperMain"
The text was updated successfully, but these errors were encountered: