What's new

Glide64mk2 hi res texture locations on osx

kinetique

New member
Where do I put .dat files for glide to open in osx? I've looked through the wiki and can't find anything so any advice would be appreciated.
 

Floux

New member
Same problem here under Linux. I could not found any reliable information about how to set High Res Textures when using Glide64mk2.
 

Floux

New member
Thanks for the reply but I already put *.dat files in the ~/.cache/mupen64plus/glidehq directory. I even try to put them in a sub-folder with the game name like "ZELDA MAJORA'S MASK".

Something should be wrong with my configuration then. Here is my Glide64mk2 config (~/.config/mupen64plus/mupen64plus.cfg):
Code:
[Video-Glide64mk2]

# Card ID
card_id = 0
# Vertical sync
vsync = False
# TODO:ssformat
ssformat = False
# Display performance stats (add together desired flags): 1=FPS counter, 2=VI/s counter, 4=% speed, 8=FPS transparent
show_fps = 0
# Clock enabled
clock = False
# Clock is 24-hour
clock_24_hr = False
# Wrapper resolution
wrpResolution = 0
# Wrapper VRAM
wrpVRAM = 0
# Wrapper FBO
wrpFBO = True
# Wrapper Anisotropic Filtering
wrpAnisotropic = False
# Texture Enhancement: Smooth/Sharpen Filters
ghq_fltr = 0
# Texture Compression: 0 for S3TC, 1 for FXT1
ghq_cmpr = 0
# Texture Enhancement: More filters
ghq_enht = 0
# Hi-res texture pack format (0 for none, 1 for Rice)
ghq_hirs = 1
# Compress texture cache with S3TC or FXT1
ghq_enht_cmpr = "S3TC"
# Tile textures (saves memory but could cause issues)
ghq_enht_tile = 0
# Force 16bpp textures (saves ram but lower quality)
ghq_enht_f16bpp = False
# Compress texture cache
ghq_enht_gz = True
# Don't enhance textures for backgrounds
ghq_enht_nobg = False
# Enable S3TC and FXT1 compression
ghq_hirs_cmpr = False
# Tile hi-res textures (saves memory but could cause issues)
ghq_hirs_tile = False
# Force 16bpp hi-res textures (saves ram but lower quality)
ghq_hirs_f16bpp = False
# Compress hi-res texture cache
ghq_hirs_gz = True
# Alternative CRC calculation -- emulates Rice bug
ghq_hirs_altcrc = True
# Save tex cache to disk
ghq_cache_save = True
# Texture Cache Size (MB)
ghq_cache_size = 128
# Use full alpha channel -- could cause issues for some tex packs
ghq_hirs_let_texartists_fly = True
# Dump textures
ghq_hirs_dump = False
 

V1del

New member
Can't test right now but
Code:
# Compress texture cache with S3TC or FXT1
ghq_enht_cmpr = "S3TC"
is def wrong and should be a boolean, set that to True (this simply confirms and applies the chosen compression in ghq_cmpr). And no console output that remotely tells something? Also which texture pack?
 

Floux

New member
I set this as you tell me, but nothing happened:
Code:
# Compress texture cache with S3TC or FXT1
ghq_enht_cmpr = True
# Enable S3TC and FXT1 compression
ghq_hirs_cmpr = True

Nothing particular in the terminal...
Code:
Mupen64Plus Console User-Interface Version 2.0.0

UI-Console: attached to core library 'Mupen64Plus Core' version 2.0.0
UI-Console:             Includes support for Dynamic Recompiler.
UI-Console:             Includes support for MIPS r4300 Debugger.
Core: Goodname: Legend of Zelda, The - Majora's Mask (U) [!]
Core: Name: ZELDA MAJORA'S MASK 
Core: MD5: 2A0A8ACB61538235BC1094D297FB6556
Core: CRC: 5354631c 3a2def0
Core: Imagetype: .z64 (native)
Core: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
Core: Version: 144b
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console Status: Cheat codes disabled.
UI-Console: using Video plugin: 'Glide64mk2 Video Plugin' v2.0.0
UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.0.0
UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.0.0
UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.0.0
Video: opening /usr/share/mupen64plus2/Glide64mk2.ini

INI_FindSection trying to find name for DEFAULT
Video: 3DNOW! detected.

Input: 1 SDL joysticks were found.
Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Microsoft X-Box 360 pad')
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input: Rumble activated on N64 joystick #1
Input: Mupen64Plus SDL Input Plugin version 2.0.0 initialized.
INI_FindSection trying to find name for DEFAULT
INI_FindSection trying to find name for ZELDA MAJORA'S MASK
Video: Using TEXUMA extension.

&ConfigOpenSection is 0x7f940b779650
(II) Setting video mode 1280x1024...
Core: Setting video mode: 1280x1024
Congratulations, you have 4 auxilliary buffers, we'll use them wisely !
packed pixels extension used                                                                                                                 
NPOT extension used
use_fbo 1
Video: InitCombine() 
Video: extensions 
Video: initialized.
Video: 

