1. magelof

    OP magelof Member
    Newcomer

    Joined:
    Jul 29, 2006
    Messages:
    47
    Country:
    United States
    Hi, I'm trying to import high-res n64 textures into Retroarch-- namely this Dijipi cell-shaded Ocarina pack.

    Per this Reddit thread, I named the texture pack and the Ocarina rom the same file name and put the .htc texture pack into retroarch/cores/system/Mupen64plus/cache/. I flipped "Use high res textures/Alpha channel" to true in the game settings, restarted Retroarch, and the texture pack just will not take. For reference, the texture pack is called "OCARINA OF TIME_HIRESTEXTURES.htc" and the rom is called "OCARINA OF TIME.z64".

    I cannot figure out how to get this working- can my gbatempers please help me?! Thank you in advance.
     
    coffinbirth likes this.
  2. TerpToke

    TerpToke GBAtemp Regular
    Member

    Joined:
    Sep 17, 2018
    Messages:
    109
    Country:
    United States
    Interested as well!!!
     
  3. Sm0k3r83

    Sm0k3r83 GBAtemp Regular
    Member

    Joined:
    May 16, 2018
    Messages:
    138
    Country:
    Canada
    try naming it THE LEGEND OF ZELDA_HIRESTEXTURES
     
  4. Guivas73

    Guivas73 GBAtemp Regular
    Member

    Joined:
    Aug 8, 2016
    Messages:
    228
    Country:
    United States
    Any luck?
     
  5. ganons

    ganons GBAtemp Addict
    Member

    Joined:
    Jun 12, 2005
    Messages:
    2,751
    Country:
    The ROM and texture file need to have the same name. So rename the texture file to: OCARINA OF TIME
     
  6. magelof

    OP magelof Member
    Newcomer

    Joined:
    Jul 29, 2006
    Messages:
    47
    Country:
    United States
    No luck :cry: -- I tried renaming both to THE LEGEND OF ZELDA, tried renaming both to OCARINA OF TIME and erased the ".htc" extension on the texture file to match the rom. Any other ideas? It would be so great to get high-res textures working for retroarch mupen64plus!
     
  7. a9lh-1user

    a9lh-1user Newbie

    Okay here we go:

    VERY important ! I use the configs form the Master himselfe @m4xw provided here: https://m4xw.net/nextcloud/index.php/s/g663mit7LA3RwcW

    1. DL the nightly build here: http://buildbot.libretro.com/nightly/nintendo/switch/libnx/
    You NEED the one from 14.01.2019 (yes that IS the right format to write a date!)
    NOT the one from 13.01.2019 or the one from 15.01.2019! ONLY TESTET with the one from 14.01.2019!

    2. Then DL those textures:
    https://emulationking.com/djipis-2016-cellshade-oot/
    https://emulationking.com/djipis-2016-celda-majoras-mask-texture-pack/

    3. The names have to be:
    THE LEGEND OF ZELDA_HIRESTEXTURES.htc
    and
    ZELDA MAJORA'S MASK_HIRESTEXTURES.htc

    NOTHING ELSE!!! THAT IS IMPORTANT!!!

    4. Now put them into:
    \retroarch\cores\system\mupen64plus\cache\
    "cores" was missing Thanks to @magelof :yay:

    THATS on the "root" of your SD card from the Switch!
    If there is no "cache" folder ..... make on!

    (One at a time not more than one! You have to decide what you want to play)

    5. Now the last part:

    You NEED to use this How To:
    https://gbatemp.net/threads/use-atmosphere-to-access-full-ram-with-homebrews-without-nsp.521240/

    Otherwise you will have RAM problems by loading RetroArch from the HB menu!

    When RetroArch is running:
    Start up Zelda (not important which one first! Remeber what *.htc you put into the "cache" folder!) and let it load ....... be patient!
    Let it load!
    Can you see the intro? Let it RUN! Patient! Now (IF you use the configs from m4xw) press booth sticks and you are in the menu.

    Now look for the "Options" menu and press A

    (We are ALMOST there!)

    Look for "Use High-Res textures" and "Use High-Res Full Alpha Channel" and set both to TRUE

    (We are ALMOST there)

    Now get back with B and click A on "Close Content".

    (We are ALLMOST there!)

    Now load the Zelda game again ..... Looks better now does it :grog:

    I hope it works for you it does for me and i'am happy with it!


    P.S THANKS to all the BIG and little helpers who made the "Emulation" on th Switch possible! (From Hacking stuff to the Homebrew Dev's! You are the heroes of the Switch scene :ha:)


    A last word of advice:
    If you use the configs from m4xw take a look at the CPU overclock and set it to 1581MHZ it is enough i think.
    You don't need the 1785MHZ ...... even if there will be no harm to your Switch! (It's a personal meaning .... so don't bite me ..... or yeah "Bit Me" :wacko:)
     
    Last edited by a moderator: Jan 16, 2019
  8. KTroopA

    KTroopA GBAtemp Advanced Fan
    Member

    Joined:
    Mar 15, 2007
    Messages:
    593
    Country:
    Thank you so much for this guide, will give it a go :)

    Does the rom name need to match the .htc file. I read on reddit it does but replies here say no. Which is it please?
     
  9. a9lh-1user

    a9lh-1user Newbie

    Nope thats the trick it doesn't.
    It is a "cache" file that will be loaded during runtime of the game.
    Thats why there could be only ONE in the cache folder :(
     
    Last edited by a moderator: Jan 15, 2019
    KTroopA likes this.
  10. Csmrcc

    Csmrcc GBAtemp Fan
    Member

    Joined:
    Sep 13, 2018
    Messages:
    395
    Country:
    Spain
    This worked for me, thanks for the tutorial man!
     
    a9lh-1user likes this.
  11. magelof

    OP magelof Member
    Newcomer

    Joined:
    Jul 29, 2006
    Messages:
    47
    Country:
    United States
    I cannot WAIT to try this when I get home. You are a legend- thank you so much! I will confirm once I get it going.
     
  12. coffinbirth

    coffinbirth GBAtemp Regular
    Member

    Joined:
    Jun 15, 2009
    Messages:
    163
    Country:
    United States
    I cant get pj64 to save changes on win10, so i cant dump my packs to .htc.
    Anyone have an alternate method?
     
  13. m4xw

    m4xw Ancient Deity
    Developer

    Joined:
    May 25, 2018
    Messages:
    2,347
    Country:
    Germany
    Start as admin
     
  14. coffinbirth

    coffinbirth GBAtemp Regular
    Member

    Joined:
    Jun 15, 2009
    Messages:
    163
    Country:
    United States
    Well, that certainly allowed the changes to stick...but pj64 isnt playing nice. It's not seeing my packs. I have the molly Super Mario 64 pack, both parts extracted to a directory titled Super Mario 64, placed in pj642.3/plugins/hires_texture(i set it to this in config) but when i load the rom, it doesnt go through the files with yellow letters,just to the menu.
    I chose this particular pack as it was used in a tutorial, as was the suggestion of the directory change. Any suggestions?

    EDIT:
    DOH! The answer was right in front of me pj642.3/plugins/***GFX***hires_texture LOL sleep deprivation
     
    Last edited: Jan 17, 2019
  15. mattyxarope

    mattyxarope GBAtemp Regular
    Member

    Joined:
    Jan 15, 2019
    Messages:
    114
    Country:
    United States
    1. Setting Up Textures:
    • A) There are two different texture pack formats for modern texture packs:
      • a folder of raw PNG files that are usually separated into subfolders.
      • an HTC file which is essentially a cached version of PNG files that are combined into one file - This is the file type that is going to be used by Mupen64Plus on the Switch.
    • B) Sources for Textures:
      • Sources for texture packs (with some projects being raw PNGs, and others having precompiled HTC files): EmulationKing, Textures.Emulation64, Emutalk, and Emulation64.
    • C) Converting PNG Textures to HTC Files
      • If you decide to use a texture pack that has no precompiled HTC file you will need to convert it so that it is usable on Mupen64Plus. Here is great tutorial that shows how to convert PNG texture packs into HTC files. Essentially, this requires a computer running Project64 with the GlideN64 graphic plugin which reads the textures and caches them into the HTC file which allows it to run the ROM with the textures faster. This is the file we will be using on Mupen64Plus. The process is basically:
        • Download Project64.
        • Download the GlideN64 plugin.
        • Put the plugin in the GFX folder of Project64
        • Within the menu of the program manually select GlideN64 to be used
        • Direct the plugin to the 'hires_texture', 'cache', and 'texture_dump' folders
        • Make sure that 'Save enhanced texture cache to hard disk' is checked!.
        • Run the ROM.
        • Allow the textures to load, you should see yellow text loading each one.
        • Once the rom is running, close the program and wait a moment, as some of the larger texture packs take a few seconds to compile to the HTC file.
        • In the folder you set for 'cache', you will see an HTC file named after your ROM - note that this does NOT have to match the filename of the rom!.

    2. Transferring the Texture Pack to Retroarch on the Switch:
    • A) Transferring the HTC file to Mupen64Plus:
      • Access your Switch's microSD card by either a card reader or an FTP program.
      • Take the HTC file you created in the 'cache' folder and transfer it to the folder 'cache' in Retroarch>cores>system>Mupen64Plus>cache (and if that folder does not exist, create it).

    3. Enabling the Hi-Res Textures in Mupen64Plus:
    • A) Enable the Setting to Allow Texture Replacement in Mupen64Plus:
      • Start Retroarch by either using the NSP provided by Retroarch, The NSP forwarding method, or by using selecting it from the Homebrew Launcher while holding the R trigger (in SXOS) - this allows the program to use all available memory.
      • Load your N64 ROM
      • While the ROM is loaded, select the Quick Menu and go the Options tab for the core
      • Enable Use High-Res textures and Use High-Res Full Alpha Channel - note that I personally had to toggle these a few times after quitting Retroarch but they eventually worked.
      • Quit Retroarch and restart the program and rom

    4. F.A.Q:
    • A) Larger Texture Pack Incompatibility
      • Some texture packs larger than 1 gigabyte, such as the Majora's Mask N64HD Project, seem to approach the 1.5 gigabyte texture cache memory limit for Mupen64Plus. As such they seem to freeze (for me, at least). For this particular pack I have personally downsized some of the larger environmental texture folders by 33% and left other elements such as the UI, characters, effects, and other smaller folders untouched. This reduced the size to around 750 megabytes which works on the Switch, albeit with a long initial load time. Here is my reduced size version.
    • B) Does My Texture Pack File Name Have to Match my ROM File Name?
      • NO!, if Project 64 loads the textures and you use the identical ROM on your switch that you used to cache those textures into the HTC file, it will work regardless.
    • C) Do Dolphin Textures Work on Mupen64Plus?
      • NO!, only HTC files can be used. I don't believe that you can convert a PNG texture pack made for Dolphin's Virtual Console games to HTC without considerable effort.
     
    Last edited: Jan 16, 2019
    lordelan likes this.
  16. grabman

    grabman GBAtemp Regular
    Member

    Joined:
    Sep 25, 2018
    Messages:
    235
    Country:
    United States
    This is a great post kudos i wish this was available when i tried figuring this out
     
    mattyxarope likes this.
  17. solidsnake2

    solidsnake2 Member
    Newcomer

    Joined:
    Oct 21, 2015
    Messages:
    41
    Country:
    Serbia, Republic of
    It’s only for Zeldas - Ocarina of time and Majora’s mask? And that’s all?
    Any another game?
     
  18. mattyxarope

    mattyxarope GBAtemp Regular
    Member

    Joined:
    Jan 15, 2019
    Messages:
    114
    Country:
    United States
    Any game with a texture pack in HTC format (or PNG converted to HTC) will work, Zelda is just super popular and has many texture packs available which is why it comes up so often.
     
  19. arianadark

    arianadark GBAtemp Advanced Fan
    Member

    Joined:
    Nov 20, 2016
    Messages:
    621
    Country:
    United States
    theres one for mario kart 64 too
     
  20. magelof
    This message by magelof has been removed from public view by x65943, Jan 16, 2019, Reason: Sorry that site contains copyrighted material and cannot be mentioned or linked.
    Jan 16, 2019 Show
  21. magelof

    OP magelof Member
    Newcomer

    Joined:
    Jul 29, 2006
    Messages:
    47
    Country:
    United States
    You say "Now put them into:
    \retroarch\system\mupen64plus\cache\"

    But shouldnt the htc file go into \retroarch\cores\system\Mupen64plus\cache\ ?
     
    a9lh-1user likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Retroarch, importing, texture