LumaTeam / Luma3DS

Nintendo 3DS "Custom Firmware"
GNU General Public License v3.0
5.33k stars 562 forks source link

On New3DS, nightly version of Luma auto-shutdown when launching GBA VC game or DSiWare #608

Closed TheNain38 closed 7 years ago

TheNain38 commented 7 years ago

System model:

New 3DS

SysNAND version (+emu/redNAND version if applicable):

11.4.0-37E SysNAND

Entrypoint (How/what you're using to boot Luma3DS):

Boot9Strap

Luma3DS version:

nightly https://github.com/AuroraWright/Luma3DS/commit/24de7c527287ad6bd1b76b9962ef0f4330382acb

Luma3DS configuration/options:

Default EmuNAND: (1)

Screen brightness: (1)

Splash: (Before)

PIN lock: (0)

New 3DS CPU: (L2 Cache + Clock)

--

Autoboot EmuNAND: ( )

Use EmuNAND FIRM if booting with R: ( )

Enable loading external FIRMs and modules: ( )

Use custom path: ( )

Enable game patching: ( )

Show NAND or user string in System Settings: (X)

Show GBA boot screen in patched AGB_FIRM: (X)

Patch ARM9 access: ( )

Set developer UNITINFO: ( )

--

Explanation of the issue:

When trying to launch a GBA VC game, or a DSiWare title, the console auto-shutdown, also I don't have this bug on Luma v8.0, and just in case, I even reinstalled a clean TWL_FIRM and AGB_FIRM, by using the instructions on the wiki

Maybe it's a problem with Luma failing to patch the firms?

Steps to reproduce:

  1. Try to start a GBA VC game, or a DSiWare title

  2. See that the console auto-shutdown

DeathAngel74 commented 7 years ago

Try 005684

DeathAngel74 commented 7 years ago

d8

TuxSH commented 7 years ago

boot.zip Latest commit.

TheNain38 commented 7 years ago

It still doesn't work with the latest commit that you provided

TuxSH commented 7 years ago

I can't reproduce...

TheNain38 commented 7 years ago

The weird thing, is that I don't have this bug on Luma v8.0, and that in between, it looks like you didn't change anything related to TWL_FIRM or AGB_FIRM, or maybe I'm wrong? Because it does as if Luma would fail to apply the patches... hmm...

Update: Would it be possible for you to compile a version of Luma that adds logging if Luma fails to apply the patches to TWL_FIRM and/or AGB_FIRM? So that we could verify if it's not that issue?

DeathAngel74 commented 7 years ago

Just tested this commit works. 12b561a2.

DeathAngel74 commented 7 years ago

https://drive.google.com/file/d/0B007JgCLgXQLX0d4UHNKZHdhZm8/view?usp=drivesdk

DeathAngel74 commented 7 years ago

Just rename to boot.firm

MelonGx commented 7 years ago

Haven't got your issue on da30c0b.

DeathAngel74 commented 7 years ago

005684d8 is when the prob started

MelonGx commented 7 years ago

@DeathAngel74 Then why I have no error on launching DSiWare with da30c0b? Also tested no error on a1b2ea2. I think either it's started on 24de7c5, or it's just an error from a bad compile.

DeathAngel74 commented 7 years ago

Could be any number of variables. I broke 2x 2ds's on 005684d. Pokemon Sun stopped working. 12b561a2 fixed the issue on both 2ds's. 2x n3dsxl's weren't effected though.

MelonGx commented 7 years ago

@DeathAngel74 Re-testing since the O3DS with DSiWare unable to boot has a CTRTransferred DSi error. Fixing it with installing those 5 TWL CIAs.....Fixed.

12b561a has no this issue from the retest. a1b2ea2 has no this issue either.

TheNain38 commented 7 years ago

@TuxSH Does something in one of these commits between v8.0 and master, that could have caused this? Or maybe it's a change with ctrulib or something... I'll try to recompile Luma v8.0 with the latest ctrulib, it's maybe what is causing the problem...

@DeathAngel74 It still does not work with your boot.firm

@MelonGx Maybe it does only affect the New3DS? And not so many people could of test it recently as it was broken and wouldn't even boot on New3DS And I already tried to reinstall the 5 TWL CIAs, I'll redo it again just in case it doesn't work because of that (btw I also have the problem with GBA VC games... which means that it also has problems with the AGB_FIRM)

MelonGx commented 7 years ago

@TheNain38 My first test was on the New3DS JPN and no issue on both 12b561a and a1b2ea2. Is it an EUR hardware issue?

TheNain38 commented 7 years ago

Well, it works fine with Luma v8.0, so I'll try to do regression testing and see at which commit it fails... also, I remebered that some commits had the New3DS unable to even boot, I'll report all of that when I'm done

TuxSH commented 7 years ago

Fixed.

TheNain38 commented 7 years ago

Thanks, it works now, could I know what was the problem or you don't really have the time to explain it?