Audio: Initializing SDL audio subsystem...
mupen64plus: could not connect to socket
mupen64plus: No such file or directory
Core Warning: LIRC disabled: Error contacting daemon!
Core: Starting R4300 emulator: Dynamic Recompiler
Core: R4300: starting 64-bit dynamic recompiler at: 0x7f9418e65370
INI_FindSection trying to find name for UCODE
Core Status: Stopping emulation.
Core: R4300 emulator finished.
Core Status: Rom closed.

I am trying to use "Djipi_CellPack_MM_2011".
 

mendus

New member
Djippis packs require the full alpha channel and another setting I think. I'm not sure if mupen64plus.cfg overrides it, but you could try to set them in the glide64mk2.ini (not sure how it works in osx though).

Edit: I see the options are also in the .cfg file and set ok. So nevermind, ignore what I said.
 
Last edited:

V1del

New member
I meant to test this yesterday but didn't get to it, oh well

Try putting the ZELDA MAJORA'S MASK.dat into the other folder ~/.local/share/mupen64plus (no subfolders) from what I've seen the .cache method only works if Glide64 is compiled with dump_textures enabled, which it isn't by default because dumping is broken, but this also leads to loading of a pack if it is already found there

In addition from poking around Djipi's thread, disable alt_crc and try to use a PAL rom, so that it can load all textures

EDIT: Tested now and extracting the pack as is (ZELDA MAJORA'S MASK_HIRESTEXTURES.dat) into ~/.cache/mupen64plus/glidehq worked as expected

EDIT2: Further testing shows that
Code:
# Enable S3TC and FXT1 compression
ghq_hirs_cmpr = True
breaks this texture pack and prevents it from loading set that to false.

My settings for reference:
Code:
[Video-Glide64mk2]

# Card ID
card_id = 0
# Vertical sync
vsync = False
# TODO:ssformat
ssformat = False
# Display performance stats (add together desired flags): 1=FPS counter, 2=VI/s counter, 4=% speed, 8=FPS transparent
show_fps = 2
# Clock enabled
clock = False
# Clock is 24-hour
clock_24_hr = False
# Wrapper resolution
wrpResolution = 0
# Wrapper VRAM
wrpVRAM = 0
# Wrapper FBO
wrpFBO = True
# Wrapper Anisotropic Filtering
wrpAnisotropic = True
# Texture Enhancement: Smooth/Sharpen Filters
ghq_fltr = 0
# Texture Compression: 0 for S3TC, 1 for FXT1
ghq_cmpr = 0
# Texture Enhancement: More filters
ghq_enht = 0
# Hi-res texture pack format (0 for none, 1 for Rice)
ghq_hirs = 1
# Compress texture cache with S3TC or FXT1
ghq_enht_cmpr = True
# Tile textures (saves memory but could cause issues)
ghq_enht_tile = 0
# Force 16bpp textures (saves ram but lower quality)
ghq_enht_f16bpp = False
# Compress texture cache
ghq_enht_gz = True
# Don't enhance textures for backgrounds
ghq_enht_nobg = False
# Enable S3TC and FXT1 compression
ghq_hirs_cmpr = False
# Tile hi-res textures (saves memory but could cause issues)
ghq_hirs_tile = False
# Force 16bpp hi-res textures (saves ram but lower quality)
ghq_hirs_f16bpp = False
# Compress hi-res texture cache
ghq_hirs_gz = True
# Alternative CRC calculation -- emulates Rice bug
ghq_hirs_altcrc = False
# Save tex cache to disk
ghq_cache_save = True
# Texture Cache Size (MB)
ghq_cache_size = 128
# Use full alpha channel -- could cause issues for some tex packs
ghq_hirs_let_texartists_fly = True
# Dump textures
ghq_hirs_dump = False
 
Last edited:

Floux

New member
Many thanks for all tests you have done!

However, after trying all your recommendations, using your config and so on... It is still not working to me.
 

V1del

New member
What's your graphics card? maybe s3tc compression isn't working or something (even though that's supposed to have been replaced by a free s2tc compression), try installing
Code:
libtxc-dxtn(-s2tc0)
or similar (shouldn't be necessary if you use propietary drivers, but may bee needed on OSS ones), can't give you the exact name as I don't know your distri
 

rusma

New member
Thanks V1del!

Your config worked perfectly for loading latest Djipi 2011 textures for OoT. Saving .dat-files to ~/.cache/mupen64plus/glidehq and tweaking [Video-Glide64mk2] section of ~/.config/mupen64plus/mupen64plus.cfg did the job.

My setup:

Code:
% uname -a
Linux angrist 3.11.5-1-ARCH #1 SMP PREEMPT Mon Oct 14 08:31:43 CEST 2013 x86_64 GNU/Linux
% pacman -Q mupen64plus
mupen64plus 2.0-2
% pacman -Q mupen64plus-video-glide64mk2-git
mupen64plus-video-glide64mk2-git 2.0.r51.g0e03ad1-1
 

Top