SpiralSpy v1.1 released

Hi there fellow knights,
I just finished work on SpiralSpy v1.1. For those, who are unfamiliar with the tool, here's the main thread:
http://forums.spiralknights.com/de/node/28402
For those, who want to see what a hardcore pro can do with it, I suggest having a look here:
http://forums.spiralknights.com/de/node/31275
(coincidentally, Happyapathy is also responsible for this update).
So, whats new?
* I added the submenu File|Environment which allows you to save, restore and clear your settings. Mind: This is kind of a hackjob. It does not save your current knight model, but at least most of the stuff around it.
* I added File|Snapshot, which dumps the contents of your framebuffer (your screen, so to speak) to a PNG file. Note: before using this, you might want to maximize the SpiralSpy window and click on the little, right pointing arrow on the slider to hide the control panel.
* For those, who have not noticed, yet: SpiralSpy now has it's own cozy little website. Hackjob as well, but does the trick:
Have fun spying!

can't wait to try it out, thanks man :D
Just tried he save feature is and it is a HUGE improvement :), animations, and changes made to them, still reset when program is reloaded but that's something I can handle, best part is that I can now create more complex scenes, maybe even recreate Haven, and store them for use later :D, still have to do the tedious work of tiling flooring but now I only may have to do it once and just use it over and over again.

Probably so, but the program isn't all that big so that shouldn't be a problem.

Should we download this new version and delete the old one then?

SURE Why not?! \"</

@Happyapathy
"animations, and changes made to them, still reset when program is reloaded but that's something I can handle"
That's something, we'll have to live with. The actual model (unlike the environment) is not saved by the Modelviewer and hence I cannot import/export it.
"best part is that I can now create more complex scenes, maybe even recreate Haven"
O.O
Someone call 911!
... I think, I'll better have a look at Clyde's the SceneEditor application again. For those, who feel like playing along:
java -Djava.library.path=native -cp .:spiralspy-1.1.jar:code\lwjgl.jar:code\projectx-pcode.jar com.threerings.tudey.tools.SceneEditor
java -Djava.library.path=native -cp .:spiralspy-1.1.jar:code/lwjgl.jar:code/projectx-pcode.jar com.threerings.tudey.tools.SceneEditor
First line is for windows users, second is for Linux/MacOSX users. Both assume that you have opened a commandline in the SpiralKnights folder (good luck figuring that thing out!).
@Windsickle
"Should we download this new version and delete the old one then?"
Well, that would help, if you want to use the new features...

... Couldn't you just update your previous topic instead of creating an entirely new one? Just find it silly that an entirely new topic had to be made for this.

I can't seem to get it to run on OS X. I have already tried the following:
- Place Spiral Spy on the Applications folder where Spiral Knights reside.
- Place Spiral Spy on the Spiral Knights.app > Contents > Resources.
- Place Spiral Spy on the Spiral Knights.app > Contents > Resources > Java. (For this last one, it didn't prompt me anything but it didn't open up either.)
Help please?

- Open Run and enter %appdata% and click OK. (You will most likely end up in user/AppData/Roaming, go back to the AppData folder before proceeding to the next step.)
- Open LocalLow.
- Drag and drop spiralspy-1.1jar into your spiral folder.
- Open spiral and run it.
Optional: Make a desktop shortcut to make access easier.
Hope this helps.

But I am having the issue with Mac OS X, not Windows.

@Metalcase Are you using OSX lion?
if so, open your terminal, and type in the command: chflags nohidden ~/Library/
Then, go to ~(user)/Library/Application Support/Steam/SteamApps/common/spiral knights/
Place it in that folder :)

I'm using OS X Snow Leopard and I didn't download it from Steam. I downloaded it directly from the Spiral Knights' website.

ok, then place it in User/Library/Application Support/spiral

Thank you @Quailia. Placing it on that folder made it work.

I'm having trouble with the Save feature. When I press "Restore" in the Environments tab, I then choose the file that I'd saved previously but a blank box appears with a single "Ok" button. Pressing the button only closes the box and nothing else. The same goes for the "Clear" button. What do I do? I want to load my environments.

@Windsickle
"I'm having trouble with the Save feature. When I press "Restore" in the Environments tab, I then choose the file that I'd saved previously but a blank box appears with a single "Ok" button. Pressing the button only closes the box and nothing else. The same goes for the "Clear" button. What do I do? I want to load my environments."
Strange... What the box should do is to tell you that after clicking "OK", you need to restart the application in order for the changes to take effect.

Just dropping by to give my thanks and appreciation for this amazing program!

hi im using windows. I dont use steam to play SK. I cant find my folder. I have seen other thread to search for a file call projectx something, but i still cant find the file.

