Yes the microsoft run time DLL's tend to catch the exceptions quietly instead of letting you know your pointers are in left fieldAlso, created a second partition on my hard drive, and testing the plugin with the two emulators, and I too are running into many runtime file problems, and even memory access violations..Why this doesn't happen on my current install of windows (The install I've been using for a long time, I have lots of programs and runtime files installed and such) I think is because of everything I always use and install, helps fix these problems. This is what I'm currently looking into, is repairing these errors so everyone that could use Mudlords latest version, can use my version and other's versions, with this source code.
I suggest 2 plugins one for playing and dumping new packs, and one that generates both sets of CRC data simultaneously (IE it fakes creating the old CRC data and textures goiing through the motions). It generates 2 sets of data for cross referencing and then a seperate application and rename the thousands of files using the generated database. However before you go that route of rebuilding the texturing system, might be good to sit down and decide what way to do it and write it down in some document. It's faster sometimes to analyze what was done and beat it around a bit before starting something new. Partitioning off the Texture handling system from the GPU plugin is in itself a big under taking.And I think Rice is right about the memory problem. And also, I still think it would be best to rewrite the texture handling and dumping code, and make a new handling system for it, which unfortently will make it uncompatible with everyone's texture packs...Unless both cores are kept and an option to switch between them, I think would be best, if everyone would mind converting their texture packs to a new format, from scratch.
I'll upload my version in a minute
My edit log is:
+ Added HQ2xS and LQ2xS filters by mudlord
+ Added a ability to check if texture is already in hires folder.
- Removed JPEG support.
Donwload
I tried your version, and when I check the box check the hires folder before dumping, it turns off the hires textures.
Exams are finally over, yehaa!
Had another glance at the sourcecode:
- fixed the slowdown bug for textures with identical CRC appearing at the same scene.
(black arrow)- (somewhat) fixed the bug preventing to load 4b textures dumped
under "full TMEM emulation"=off to load under "full TMEM emulation"=on. (white arrow)
It has to be evaluated if textures now always dumped with right CRC
(never dumped textures so far...). If it works no tex-pack has to be redone.- Added code to prevent textures from being redumped if a hires texture already exists
(has to be evaluated as I never dumped textures). death--druid: you don't have to
reread the hires textures for that as they are already in memory. (you'll find them in gHiresTxtrInfos)![]()
Release will follow as soon as I get some time because now I have to prepare for exams-party.
@Aristotle900: Does the debug version work for you? Compiling has never been a problem for me but as soon as
hires textures are handled the debug version crashes on my system (no matter if DX8 or DX9, even the one of the
RICE version...). Thus I had to implement a logger. A working debug version would be far more handy though.
As for the runtime files, I don't understand how it needs the VC++ 7.0 or 7.1, plus whatever the version I'm using on the plugin, and 6.0? I don't understand that.
I think the easiest way to get rid of these runtime dependencies is the use of static linking. On the other hand this will increase the size of the resulting dll.
A more sophisticated way is described here.