Author Topic: [fixed] r3419: MG recognises mods as having data differences, CRC mismatches  (Read 2034 times)

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
When I tried to have a game with tomreyn on the dev version of MG with the Japanese faction v0.89 while using windows7, I kept getting a message complaining about the game data being different between the client (me) and server (tomreyn). The problem was known to be on my end a typedef (who was also there) was having no problems with his data. Even after deleting all my user data (too much :P ) and re-downloading and installing this mod had no effect.
One idea to the solution (suggested by tomreyn) was to reset the tcp/ip stack(which we still have yet to try out).
Other sources of the problem though could be the Windows firewall, Micosoft security essentials Antiviral software, Sophos Antiviral software, the routers firewall or a bad internet connection which is adsl with 3mb/s download and 0.5mb/s upload.
Also in the Mod Centre all but 2 tilesets were recognised as having game data differences.
« Last Edit: 19 July 2012, 00:59:27 by tomreyn »
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
You could always run on the commandline to post what CRC you get for the items in question:

                 example:
                     megaglest --show-map-crc=four_rivers
--show-tileset-crc=x      show the calculated CRC for the tileset named x.
                           Where x is a tileset name.
                           example:
                     megaglest --show-tileset-crc=forest
--show-techtree-crc=x      show the calculated CRC for the techtree named x.
                           Where x is a techtree name.
                           example:
                     megaglest --show-techtree-crc=megapack
--show-scenario-crc=x      show the calculated CRC for the scenario named x.
                           Where x is a scenario name.
                           example:
                     megaglest --show-scenario-crc=storming

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Just chipping in here, ive had some problems with this too some time ago, the CRC check is VERY whiny, my advice is.

Download it all again, all the data. You copying files here and there won't help you.
This will be faster than finding the one file that "perhaps" is a problem with
WiP Game developer.
I do danish translations.
"i break stuff"

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
To reset your CRC cache delete the cache folder contents:

in linux this is in:

Code: [Select]
~/.megaglest/cache
on Windows:

