xyzz / gamecard-microsd

microSD adapter for PlayStation Vita
250 stars 42 forks source link

Missing uma0 #28

Open eureckou opened 6 years ago

eureckou commented 6 years ago

I followed the tutorial on wololo to use sd2vita. I successfully installed it. However I can't find uma0 in vitashell. I am under the impression that upon activating the plugin, sd2vita will be ux0 and the sony memory card will be uma0. I have a vita phat with FW6.68 running h-encore. SD2vita is 200GB and the memory card has 16GB. I want to use the sd2vita for vita games and the memory card for PSP games using Adrenaline. Is my impression wrong or did I miss something? Thanks.

miinht commented 6 years ago

Has this issue been fixed? It's working fine for me here

eureckou commented 6 years ago

Nope. I end up using a different plugin to assign uma0 = mc, ux0 = sd2vita.

Urbs97 commented 6 years ago

You need a modded version of gamesd. The original one doesnt mount the mem card.

windsurfer1122 commented 6 years ago

Have a look at https://github.com/CelesteBlue-dev/PSVita-StorageMgr it includes xyzz's gamecard-microsd

Urbs97 commented 6 years ago

i'm having problems with storagemgr so i wanted to revert back to gamesd only.

windsurfer1122 commented 6 years ago

Can you give me a link to your issue report over at StorageMgr?

Urbs97 commented 6 years ago

https://github.com/CelesteBlue-dev/PSVita-StorageMgr/issues/51

Jeff-Smart commented 5 years ago

Here is the diff for a version that mounts the vita memory card to uma0: and the SD card to ux0: I have simply adapted a former fork to the latest version at this time (1.4).

Here is the diff output:

54a55,58

define MOUNT_POINT_ID2 0xF00 //used uma0 ID

83a88,89 static SceIoDevice uma_uma0_dev = { "uma0:", "exfatuma0", "sdstor0:xmc-lp-ign-userext", "sdstor0:xmc-lp-ign-userext", MOUNT_POINT_ID2 }; //For Vita MU

93a108,111 static void io_mount(int id) { ksceIoMount(id, NULL, 0, 0, 0, 0); }

123a142,158 int shellKernelRedirectUma0() { SceIoMountPoint *mount = sceIoFindMountPoint(MOUNT_POINT_ID2); if (!mount) { return -1; }

  if (mount->dev != &uma_uma0_dev && mount->dev2 != &uma_uma0_dev) {
          ori_dev = mount->dev;
          ori_dev2 = mount->dev2;
  }

  mount->dev = &uma_uma0_dev;
  mount->dev2 = &uma_uma0_dev;

  return 0;

}

166a202,205 shellKernelRedirectUma0(); //Added uma0 mount was ux0 ie Vita MU io_mount(MOUNT_POINT_ID2); //No need to remount since it's not mounted!

I have added the compiled file.

gamesd.zip