RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    HiRes Texture packs not loading

    Scheduled Pinned Locked Moved Help and Support
    n64hiresolutiontexture
    8 Posts 4 Posters 5.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robio
      last edited by

      I'm trying to use hires texture packs for Zelda Ocraina of Time but can't get it to work.

      Pi Model: 3
      RetroPie Version Used: 4.0.2 (at least that's what the retropie_packages.shscript sais.
      Built From: Pre made SD Image on RetroPie website

      I followed the instructions here. That is, enable the according lines for the texture pack loading in the mupen64plus.cfg config file and place the texture packs in /home/pi/.local/share/mupen64plus/hires_texture/THE LEGEND OF ZELDA

      I tried the two following packs:
      2011 OOT cell pack
      2014 OOT HD pack

      That's the folder structure of the HD pack:

      THE\ LEGEND\ OF\ ZELDA
      `-- GFX
          |-- cache
          |   `-- THE\ LEGEND\ OF\ ZELDA_HIRESTEXTURES.htc
          |-- GLideN64.custom.ini
          |-- gliden64_de.qm
          |-- GLideN64.dll
          |-- gliden64_fr.qm
          |-- GLideN64.ini
          `-- gliden64_it.qm
      
      2 directories, 7 files
      

      I was not sure what to do with the .dat file from the other pack so after a while I was desperate enough to just try this:

      THE\ LEGEND\ OF\ ZELDA/
      |-- GFX
      |   |-- cache
      |   |   |-- THE\ LEGEND\ OF\ ZELDA_HIRESTEXTURES.dat
      |   |   `-- THE\ LEGEND\ OF\ ZELDA_MEMORYCACHE.dat
      |   |-- THE\ LEGEND\ OF\ ZELDA_HIRESTEXTURES.dat
      |   `-- THE\ LEGEND\ OF\ ZELDA_MEMORYCACHE.dat
      |-- THE\ LEGEND\ OF\ ZELDA_HIRESTEXTURES.dat
      `-- THE\ LEGEND\ OF\ ZELDA_MEMORYCACHE.dat
      
      2 directories, 6 files
      

      This is the log when I'm trying to run it with the run command with GLideN64 and CEA-5. Now the first weird thing is that it sais (II) Setting video mode 640x480... although I specified CEA-5.

      Generated a 884 x 18 (15 kb) texture atlas
       __  __                         __   _  _   ____  _
      |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
      | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
      | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
      |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
                   |_|         http://code.google.com/p/mupen64plus/
      Mupen64Plus Console User-Interface Version 2.5.0
      
      UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.0
      UI-Console:             Includes support for Dynamic Recompiler.
      Core: Goodname: Legend of Zelda, The - Ocarina of Time (U) (V1.2) [!]
      Core: Name: THE LEGEND OF ZELDA
      Core: MD5: 57A9719AD547C516342E1A15D5C28C3D
      Core: CRC: 693BA2AE B7F14E9F
      Core: Imagetype: .v64 (byteswapped)
      Core: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
      Core: Version: 1449
      Core: Manufacturer: 43
      Core: Country: Unknown (0x245)
      UI-Console Status: Cheat codes disabled.
      UI-Console: using Video plugin: 'GLideN64' v2.0.0
      UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.0
      UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.5.0
      Core Warning: Fallback for Video plugin API (02.02.00) < 2.2.0. Resizable video will not work
      Input: 1 SDL joysticks were found.
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Logitech Gamepad F310')
      Input: 1 controller(s) found, 1 plugged in and usable in the emulator
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Input: Mupen64Plus SDL Input Plugin version 2.5.0 initialized.
      (II) Setting video mode 640x480...
      Core: Setting video mode: 640x480
      Audio: OMX Audio plugin Initialized. Output Frequency 33600 Hz
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Core: Starting R4300 emulator: Dynamic Recompiler
      Core: Init new dynarec
      Core: ARM CPU Features:, Half, Thumb, FastMult, VFP, ESDP, NEON, VFPv3, TLS, VFPv4, IDIVa, IDIVt
      Audio: OMX Audio plugin Initialized. Output Frequency 32006 Hz
      Core Status: Stopping emulation.
      Core: R4300 emulator finished.
      Core Status: Rom closed.
      

      This is the output with Rice and CEA-5:

       __  __                         __   _  _   ____  _
      |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
      | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
      | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
      |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
                   |_|         http://code.google.com/p/mupen64plus/
      Mupen64Plus Console User-Interface Version 2.5.0
      
      UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.0
      UI-Console:             Includes support for Dynamic Recompiler.
      Core: Goodname: Legend of Zelda, The - Ocarina of Time (U) (V1.2) [!]
      Core: Name: THE LEGEND OF ZELDA
      Core: MD5: 57A9719AD547C516342E1A15D5C28C3D
      Core: CRC: 693BA2AE B7F14E9F
      Core: Imagetype: .v64 (byteswapped)
      Core: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
      Core: Version: 1449
      Core: Manufacturer: 43
      Core: Country: Unknown (0x245)
      UI-Console Status: Cheat codes disabled.
      UI-Console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v2.0.0
      UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.0
      UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.5.0
      Input: 1 SDL joysticks were found.
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Logitech Gamepad F310')
      Input: 1 controller(s) found, 1 plugged in and usable in the emulator
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Input: Mupen64Plus SDL Input Plugin version 2.5.0 initialized.
      Video: Disabled SSE processing.
      Video: Found ROM 'THE LEGEND OF ZELDA', CRC aea23b699f4ef1b7-45
      Video: Enabled hacks for game: 'THE LEGEND OF ZELDA'
      Video: Texture loading option is enabled. Finding all hires textures
      Video: Initializing OpenGL Device Context.
      Core: Setting 32-bit video mode: 640x480
      Video Warning: Failed to set GL_SWAP_CONTROL to 0. (it's 32)
      Video Warning: Failed to set GL_DEPTH_SIZE to 16. (it's 24)
      Video: Using OpenGL: Broadcom - VideoCore IV HW : OpenGL ES 2.0
      Audio: OMX Audio plugin Initialized. Output Frequency 33600 Hz
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Core: Starting R4300 emulator: Dynamic Recompiler
      Core: Init new dynarec
      Core: ARM CPU Features:, Half, Thumb, FastMult, VFP, ESDP, NEON, VFPv3, TLS, VFPv4, IDIVa, IDIVt
      Audio: OMX Audio plugin Initialized. Output Frequency 32006 Hz
      Core Status: Stopping emulation.
      Core: R4300 emulator finished.
      Core Status: Rom closed.
      

      It's the same behaviour if I run it from the command like like so:
      /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-rice Legend\ of\ Zelda\,\ The\ -\ Ocarina\ of\ Time\ \(U\)\ \(V1.2\)\ \[\!\].v64
      or
      /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 Legend\ of\ Zelda\,\ The\ -\ Ocarina\ of\ Time\ \(U\)\ \(V1.2\)\ \[\!\].v64

      I'm a bit lost here. Any help appreciated! Are there any other logs I could look into? Any way to make the the log output more verbose?
      Thanks a lot!

      1 Reply Last reply Reply Quote 0
      • R
        robio
        last edited by robio

        I found a solution which seems to work for me.

        Use this tool (or this one for .dat files) and to extract the .htc file located in the GFX/cache folder of the texture pack.

        1. compile glide(n)64-cache-extract
        2. install imagemagick sudo apt-get install imagemagick
        3. follow the convert instructions of the according tool on github
        4. rename the .png files to match the rom name, e.g. rename -v 's/MUPEN64PLUS/THE LEGEND OF ZELDA/' *.png

        If you chose to convert on the pi itself it will take quite some time. All needed tools can easily be used on a desktop computer running linux to speed things up.

        Also the whole endeavour seems a bit tedious, so if somebody knows how to handle this easier I'm happy to hear it.

        S 1 Reply Last reply Reply Quote 0
        • S
          sagrado7 @robio
          last edited by

          @robio The command make throws an error: make: *** [Makefile:51: gliden64_cache_extract.o] Error 127
          I'm using cygwin with gcc-core, make, pkg-config, ImageMagick and git packages.

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @sagrado7
            last edited by

            @sagrado7 the error should be detailed before that. But it's probably not working on cygwin. Use the pi or Linux perhaps?

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • T
              Twitch0815
              last edited by Twitch0815

              So I need to update the instructions a bit as 4.0 has changed a few things.

              What I need to add is what is required for launching normally.

              So you have the pack in the right folder structure.

              You need to make sure to update the Retropie SEtup script and update everything including manually updating mupen 64.

              Now through the normal menu, launch the game and press x on startup to bring up the runcommand prompt for the game

              Under category 2 pick emulator for rom mupen64plus-GlideN64-highres

              The first rom I tried seemed to not want to work, so i just grabbed a different copy seemd to be a read write issue.

              then choose launch and oulila
              you should see a small loading screen that dows textures being loaded.

              As far as the workaround you found I suspect that there are is a way to make texture packs for Rice and for Glide the most common being glide, but I know that some of the vailable tex packs for Zelda were done for Rice. So it seems your method is changing a rice texture pack for a glide one which all glide formats I have used and tested work without issue.

              1 Reply Last reply Reply Quote 1
              • T
                Twitch0815
                last edited by

                I have also updated the wiki to take out some obsolete information and update parts specific to High Resolution Texture Packs.

                1 Reply Last reply Reply Quote 1
                • R
                  robio
                  last edited by robio

                  @sagrado7 I would suggest the same thing as BuZz, try to run everything on the Pi. It takes a bit longer to compile and also to convert the textures but it's still reasonable. If you don't get it to work I'll post a step by step instruction that can be run on the pi.

                  @Twitch0815 Might be the case. I don't know anything about texture packs really. I just had a look at a working texture pack and tried to get the Zelda one to have the same file formats, names and folder structure.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sagrado7
                    last edited by

                    I already did it, i downloaded the wrong compiler in the CYGWIN, not the GCC-CORE.
                    I extract all the files and converted them into png, but the Project64 cannot load the textures, but other textures the plugin GlideN64 can load without problems.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.