libretro / mupen64plus-libretro

Mupen64 Plus libretro core that stays compatible with upstream.
GNU General Public License v2.0
35 stars 35 forks source link

Hires Textures? #16

Closed hanetzer closed 5 years ago

hanetzer commented 7 years ago

I may just be stupid, but I can't get hires textures to work under libretro. is this even possible as of right now, or is only the standalone mupen able to use it?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/43893175-hires-textures?utm_campaign=plugin&utm_content=tracker%2F53677400&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F53677400&utm_medium=issues&utm_source=github).
Gagert commented 7 years ago

I'm able to use them, for instance in Mario Kart 64.

For starters, choose a directory in RetroArch for the system folder under Directory - System/Bios (I usually create a system folder within the RetroArch folder).

After making a path to your system folder in RetroArch, go to that folder in Windows and see if there's a Mupen64Plus folder inside. If not, you may need to fire up the mupen64plus libretro core inside RetroArch and see if a folder gets created, or create one yourself.

Inside the Mupen64Plus folder, create a folder named cache. Inside the cache folder, copy the cache files that an emulator such as Project 64 generates while loading a texture pack for the first time, namely a *.htc file. Those generated cache files are usually found in Project 64/Plugin/GFX/cache, and mine is named MARIOKART64_HIRESTEXTURES.htc for Mario Kart 64.

grenade44 commented 7 years ago

I also cant get this to work. the .htc fileworks fine within p64 but not in RA/M64P-L

CuriousMark commented 7 years ago

It appears atm that only a .htc file under the cache folder works. So, make sure this folder exists: "...\RetroArch\system\Mupen64plus\cache". Then, place your .htc in that folder, such as "ZELDA MAJORA'S MASK_HIRESTEXTURES.htc".

However, it appears only Djipi (on EmuTalk N64 hi-res forum) is publishing their texture packs as a .htc file. So for example, even the recentish Hypatia's Super Mario 64 pack is being published as a .rar or .zip file that contains the folder "SUPER MARIO 64".

Standalone Mupen64 and PJ64, alongside the GlideN64 plugin, allow the user to put .zip files or the actual "SUPER MARIO 64" folder under ".../GFX/hires_texture" and then it'll generate a cached file.

So I think Mupen64Plus should read .zip, .rar. or naked folders from a "RetroArch\system\Mupen64plus\hires_texture" folder and then generate the .htc file that is kept in the cache folder. Until then, you'll have to generate the .htc yourself by using Mupen standalone or PJ64 with the GlideN64 plugin.