Jump to content
LaunchBox Community Forums

Launchbox 1.8 | AetherSX2 | Unable to launch PS2 ROMs from SD-Card (Ext' storage) via launchbox


f00tf00t

Recommended Posts

Hi all,

As per the title; I'm not able to launchbox PS2 ROMs via luanchbox that are on SD-Card (Ext' Storage), however ROMs that are on the device storage (locally) work with no issue.

Below are the steps I checked to see what was going wrong

 

1 - The ROM is on the SD card

oYmtevH.png

 

2 - ROM info (directory and file name)

p4XEAce.png

 

3 - AetherSX2 and the ROM listed

eLMUKRn.png

 

4 - I launched the ROM from AetherSX2 and it worked with no issue (see the below log - I removed a chunk of the debug data and just included the the emu' showing the ROM file being  called and ran

*******************************************

[    4.3855] GetDisplayNameForUriPath("content://com.android.externalstorage.documents/tree/169B-DB0D%3A/document/169B-DB0D%3AGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso") -> "Grand Theft Auto - San Andreas (USA).cso"
[    4.3869] Opening CDVD...
[    4.3891] GetDisplayNameForUriPath("content://com.android.externalstorage.documents/tree/169B-DB0D%3A/document/169B-DB0D%3AGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso") -> "Grand Theft Auto - San Andreas (USA).cso"
[    4.4019] Preparing for a 1920x1080 window
[    4.4204] isoFile open ok: content://com.android.externalstorage.documents/tree/169B-DB0D%3A/document/169B-DB0D%3AGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso
[    4.4204]     Image type  = DVD
[    4.4205]  * CDVD Disk Open: DVD, Single layer or unknown:
[    4.4205]  * * Track 1: Data (Mode 1) (2197152 sectors)
[    4.4208] Opening GS...

[    4.5345] (AAudioMod) Creating stream...
[    4.6834] (AAudioMod) Starting stream...
[    4.6941] Opening PAD...
[    4.6942] Opening DEV9...
[    4.7008] Opening USB...
[    4.7008] Opening FW...
[    4.7010] McdSlot 0 [File]: /storage/emulated/0/Android/data/xyz.aethersx2.android/files/memcards/Mcd001.ps2
[    4.7011] McdSlot 1 [File]: /storage/emulated/0/Android/data/xyz.aethersx2.android/files/memcards/Mcd002.ps2
[    4.7041] EE/iR5900-ARM64 Recompiler Reset

[    5.0254] (SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_209.46;1
[    5.0254] (SYSTEM.CNF) Software version = 1.03
[    5.0254] (SYSTEM.CNF) Disc region type = NTSC
[    5.0884] found 0 symbols
[    5.0892] ELF (cdrom0:\SLUS_209.46;1) Game CRC = 0x399A49CA, EntryPoint = 0x00100008
[    5.0912] (SYSTEM.CNF) Detected PS2 Disc = cdrom0:\SLUS_209.46;1
[    5.0913] (SYSTEM.CNF) Software version = 1.03
[    5.0913] (SYSTEM.CNF) Disc region type = NTSC
[    5.8569] (UpdateVSyncRate) Mode Changed to DVD NTSC.

*******************************************

 

5 - Screenshot of the game running on AetherSX2 with no issue via SD-Card

LpRy80Y.png

 

 

Moving over to Launchbox (the version I'm using is 1.8)

6 - Below is a screenshot of where Launchbox sees the ROM

c4llb1M.png

 

7 - When trying to open the ROM via Launchbox AetherSX2 gives an error

Lx1beN4.png

 

8 - When I checke the AetherSX2 log I see the following

[  470.7284] ReportErrorAsync: Error: Requested filename 'content://com.android.externalstorage.documents/tree/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D/document/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D%2FGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso' does not exist.
[  470.7458] Skipping surface prepare event due to system being shut down.

 

 

9 - Where I compare the two log files I see the following

Working

GetDisplayNameForUriPath("content://com.android.externalstorage.documents/tree/169B-DB0D%3A/document/169B-DB0D%3AGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso")

 

NOT working

ReportErrorAsync: Error: Requested filename 'content://com.android.externalstorage.documents/tree/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D/document/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D%2FGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso' does not exist.

 

10 - When breaking down where the failue is (highlited bold)

content://com.android.externalstorage.documents/tree/169B-DB0D%3A/document/169B-DB0D%3AGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso

'content://com.android.externalstorage.documents/tree/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D/document/a_rw%3A%2Fmnt%2Fmedia_rw%2F169B-DB0D%2FGrand%20Theft%20Auto%20-%20San%20Andreas%20(USA).cso

 

I think Launchbox is presenting a slightly off kilter directory to AetherSX2, its probably a correct way of presenting the directory/file however its not a method that AetherSX2 likes.

 

If anyone else has had this problem, please do let me know how I can fix this.

 

Thank you

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • 2 months later...

@Jason Carr

I rasied a similar case to the Daijishou team

https://github.com/magneticchen/Daijishou/issues/236#issuecomment-1487607686

 

to which their fix was implementing pure uri launching (I've tested this on SD card and CIFs and they both work on Daijishou frontend, can this be something that can be implemented into Launchbox Android to fix the issue here on thisapp?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...