cy33hc / vita-launcher

GNU General Public License v3.0
128 stars 7 forks source link

GAW/G&W PSP Hombebrew Redirects to GAW Category #57

Open BigDaddyWeaves opened 1 year ago

BigDaddyWeaves commented 1 year ago

I'm trying to get Vita Launcher to recognize my G&W (Game & Watch) PSP Homebrew downloads (PSP format) games as part of the GAW/G&W category in Vita Launcher. I've been going at it for a while now and I don't know what I'm doing wrong. I'm going to include some text with this post so that everyone can see where I'm at and just WHAT I'm doing wrong. Here's what I have underneath the GAW portion of the config.ini file. Where: "BACON,BALL,FIRE,JUSTYOUWAIT,MICKEYM,OCEAN,PARACHUTE,SATELITE,SPACEBRIDGE" are each written the way they are supposed to be with commas separating them and no spaces. All of the available games are in their respective folders with their own EBOOT.PBP (and other files.) I have the GAW folder with the games mentioned above in a folder in "ux0:roms/GAW" please someone give me some pointers, Should I get rid of the GAW in front of the GAME titles - Under title_id_prefixes? Should I go one by one? 1 2 3

[GAW] grid_rows=3 view_mode=2 alternate_cores= title_id_prefixes=GAW,BACON,BALL,FIRE,JUSTYOUWAIT,MICKEYM,OCEAN,PARACHUTE,SATELITE,SPACEBRIDGE rom_file_extensions=.PBP icon_path=ux0:roms/GAW roms_path=ux0:roms/GAW rom_launcher_title_id=RETROVITA boot_with_alt_core=1 retro_core=app0:gw_libretro.self icon_type=1 category_icon=ux0:app/SMLA00001/icons/gaw.png alt_title=GAW icon_aspect_ratio=1 category_order=35

cy33hc commented 1 year ago

@BigDaddyWeaves the settings title_id_prefixes only apply for Vita Bubbles.

What you want to do is

  1. Move all your GAW Games into the ux0:/pspemu/GAME folder.
  2. installed ABM (Adernaline Bubble Manager) https://github.com/ONElua/AdrenalineBubbleManagers and create bubbles for your games/homebrew. By default the ABM uses prefix PSPEMU for the titleID, you can override it with something like GAWEMU
  3. Then modify Vita-Launcher config title_id_prefixes=GAWEMU

I believe this should allow you to launcher your games and they should show up in GAW category of Vita-Launcher.

Problem with this, is that the games will also appear in the PSP or PSPMini category if you scan for PSP games. But you can manually hide those GAW games under PSP.

BigDaddyWeaves commented 1 year ago

Coming up with this...

[GAW] grid_rows=3 view_mode=2 alternate_cores= title_id_prefixes=GAWEMU rom_file_extensions=.pbp,.bin icon_path=ux0:roms/GAW roms_path=ux0:pspemu/PSP/GAME/XXGAW Games rom_launcher_title_id=RETROVITA boot_with_alt_core=1 retro_core=app0:gw_libretro.self icon_type=1 category_icon=ux0:app/SMLA00001/icons/gaw.png alt_title=GAW icon_aspect_ratio=1 category_order=35

Something must be wrong with the code above... Does it matter that I have the games inside a folder inside the GAME folder? I changed this in the app folder: CHANGE PSPEMUXXX TO GAWEMUXXX 000 - BALL (GAWEMU000) 001 - FIRE (GAWEMU001) 002 - JUSTYOUWAIT (GAWEMU002) 003 - PARACHUTE (GAWEMU003) 004 - SPACEBRIDGE (GAWEMU004) 005 - SATELITE (GAWEMU005) 006 - BACON (GAWEMU006) 007 - OCEAN (GAWEMU007) 008 - MICKEYM (GAWEMU008) 12-12-22 Where do I go from here?

BigDaddyWeaves commented 1 year ago

2022-12-12-041504 Got it. I had to add each individually in Bubble Manager under PSPEMUXXX (000-008) And then I just added the lines PSPEMU000, PSPEMU001,PSPEMU002.... etc., etc, and changed the file extension to .bin and rescanned and it worked. Tell me iff I could have done anything differently. I have a lot to learn and I'm up for tips and hints.

BigDaddyWeaves commented 1 year ago

How can I override it (PSPEMUXXX) with something like (GAWEMUXXX)? Exact instructions would be appreciated. As I tried changing them in VitaShell and it resulted in the bubbles not loading properly anymore.

cy33hc commented 1 year ago

@BigDaddyWeaves To override the PSPEMUXXX, you need to get a little technical. Edit the "ux0:app/ADRBUBMAN/system/bubbles.lua" file. Locate the following lines to code and replace PSPEMU00 with GAWEMU00. Before you modify the file make a copy for backup, so if you screw up, you can restore the original.

    if not lastid then
        local i=0
        while game.exists(string.format("%s%03d",string.sub("PSPEMU00",1,-3),i)) do
            i+=1
        end
        lastid = string.format("%s%03d",string.sub("PSPEMU00",1,-3),i)
    end

After that when you create new bubbles in ABM, they will have the titleIds starting with GAWEMU.

BigDaddyWeaves commented 1 year ago

I've found an easier way to organize them. I just add them all via the miniS menu, then when all the homebrews load I put them in the GAW folder and turn on Parental Control functionality, and bada bing all is fixed. Thanks for trying to give me an alternative though @cy33hc I appreciate it.