Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Squirrel is an application that downloads minimaps to .png files. Converting the data to a .png file takes about 2.5 seconds milliseconds (a recent performance breakthrough.)
I'm thinking about reviving Panda, and Squirrel will be a main component of it (thumb-nailing engine.) There's really no servers that it can be run from, which is an issue. We'd need to look at options for image-only hosting or something.
Any thoughts or feedback are appreciated.
Here's the GitHub link: https://github.com/Decagon/Squirrel
Offline
Already created. EEPainter, pretty good though.
Owner of GooCrew
GooCrew Worlds:
GooCrew Art World
Offline
Already created. EEPainter, pretty good though.
I haven't tried EEPainter (v1.7.8 crashed when loading minimap), but I have tried a few and I couldn't find any options to:
- run it via a command line (console; little or no GUI)
- use png compression
- to get the latest init data (not the BigDB data that might be out of date)
- be able to save to a file that is able to be correctly read later even if the blocks aren't updated
- load a minimap under ~5 seconds (long time to load something)
- supporting all types of authentication, including kong, mousebreaker and fb
- be able to have the application automatically update, or being able to click a button to update the application
- dynamically choose BigDB or to use init data, depending if the world is in the lobby or not
If your application does support most or all of these features, I'd be happy to work with that developer to gain some understanding into how these things work.
Offline
if (layerNum == 0)
{
// background block
Shouldn't layerNum be 1? That's what I remember.
Offline
It may export as a .jpeg, though .jpeg's are easily transferrable to .png's
Owner of GooCrew
GooCrew Worlds:
GooCrew Art World
Offline
It may export as a .jpeg, though .jpeg's are easily transferrable to .png's
It would be better if there was already a .png export, so you didn't have to.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Gooberg wrote:It may export as a .jpeg, though .jpeg's are easily transferrable to .png's
It would be better if there was already a .png conversion, so you didn't have to.
I'm still not sure, it may export as a .png
Owner of GooCrew
GooCrew Worlds:
GooCrew Art World
Offline
if (layerNum == 0) { // background block
Shouldn't layerNum be 1? That's what I remember.
I switched it to layerNum == 1, and the minimaps generated look better now. From that modification that you suggested, I was able to fix some other bugs relating to parsing init data, which fixed some issues drawing background blocks after foreground blocks (it should be the opposite.) Thanks!
It may export as a .jpeg, though .jpeg's are easily transferrable to .png's
It is possible to convert .jpeg's to .png's, however in this scenario pngcrushed'd png's are about ~50% smaller in file size, and are losslessly compressed (100% quality). Jpeg's are larger in file size and have a lower quality.
However, when it comes to compressing larger photos, jpeg is superior over png in both file size and perceived quality.
Offline
Unfortunately, it has appeared that EE has updated their world format and Squirrel no longer works correctly. I'm getting a NullReferenceException on this line:
https://github.com/Decagon/Squirrel/blo … ram.cs#L94
Things that I have tried:
- dumping the data at the section (I get x1 and y1 values, and they don't appear to be bytearrays, but integers instead)
- using x1 and y1 values instead of x and y (however, I get an array out of bounds exception in the worlddata array. I have tried to increase the array size to 1000 by 1000 but it still fails with an out of bounds exception, indicating that the width and height parameters are incorrect as the maximum world size is less than 1000.)
- converting the byte arrays to int
- try to detect when xs is null, and stepping over the foreach loop (this is where the error occurs)
- changing x and y to byte[0] when they are null
Does anyone how this could be resolved?
Offline
Unfortunately, it has appeared that EE has updated their world format and Squirrel no longer works correctly. I'm getting a NullReferenceException on this line:
https://github.com/Decagon/Squirrel/blo … ram.cs#L94
Things that I have tried:
- dumping the data at the section (I get x1 and y1 values, and they don't appear to be bytearrays, but integers instead)
- using x1 and y1 values instead of x and y (however, I get an array out of bounds exception in the worlddata array. I have tried to increase the array size to 1000 by 1000 but it still fails with an out of bounds exception, indicating that the width and height parameters are incorrect as the maximum world size is less than 1000.)
- converting the byte arrays to int
- try to detect when xs is null, and stepping over the foreach loop (this is where the error occurs)
- changing x and y to byte[0] when they are nullDoes anyone how this could be resolved?
I sent a pull request with a potential fix, I cannot test due to Fody having a strange error with compiling, though it should work. Let me know if it does.
*u stinky*
Offline
Unfortunately, it has appeared that EE has updated their world format and Squirrel no longer works correctly. I'm getting a NullReferenceException on this line:
https://github.com/Decagon/Squirrel/blo … ram.cs#L94
Things that I have tried:
- dumping the data at the section (I get x1 and y1 values, and they don't appear to be bytearrays, but integers instead)
- using x1 and y1 values instead of x and y (however, I get an array out of bounds exception in the worlddata array. I have tried to increase the array size to 1000 by 1000 but it still fails with an out of bounds exception, indicating that the width and height parameters are incorrect as the maximum world size is less than 1000.)
- converting the byte arrays to int
- try to detect when xs is null, and stepping over the foreach loop (this is where the error occurs)
- changing x and y to byte[0] when they are nullDoes anyone how this could be resolved?
It was a long time ago they change the database reading.
Here is an example, http://pastebin.com/Yzy06edk
Offline
I sent a pull request with a potential fix, I cannot test due to Fody having a strange error with compiling, though it should work. Let me know if it does.
Thanks, it works now!
---
I'm getting another NullReferenceException while trying to optimize the Color class to a byte array, but I'll see if I can figure this one out...
Offline
[ Started around 1732731541.8265 - Generated in 0.210 seconds, 14 queries executed - Memory usage: 1.63 MiB (Peak: 1.82 MiB) ]