Code: [Select]
%AppData%\megaglest\cache

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
This will force Megaglest to recalculate the crc?, This is great!. This is just what i need!.(well, when i was uploading multiply versions of the same mod it would have helped, but since im stuck on a 1gb limit connection then :(. ), But Really nice to know!.
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Jammy did remove the cache and temp directories yesterday:

Code: [Select]
<tomreyn> Jammyjamjamman: can you please do the windows equivalent of this: rm -r ~/.megaglest/{cache,temp}/
<Jammyjamjamman> I can't get a win equivalent to work
<tomreyn> Jammyjamjamman: Do you have MegaGlest installed on this PC, using MegaGlest's own installer?
<Jammyjamjamman> Yes
<tomreyn> Okay, in start menu you have "MegaGlest" entries. one of them says something like "User data" - correct?
<Jammyjamjamman> Got it
<tomreyn> So there you should have the "cache" and "temp" directories. Please delete those, then reconnect to my server.
<Jammyjamjamman> Everything's gone

If I remember properly he had already cleared these directories and restarted MegaGlest, then downloaded the Japanese mod again (I don't remember whether from the mod menu or from my server), but the CC mismatches did still happen. Can you confirm this Jammy?

More related chat with Jammy:
Code: [Select]
<tomreyn> when restarting the game, start it as: megaglest.exe --verbose >> %HOMEPATH%\verbose.log
<tomreyn> then connect to my server, and once you got the message about techtree mismatches, quit the game, then upload (or post to a pastebin if it's not too much) this logfile: %HOMEPATH%\verbose.log
<tomreyn> be sure that it's not cut off to the beginning or end after posting.
<Jammy> tomreyn: http://megaglest.pzt.me/30jk
<tomreyn> Jammyjamjamman: which filesystem do you have the svn checkout on?
<tomreyn> how is this partition formatted? ntfs? or ext3 or something else?
<Jammyjamjamman> Ntfs, I think
<tomreyn> hmm, this verbose log looks incomplete. okay, please go on as described above:
<tomreyn> megaglest.exe --show-ini-settings
<tomreyn> megaglest.exe --verbose >> %HOMEPATH%\verbose.log
<Jammy> tomreyn: INI settings: http://megaglest.pzt.me/7uc7
<Jammy> tomreyn: verbose log: http://www.sendspace.com/file/mykedd
<tomreyn> thanks. and your INIs look fine to me
<Jammy> n.p.
<Jammy> well, i haven't edited anything
<tomreyn> reviewing verbose log now
<tomreyn> so you have a whole bunch of "WARNING, attempting to receive MORE data" in there
<tomreyn> this indicates network issues, TCP/IP issues specifically
<tomreyn> you could try to reset your TCP/IP stack, this can help and did help people before
<tomreyn> or it can be an unreliable or badly configured (ISP-side or your side) internet connection
<Jammy> hmm how do i do that?
<tomreyn> http://support.microsoft.com/kb/317518/EN-US
<MGBot> Title: How to reset "Internet Protocol (TCP/IP)" in Windows Server 2003 (at support.microsoft.com)
<tomreyn> http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/
<MGBot> Title: Reset TCP/IP networking stack in Windows 7 and Vista | L.A.M.N.K (at www.lamnk.com)
<tomreyn> note that you will get disconnected off the internet, and that this will last until you reconfigure things
<tomreyn> so you'll want to be sure you have any access credentials you may need handy before you start
<tomreyn> but then almost everything is automatic with windows, so it shouldn't be tricky to get online again
« Last Edit: 6 July 2012, 17:47:27 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
This happened again today on svn head. I was hosting on Linux x86_64, and Jammy was connecting from Windows 7. When he joined, the tileset was set to Dark Ocean (filename: dark_ocean), which
Jammy did not have. So he got a download prompt and downloaded it. After his download completed (100%) his client ran the checksumming and - it did not match. It also reported that tileset autumn did not match (it is unclear why this was reported since I did not switch tilesets on the server).

So we used the --show-tileset-crc option on both server and client.

Client (Jammy):
Code: [Select]
c:\code\megaglest\data\glest_game>megaglest --show-tileset-crc=dark_ocean 
megaglest v3.6.1-dev 
Compiled using: VC++: 1600 on: Jul  6 2012 22:36:26 
SVN: [Rev: 3426M] - using STREFLOP [SSE] - [no-denormals] 
CRC value for tileset [dark_ocean] is [531146844] 

 
c:\code\megaglest\data\glest_game>megaglest --show-tileset-crc=autumn 
megaglest v3.6.1-dev 
Compiled using: VC++: 1600 on: Jul  6 2012 22:36:26 
SVN: [Rev: 3426M] - using STREFLOP [SSE] - [no-denormals] 
CRC value for tileset [autumn] is [-189518361]

Server (tomreyn):
Code: [Select]
<tomreyn> CRC value for tileset [dark_ocean] is [452604384]
<tomreyn> CRC value for tileset [autumn] is [-189518361]

Titi reported the same checksum for dark_ocean as I had.

The next step is to compare sha1sums on these directories, which is in the works.

Here are my SHA1 checksums for the dark_ocean tileset directory:

Code: [Select]
tomreyn@atibox:~/.megaglest/tilesets$ find dark_ocean/ -type f -print0 | xargs -0 sha1sum -t | sort -k2
debdb8f5d461be86d6832fd42a1a70d18fd6d760  dark_ocean/bubble_particles.xml
5812c88ee12465a3fe9d8548d2b64a1d55f2e1d6  dark_ocean/dark_ocean_old.xml
9c44cac5c38cdef9551387dddca954a0802e408a  dark_ocean/dark_ocean.xml
f5e42bd07d6eae4d056346c194eaaaa2027cc3f6  dark_ocean/glow_particles.xml
d6c90d5a0f04e0f956e6adaebdabc4dc6dca2bb8  dark_ocean/images/bubble.bmp
c89e609979a1de4044bc909d361642b2fb64d19c  dark_ocean/images/particle.bmp
8a1f286586ceb7391a79d2a5a27330b7d5b699ea  dark_ocean/models/coral1.g3d
d4b481cb7514881c99440c3c88b31cfb76205108  dark_ocean/models/coral2.g3d
17dd1b457e21e6a2b2024b4238d23b3c4890054e  dark_ocean/models/coral3.g3d
21388aee72cfe264b290d248b9924340df361787  dark_ocean/models/coral4.g3d
0bb518f7eb224168ced820a76d00ca5cb777b9d0  dark_ocean/models/coral5.g3d
880eec50c5b5330891f3a8f4430df421c3cf9e02  dark_ocean/models/coral6.g3d
144747acd186417f5a8285e1b7feed47cc5de30d  dark_ocean/models/coral7.g3d
c6b4571750744ba893da5a7e72d9871007abaec1  dark_ocean/models/coral.png
8f4ffaae94fa717847485725c5a1296b46bdd679  dark_ocean/models/dark_ocean_pillar1.g3d
f7e193037ba0cf9b90f7f5b1485c46e27cbf3d26  dark_ocean/models/dark_ocean_rock1.g3d
4fb503a93fa964f62dea55a75d8d284943d75cfe  dark_ocean/models/dark_ocean_rock2.g3d
221d51265b34f08ba212421b576d3698325b3989  dark_ocean/models/dark_ocean_rock3.g3d
672ba5c4a1ab93ab18db0711c2d65f3d0ba35d76  dark_ocean/models/dark_ocean_rock_anim.g3d
b7913bd9d293d59edaa28c9eb4551cde5450209f  dark_ocean/models/dark_ocean_rocks1.g3d
70022787eef616584dd57a86ae164d58c03fd745  dark_ocean/models/dark_ocean_rocks2.g3d
9c6f5dac0d6d05188d97ae963296684ff3cae7df  dark_ocean/models/dark_ocean.tga
ff6f606ee0388fbf595305afc838d161c0b03483  dark_ocean/models/none.g3d
6b0676e96debbf0bfc0cffb9b601af0f815dead1  dark_ocean/models/starbase1a.g3d
2e5c4a2986a80471ddc11fb157bccd94619a1965  dark_ocean/models/starbase1b.g3d
089002c6e48d363b72d754e660859c5bc7893b87  dark_ocean/models/starbase1.g3d
e3a50c7fe8311801dc0547b46f16b51ca2bf5bc3  dark_ocean/models/starbase_1.tga
32c3f9bba92bb11e3848a9dccee6ca3cdebd1bdc  dark_ocean/models/starbase_carbon1.g3d
50af82e67b6e36a73c3eed61195ab65184b3453f  dark_ocean/models/starbase_carbon2.g3d
42331107f4145e6748361e48b8c22803640725c7  dark_ocean/models/starbase_crater1.g3d
60346a8416dff4d3fb707f0f6c358698a35c581f  dark_ocean/models/starbase_crater2.g3d
97393be0806f408674ff84ce6e25c27dc545b9be  dark_ocean/models/starbase_crater3.g3d
b1482f11fb9ed63e2ddb62435829847cdee170b1  dark_ocean/models/starbase_crater4.g3d
e33be91a210696c18a48f274b4c3d46d88b27ebd  dark_ocean/models/starbase_crater5.g3d
fa4ca6e79c02906c89f13010247384d9951d2886  dark_ocean/models/starbase_rock1.g3d
d6b0003520a086a4b3f7808b29b3eec08690bc40  dark_ocean/models/starbase_rock2.g3d
996361b8b0ceff8b65ed0f5ed9aa5f328b145248  dark_ocean/models/starbase_rock3.g3d
d804348978d3a05796f8b4b577bf53a64a7157f5  dark_ocean/models/starbase_strangestones.g3d
a774c0615ea61c9eb720b7da7f19ff818496a269  dark_ocean/models/starbase_wall1.g3d
638f032a2c4b98d525a7f21c2b2e0cbb8b95e87e  dark_ocean/models/starbase_wall.g3d
1ae10a0312a2a5a624811b1eae1559f2f7e4d107  dark_ocean/readme.txt
2f5443e8ba923f45e4a98675ff633ed87b9c3594  dark_ocean/smoke_particles.xml
04c1313eeac5044d2b9522d1ce2063f81be794c1  dark_ocean/sounds/bubbles.ogg
e21f692ab33604ceab15d266bc6da7f3c4c5a376  dark_ocean/sounds/monster_bite.ogg
d40e50cb548ec488b4d17c21bf0777c91f267286  dark_ocean/sounds/sharkbite.ogg
7f68eeb82e0aee2c66e0b4badcbd7574727e9fc6  dark_ocean/sounds/sonar_deep.ogg
e473717d49a632073a9c103b150a974efe13dfa9  dark_ocean/sounds/thrash1.ogg
939b3ff2ff56dc24e18b4ea2f51f2fcd91c6b1b1  dark_ocean/sounds/thrash2.ogg
49e38e59c192affd5ed6b039072223f6440d509f  dark_ocean/textures/coral10.png
12a2336f7043957ada69ee2611b228d02b49f853  dark_ocean/textures/coral1.png
b22e772a0d239a26b5eafda24f94e3ce065d0b60  dark_ocean/textures/coral2.png
d781c795b7741bbcc4d6ea01f7d57700a805c284  dark_ocean/textures/coral3.png
e974c367b3dbb2a32733a686f745a5a4921490a6  dark_ocean/textures/coral4.png
16a55dcead0bf942fbe7c991e6b16af701df86f9  dark_ocean/textures/coral5.png
127ee881f205b8664307cdab99238b542c4a99a2  dark_ocean/textures/coral6.png
4402fa96118c144f87fd0cc69234af92178f6048  dark_ocean/textures/coral7.png
fe0975d1ea8dddd487ed80fc2f05986e0691a9ba  dark_ocean/textures/coral8.png
a816d0c18a01edd24239a6e2b85fcb6146c60958  dark_ocean/textures/coral9.png
3a8328b14c77febfba10f67a575227c3bbb8baea  dark_ocean/textures/sand1.bmp
ec8540c64235028f5abc63e915aae32ddb0e7173  dark_ocean/textures/sand2.bmp
be211a258c66742495c1f8d8f40896c25d3e1683  dark_ocean/textures/sand3.bmp
4612a6c7d93c82094483d778349f5352c94c1f45  dark_ocean/textures/shape4.png
4815af18a4964a4213bfab6dbfb5df428e2eedc1  dark_ocean/textures/surface2a.bmp
5295f0aa62c3df42b44eb388722b4e8a9d7dd0e9  dark_ocean/textures/surface2b.bmp
851864ddcdfd37ecff8cde3e49ce320a4b9a56cf  dark_ocean/textures/surface2c.bmp
7625765c9609f77d415513bae808af484f63d88c  dark_ocean/textures/surface2d.bmp
d2646d4eef5d8c95f32589db8d67072c7454be34  dark_ocean/textures/surface2e.bmp
6c267f048f8486075dd542615061f66e462aa848  dark_ocean/textures/surface2f.bmp
fdaf64268dbe7b8a4252e22715805bae433538fd  dark_ocean/textures/surface3.bmp
f2e73b86ae527e73e20796d7f40da609d0c74dde  dark_ocean/textures/surface4a.bmp
5068c42d7da9d8f9a9c5a7b221749ae05cb04f6a  dark_ocean/textures/surface5a.bmp
8d80aead9542be9aa7502fe6f8c487ddabbd0777  dark_ocean/textures/water_001.tga
tomreyn@atibox:~/.megaglest/tilesets$

And here are Jammy's:
Code: [Select]
tomreyn@atibox:~/.megaglest/tilesets$ wget -qO- http://megaglest.pzt.me/8v9i@raw | make_win_cmd_log_readable | grep -E '^[0-9a-f]{40} ' | sort -k2
debdb8f5d461be86d6832fd42a1a70d18fd6d760 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\bubble_particles.xml
5812c88ee12465a3fe9d8548d2b64a1d55f2e1d6 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\dark_ocean_old.xml
9c44cac5c38cdef9551387dddca954a0802e408a c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\dark_ocean.xml
f5e42bd07d6eae4d056346c194eaaaa2027cc3f6 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\glow_particles.xml
d6c90d5a0f04e0f956e6adaebdabc4dc6dca2bb8 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\images\bubble.bmp
c89e609979a1de4044bc909d361642b2fb64d19c c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\images\particle.bmp
8a1f286586ceb7391a79d2a5a27330b7d5b699ea c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral1.g3d
d4b481cb7514881c99440c3c88b31cfb76205108 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral2.g3d
17dd1b457e21e6a2b2024b4238d23b3c4890054e c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral3.g3d
21388aee72cfe264b290d248b9924340df361787 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral4.g3d
0bb518f7eb224168ced820a76d00ca5cb777b9d0 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral5.g3d
880eec50c5b5330891f3a8f4430df421c3cf9e02 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral6.g3d
144747acd186417f5a8285e1b7feed47cc5de30d c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral7.g3d
c6b4571750744ba893da5a7e72d9871007abaec1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\coral.png
8f4ffaae94fa717847485725c5a1296b46bdd679 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_pillar1.g3d
f7e193037ba0cf9b90f7f5b1485c46e27cbf3d26 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rock1.g3d
4fb503a93fa964f62dea55a75d8d284943d75cfe c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rock2.g3d
221d51265b34f08ba212421b576d3698325b3989 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rock3.g3d
672ba5c4a1ab93ab18db0711c2d65f3d0ba35d76 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rock_anim.g3d
b7913bd9d293d59edaa28c9eb4551cde5450209f c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rocks1.g3d
70022787eef616584dd57a86ae164d58c03fd745 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean_rocks2.g3d
9c6f5dac0d6d05188d97ae963296684ff3cae7df c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\dark_ocean.tga
ff6f606ee0388fbf595305afc838d161c0b03483 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\none.g3d
6b0676e96debbf0bfc0cffb9b601af0f815dead1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase1a.g3d
2e5c4a2986a80471ddc11fb157bccd94619a1965 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase1b.g3d
089002c6e48d363b72d754e660859c5bc7893b87 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase1.g3d
e3a50c7fe8311801dc0547b46f16b51ca2bf5bc3 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_1.tga
32c3f9bba92bb11e3848a9dccee6ca3cdebd1bdc c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_carbon1.g3d
50af82e67b6e36a73c3eed61195ab65184b3453f c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_carbon2.g3d
42331107f4145e6748361e48b8c22803640725c7 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_crater1.g3d
60346a8416dff4d3fb707f0f6c358698a35c581f c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_crater2.g3d
97393be0806f408674ff84ce6e25c27dc545b9be c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_crater3.g3d
b1482f11fb9ed63e2ddb62435829847cdee170b1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_crater4.g3d
e33be91a210696c18a48f274b4c3d46d88b27ebd c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_crater5.g3d
fa4ca6e79c02906c89f13010247384d9951d2886 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_rock1.g3d
d6b0003520a086a4b3f7808b29b3eec08690bc40 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_rock2.g3d
996361b8b0ceff8b65ed0f5ed9aa5f328b145248 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_rock3.g3d
d804348978d3a05796f8b4b577bf53a64a7157f5 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_strangestones.g3d
a774c0615ea61c9eb720b7da7f19ff818496a269 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_wall1.g3d
638f032a2c4b98d525a7f21c2b2e0cbb8b95e87e c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\models\starbase_wall.g3d
1ae10a0312a2a5a624811b1eae1559f2f7e4d107 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\readme.txt
2f5443e8ba923f45e4a98675ff633ed87b9c3594 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\smoke_particles.xml
04c1313eeac5044d2b9522d1ce2063f81be794c1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\bubbles.ogg
e21f692ab33604ceab15d266bc6da7f3c4c5a376 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\monster_bite.ogg
d40e50cb548ec488b4d17c21bf0777c91f267286 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\sharkbite.ogg
7f68eeb82e0aee2c66e0b4badcbd7574727e9fc6 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\sonar_deep.ogg
e473717d49a632073a9c103b150a974efe13dfa9 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\thrash1.ogg
939b3ff2ff56dc24e18b4ea2f51f2fcd91c6b1b1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\sounds\thrash2.ogg
49e38e59c192affd5ed6b039072223f6440d509f c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral10.png
12a2336f7043957ada69ee2611b228d02b49f853 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral1.png
b22e772a0d239a26b5eafda24f94e3ce065d0b60 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral2.png
d781c795b7741bbcc4d6ea01f7d57700a805c284 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral3.png
e974c367b3dbb2a32733a686f745a5a4921490a6 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral4.png
16a55dcead0bf942fbe7c991e6b16af701df86f9 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral5.png
127ee881f205b8664307cdab99238b542c4a99a2 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral6.png
4402fa96118c144f87fd0cc69234af92178f6048 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral7.png
fe0975d1ea8dddd487ed80fc2f05986e0691a9ba c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral8.png
a816d0c18a01edd24239a6e2b85fcb6146c60958 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\coral9.png
3a8328b14c77febfba10f67a575227c3bbb8baea c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\sand1.bmp
ec8540c64235028f5abc63e915aae32ddb0e7173 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\sand2.bmp
be211a258c66742495c1f8d8f40896c25d3e1683 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\sand3.bmp
4612a6c7d93c82094483d778349f5352c94c1f45 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\shape4.png
4815af18a4964a4213bfab6dbfb5df428e2eedc1 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2a.bmp
5295f0aa62c3df42b44eb388722b4e8a9d7dd0e9 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2b.bmp
851864ddcdfd37ecff8cde3e49ce320a4b9a56cf c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2c.bmp
7625765c9609f77d415513bae808af484f63d88c c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2d.bmp
d2646d4eef5d8c95f32589db8d67072c7454be34 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2e.bmp
6c267f048f8486075dd542615061f66e462aa848 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface2f.bmp
fdaf64268dbe7b8a4252e22715805bae433538fd c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface3.bmp
f2e73b86ae527e73e20796d7f40da609d0c74dde c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface4a.bmp
5068c42d7da9d8f9a9c5a7b221749ae05cb04f6a c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\surface5a.bmp
8d80aead9542be9aa7502fe6f8c487ddabbd0777 c:\users\james\appdata\roaming\megaglest\tilesets\dark_ocean\textures\water_001.tga

Jammy used fciv -add %AppData%\MegaGlest\tilesets\dark_ocean\ -r -sha1 to compile the listing on the pastebin. fciv is a Microsoft command line utility.

I compared our output side by side, and ensured the first 5 characters of all checksums match. They do. There are also no additional or missing files on either side. I.e. we have the exact same data, the tileset Jammy downloaded from my MegaGlest server is an exact copy of what I have here. Still, the games' checksums differ.
« Last Edit: 7 July 2012, 00:16:10 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Just to answer tomreyn's question I redownloaded the Japanese via tomreyn's server where the error instantly emerged again.
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I was just able to reproduce this by connecting my Windows VM to its Linux host, both running r3431:



This is the clients' screen, but the server screen displays exactly the same text.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
I just changed the CRC calculation system, instead of using int it ues unsigned int everywhere. Please update from svn and try again.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
We did the same test and it works for Coldfusionstorm now. Good job!
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

jammyjamjamman

  • Administrator
  • Horseman
  • ********
  • Posts: 210
    • View Profile
Thanks softcoder! The problem is fixed and the game recognises the mod game data properly now :D. It also recognises when the game data actually is different.
"All right, I've been thinking. When life gives you lemons? Don't make lemonade. Make life take the lemons back! Get mad! 'I don't want your damn lemons! What am I supposed to do with these?'" ~Cave Johnson, Portal 2

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
hm, does this mean all CRCs in the mod menu need to be calculated again for the new version?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Yes, we have no choice the old algorithm was buyggy and causing memory issues.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
I talked to tomreyn yesterday, how to handle this at the moment. Our idea so far:
We add one more column to the mod DB-table on the masterserver where we store the new crc. For svn we then use another URL to get the mods from the masterserver with a special sql statment, selecting only the last crc column ignoring the original one. by this we should stay compatible with the old version for a while.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Actually my suggestion was different:
to use a different URI for the INI setting of Masterserver which points to a copy of the masterserver code which uses separate databases. The game mods database would then be edited to contain the proper checksums. With this approach we only need to duplicate things server-side, and modify one value on the client. This also means that we can roll out any changes to the masterserver code easily for both the old and new masterserver instance without worrying about edited code there (the only thing which needs to be preserved then is config.php).

Generally it would be good to:
* have a separate INI setting for the URL to fetch the game mods info from (so we and others using our code are not forced to keep those two next to each other)
* always send a version string with every requestion to the master server, e.g. by appending ?version=3.6.1. This would allow for easily adding branching and backwards compatibility.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Since this is a one time recal, why just don't recalculate the CRC's again and be on with it, Just let people know when connecting to a server with the new correct CRC's that it needs recalculating?
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
It's more than that. The algorithm is buggy in released versions, causing some, but not all, checksums to never match. Thanks to Softcoders' and Titi's work this is now fixed for future releases, and both old (for 3.6.0.3 and older) and new checksums (for 3.6.1-dev and future releases) are stored on the game mods server.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything