Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading (Modified) Monster Hunter 3 Ultimate RPX causes Exception #7

Open
BullyWiiPlaza opened this issue Oct 22, 2019 · 0 comments
Open

Comments

@BullyWiiPlaza
Copy link

BullyWiiPlaza commented Oct 22, 2019

Error importing file: MH3G_Cafe_modified.rpx
java.lang.ArrayIndexOutOfBoundsException: Index 2174 out of bounds for length 37
	at cafeloader.Cafe_ElfRelocationHandler.relocate(Cafe_ElfRelocationHandler.java:49)
	at ghidra.app.util.bin.format.elf.relocation.ElfRelocationContext.processRelocation(ElfRelocationContext.java:89)
	at ghidra.app.util.opinion.ElfProgramBuilder.processRelocationTable(ElfProgramBuilder.java:752)
	at ghidra.app.util.opinion.ElfProgramBuilder.processRelocations(ElfProgramBuilder.java:697)
	at ghidra.app.util.opinion.ElfProgramBuilder.load(ElfProgramBuilder.java:163)
	at ghidra.app.util.opinion.ElfProgramBuilder.loadElf(ElfProgramBuilder.java:100)
	at ghidra.app.util.opinion.CafeLoader.load(CafeLoader.java:78)
	at ghidra.app.util.opinion.AbstractLibrarySupportLoader.doLoad(AbstractLibrarySupportLoader.java:346)
	at ghidra.app.util.opinion.AbstractLibrarySupportLoader.loadProgram(AbstractLibrarySupportLoader.java:83)
	at ghidra.app.util.opinion.AbstractProgramLoader.load(AbstractProgramLoader.java:112)
	at ghidra.plugin.importer.ImporterUtilities.importSingleFile(ImporterUtilities.java:401)
	at ghidra.plugin.importer.ImporterDialog.lambda$okCallback$7(ImporterDialog.java:351)
	at ghidra.util.task.TaskLauncher$1.run(TaskLauncher.java:90)
	at ghidra.util.task.Task.monitoredRun(Task.java:126)
	at ghidra.util.task.TaskRunner.lambda$startTaskThread$1(TaskRunner.java:94)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:830)

---------------------------------------------------
Build Date: 2019-Sep-23 1119 EDT
Ghidra Version: 9.1-BETA
Java Home: C:\Program Files\Java\jdk-13
JVM Version: Oracle Corporation 13-ea
OS: Windows 10 10.0 amd64
Workstation: host.docker.internal

The RPX has been modified using rpl2elf and supposedly works fine on Wii U.

@BullyWiiPlaza BullyWiiPlaza changed the title Loading Monster Hunter 3 Ultimate RPX causes Exception Loading (Modified) Monster Hunter 3 Ultimate RPX causes Exception Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant