Tuesday, January 26, 2010

New version ... v2.18

Hello All!!!

Please find here the latest version of MyProxy.
The difference between this and 2.17 is that now when you /save or /exportall (or press the "Snapshot" button) a subfolder with the avatar's name is created under the MyProxy folder, and all the files are put in there.
This is also true for the /load command, so on this version (unfortunately) you cannot /load if the saved folder is not under the folder where MyProxy is running from.
This basically means that, even though we're organizing things on folders now, you should not move those folders or /load will not find them anymore. I still have not added an option to select the source folder when /load-ing.
I may improve this in the future, but for now this is the best I could put together quickly to keep that folder clean.
Hope you enjoy it.

This file contains both the source code and the executable.

VERY IMPORTANT Once I release a new version, I start looking at the new version's thread for comments and support requests, so make sure to post here from now on. I usually look at the older posts from time to time, but it is not too often.

Cheers,
The Borg.

6 comments:

  1. Hi The Borg

    Thanks for the new version 2.18. The use of subdirs per avi is a first and important step. I think you'll extend this functionality anyway, maybe with some of those ideas here:

    - as you already stated, free selection of the base dir; maybe to be stored in a settings.ini file (don't like the registry too much)
    - saving (and storing and loading as well) of the baked assets, using some naming convention like "Skin_baked.asset"; this could be turned on/off for automatically saving baked and unbaked together with the check-box.
    - downloading all corresponding textures to an avi, but only on demand. While saving assets and attachments a new file "textures.txt" could be automatically created, adding all the texture-uuid's. Later, this file could be read and the herein noted uuid's downloaded separatedly but as a bulk into the avi's directory
    - command line option for changing the local proxy port... maybe you could then /save with one instance and /load on another at the same time.

    But the major problem is still: I'm not able to load any of the saved assets. Giving up atm, bc i do really have no clue at all why it worked once shortly and then never again...

    Cheers,
    K-werk

    ReplyDelete
  2. Hi K-werk,

    MyProxy will get the same command line parameters that the proxy from LibOpenMetaverse does.
    I am at the office now, so I don't have any copy on this computer to run and check the commands, but if you have compiled LibOpenMetaverse, just run their proxy from the command line with --help as a parameter and use the same options.

    I will send you the exact options later when I get a chance ... must stop by the supermarket first ... lol.

    Cheers,
    The Borg.

    ReplyDelete
  3. Hi The Borg

    don't worry, i already thought so and will look them up in libomv, invest your time with baby borg :) Btw, i got an old laptop running winXP, started MyProxy (well, YourProxy, lol) and an old nicholasz viewer with lowest graphics settings, but nope... still no way to /load.

    And some other idea... sometimes you might want to save an av but with changed assets/attachments (e.g. my own with all its outfits). Having an optional, free suffix field behind the name could help to distinguish those avi names/aubdirectories.

    Cheers, K-werk

    ReplyDelete
  4. Hey K-Werk,

    Hehe... I gave it the name of MyProxy for a reason. So everyone will call it TheirProxy, which makes it OurProxy ... lol.
    I just wrote it, but it belongs to all of us ... :-D

    Man ... I really don't know what may be the problem ... I have tested /save and /load on many different situations and in 3 different computers at home, and it works for me on 87.65% of the time.
    Sometimes it fails to /load, but when it happens I just teleport to some empty land, close both the viewer and the proxy, open them again and voilá ... it works.
    I have followed the code to the point where I send the packet to the server, and I do see the packet leaving when I run a packet capture capture program (wireshark), but it never reaches the server.

    One thing you may want to try is: /save everything you want, then teleport to some empty land for sale or rent which does not have anything locked (look for yellow islands on the map), then close everything and open again ... this works for me all the time.
    Also, I am using a Dell laptop, 3GB Ram running Windows 7 (it worked also with Vista) 32 bits, and on a Verizon FIOS connection, 20Mbits down 5Mbits up.
    If you are running one something similar, then you should have similar results.
    I have tried to find some error on the code, but the fact is that the packet is sent out, and I do see it leaving, and it looks correct. So, unless I am missing something very obvious here, then I don't know what would be the reason for it to fail.

    One thing that crossed my mind right now is that, besides turning the graphics all the way down, I also set the view distance to 24m, set the cache size to around 50Megs only and the bandwidth limit (on the network preferences) to the maximum, which is 8000 I think.
    I also disable the playing of streaming media, as it uses more bandwidth, and the clothing-layer-protection, because I also want to be able to save myself.
    Other than that I just leave everything on the default.

    Pls give it a try and let me know.

    Cheers,
    The Borg.

    ReplyDelete
  5. Hi again,

    Thanks for the update, i've given up using the import function from the proxy. However, i did manage to import from the xml and asset files using another viewer which i cannot name due to legal issues. I'm wondering, is there a manual of some sort to use this proxy other than the /help command?

    I'd like to know what's the syntax or format in creating the AO file. Like supporting multiple stands in the stand state.

    I'd also like to know how to connect to an opensim, such as OSGrid using your proxy as it seems to always connect to the main grid by default. Neither do i see any config file or functions that allows me to switch it.

    Thanks for your time and work invested in this project, it's really useful for people who dislike switching around viewers for added functions.

    ReplyDelete
  6. Hi Leon,

    About the .ao file, it is in fact a simple text, containing the name of the original (system) animation to override, all lowercase, followed by ":", then followed by the UUID of the animation that will be played in place of that one.
    If you rename danger.ao to danger.txt you will be able to edit it using notepad.
    It is a simple, really really simple hack to the anim system, so it is not possible to have more than one animation overriding the original one. For that you would need to use internal (in-world) AOs.
    I did not write any documentation on the commands other than the help file, but if you look inside the source code, and search for the place where I fill up the dictionary "KeyToAnim", you will see all the possible original anim names there.

    About the connection to OpenGrid MyProxy uses the same command line arguments as the regular LibOpenMetaverse proxy.
    The argument you're looking for is --proxy-remote-login-uri.
    Here's a list of the command line parameters taken from the LibOpenMetaverse source code.

    --proxy-login-port=(port) listen for logins on (port)
    --proxy-client-facing-address=(IP) communicate with client via (IP)
    --proxy-remote-facing-address=(IP) communicate with server via (IP)
    --proxy-remote-login-uri=(URI) use SL login server at (URI)
    --proxy-verbose display proxy notifications
    --proxy-quiet suppress proxy notifications

    Not all of them will have a meaning on MyProxy, but all of them are recognized.

    Hope it helps,
    The Borg.

    ReplyDelete