[TUTORIAL] Extract .dat Texture Packs (Glide64 Texture Packs)
********************DISCLAIMER************************
Please respect the rights of all texture pack designers by not uploading the extracted files in any way or form.
By extracting the textures you are agreeing that you intend to use them for personal use only and have no intention of sharing the textures, or any changes you make to the textures with anyone.
Please show the texture pack creators the respect they deserve for providing you with their hard work.
********************DISCLAIMER************************
This process will be used at the users risk and is not supported by Emulation64, it's staff members, administrators, moderators, or texture artists.
TUTORIAL WITHIN THE SPOILER
Spoiler:
[TUTORIAL] Extract .dat Texture Packs (Glide64 Texture Packs)
This tutorial is for people who want to use .dat texture packs:
- but have an old/slow computer which performs better and is more stable using the Rice Video plugin rather than the Glide64 plugin.
- on an android device using Mupen64Plus AE.
This tutorial will explain how to:
- setup Cygwin with the required packages
- compile glide64-cache-extract (by Sven Eckelmann)
- use glide64-cache-extract to extract .bmp textures from *_HIRESTEXTURES.dat and _MEMORYCACHE.dat
- convert .bmp textures to .png
For a detailed tutorial of how to install Cygwin and compile programs please see:
How to Compile Linux Programs Under Windows with Cygwin (by Gary Sims at maketecheasier)
NOTE: This link has been provided as additional information on how to install Cygwin.
NOTE: A list of packages required for this tutorial is included below.
This tutorial is written specifically for Windows users hence the use of Cygwin.
For the purposes of this tutorial Cygwin should be installed to C:\cygwin\
Cygwin is available from https://www.cygwin.com/
THROUGHOUT THIS TUTORIAL ANY REFERENCE TO [USER] RELATES TO YOUR WINDOWS USERNAME.
NOW ON WITH THE TUTORIAL...
*WINDOWS*
Install Cygwin with the following packages (including all of their dependencies):
gcc-core
git
ImageMagick
make
pkg-config
*CYGWIN*
Run Cygwin
Clone glide64-cache-extract from GitHub using the following command:
git clone https://github.com/ecsv/glide64-cache-extract.git
This will create:
/home/[USER]/glide64-cache-extract
Change directory to glide64-cache-extract by using the following command:
cd glide64-cache-extract
Compile the glide64-cache-extract by using the following command:
make
This will create:
glide64_cache_extract.exe
Copy glide64_cache_extract.exe to /bin by using the following command:
cp glide64_cache_extract.exe /bin/glide64_cache_extract.exe
Change glide64_cache_extract.exe permissions to make it executable by using the following command:
chmod +x /bin/glide64_cache_extract.exe
Change directory back to /home/[USER] by using the following command:
cd ..
Create a new directory called textures by using the following command:
mkdir textures
Change directory to textures by using the following command:
cd textures
*WINDOWS*
Place *_HIRESTEXTURES.dat and *_MEMORYCACHE.dat in C:\cygwin\home\[USER]\textures
EXAMPLE .DAT FILES:
SUPER MARIO 64_HIRESTEXTURES.dat
SUPER MARIO 64_MEMORYCACHE.dat
*CYGWIN*
Follow the steps below:
Extract SUPER MARIO 64_HIRESTEXTURES.dat by using the following command:
zcat "SUPER MARIO 64_HIRESTEXTURES.dat" | glide64_cache_extract -b -p "SUPER MARIO 64" | tar x
Extract SUPER MARIO 64_MEMORYCACHE.dat by using the following command:
zcat "SUPER MARIO 64_MEMORYCACHE.dat" | glide64_cache_extract -b -p "SUPER MARIO 64" | tar x
This will extract the .bmp texture files.
Convert the extracted .bmp texture files to .png by using the following command:
for i in *.bmp; do convert -strip -define png:format=png32 -define png:compression-level=9 "${i}" "${i%.bmp}.png"; done
Remove the .bmp files by using the following command:
rm *.bmp
Create a new directory called SUPER MARIO 64 by using the following command:
mkdir "SUPER MARIO 64"
Move the .png files to SUPER MARIO 64 directory by using the following command:
mv *.png "SUPER MARIO 64"
*ENJOY*
The process is now complete and you can now place the SUPER MARIO 64 directory in to the appropriate emulator directory.
Examples:
Mupen64Plus/M64Py - C:\Users\[USER]\AppData\Roaming\Mupen64Plus\hires_texture\
Project64 1.6 - C:\Program Files\Project64 1.6\Plugin\hires_texture\
Project64 2.0 - C:\Program Files\Project64 2.0\Plugin\GFX\hires_texture\
*THIS GUIDE CAN BE APPLIED TO ANY .DAT TEXTURE PACKS, YOU ONLY NEED TO MODIFY THE COMMANDS PROVIDED*
Finally... special thanks to:
Moshroum
death--droid - for restoring the deleted thread
********************DISCLAIMER************************
Please respect the rights of all texture pack designers by not uploading the extracted files in any way or form.
By extracting the textures you are agreeing that you intend to use them for personal use only and have no intention of sharing the textures, or any changes you make to the textures with anyone.
Please show the texture pack creators the respect they deserve for providing you with their hard work.
********************DISCLAIMER************************
This process will be used at the users risk and is not supported by Emulation64, it's staff members, administrators, moderators, or texture artists.
TUTORIAL WITHIN THE SPOILER

