Special Aircraft Service
The SAS Factory - Tech Help, Ancient Mods etc. => Tech Help (other than BAT or IL-2 Great Battles) => Tech Help : Making Mods => Topic started by: Frankiek on October 25, 2009, 06:16:22 AM
-
How many times after installing a new MOD you got a 20% crash or the MOD is not working in the desired way? ??? How many hours you have wasted in looking for duplicates with names that are like this one: 2F4500GHX79654HH?? :P
Now this little utility will help you in sorting out problems (and eventually to anticipate them)
Just drop the classcheck.exe file in your Il-2 main folder, double click-it and in a few seconds (depending on how heavily modded you are) you will find a new file called doublons.txt that will give you the possible conflicing or just duplicate class file in your File and MODS folder together with class file location.
Edit by Gerax, thanks to Goanna spotting this: if this tool don't works in your Win-XPs game root, you probably will need this piece of MS code you can dl here:
http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en (http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
explanation by C6_bandini:
http://www.allaircraftsimulations.com/forum/viewtopic.php?p=166693&highlight=class+checker#166693 (http://www.allaircraftsimulations.com/forum/viewtopic.php?p=166693&highlight=class+checker#166693)
I hope that this will prove useful for all of you as it has been for me
I downloaded this file long time ago and lost track of the original post so I can't credit the author.
In case you recognize your work please let us know and thanks a lot for this
Download link below this line
https://www.mediafire.com/download/dtx17g6pe74r6c3/classcheck.zip
-
S!
Thanks a ton, will give this utility a try now.. ;D It found some conflicting class files which I removed promptly.
-
S!
I had about 6 of them only :) Neat utility!
-
This is a very nifty little tool, thanks Frank-o!! ;D
Will try it later, maybe I can beat Gerax's total of conflicts... ;D :D
Eh, ok...haven't counted the conflicts, there are many, though... :D
my doublon file size is 64.6kb.... ;D
-
Ger how did you managed that ?? maybe you find a lost download :D :D
-
I wrote something like that recently and found a possible conflict between the He-219 and the Bf-110 family.
Is it actually possible that two mods use exactly the same class file?
And if the class files have the same name, but are diffferent - does that always mean a conflict?
-
air trap look carefully in the first post: search and rescue? ;D Treasure hunting? :D
classes with same name but different content don't necessarily mean a conflict in terms of CTD or freeze of the computer. It is just that the first of the two file will be loaded and used the second one is like not being there. So you may not see a proper cockpit or have the correct loadout and so forth
-
Sorry, that must be a user permissions issue...I will go look for the problme. My appologies, my fault.
-
A tool like that is definitively helpful, though I see a problem: this might result in dozens of posts in mod threads of the kind: "HELP! I found a conflict". The first step is to find those pairs of mods with class files having the same name. The next question is: what to do with this info? Sure - I could kick out one of the mods, but that will be an overkill, I suppose.
Should such cases be reported, and if so - where?
-
Ok the tool already give you an useful tip dividing classes that are mere duplicates (so redundant files, no rela issue here)
from classes with the same name and different content. In general there is no big issue but just to decide what mod is a priority and therefore to be placed first. I would say no need to report most of the problem as the combination of mods in our PC is a number that approximate the infinite (as the possible conflicts). So I would suggest that you just report serious conflict that are leading to CTD or similar. Kicking out mods is not an overkill, just a prioritization process in case you have a conflict. If you are really smart you can identify out possible solutions.
At the end a too is a tool and very much depends on the user
-
Can i with this tool open the class file and read it, or it is only a checker ?
-
I ran the tool as directed, and it appeared in the top left corner of my screen for about 30 seconds. Then it disappeared. That's it, no "doublons.txt" file. Does this mean there are no conflicts in my install, or that the checker isn't working?
-
the file does not start to work... ???
-
Found a post by C6_bandini here, (http://www.allaircraftarcade.com/forum/viewtopic.php?p=166693&highlight=class+checker#166693) those that can't get it to run may need the MS code mentioned in his post.
Cheers
Goanna
-
THANKS, Goanna!
It's working now! :-* 8)
-
no probs, good to see you got it going 8)
Cheers
G
-
I ran the tool as directed, and it appeared in the top left corner of my screen for about 30 seconds. Then it disappeared. That's it, no "doublons.txt" file. Does this mean there are no conflicts in my install, or that the checker isn't working?
-
This is great, thanks for this ;)
-
I ran the tool as directed, and it appeared in the top left corner of my screen for about 30 seconds. Then it disappeared. That's it, no "doublons.txt" file. Does this mean there are no conflicts in my install, or that the checker isn't working?
Ok dont shoot me for necro posting, this thread isnt yet a year old, at most its nearly dead.
I get the same thing as Badmuthafunker, it comes up and runs for 20 seconds, then goes away. This is with or without the additional patch.
So WTF?
This is all I get out of it.
(http://i512.photobucket.com/albums/t322/dotson_kc/Classfileconflictchecker.png)
-
Works for me. Make sure you read all pertinent explanation/information.
-
Works for me. Make sure you read all pertinent explanation/information.
So your saying you don't get that black dialogue box?
Dont know what else I would do, I downloaded it, extracted the .exe to my IL2 root folder, and then open it and this is what I get.
-
When the command screen disappears your doublon file will be at the bottom of your IL2 root folder. Also try downloading/install MS code.
-
:o
Doh! Didnt know the file showed up there, I was expecting it to pop up or something!
Seems to be working fine. Now...what to do with these files...
-
Well if you have a conflict or 20% ctd then follow the folder structure to the Mod folder in conflict, deactivate that Mod with a " - " then launch your game to see if the conflict is gone. Other than this, Please read C6_bandini Explanation.
-
Well if you have a conflict or 20% ctd then follow the folder structure to the Mod folder in conflict, deactivate that Mod with a " - " then launch your game to see if the conflict is gone. Other than this, Please read C6_bandini Explanation.
Rhetorical question, I wasn't really looking for an answer. I should have used a smiley, like this :D
I dont have enough conflicts to be worried about anything, and my game runs well.
-
Good to hear that, enjoy.
-
well you must have quite a mess up install but if it runs just cross fingers and keep going :D
-
Hi,
I have the same problem than CWMV, the control window appears for about 30 sec, than it disappears but there's no doublon file. I searched it, but noone there :( , it says no items match your search.
I have this MS code.
-
Hi,
I have the same problem than CWMV, the control window appears for about 30 sec, than it disappears but there's no doublon file. I searched it, but noone there :( , it says no items match your search.
I have this MS code.
My doublon file was in my IL2 main directory, actually just a few houses down from Conf.ini.
-
My doublon file was in my IL2 main directory, actually just a few houses down from Conf.ini.
[/quote]
I checked there, but I can't find it :(
-
I dl-ed and ran the classchecker and I initially thought was broke like CWMV, installed the MS fix, and then checked the bottom of the folder Doh!!
Anyways I only got these...
#######################################
List of potentially conflicting classes
#######################################
E725348011347156 exists with :
CRC -46980b05 : .\jsgmemods\02_Zuti_DSMod_v0.8\Files\E725348011347156
CRC -1eccc502 : .\jsgmemods\01_Zuti_DSMod_v1.01_UP\Files\E725348011347156
106BE08E745DD716 exists with :
CRC -38031447 : .\MODS\TurretFix+FasterTurrets\106BE08E745DD716
CRC 4522458d : .\MODS\-AI_MOD\106BE08E745DD716
550B841CED820EEC exists with :
CRC -546f9c40 : .\MODS\00_Jiver's_Total_Sound_Mod_v2.0\550B841CED820EEC
CRC 1b688cc7 : .\MODS\Hs129_Package_SASv2\hs129_optional_gunmod\550B841CED820EEC
D1FFE15AF054057A exists with :
CRC -6d9fd940 : .\MODS\Ki_98\D1FFE15AF054057A
CRC 7594db57 : .\MODS\Ki_98\p-63\D1FFE15AF054057A
C24D8952BE16E9DA exists with :
CRC 5a311ec2 : .\MODS\J4M1\C24D8952BE16E9DA
CRC 45fb432d : .\MODS\J4M1\p-63\C24D8952BE16E9DA
###############################################################....
So theoretically I should move/delete all zutimod 0.8 from jgsme, and the seconded usage of each other listed classes within my affected mods folders?
-
You don't need to delete as mod in the jsgemods folder are inactive and you may create a conflict only if yo activate at the same time. For potential conflict in the mods folder remember that it is only the class that will be loaded first that will work so depending on your priorities you will have to chose one or the other but putting a - in front of the folder name is sufficient. In this way the folder content is not loaded at startup.
-
ok, so add '0', '00' or '-' mod folders to move 'highlighted' folders up or down in alphabetical importance, like with my -AI_Mod, and ignore the Ki-98 & J4M1 clashes.
-
I put a copy of classcheck.exe in my IL-2 directory as well as in my #DBW folder. It seems that this great tool only checks it's current directory and subdirectories, which is an advantage. In my #DBW folder, there is like ten double classfiles, only one actual conflict which could then be solved by deciding which mod to load first. The doublon.txt file in my IL-2 directory, on the other hand, I didn't even try to read. It's over 200kb, over 100 pages in 10 point Times New Roman type ??? but still game works fine. Guess it's some of them inactive mods in the jsgmemods folder. ::)
As for checking if specific mods conflict with each other, I found it useful to create a folder on the desktop or wherever, put the (usually 2) mods and classchecker into it, run it and ta-da, fast and efficient conflict detection.
-
Interesting .Thanks .