Comments (13)
Oops, I missing checking in the Gradle .jar file. Update and try again.
In the current state I believe master will build for Ghidra version 9.0.4 and earlier, but not version 9.1.x
Pull request #1 updates the code for version 9.1.2 -- you should be able to apply that branch on top of master (delete the .classpath
and .project
files when they conflict).
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.
from ghidra-snes-loader.
Now I get this error:
> Task :compileJava FAILED
D:\Downloads\ghidra-snes-loader-master\SnesLoader\src\main\java\snesloader\HiRomLoader.java:5: error: cannot access Option
import ghidra.app.util.Option;
^
bad class file: D:\Ghidra\Ghidra\Features\Base\lib\Base.jar(ghidra/app/util/Option.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
from ghidra-snes-loader.
What version of Ghidra are you using?
from ghidra-snes-loader.
from ghidra-snes-loader.
Are you doing the plain command-line build, or trying to use Eclipse?
If I do a clean checkout and do a plain command-line build with Ghidra 9.1.2 on Linux it just works.
from ghidra-snes-loader.
I've tried both the Powershell and Command Prompt on Windows 10.
from ghidra-snes-loader.
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 gradlew.bat -v
it will tell you which version of the JVM it is using. I'd imagine that any 11.x is ok (mine says 11.0.9).
from ghidra-snes-loader.
I can't compile it. Do you mind making a release file?
from ghidra-snes-loader.
I'll give it a go; tomorrow or over the weekend.
from ghidra-snes-loader.
from ghidra-snes-loader.
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?
from ghidra-snes-loader.
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.
from ghidra-snes-loader.
from ghidra-snes-loader.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghidra-snes-loader.