Project

General

Profile

Actions

Emulator Issues #12939

closed

regression: running loose elf/dol with virtual disc

Added by Anonymous almost 2 years ago. Updated over 1 year ago.

Status:
Won't fix
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

For quite a long time it was possible to manually set the directory which the DirectoryBlob code would use to create a virtual disc. This could be used along with executing a elf/dol for easily running any executable as if it was in an image file consisting of the loose files.

At some point, DirectoryBlob became more strict and now requires some community-invented directory layout in order to consider a directory structured as a valid virtual disc. Currently, that means the following must exist:

sys

  • main.dol
  • boot.bin

first off, it should be noted that if the above exist, the code then implicitly relies on the following being present:

sys

  • main.dol
  • boot.bin
  • bi2.bin
  • apploader.img
    files

it seems like if these extra files don't actually exist, you'll get the "failed to init core" message, which is fairly vague. Dolphin should either sanity check them up-front and show proper error, or create some default-initialized placeholders that work most of the time.

Finally, (and the main point of this issue) is that there is no way to boot from elf in this setup, which is a major regression and should be fixed (just allow "main.elf" as well?).

Actions

Also available in: Atom PDF