Project

General

Profile

Actions

Emulator Issues #10865

open

Super Smash Bros. Brawl: File Patch Code prevents masterpiece games from loading

Added by ryanebola16 about 6 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Super Smash Bros. Brawl

Game ID? (right click the game in the game list, properties, info tab)

RSBE01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

52ce7160ced2505ad5e397477d0ea4fe
Note: Fresh from CleanRip and not my standard modded ISO

What's the problem? Describe what went wrong.

Super Smash Bros. Brawl Masterpiece crash with Gecko OS but not Project M Launcher.

What steps will reproduce the problem?

First time prep:

  1. Install IOS 21 (for Masterpiece Games) and 36 (for Gecko OS)
  2. Set Audio Backend to DSP LLE Recompiler to work around #10791. HLE vs LLE does not matter for Gecko OS in this issue.
  3. Download the "SDHC Nov 14" version from https://www.mediafire.com/folder/aggpdsl4ac2yv/Smash_Bros_Infinite_V_3.0_(11.11.2016)
  4. Extract contents and place them in a virtual SDHC card.
  5. Set Brawl as Default ISO
  6. Obtain latest versions of Gecko OS and Project M Launcher.

After initial setup:

  1. Run Brawl through a launcher
  2. Play a masterpiece game (tested with Super Mario Bros.)
  3. Observe crash with Gecko OS but not Project M Launcher. See attached log for Gecko OS crash.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-6253

Is the issue present in the latest stable version?

5.0 with Gecko OS appears playable but no video output. Project M launcher hangs on startup.

What are your PC specifications? (CPU, GPU, Operating System, more)

Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
2x 8GB Hynix 1600MHz
GeForce Game Ready Driver 390.77

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

I also noticed "13:06:800 HW\DSPLLE\DSPSymbols.cpp:86 E[DSPLLE]: Bah! ReadAnnotatedAssembly couldn't find the file ../../docs/DSP/DSP_UC_AXWii.txt" with LLE. Should I make a separate issue for this?


Files

MasterpieceGeckoOS.txt (584 KB) MasterpieceGeckoOS.txt ryanebola16, 02/07/2018 01:08 AM
System Menu Brawl Boot Fail.txt (91.8 KB) System Menu Brawl Boot Fail.txt ryanebola16, 02/09/2018 05:23 AM
RSBE01.gct (936 Bytes) RSBE01.gct File Patch Code v3.5.1 ryanebola16, 04/20/2018 12:28 AM
DSP GeckoOS Mario Bros Masterpiece.rar (18.2 KB) DSP GeckoOS Mario Bros Masterpiece.rar ryanebola16, 09/06/2020 01:18 PM
Actions #1

Updated by ryanebola16 about 6 years ago

I forgot to mention that the problem doesn't occur when loading Brawl normally (with no launcher)

Actions #2

Updated by leoetlino about 6 years ago

  • Status changed from New to Questionable

I cannot reproduce this. Can you try this after a system update to make sure you have everything required?

Running without system titles is a hack which we only enable when booting from the game list and not when starting NAND titles or homebrew.

Actions #3

Updated by ryanebola16 about 6 years ago

I'm purposely not using a NAND dump to document which of my games need an IOS manually installed. Trying a system update on Dolphin resulted in Error Code: 32004. Were you using a NAND dump when you couldn't reproduce the issue? This issue occurred when booting Gecko OS from the game list and booting the Homebrew channel from the game list to load Gecko OS.

Actions #4

Updated by ryanebola16 about 6 years ago

Also reproducible with Minima Launcher (Hook Fix)

Actions #5

Updated by JMC4789 about 6 years ago

You're missing necessary IOSes to run the Virtual Console Masterpieces.

Actions #6

Updated by ryanebola16 about 6 years ago

If that's the case could I know which ones are needed to get the masterpieces working? I've only installed IOS 21 and 36.

Actions #7

Updated by JMC4789 about 6 years ago

Run Brawl in the Wii System Menu and install the disc update, or maybe try right clicking the Brawl disc and install disc update.

Actions #8

Updated by ryanebola16 about 6 years ago

  1. Backed up Dolphin
  2. Right clicking Brawl and installing system update didn't solve the problem.
  3. I then reverted Dolphin to the backup to test booting Brawl from the system menu. Brawl refused to boot after starting the disc from tools -> Load system menu 4.3U as the default ISO. Let me know if I should file a bug for Brawl failing to boot from the system menu. Log attached.
Actions #9

Updated by ryanebola16 about 6 years ago

Reproduced in 5.0-6327 on Android. My dolphin-emu folder is independent from my PC build. I moved my Android dolphin-emu folder to PC to install IOS 21 and 36 and moved it back. This means the problem is less likely to be something that I screwed up.

Actions #10

Updated by ryanebola16 about 6 years ago

Created #10921 and #10922 from the information in this issue, as they were separate issues. The underlying problem of this issue still remains.

Actions #11

Updated by ryanebola16 about 6 years ago

