Problem with JSON when compiling



  • Hi guys,

    It seems that I only have very weird problems with my projects... Here's what's going on :

    I have some JSON files that defines different characters with lot of informations within them, such as the name, the animations paterns, and the graphics as a stringified bitmapData...
    (See my other problems for more informations about that: http://forum.haxeflixel.com/topic/241/from-assetpaths-string-to-flxsprite-to-bitmapdata-to-string-can-it-be-simplified)

    Everything was fine until this morning when I was adding a new character to the roster.
    It works if I load the JSON file from within the game. But if I add the JSON file to the folder of preloaded characters, it crashes the game when I'm trying to display that character on screen. After a lot of tries, I discovered that the JSON file that is exported when I compile the game is different from the original one. And it only occurs for that character.

    Here's the stringified bitmapData in my original JSON file:

    s6614:iVBORw0KGgoAAAANSUhEUgAAAKEAAADSCAYAAAAi56DZAAATJ0lEQVR42u2dP5IsSQ3GdQMMDAKLwCGWA6zHBbAwMIjAXvy1CCz8dfD3Cng4eGCsse4LvOUImHh4RdTMU49KlX8k5Zdd2d3KiI6ZeW:6N8qUSpnd:UlFlCPHomMrfL8Bmc:K2xoPhE%QPJRvN8P3fugXX3xxm6z8fgBc4jwr77ZuaKZ6:ggT6d:NwNuGHcI:i3:3gqvMZ%XVglGtoTVLbcDAqfIcth3sM8TLRihoAIw2dHWeKUMYnX2yrZJZQ1l60LZmNg3yTGk16mQP82l4ja3Yyjxl0hHn9gIxMtfOsS10EVcj%l:f:vHtEbgKe9vc0MQX5JFxBzEHYYsT2JaR:p0RL%UJ7rD:ffrb24PB4g%Er5aKoY:OawaQh1nLLKiEgPIvmNd%i0GC96%RzCAXUhv6RLwi18ksZmT0PAf9u82Il%KVu3:dhwTvD:63KFMa673yFuYVgyjIRNt1erWN8K:4PSvPty1z6peAHfjfP327:eNHP3EtQOm8II2NXtEA3lT7BpnoeRaZA:7d:vnp39uXv:u7mWcJ7uIC6sj%z89:::bHI4fhmrEeJ::0F19tn:765faXr34J4fXmPWpfx8bNe8FVGKag2W3aH7t9Lf9G5tvj7cFqiZvb4mkny9TqdUqNGc00:Lx9Uh2eyTH7IjJL2hq1jxd6:8q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7Ee8vdmYWUz6Pni5a7XyCfD92t4I7lEc8ld7cKMumJygW87wZY736AKrcwZcGUzyeP1N0Z7lh%cIzulKcnj64pZ3iHpjw9eSnvT94r844pNuXpyaOU9yfvRXkfKZZSnp68a3g5cqwzUp6%oNz95YIw5elhXk9Xl8P6aifl6XGeDrxB3ktuwSlPH%TVgpACcveXzIBE2b0fwas8P4PQu43QE3Tvv5InGYqTQdhaxIXl3w:BKwWgVBurwM7RW0iAXPvleLWH5mYQGh1Ca8m:l%fVmFrsmUFodIxH:p28OrPGzSA0biWDcu1X4xWZMgh5K87PUhsLGJF:r8TjwBnl6W3TyHMxMwg7V7JHro3kWbOX5mnnXsg7MPfnlZhS6pQhV1hAr1y7V4PwgvL0LpPFnxlulQVMefqwPP0UeJJJR:1djtZ2kvL0IXl6lZnnwcCWTClPj8jT355fYkak7i%7JVPK04d4heek3D1HjlXH:wFYeijr4RyYwgAAAABJRU5ErkJggg
    

    And here's the same string in the exported JSON file:

    s6614:iVBORw0KGgoAAAANSUhEUgAAAKEAAADSCAYAAAAi56DZAAATJ0lEQVR42u2dP5IsSQ3GdQMMDAKLwCGWA6zHBbAwMIjAXvy1CCz8dfD3Cng4eGCsse4LvOUImHh4RdTMU49KlX8k5Zdd2d3KiI6ZeW:6N8qUSpnd:UlFlCPHomMrfL8Bmc:K2xoPhE%QPJRvN8P3fugXX3xxm6z8fgBc4jwr77ZuaKZ6:ggT6d:NwNuGHcI:i3:3gqvMZ%XVglGtoTVLbcDAqfIcth3sM8TLRihoAIw2dHWeKUMYnX2yrZJZQ1l60LZmNg3yTGk16mQP82l4ja3Yyjxl0hHn9gIxMtfOsS10EVcj%l:f:vHtEbgKe9vc0MQX5JFxBzEHYYsT2JaR:p0RL%UJ7rD:ffrb24PB4g%Er5aKoY:OawaQh1nLLKiEgPIvmNd%i0GC96%RzCAXUhv6RLwi18ksZmT0PAf9u82Il%KVu3:dhwTvD:63KFMa673yFuYVgyjIRNt1erWN8K:4PSvPty1z6peAHfj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yfvSt7x45iUpyfvAl7K05N3HS:l%CnHfzx5P1LuTgap1JU8tNydAoKD7N5:B:k8PxEhn0fb9wjy%Vn%uBPvAxqR96Pk82geUp5u1dZ57UOXM8zwB9o%Vza0dotHyefRPLQc:wK5%1P5wxKI4W7xSDk%Uj6PlKejeTSpPALpj1nxYg7Ee8vdmYWUz6Pni5a7XyCfD92t4I7lEc8ld7cKMumJygW87wZY736AKrcwZcGUzyeP1N0Z7lh%cIzulKcnj64pZ3iHpjw9eSnvT94r844pNuXpyaOU9yfvRXkfKZZSnp68a3g5cqwzUp6%oNz95YIw5elhXk9Xl8P6aifl6XGeDrxB3ktuwSlPH%TVgpACcveXzIBE2b0fwas8P4PQu43QE3Tvv5InGYqTQdhaxIXl3w:BKwWgVBurwM7RW0iAXPvleLWH5mYQGh1Ca8m:l%fVmFrsmUFodIxH:p28OrPGzSA0biWDcu1X4xWZMgh5K87PUhsLGJF:r8TjwBnl6W3TyHMxMwg7V7JHro3kWbOX5mnnXsg7MPfnlZhS6pQhV1hAr1y7V4PwgvL0LpPFnxlulQVMefqwPP0UeJJJR:1djtZ2kvL0IXl6lZnnwcCWTClPj8jT355fYkak7i%7JVPK04d4heek3D1HjlXH:wFYeijr4RyYwgAAAABJRU5ErkJggg
    

    Can't tell the difference?
    Using https://www.diffchecker.com/diff I managed to find out what was going wrong:

    :::bHI4fhmrEeJ::
    

    has been replaced by

    :null
    

    WHY!?
    That's just weird. Are the JSON files parsed or something during the compilation? I thought they were only copied to the export folder.

    The problem isn't coming from the triple ::: I have lots of other characters with triple ::: within them.

    I can copy the original JSON files by hand to the export folder but I'm going to have troubles to debug things if the JSON files are replaced by broken ones at each compilation, because everything is loaded into the game when it starts.

    Do you have a clue? Maybe I can do something with the project.xml to repair that?
    Currently, I'm using <assets path="data/json" rename="data" embed="false" />

    Thanks for your time.



  • While waiting for a hint, I've commented the <assets path="data/json" rename="data" embed="false" /> line in project.xml and I'm copying the files by hand. This way, files does not get randomly corrupted at compilation time.

    But it does not satisfy my thirst for knowledge...



  • Try asking OpenFL guys at http://community.openfl.org/


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.