Three things.
One, I think this is a great program.
Two, (now questions begin. =p) Is there a way to get a environment? I've gone under preferences, but nothing. =( Help?
Three, attack animations. I got this once, but I can't get it to do it again. Help?
Cheers,
~W

Okay biggest issue:
When I have about 150+ Environmental Models (yes, I am that crazy) I will eventually receive an error and when I check the error log at the time when the error occurred it will say:
WARNING com.threerings.editor: Failed to set property [setter=public void com.threerings.opengl.model.tools.ModelTool$ModelToolPrefs.setEnvironmentModels(com.threerings.opengl.model.tools.ModelTool$EnvironmentModel[])].
java.lang.reflect.InvocationTargetException
Which is followed by a whole bunch of lines like:
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.threerings.editor.MethodProperty.set(MethodProperty.java:84)
at com.threerings.editor.swing.editors.ArrayListEditor.fireStateChanged(ArrayListEditor.java:233)
at com.threerings.editor.swing.editors.PanelArrayListEditor.stateChanged(PanelArrayListEditor.java:64)
at com.threerings.editor.swing.BasePropertyEditor.fireStateChanged(BasePropertyEditor.java:212)
at com.threerings.editor.swing.ObjectPanel.stateChanged(ObjectPanel.java:188)
...
For about 50 lines then suddenly says:
Caused by: java.lang.IllegalArgumentException: Value too long: +s6vDhAAEAB4nKXcB3gUxfsH8N3ZWbocvakYlKIoCSEJCoK5oykKSlNQ1ONy2SQHl7t4uVAEFayAVAtNxQCKYO9dCNh7158dey9YEQv/nXnfmZvNHj43zz/PY8YAmc93Zmfb3OyazY3SqWOiyer8dFXKcVKxRGVtfrLGSVTG86uT5U48P51Mxmvzx7L/n+T+b8+RiZmxVDJ...
A whole lot of gibberish (which I'm guessing are the values for everything in the scene) which goes on for over a hundred lines until it says something like:
at java.util.prefs.AbstractPreferences.put(Unknown Source)
at java.util.prefs.AbstractPreferences.putByteArray(Unknown Source)
at com.threerings.util.ToolUtil$EditablePrefs.putPref(ToolUtil.java:168)
at com.threerings.opengl.model.tools.ModelTool$ModelToolPrefs.setEnvironmentModels(ModelTool.java:153)
... 48 more
When this happens I am no longer able to add new Environmental Models, or able to make changes to existing ones. Closing and reopening the program will fix the problem for a bit but it will always come back quickly soon after restarting Spiral Spy. So basically having +150 Environmental Models seems to cause the program to crash.
-------------
I found that trying to set an altered texture file for a players face (you can change it at "Face Texture" for a player model) causes the program to crash, but for some reason you can use any existing texture file i the game, using whatever file name, as the texture for the face and it will work unless you alter that, I've got some test files I used when I tried this, is this something to do with some ingrained mapping code, and it be overcome so I can use customized face textures?
When I try to load the one of the files labeled "breaks" the program freezes and this error message appears at the bottom:
"Caught exception in frame loop."
------------------------------
And one request:
I noticed that a model can be rotated on the Z-axis from 180 to -180 degrees, but can only be rotated from 90 to -90 degrees on the X and Y axis, would it be possible to increase them so they have a wider rotation limit?

same thing happened to me about 180 models... and yeah, it took me days to do so.
also it'd be cool if it had an option to create another model. (not just environmental ones),cuz i made the whole thing minding a battle scene and i now find out that i can only have 1 model to perform animations... LOL failz

@Rangerwill
> One, I think this is a great program.
Thanks :). Kudos go (mostly) to OOO though ;).
> Two, (now questions begin. =p) Is there a way to get a environment? I've gone under preferences, but nothing. =( Help?
Dunno what you mean?
> Three, attack animations. I got this once, but I can't get it to do it again. Help?
I think, Happyapathy is more qualified to answer this one (I don't dig around nearly half as much as s/he does).
@Happyapathy
>Caused by: java.lang.IllegalArgumentException: Value too long:
Erm yes, SpiralSpy/com.threerings.opengl.tools.Modelviewer uses the Java preferences storage, which was never meant to be able to store such big blobs of texts in a single attribute (8k is max). There is no way around this, save than rewriting the whole app (*sigh* ... I'm on it).
> I found that trying to set an altered texture file for a players face (you can change it at "Face Texture" for a player model) causes the program to crash, but for some reason you can use any existing texture file i the game, using whatever file name, as the texture for the face and it will work unless you alter that, I've got some test files I used when I tried this, is this something to do with some ingrained mapping code, and it be overcome so I can use customized face textures?
Short answer: I have no idea
Long answer: The ModelViewer makes heavy use of java reflections to figure out which controls can be used with a .DAT file. Also, and most unfortunately, OOO uses a software called "Proguard" to obfuscate their code. I wouldn't be too surprised if your altered model contains clear names while the ModelViewer expects an obfuscated name somewhere (or vice versa).
> I noticed that a model can be rotated on the Z-axis from 180 to -180 degrees, but can only be rotated from 90 to -90 degrees on the X and Y axis, would it be possible to increase them so they have a wider rotation limit?
Afraid not -> controls are deeply buried within the App, I have no access to them -> Hello rewrite.

By that I suppose I mean the background, like how to get myself in FSC, or in RJP, or some other level or place.
I'll ask Happy some questions as well, thanks.
Cheers,
~W

With each new update new files are added to the game, if your like me and use a separate folder containing the SK files to work off of in Spiral Spy you will need to update the rsrc folder you work with in order to keep up to date.
A few new things added in the last update include the 'badge' accessory and the one-way energy gate, plus there are other new things... *looks around nervously" like um, tiles... that I can't mention here... I've said too much already I need to go hide from the mods.

Yay! And happy, could you help with my questions?
Mr. Spiral-Spy seems to think your brilliant. I tend to agree after lookin at your pics.
Cheers,
~W

Do you mean you want to know if JK palace or FSC are already preloaded somewhere for you to use? Cause unfortunately they are not and if you want a scene there your going to have to make it yourself. Plus if they were they'd probably have a thousands of models that would almost certainly crash Spiral Spy.
If you mean like the background/skybox you see floating below the level all the time, in an Environmental Model set its config to these:
For JK palace: rsrc/world/skybox/clockwork_tunnels/model.dat
Set it to "Cold" I believe.
For FSC: rsrc/world/skybox/castle_firestorm/model.dat

I see, thanks! Time to do some stuff.
Cheers,
~W

Guess the devs must have considered (or plan to) having dual wielding at some point, or at least left handed knights.
If you don't look at the Treasure Vault section your missing out on stuff

yes thank you so much thats what ive been wanting for so long

Can someone please tell me how to use this. Every time I extract the file I don't get the .jar file, all I get is a bunch of folders.

???? You don't need to extract anything, the dowload gives you the .jar directly

Nvm, it is a .jar(same icon as zip) but once I open it, it just brings me to a WinRAR window to extract it.

If your like me and work out of a rsrc folder separate from the game, you will need to update it to include content added by the latest patch. There are a number of new things, I'll tell you now there are a few unreleased armors/helms cause your going to find them anyways (nothing for gunslingers >:( ). There are also a few new props, and one particularly interestingly suggestive prop (It's out of this world ;) ) for what may be coming in the future.