Please update title to:
Super Smash Bros. Brawl: File Patch Code prevents masterpiece games from loading

The File Patch Code (FPC) is an extremely important Brawl code, as it allows files from the SD card to be used instead of files on the ISO. Affects FPC v3.5.1 and v3.5.1b (for Brawlex). Affects Gecko OS and Minima Launcher. Does not affect Project M Launcher.

Tested on Dolphin 5.0-7015. This problem does not occur on a real Wii. The rest of the information in the original issue submission is still valid.

New steps to reproduce:
First time prep:

  1. Install IOS 21 (for Masterpiece Games) and 36 (for Gecko OS)
  2. Set Brawl as Default ISO
  3. Obtain latest version of Gecko OS
  4. Enable "Insert SD card"
  5. Create a "codes" folder in the root of your SD card
  6. Add the attached .gct to the "codes" folder

After initial setup:

  1. Run Brawl through a launcher.
  2. Play a masterpiece game (tested with Super Mario Bros.)
  3. Observe crash with Gecko OS but not Project M Launcher
Actions #12

Updated by JosJuice about 6 years ago

  • Subject changed from Super Smash Bros. Brawl Masterpiece crash with Gecko OS but not Project M Launcher to Super Smash Bros. Brawl: File Patch Code prevents masterpiece games from loading
Actions #13

Updated by ryanebola16 almost 6 years ago

I have a theory that Gecko OS and Minima Launcher use IOS 249 (normally a stub but commonly used for custom IOS) for loading masterpiece games. Project M launcher likely uses a different IOS.

I want to install d2x cIOS v10 beta 52, slot IOS 249, base IOS 56 to test this but the installer WAD downloads a base IOS and patches it. I'd be nice to somehow get that patched IOS. I tried it once and failed on Dolphin so I'll need to investigate further.

Actions #14

Updated by JMC4789 almost 6 years ago

Dolphin can't run actual IOSes, so installing it won't do anything.

Actions #15

Updated by ryanebola16 almost 6 years ago

I should clarify. Dolphin recently began showing "Dolphin doesn't emulate IOS title 00000001000000f9" when using Gecko OS, which is IOS 249 (normally a stub). USB Loaders commonly use cIOS 249 for loading titles so it would make sense if a lack of cIOS 249 emulation prevents masterpiece games from being loaded.

Does this sound like a good guess?

Actions #16

Updated by ryanebola16 almost 6 years ago

Minima Launcher doesn't display "Dolphin doesn't emulate IOS title 00000001000000f9" so that weakens my theory...

Actions #17

Updated by ryanebola16 almost 6 years ago

I tried a BootMii NAND backup from my real Wii but the issue still remains. It's weird that leoetlino can't reproduce this. Can somebody else try reproducing this using the updated instructions in the comment starting with "Please update title to"?

Actions #18

Updated by ryanebola16 over 4 years ago

Since people have trouble reproducing this, here is a minidump: http://www.mediafire.com/file/qrm6e8tlvstiviy/DolphinFPC.rar/file

Dolphin debug build with the debugger attached frequently raised access violation exceptions during startup of Super Smash Bros. Brawl. I disabled breaking when that type of exception was hit. I was able to reproduce the problem but the debugger didn't raise an exception. I just paused frozen Dolphin from the debugger and dumped from there.

I'll repeat the steps to reproduce this issue for convenience:

First time prep:

  1. Install IOS 21 (for Masterpiece Games) and 36 (for Gecko OS)
  2. Set Brawl as Default ISO
  3. Obtain latest version of Gecko OS
  4. Enable "Insert SD card"
  5. Create a "codes" folder in the root of your SD card
  6. Add the attached .gct to the "codes" folder

After initial setup:

  1. Run Brawl through a launcher.
  2. Play a masterpiece game (tested with Super Mario Bros.)
  3. Observe crash with Gecko OS but not Project M Launcher
Actions #19

Updated by ryanebola16 over 4 years ago

I was able to reproduce this issue on a friend's computer:
AMD Phenom(tm) II X6 1100T Processor 3.30 GHz
Installed memory (RAM): 8.00 GB
Win 10 64-bit Operating System, x64-based processor
AMD Radeon HD 6800 Series
Graphics version: 15.301.1901-160226a-299900E

Actions #20

Updated by ryanebola16 over 3 years ago

I suspect this is due to unknown opcodes now. The attached dump occurred while trying to load the Super Mario Bros. Masterpiece game through GeckoOS loaded Brawl with DSPLLE. I also recently re-installed my NAND dump to make sure old problems don't complicate bug reporting. I don't know how to tell if they're related to the unimplemented libogc ucodes though.

Actions #21

Updated by ryanebola16 over 3 years ago

Actions #22

Updated by ryanebola16 over 3 years ago

Actions #23

Updated by ryanebola16 over 3 years ago

Note, Minima Launcher posted a new release that now includes the hook fix: https://github.com/iGlitch/MinimaLauncher

Actions

Also available in: Atom PDF