Homebrew Question High-res N64 texture importing to Retroarch?

jammybudga777

Well-Known Member
Member
Joined
Aug 23, 2013
Messages
2,284
Trophies
1
Age
37
XP
2,193
Country
You can generate the HTC / HTS in mupen next just fine from PNG files, no need for PC tools, the tutorial should be fixed.

--------------------- MERGED ---------------------------

Also "Larger Texture Pack Incompatibility" does no longer apply, nerrel's pack works just fine (it requires the "Enhanced High-Res Texture" core options enabled in addition to the normal HD options).
Bonus points for disabling TX Cache compression in the next nightlies, to reduce stutter at the cost of bigger cache files.
how do you generate them? i have png for mario 64. would be nice not to have project 64 to create htc. Edit. I've tried using project64 to make htc files but it only spits out dat files? Any help would be appriciated
 
Last edited by jammybudga777,

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
You can generate the HTC / HTS in mupen next just fine from PNG files, no need for PC tools, the tutorial should be fixed.

--------------------- MERGED ---------------------------

Also "Larger Texture Pack Incompatibility" does no longer apply, nerrel's pack works just fine (it requires the "Enhanced High-Res Texture" core options enabled in addition to the normal HD options).
Bonus points for disabling TX Cache compression in the next nightlies, to reduce stutter at the cost of bigger cache files.

Ok, I'll amend it. Where should the png files be put?
 
  • Like
Reactions: jammybudga777

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Ok, I'll amend it. Where should the png files be put?
/retroarch/cores/system/Mupen64plus/hires_texture (same stuff as pj64)
It will generate them on startup, there will be no indication, it will be stuck on black screen and menu wont open until its done.
For HTS (File storage) both "Enhanced" HD options need to be on additionally
Also all settings for HTS / HTC must match with the settings it was created otherwise it wont load.
 
Last edited by m4xw,

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,035
Trophies
1
Location
California
XP
6,028
Country
United States
/retroarch/cores/system/Mupen64plus/hires_texture (same stuff as pj64)
It will generate them on startup, there will be no indication, it will be stuck on black screen and menu wont open until its done.
For HTS (File storage) both "Enhanced" HD options need to be on additionally
Also all settings for HTS / HTC must match with the settings it was created otherwise it wont load.
Should this be for both Mupen64+Next? What Folder Label should that be?
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
You can generate the HTC / HTS in mupen next just fine from PNG files, no need for PC tools, the tutorial should be fixed.

--------------------- MERGED ---------------------------

Also "Larger Texture Pack Incompatibility" does no longer apply, nerrel's pack works just fine (it requires the "Enhanced High-Res Texture" core options enabled in addition to the normal HD options).
Bonus points for disabling TX Cache compression in the next nightlies, to reduce stutter at the cost of bigger cache files.

I've gotten this weird effect when using texture packs for some reason. It seems to split the screen in two. I'm using the options you recommended as well.

2019112920012700-186DA356B11F5330735BC5746688B668.jpg
2019112920003300-186DA356B11F5330735BC5746688B668.jpg
2019112920004300-186DA356B11F5330735BC5746688B668.jpg
2019112920011800-186DA356B11F5330735BC5746688B668.jpg
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Whats your core options?
Paste me all.
Could you also check if thats a issue with texture cache compression?
That setting is pretty new in the core.
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
Whats your core options?
Paste me all.
Could you also check if thats a issue with texture cache compression?
That setting is pretty new in the core.

I've toggled the following settings to see if they had any effect, and it seems that they didn't.:

  • mupen64plus-aspect = "16:9 adjusted"
  • mupen64plus-EnableEnhancedHighResStorage = "True"
  • mupen64plus-EnableEnhancedTextureStorage = "True"
Were these the ones you meant? I didn't see anything with texture cache compression - perhaps I'm missing it...then again I'm not on the nightly.