I downloaded the game the same day I downloaded Spiral Spy, so I don't think they would be out of date. I used to play straight off the site.

open the .jar with java, not winrar ->rigth click Open with...

It's still not working, plus I have multiple javas to chose from, maybe I have the wrong one? (screenshot coming)
Edit: Here it is http://img829.imageshack.us/img829/6730/errorve.png

One of those should work jawaw or javaws.exe I believe.
Really nothing happens? an error message at least?
Also check with task manager if at least there's a java process open, kill it and try again.

Yeah I get different errors for different ones, I'll try again.
Edit: Made sure java was't running before I did this still no dice. Error Images: http://img62.imageshack.us/img62/7734/error2rf.png and http://img542.imageshack.us/img542/5961/error3r.png There's another one, it looks like a cmd prompt it only comes up for like half a second so I can't screenshot it. That last java thingy is a control panel for java or something like that.

I had the same problem when executing the .jar from Explorer, it was driving me nuts. Then finally tried this from the command prompt:
Windows + R
type cmd [press ok]
cd "AppData\Roaming\Three Rings Design\Spiral Knights"
java -jar spiralspy-1.1.jar
You'll need to go to the SK directory, in your case from the screen shots it looks like "AppData\Local Low\spiral". Also, I have a Path set up to Java under Window's Environment Variables. I think by default that should be the case on your computer too.

Does anyone use non-steam Mac OSX with Spiral Spy? How do you access the SK folder and where is it?
Asking for someone else as I'm not a Mac person, I'm a PC. :P

All I get is:
'"java -jar spiralspy-1.1.jar"' is not recognized as an internal or external command, operable program or batch file. Also just 'java' when I don't put the quotation mark. Does not being the admin have to do with anything? What is an Environment Variable?

Augh. Necro. anyways, go google 'SpiralSpy' and install it

how to download it on mac, i've tried but when i want to use it it says "please but jar into spiralknights directory" - what does that mean?

how to download it on mac, i've tried but when i want to use it it says "please but jar into spiralknights directory" - what does that mean?
Thanks! :)