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

Lego Games RPX not loading properly #2

Open
bloodmc opened this issue May 17, 2019 · 5 comments
Open

Lego Games RPX not loading properly #2

bloodmc opened this issue May 17, 2019 · 5 comments

Comments

@bloodmc
Copy link

bloodmc commented May 17, 2019

On Ghidra 9.0.2, the following errors occur when attempting to open the Lego Dimensions RPX

https://gist.githubusercontent.com/bloodmc/a116141e7486d7fca8a738c02ee43b4e/raw/78f5d6aa00ee5fc93908a327298a80f8db9c37a0/ghidra_lego_rpx.txt

This causes all code to show up with ??.

From what I was told, Lego Dimensions uses some odd wrappers causing various RPX loaders to not work fully.

@bloodmc
Copy link
Author

bloodmc commented May 19, 2019

@bloodmc
Copy link
Author

bloodmc commented May 19, 2019

@NWPlayer123 Sorry to ping you here but I see you have dealt with various ELF/RPL/RPX tools on your github and was wondering if you would be able to chime in on the above issue?

@Maschell
Copy link
Owner

Do you have a hash of the RPX you were using?

@bloodmc
Copy link
Author

bloodmc commented May 19, 2019

I'm using the latest Lego Dimensions update (v320) RPX.

File: zeus.master.rpx
CRC-32: 0465374c
   MD4: fbb209c297f547c46ef7b68f92e1f90e
   MD5: fcf2e16280c8fea7b27ac7201108dcf9
 SHA-1: 1a9ef44c44e6b0769674180920a795efdcf4521e

@bloodmc
Copy link
Author

bloodmc commented May 19, 2019

Update: If I decompress the RPX file, it partially works. Here are the steps I used

  1. Download wiiurpxtool from https://github.com/0CBH0/wiiurpxtool/releases
  2. Execute the following command wiiurpxtool -d zeus.master.rpx zeus.decompressed.rpx
  3. Import zeus.decompressed.rpx into Ghidra and it partially works.
    Note: This mostly works but I get many Bad instruction: Unable to resolve constructor at addr errors.
    This causes sections with errors to show up as ??

@bloodmc bloodmc changed the title Lego Dimensions RPX not loading properly Lego Games RPX not loading properly May 19, 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

2 participants