NTR-CFW - LayeredFS - Freezing at launch screen for Gundam: The 3D battle

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Altr0n, May 1, 2016.

  1. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    I am working on some mods for Gundam: The 3D Battle and have been attempting to get layeredFS plugins working for it on my US N3DS.

    The game launches normally when I boot into NTR-CFW, but when I try to use a layeredFS plugin and launch the game the screen flashes green (as it's supposed to from what I understand) and then just hangs a the 3DS startup screen.

    Any thoughts or experience with this? I really want to get a good debug environment setup for my translation mod

    Thanks!
     
  2. TheKingy34

    TheKingy34 ҉

    Member
    781
    2,354
    Feb 21, 2016
    United Kingdom
    England I guess
    what firmware emunand are you using to boot into your game?
     
  3. lucaboy

    lucaboy Advanced Member

    Newcomer
    66
    67
    Jul 13, 2012
    Italy
    Are you sure you've built the layeredfs plugin successfully? Haven't you got any error like "Failed locating symbol... "?
     
  4. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    I am on ReiNAND 10.6.0-31U

    — Posts automatically merged - Please don't double post! —

    When I build the plugin I get the following error:

    ***WARNING*** Failed locating symbol regArchive , some patches may not work.
    ***WARNING*** Failed locating symbol hidObj , some patches may not work.

    These are the only errors that I get
     
  5. TheKingy34

    TheKingy34 ҉

    Member
    781
    2,354
    Feb 21, 2016
    United Kingdom
    England I guess
    are you using the latest ntr.bin? If not, try that.
     
  6. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    I am, I pulled the latest (3.4 I think?) and I still get the same kind of behavior unfortunately
     
  7. TheKingy34

    TheKingy34 ҉

    Member
    781
    2,354
    Feb 21, 2016
    United Kingdom
    England I guess
    Wierd, have you got any update data on your game?
     
  8. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    What exactly do you mean? So when I pulled the XORPads there was one called: 0004000000039800.UpdateData.romfs.xorpad

    Also - this game boots perfectly fine when I remove the plugin from the plugin/ folder on my SD card. It's only when I try to use the plug in that I get this behavior.
     
  9. lucaboy

    lucaboy Advanced Member

    Newcomer
    66
    67
    Jul 13, 2012
    Italy
    The game isn't compatible with the tool to build the layeredfs plugin, so there are only two choices:
    1. Make your custom layeredfs plugin.
    2. Repack the game with the modded files.
     
  10. TheKingy34

    TheKingy34 ҉

    Member
    781
    2,354
    Feb 21, 2016
    United Kingdom
    England I guess
    -snip-
     
  11. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    Thank you for clearing this up for me, I really appreciate how helpful this community can be.

    If I were to write my own custom layeredfs plugin would I need to properly locate those symbols that I am missing through some other method? That seems to be the issue right? I assume that without the symbol addresses, the plugin does not know where to hook?

    — Posts automatically merged - Please don't double post! —

    ?
     
    Last edited by Altr0n, May 2, 2016
  12. lucaboy

    lucaboy Advanced Member

    Newcomer
    66
    67
    Jul 13, 2012
    Italy
    Yes, but it isn't so easy locating the symbols (you need to disassemble the code.bin with IDA Pro and you need to be very patient to locate them xD).
     
    Last edited by lucaboy, May 1, 2016
  13. Altr0n
    OP

    Altr0n Member

    Newcomer
    29
    8
    Nov 22, 2013
    United States
    0x7C00
    Gotcha, that's what I would assume I'd need to do. I'll start there and see where I can get, I've got a decent IDB of the game that I've cleaned up and I've been meaning to dive more into how NTR plugins work anyways. Thanks so much for the advice, I'll post in here again if I manage to get it working. I'm excited to finish up this translation patch.

    cheers!
     
    lucaboy likes this.