Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most of my games not recognized. [CemUI does not deep-search games folder] #45

Open
TheStruggleForAntiSpaghetti opened this issue Sep 9, 2017 · 39 comments
Labels

Comments

@TheStruggleForAntiSpaghetti

Hi,

Thanks for your work on this. I gave it a go and it only recognised Captain Toad Treasure Tracker from my games library folder.
I included a dirlist of the complete folder to enable you to investigate the reason.

Feel free to contact me if you need anything.

Thanks.

dir.zip

@jonbarrow
Copy link
Owner

The reason for this is because your roms folder structure is in a non-standard format. Your roms seem to all be RPX roms, which have a standard format of:

RomFolder
├── code
|   ├── // Code files
|   └── game.rpx
├── content
|   └── // Content files
└── meta
|   ├── // Meta files
|   └── meta.xml

Based on the list you gave, only Captain Toad follows this standard format. All your other games follow a non-standard format that uses the games product code/region-dev ID, like so:

RomFolder
└── ProductCodeOrRegionDevID // 'AMKP01' is a region-dev ID, 'WUP-P-ARPP' is a product code
|   ├── code
|   ├── content
|   └── meta

I chose to not use recursive lookups on purpose in order to prevent endless loops (in the event of a poorly made symlink) or long blocking (in the event of deeply rooted roms, like yours)

@jonbarrow
Copy link
Owner

The fact that these roms are not recognized is by design and is intended. However I will not close this issue so that discussion can continue unhindered and in case another user has the same problem, they can find the solution easier.

@ghost
Copy link

ghost commented Sep 10, 2017

I have the same issue with super Mario 3D world and Mario kart 8. Both of these game have a folder with only one executable file (no code, content and meta folder) in it I believe .wud

@jonbarrow
Copy link
Owner

@sijedevos that is a separate issue, but related enough I guess. .wud and .wux roms cannot be in folders, they must be in the root. Take them out of the folder and you should be fine

@ghost
Copy link

ghost commented Sep 10, 2017

@RedDuckss okay thanks I’ll give it a try

@ghost
Copy link

ghost commented Sep 10, 2017

@RedDuckss it worked but I have one more problem. Super Luigi u didn’t seem to work either but this one did have the exact same structure listed above

@jonbarrow
Copy link
Owner

@sijedevos is it a .wud/.wux or an rpx rom

@ghost
Copy link

ghost commented Sep 10, 2017

@RedDuckss it’s a rpx rom

@jonbarrow
Copy link
Owner

send me a zip of your meta folder

@ghost
Copy link

ghost commented Sep 10, 2017

meta.zip

@jonbarrow
Copy link
Owner

@sijedevos your meta folder seems fine, so that wasnt the problem... This is no longer related to this issue though, please open a new issue report for this.

@ghost
Copy link

ghost commented Sep 10, 2017

@RedDuckss okay thanks for the help anyway maybe redownloading the game works

@tuliocf3
Copy link

hello, i need help, i did all right but in the "Download Games" page don't pops up any game

@tuliocf3
Copy link

don't show anything

@Crinfarr
Copy link

Crinfarr commented Mar 25, 2018

@tuliocf3 issues #100 #98 #99 #92 and #86 are all the same as your comment. Please use one of those instead.

@timmehz
Copy link

timmehz commented May 9, 2018

I have the same problem with SMM (Super Mario Maker), it's not showing up in my library (I have FLUENT installed as my CemUI theme). I have updated my Cemu to 1.12.0d and I just got my CemUI just today, and that did not fix it. The file I want to get on my library is called Block.rpx here is some images of my folder setup.
screenshot_1
screenshot_2
screenshot_3

@jonbarrow
Copy link
Owner

@timmehz please read the comments already on this thread and read the flare. This is by design and won’t be fixed, since it isn’t a bug.

@timmehz
Copy link

timmehz commented May 9, 2018

I did but is there any way that I can fix this by myself?

@jonbarrow
Copy link
Owner

If you read the comments you would see the reason why this doesn’t work, which would tell you how to “fix” it (again, it doesn’t need “fixing”. It isn’t broken, this is intended).

To “fix” it you either need to put the folders in the correct structure or edit the source code yourself to allow deep searches.

@timmehz
Copy link

timmehz commented May 9, 2018

I read what you said again:
RomFolder
└── ProductCodeOrRegionDevID // 'AMKP01' is a region-dev ID, 'WUP-P-ARPP' is a product code
| ├── code
| ├── content
| └── meta

