Go Back   Project64 Forums > General Discussion > Open Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 16th November 2015, 08:50 PM
kevin42 kevin42 is offline
Junior Member
 
Join Date: Sep 2015
Posts: 8
Default Glide64 won't load custom textures. Help!

I created some custom textures for SM64, and I named them the same name as the corresponding dumped textures. I've read differing instructions for where to put the textures. I've tried:

Project64\Textures\hires_texture\SUPER MARIO 64\mytex.png

Project64\plugin\GFX\hires_texture\SUPER MARIO 64\mytex.png

Project64\plugin\GFX\cache\hires_texture\SUPER MARIO 64\mytex.png

None of these will get the textures to load. My textures directory was set to Project64\Textures initially, and I tried changing it to Project64\Plugin\GFX, but neither one works.
Reply With Quote
  #2  
Old 16th November 2015, 11:24 PM
kevin42 kevin42 is offline
Junior Member
 
Join Date: Sep 2015
Posts: 8
Default

I got it to work for the Rice plugin, at least. The magic directory is Project64\Plugin\hires_texture\SUPER MARIO 64. But it still won't work for Glide, and Rice is really glitchy for me (objects flicker in and out of existence).
Reply With Quote
  #3  
Old 17th November 2015, 12:20 AM
Marcelo_20xx's Avatar
Marcelo_20xx Marcelo_20xx is offline
Senior Member
 
Join Date: Oct 2013
Posts: 171
Default

Are you using the PJGlide64 or Glide64Final?
Reply With Quote
  #4  
Old 17th November 2015, 01:22 AM
kevin42 kevin42 is offline
Junior Member
 
Join Date: Sep 2015
Posts: 8
Default

Ah, I was just using the built-in one. I take it I need Glide64Final?

Edit: Yep, Glide64Final fixed it. Thanks.

Last edited by kevin42; 17th November 2015 at 01:33 AM.
Reply With Quote
  #5  
Old 17th November 2015, 02:18 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

I've never used a texture pack before. Just enabled dumping textures for Mario64 in PJGlide, and it just saves Project64/textures/cache/SUPER MARIO 64_MEMORYCACHE.dat.

Doesn't PJGlide work for dumping textures?

I tried disabling all compression etc. Still only ever get a dat file in textures/cache folder.

I downloaded a pack for Mario64, and its lots of folders. I put this in the textures/cache folder, but they don't load it seems.
Reply With Quote
  #6  
Old 17th November 2015, 02:30 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

I figured it out for PJGlide!

Game name goes directly in textures folder.

Project64/textures/SUPER MARIO 64

You don't need hires_texture folder or cache, just the rom named folder.
Reply With Quote
  #7  
Old 17th November 2015, 03:24 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

Update.

I deleted cache folder and put pack with lots of folders in Project64/textures/SUPER MARIO 64.

Settings Rice Format, Alternate CRC checked, Texture dumping/editing UNchecked.

Pack loads perfectly.

Then I opened Glide's settings and checked Texture dumping/editing, clicked save. On doing this the texture pack with folders gets saved as SUPER MARIO 64_HIRESTEXTURES.dat in cache folder.

Now I can delete the Project64/textures/SUPER MARIO 64 folder and just keep the .dat. The .dat loads the whole custom pack from the Project64/textures/cache folder as well.

So the folders for PJGlide and SM64 for example.

Dat file:
Project64/textures/cache/SUPER MARIO 64_HIRESTEXTURES.dat

Pack with folders:
Project64/textures/SUPER MARIO 64

Last edited by Frank74; 17th November 2015 at 03:36 AM.
Reply With Quote
  #8  
Old 17th November 2015, 06:49 AM
Marcelo_20xx's Avatar
Marcelo_20xx Marcelo_20xx is offline
Senior Member
 
Join Date: Oct 2013
Posts: 171
Default

But, can the plugin dump textures?
Reply With Quote
  #9  
Old 17th November 2015, 07:14 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

Quote:
Originally Posted by Marcelo_20xx View Post
But, can the plugin dump textures?
It creates SUPER MARIO 64_MEMORYCACHE.dat. Which it seems to load saved textures from when starting emulation. I'm guessing it is dumping into _MEMORYCACHE.dat.

I need a .dat extractor to get the files I suppose.

It creates the _HIRESTEXTURES.dat from a pack loaded from folders after selecting Dumping/Editing textures.

Here is a Glide cache extractor.
https://github.com/ecsv/glide64-cache-extract

Haven't been able to compile it. Anyone got a binary?

Last edited by Frank74; 17th November 2015 at 07:40 AM.
Reply With Quote
  #10  
Old 17th November 2015, 03:07 PM
Marcelo_20xx's Avatar
Marcelo_20xx Marcelo_20xx is offline
Senior Member
 
Join Date: Oct 2013
Posts: 171
Default

The memory cache is the cache of used textures for that session stored in the VRAM of the video card and later dumped and compressed (if you selected so) inside the _MemoryCache.dat, Glide64Final make this file when you put a value >0 in the texture cache setting, it helps in later sessions as you no longer need to stream the texture again, instead it gets preloaded at the rom open...

But Glide64Final and its derivatives, except for PJ64Glide can dump textures as pngs for editing, albeit not practical for creating textures packs, because Rice videos can output many textures that Glide64 can't...

I remember zilmar or some member here mentioning that there was a bug that prevented PJGlide64 from dumping textures (that was the only thing not functioning), maybe I am wrong...

Last edited by Marcelo_20xx; 17th November 2015 at 07:03 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.