mupen64plus-169screensize = "1280x720"
mupen64plus-43screensize = "960x720"
mupen64plus-alt-map = "False"
mupen64plus-aspect = "16:9 adjusted"
mupen64plus-astick-deadzone = "15"
mupen64plus-astick-sensitivity = "100"
mupen64plus-BackgroundMode = "OnePiece"
mupen64plus-BilinearMode = "standard"
mupen64plus-CorrectTexrectCoords = "Off"
mupen64plus-CountPerOp = "0"
mupen64plus-cpucore = "dynamic_recompiler"
mupen64plus-d-cbutton = "C3"
mupen64plus-EnableCopyColorToRDRAM = "Async"
mupen64plus-EnableCopyDepthToRDRAM = "Software"
mupen64plus-EnableEnhancedHighResStorage = "True"
mupen64plus-EnableEnhancedTextureStorage = "True"
mupen64plus-EnableFBEmulation = "False"
mupen64plus-EnableFragmentDepthWrite = "True"
mupen64plus-EnableHWLighting = "False"
mupen64plus-EnableLegacyBlending = "False"
mupen64plus-EnableLODEmulation = "True"
mupen64plus-EnableNativeResTexrects = "False"
mupen64plus-EnableOverscan = "Enabled"
mupen64plus-EnableShadersStorage = "True"
mupen64plus-EnableTextureCache = "True"
mupen64plus-ForceDisableExtraMem = "False"
mupen64plus-FrameDuping = "True"
mupen64plus-Framerate = "Original"
mupen64plus-FXAA = "0"
mupen64plus-l-cbutton = "C2"
mupen64plus-MaxTxCacheSize = "4000"
mupen64plus-MultiSampling = "0"
mupen64plus-NoiseEmulation = "True"
mupen64plus-OverscanBottom = "0"
mupen64plus-OverscanLeft = "0"
mupen64plus-OverscanRight = "0"
mupen64plus-OverscanTop = "0"
mupen64plus-pak1 = "rumble"
mupen64plus-pak2 = "none"
mupen64plus-pak3 = "none"
mupen64plus-pak4 = "none"
mupen64plus-r-cbutton = "C1"
mupen64plus-rspmode = "HLE"
mupen64plus-txEnhancementMode = "None"
mupen64plus-txFilterIgnoreBG = "True"
mupen64plus-txFilterMode = "None"
mupen64plus-txHiresEnable = "True"
mupen64plus-txHiresFullAlphaChannel = "True"
mupen64plus-u-cbutton = "C4"
mupen64plus-virefresh = "Auto"

What's strange is that in the past all of the texture packs have worked fine. Now a few give that strange graphical glitch.

Edit: I have no idea what the setting was but I deleted my core config file and started from scratch and it seems to work.
 
Last edited by mattyxarope,

dailetc

Member
Newcomer
Joined
Aug 12, 2017
Messages
12
Trophies
0
Age
34
XP
98
Country
United States
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:)

It does not exist the m4xw config
 

nWo

The Game Master
Member
Joined
Oct 20, 2016
Messages
995
Trophies
0
Website
www.facebook.com
XP
2,881
Country
Mexico
The default config is fine for most things.

I don`t think so, because with defaults, some HTC textures look blurry and all messed up. With some tinkering they all look great but the game stutters. I had a great config file but it`s gone now. So, I was just wondering if he kindly could share the recommendable configs so everyone can stop asking for help on N64 emulation on Switch. It could be a benefit for a great amount of people that has that problem.
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
I don`t think so, because with defaults, some HTC textures look blurry and all messed up. With some tinkering they all look great but the game stutters. I had a great config file but it`s gone now. So, I was just wondering if he kindly could share the recommendable configs so everyone can stop asking for help on N64 emulation on Switch. It could be a benefit for a great amount of people that has that problem.
Upscale to 720p
 

hlb96

Member
Newcomer
Joined
Jan 30, 2007
Messages
20
Trophies
0
XP
335
Country
United States
When I go to quick menu-options in a game, it says (GLN64) in front of most options and not Mupen64plus.

EX (GLN64) 4:3 Resolution

I am using core Mupen64Plus-Next. Is this correct and if not how do I fix it?
 
Last edited by hlb96,

South Cape

Active Member
Newcomer
Joined
Jun 27, 2010
Messages
36
Trophies
1
XP
319
Country
Japan
You can generate the HTC / HTS in mupen next just fine from PNG files, no need for PC tools, the tutorial should be fixed.

--------------------- MERGED ---------------------------

Also "Larger Texture Pack Incompatibility" does no longer apply, nerrel's pack works just fine (it requires the "Enhanced High-Res Texture" core options enabled in addition to the normal HD options).
Bonus points for disabling TX Cache compression in the next nightlies, to reduce stutter at the cost of bigger cache files.

Hey @m4xw hope you don't mind me calling you out in this kinda old thread.

I'm on the most recent Mupen Next core that you can download from within Retroarch. I tried using Nerrel's Majora's Mask pack as PNGs like you said to and it generates the HTS file. But the HTS file Mupen generates is only 16b and the textures don't load. I've tried different combinations of turning on
Use High-res Textures (always on)
Use High Texture Cache Compression (tried both on and off)
Use High-Res Full-Alpha (always on)
Use enhanced Text Storage (tried on and off)
Use enhanced High-res Texture Storage (tried on and off)
I also tried resetting my core options and doing it all over again.

Am I missing something? I've been using the PNGs for Mupen but the Nerrel pack was recently updated and the HTS file that's downloadeable from the website is up to 10gb, so maybe the pack has just gotten too big?
Hopefully you can help out. This pack seems to be getting very active development, so this might help out others too.

Thanks for all your hard work on the core though! Everything's perfect, just hoping to get this settled.

Or if anyone else knows anything and can help me please do lol.
 
Last edited by South Cape,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Hello @realtimesave.