Custom contentCrc32.con file gives an error
-
- Posts: 616
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Custom contentCrc32.con file gives an error
Hi all,
I've been trying to generate a custom contentCrc32.con file for my mod so that it can be played as an Unpure mode online and have had mixed success so far. I can join the server running my Unpure mod no problem, but when a second player joins, he gets the ''Data differs from server'' error. The second client's game files are indentical to mine and the server's, but he still gets that error when trying to join. Could this possibly be because he has other client mods installed in his Mods folder? In that case, would that break the Unpure mode verification on the server?
Diamondback
I've been trying to generate a custom contentCrc32.con file for my mod so that it can be played as an Unpure mode online and have had mixed success so far. I can join the server running my Unpure mod no problem, but when a second player joins, he gets the ''Data differs from server'' error. The second client's game files are indentical to mine and the server's, but he still gets that error when trying to join. Could this possibly be because he has other client mods installed in his Mods folder? In that case, would that break the Unpure mode verification on the server?
Diamondback
See my Strasbourg map project here.
-
- Posts: 74
- Joined: Mon Feb 03, 2020 7:15 am
Re: Custom contentCrc32.con file gives an error
I'll ask around.
Re: Custom contentCrc32.con file gives an error
*BUMP*
I'm trying to get my Battlefield 1918 map Testing Range 1918 to work with content check, no dice so far... I've generated a custom contentCrc32.con, it simply gives me Data Differs From Server all the time.
I'm trying to get my Battlefield 1918 map Testing Range 1918 to work with content check, no dice so far... I've generated a custom contentCrc32.con, it simply gives me Data Differs From Server all the time.
Regards,
Skull Kid
Skull Kid
Re: Custom contentCrc32.con file gives an error
I went as far as making it into a map-based mod, but not even then did it work...
Last edited by Skull Kid on Thu Jul 18, 2024 1:21 pm, edited 1 time in total.
Regards,
Skull Kid
Skull Kid
Re: Custom contentCrc32.con file gives an error
I lay my case to rest... seems impossible to get mods to work with content check on... even if set to "2" instead of "1".
Regards,
Skull Kid
Skull Kid
Re: Custom contentCrc32.con file gives an error
*BUMP*
I got one map (DC_DesertShield) from Desert Combat to work with content check set to 1. So my map in Battlefield 1918 should then work as well.
I got one map (DC_DesertShield) from Desert Combat to work with content check set to 1. So my map in Battlefield 1918 should then work as well.
Regards,
Skull Kid
Skull Kid
-
- Posts: 616
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: Custom contentCrc32.con file gives an error
Hi Skull Kid,
I’m curious to know how you got that map working with Content Check set to 1. As I recall, 1 is only for vanilla BF content and the expansions, and 2 is for unpure mods.
There is also a readme somewhere with instructions on how to generate the checksums for custom levels. I do remember one instruction being that you can’t have mipmaps in your HUD menu textures.
See my Strasbourg map project here.
Re: Custom contentCrc32.con file gives an error
I know. I was very surprised to find out! Sadly, I don't know why it worked... all I know is that I tested DC_Oil_Fields, and that one didn't work.
Edit: Here's the instruction: http://web.archive.org/web/200606212323 ... check.html
Edit2: I noticed Conquest mode doesn't work even on Desert Shield, but only Coop.
Edit: Here's the instruction: http://web.archive.org/web/200606212323 ... check.html
Edit2: I noticed Conquest mode doesn't work even on Desert Shield, but only Coop.
Regards,
Skull Kid
Skull Kid
-
- Posts: 616
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: Custom contentCrc32.con file gives an error
Thanks. This is what I was looking for:
For the CRC system to work, the game data must live up to a set of rules that affect how the calculations are performed on client and server:
- The object spawns must be present on both client and server.
- The same con files must be sourced on client and server.
- Most menu and HUD textures cannot have mipmaps.
Without these changes clients will receive DATA DIFFERS errors when connecting to a server running the mod.
Now I understand why it didn’t work all this time. Server and client CON files weren’t the same! Makes sense for a checksum system though.
For the CRC system to work, the game data must live up to a set of rules that affect how the calculations are performed on client and server:
- The object spawns must be present on both client and server.
- The same con files must be sourced on client and server.
- Most menu and HUD textures cannot have mipmaps.
Without these changes clients will receive DATA DIFFERS errors when connecting to a server running the mod.
Now I understand why it didn’t work all this time. Server and client CON files weren’t the same! Makes sense for a checksum system though.
Last edited by Diamondback on Mon Dec 23, 2024 5:44 pm, edited 1 time in total.
See my Strasbourg map project here.
Re: Custom contentCrc32.con file gives an error
For my own mod & map, I have never been able to make it work with the value 1 or 2... I have no clue why Desert Combat worked with Desert Shield. It's strange, but if you've got Desert Combat, feel free to try it.
Regards,
Skull Kid
Skull Kid