[TUTORIAL] Extract .dat Texture Packs (Glide64 Texture Packs)
This tutorial is for people who want to use .dat texture packs:
- but have an old/slow computer which performs better and is more stable using the Rice Video plugin rather than the Glide64 plugin.
- on an android device using Mupen64Plus AE.
This tutorial will explain how to:
- setup Cygwin with the required packages
- compile glide64-cache-extract (by Sven Eckelmann)
- use glide64-cache-extract to extract .bmp textures from *_HIRESTEXTURES.dat and _MEMORYCACHE.dat
- convert .bmp textures to .png
For a detailed tutorial of how to install Cygwin and compile programs please see:
How to Compile Linux Programs Under Windows with Cygwin (by Gary Sims at maketecheasier)
NOTE: This link has been provided as additional information on how to install Cygwin.
NOTE: A list of packages required for this tutorial is included below.
This tutorial is written specifically for Windows users hence the use of Cygwin.
For the purposes of this tutorial Cygwin should be installed to C:\cygwin\
Cygwin is available from https://www.cygwin.com/
THROUGHOUT THIS TUTORIAL ANY REFERENCE TO [USER] RELATES TO YOUR WINDOWS USERNAME.
NOW ON WITH THE TUTORIAL...
*WINDOWS*
Install Cygwin with the following packages (including all of their dependencies):
gcc-core
git
ImageMagick
make
pkg-config
*CYGWIN*
Run Cygwin
Clone glide64-cache-extract from GitHub using the following command:
git clone https://github.com/ecsv/glide64-cache-extract.git
This will create:
/home/[USER]/glide64-cache-extract
Change directory to glide64-cache-extract by using the following command:
cd glide64-cache-extract
Compile the glide64-cache-extract by using the following command:
make
This will create:
glide64_cache_extract.exe
Copy glide64_cache_extract.exe to /bin by using the following command:
cp glide64_cache_extract.exe /bin/glide64_cache_extract.exe
Change glide64_cache_extract.exe permissions to make it executable by using the following command:
chmod +x /bin/glide64_cache_extract.exe
Change directory back to /home/[USER] by using the following command:
cd ..
Create a new directory called textures by using the following command:
mkdir textures
Change directory to textures by using the following command:
cd textures
*WINDOWS*
Place *_HIRESTEXTURES.dat and *_MEMORYCACHE.dat in C:\cygwin\home\[USER]\textures
EXAMPLE .DAT FILES:
SUPER MARIO 64_HIRESTEXTURES.dat
SUPER MARIO 64_MEMORYCACHE.dat
*CYGWIN*
Follow the steps below:
Extract SUPER MARIO 64_HIRESTEXTURES.dat by using the following command:
zcat "SUPER MARIO 64_HIRESTEXTURES.dat" | glide64_cache_extract -b -p "SUPER MARIO 64" | tar x
Extract SUPER MARIO 64_MEMORYCACHE.dat by using the following command:
zcat "SUPER MARIO 64_MEMORYCACHE.dat" | glide64_cache_extract -b -p "SUPER MARIO 64" | tar x
This will extract the .bmp texture files.
Convert the extracted .bmp texture files to .png by using the following command:
for i in *.bmp; do convert -strip -define png:format=png32 -define png:compression-level=9 "${i}" "${i%.bmp}.png"; done
Remove the .bmp files by using the following command:
rm *.bmp
Create a new directory called SUPER MARIO 64 by using the following command:
mkdir "SUPER MARIO 64"
Move the .png files to SUPER MARIO 64 directory by using the following command:
mv *.png "SUPER MARIO 64"
*ENJOY*
The process is now complete and you can now place the SUPER MARIO 64 directory in to the appropriate emulator directory.
Examples:
Mupen64Plus/M64Py - C:\Users\[USER]\AppData\Roaming\Mupen64Plus\hires_texture\
Project64 1.6 - C:\Program Files\Project64 1.6\Plugin\hires_texture\
Project64 2.0 - C:\Program Files\Project64 2.0\Plugin\GFX\hires_texture\
*THIS GUIDE CAN BE APPLIED TO ANY .DAT TEXTURE PACKS, YOU ONLY NEED TO MODIFY THE COMMANDS PROVIDED*
Finally... special thanks to:
Moshroum
death--droid - for restoring the deleted thread
Last edited: