Custom contentCrc32.con file gives an error

Ask questions, discuss ideas, get answers
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Custom contentCrc32.con file gives an error

Post by Diamondback »

Skull Kid wrote: Mon Dec 23, 2024 5:42 pm 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.
See my post above.

And you wouldn’t be able to make it work with the setting set to 1, because from the link you posted that setting only applies to default installations (meaning BF1942 + the expacks). The only setting that works for custom mods is 2 (unpure).
Last edited by Diamondback on Wed Dec 25, 2024 10:27 pm, edited 6 times in total.
See my Strasbourg map project here.
User avatar
Skull Kid
Posts: 191
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Custom contentCrc32.con file gives an error

Post by Skull Kid »

Yes. Although I've never understood why you need client and server files? I cannot even connect to my own dedicated server.

Edit: I've tried the "2" value as well on my Testing_Range-1918, no go.
Regards,

Skull Kid
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Custom contentCrc32.con file gives an error

Post by Diamondback »

Skull Kid wrote: Mon Dec 23, 2024 5:48 pm Yes. Although I've never understood why you need client and server files? I cannot even connect to my own dedicated server.

Edit: I've tried the "2" value as well on my Testing_Range-1918, no go.
Because the client files in the map archives are checked against the server ones. The number of bytes is determined for every CON file, then the total checksum is determined by adding the number of bytes of each file. If the client changes anything, then the checksums won’t match on client and server and it will yield the data differs from server error.
Last edited by Diamondback on Mon Dec 23, 2024 6:01 pm, edited 3 times in total.
See my Strasbourg map project here.
User avatar
Skull Kid
Posts: 191
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Custom contentCrc32.con file gives an error

Post by Skull Kid »

I see. Although my tank has no mipmaps in any of it's hud textures. I find it strange why "2" won't work either... I'll have to troubleshoot some more.
Regards,

Skull Kid
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Custom contentCrc32.con file gives an error

Post by Diamondback »

Skull Kid wrote: Mon Dec 23, 2024 5:55 pm I see. Although my tank has no mipmaps in any of it's hud textures. I find it strange why "2" won't work either... I'll have to troubleshoot some more.
I would suggest following the exact instructions in that link for your unpure mod and see if it works. That will mean having the same CON files in the client and server versions. Just make them identical I guess.
See my Strasbourg map project here.
User avatar
Skull Kid
Posts: 191
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Custom contentCrc32.con file gives an error

Post by Skull Kid »

Alright. But if I cannot even connect to my own server, then I am the server and client at the same time (as I'm the host, right?)
Regards,

Skull Kid
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Custom contentCrc32.con file gives an error

Post by Diamondback »

Skull Kid wrote: Mon Dec 23, 2024 6:01 pm Alright. But if I cannot even connect to my own server, then I am the server and client at the same time (as I'm the host, right?)
That is correct. If you were to rent a server for example, then both the client and server versions of your map would have to be identical as per the instructions.
See my Strasbourg map project here.
User avatar
Skull Kid
Posts: 191
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Custom contentCrc32.con file gives an error

Post by Skull Kid »

As I thought then. But setting the server to unpure seems to make no change... I run the DedicatedServer.exe (with a patched BF1942_w32ded.exe to allow any command) but it won't budge and let me into my own map... I guess it has to be some texture somewhere... gonna check the menu.rfa.
Regards,

Skull Kid
User avatar
Skull Kid
Posts: 191
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Custom contentCrc32.con file gives an error

Post by Skull Kid »

I've even tried using texconv.exe to remove all mipmaps with the help of Microsoft Copilot to guide me through the commands... but the server still won't let me join. I think it's something to do with the mod itself... maybe I need to specify "game.serverunpuremods"?
Regards,

Skull Kid
Post Reply