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

Altr0n

Active Member
OP
Newcomer
Joined
Nov 22, 2013
Messages
29
Trophies
0
Location
0x7C00
Website
github.com
XP
120
Country
United States
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!
 

Kingy

Well-Known Member
Member
Joined
Feb 21, 2016
Messages
959
Trophies
1
Location
England I guess
XP
3,778
Country
United Kingdom
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!
what firmware emunand are you using to boot into your game?
 

lucaboy

Well-Known Member
Member
Joined
Jul 13, 2012
Messages
124
Trophies
1
Age
29
XP
1,248
Country
Italy
Are you sure you've built the layeredfs plugin successfully? Haven't you got any error like "Failed locating symbol... "?
 

Altr0n

Active Member
OP
Newcomer
Joined
Nov 22, 2013
Messages
29
Trophies
0
Location
0x7C00
Website
github.com
XP
120
Country
United States
what firmware emunand are you using to boot into your game?

I am on ReiNAND 10.6.0-31U

--------------------- MERGED ---------------------------

Are you sure you've built the layeredfs plugin successfully? Haven't you got any error like "Failed locating symbol... "?

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
 

Altr0n

Active Member
OP
Newcomer
Joined
Nov 22, 2013
Messages
29
Trophies
0
Location
0x7C00
Website
github.com
XP
120
Country
United States
Wierd, have you got any update data on your game?

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.
 

lucaboy

Well-Known Member
Member
Joined
Jul 13, 2012
Messages
124
Trophies
1
Age
29
XP
1,248
Country
Italy
I am on ReiNAND 10.6.0-31U

--------------------- MERGED ---------------------------



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
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.
 

Kingy

Well-Known Member
Member
Joined
Feb 21, 2016
Messages
959
Trophies
1
Location
England I guess
XP
3,778
Country
United Kingdom
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.

-snip-
 

Altr0n

Active Member
OP
Newcomer
Joined
Nov 22, 2013
Messages
29
Trophies
0
Location
0x7C00
Website
github.com
XP
120
Country
United States
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.

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?

--------------------- MERGED ---------------------------


?
 
Last edited by Altr0n,

lucaboy

Well-Known Member
Member
Joined
Jul 13, 2012
Messages
124
Trophies
1
Age
29
XP
1,248
Country
Italy
Thank you for clearing this up 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 now know where to hook?
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,

Altr0n

Active Member
OP
Newcomer
Joined
Nov 22, 2013
Messages
29
Trophies
0
Location
0x7C00
Website
github.com
XP
120
Country
United States
Yes, but it isn't so easy locating the symbols (you'll have to disassemble the code.bin with IDA Pro to locate them).

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!
 
  • Like
Reactions: lucaboy

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Maximumbeans @ Maximumbeans: butte