is ProductCodeOrRegionDevID a folder or a file? and if its a folder or a file what would it contain?

@jonbarrow
Copy link
Owner

Re-read what I said....I said that example is the wrong format.

@timmehz
Copy link

timmehz commented May 9, 2018

oh, ok I just read the above one:

RomFolder
├── code
| ├── // Code files
| └── game.rpx
├── content
| └── // Content files
└── meta
| ├── // Meta files
| └── meta.xml

and I have the same structure.

@jonbarrow
Copy link
Owner

Based on the images you sent before, no you do not.

When you selected the “Games” folder, all CemUI will look at is the “Super Mario Maker” folder.

It is not looking inside the other folders, because it assumes “Super Mario Maker” is the rom folder with that structure, which it is not.

CemUI does not check the other folders because it does not implement any type of deep searching, which is intended and will not be changed.

@timmehz
Copy link

timmehz commented May 9, 2018

Well I have directed a folder destination in CemUI to check in where the Block.rpx file is located
screenshot_4

@jonbarrow
Copy link
Owner

That isn’t what you are supposed to do...as it told you during setup, when you select a “Games” folder it should be the folder that houses all of your roms....when CemUI checks to see if a folder is a rom folder, it checks for the “code”, “content” and “meta” folders...so when you try to point CemUI directly at the code folder, it’s going to check in the code folder for the other folders, which will fail....

@timmehz
Copy link

timmehz commented May 9, 2018

Um, I did what you said and this popped up when I try and direct it to the Games folder
screenshot_5

@jonbarrow
Copy link
Owner

Did you remove all the wrong paths? There’s mostly likely a conflict going on with all the wrong paths you’ve created, or some corrupted config/storage file that was broken when making the wrong paths. I would suggest completely uninstalling and removing CemUI and then reinstalling it fresh

@timmehz
Copy link

timmehz commented May 9, 2018

ok

@timmehz
Copy link

timmehz commented May 9, 2018

and I might have removed the wrong paths because I did remove some of the directories to where it will find the games

@timmehz
Copy link

timmehz commented May 9, 2018

When I used the uninstaller to uninstall the CemUI and I also deleted the file that can install CemUI on your computer and I got a new copy, when I run the installer and when it tries to launch the CemUI it gives me the same error.

@jonbarrow
Copy link
Owner

I don't believe the uninstaller completely removes CemUI's data. When you uninstall it make sure that %AppData%/CemUI is removed as well. This is where CemUI stores it's data

@timmehz
Copy link

timmehz commented May 9, 2018

then if the uninstaller does not really uninstall all the data then should you not fix it to make it actually uninstall it? and yes, the CemUI folder is still there, I have deleted it just now.

@timmehz
Copy link

timmehz commented May 9, 2018

I have reinstalled it and I selected my Games folder and it gave me this error again:
screenshot_6

@jonbarrow
Copy link
Owner

The uninstaller removes CemUI. That folder is not where CemUI is located. It is where CemUI stores it's other data like settings. This is common practice, as it means that non-program data is saved for if the user reinstalls the software (even major companies like Adobe do this).

Also, we did not make the installer/uninstaller. CemUI is compiled using a package called electron-builder, which to my knowledge does not even make an uninstaller (I am assuming you are using the built-in one in Windows, which we definitely cannot change).

I have reinstalled it and I selected my Games folder and it gave me this error again:

And is the Games folder still in the incorrect format? Because if so, then you've done nothing.

@timmehz
Copy link

timmehz commented May 9, 2018

Here is my structure on how I set up my Super Mario Maker folder
screenshot_7

@jonbarrow
Copy link
Owner

Okay, good. That is the correct format.

The issue you have is now different than the one this topic is about. Please open a separate issue and let's move this discussion there, okay? Don't want to clutter up this thread with off-topic talk.

@timmehz
Copy link

timmehz commented May 9, 2018

ok

@Warbleshnarf
Copy link

When I downloaded a game found within the app while following a tutorial, I couldn't get the game to show up in the library ever. I've read through this entire thread and nothing seems to work or even apply to what my folder looks like. Please help.

@jonbarrow
Copy link
Owner

or even apply to what my folder looks like

Then create a new issue report or check the existing ones to see if an issue that does apply to you has already been reported. Please do not comment on issues that do not apply to your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants