Saturday, February 5, 2011

Maxport and Maxproxy Usage

Hello,
Maxport.exe - Program to import prims from 3ds Max to Second Life or OpenSim
Maxproxy.exe -  Program to export prims from Second Life or OpenSim to 3ds max

Both programs use LibOpenMetaverse and you need to start them from DOS prompt. ( just run "cmd" ).
You need to have Microsoft .NET Framework installed.


You can list their command-line arguments by typing:
maxport.exe --help or maxproxy.exe --help

Basic usage of Maxproxy for SL:
1. Start Maxproxy like this:  maxproxy.exe --main 
2. Run 3rd party SL viewer like Phoenix.
3. Add new grid with address: http://127.0.0.1:8080
4. Connect to it. You must see Maxproxy's banners on login
5. Select prims or linksets that you own and created
6. Type in the chat:  /save name_of_your_project
7. The saved images and .hpa file can be found in c:\prims
8. Use Import funcion in the Prim Composer menu

Basic usage of Maxport for SL:
1.  Export your build with Prim composer.
2.  Start Maxport like this: maxport.exe -flp Firstname Lastname password --main -i "full path to your .hpa file"
3. Wait until the upload is over.

Alternatively you can use a patched third party viewer which support HPA:
http://www.sapinski.com/pleiades/Imprudence_1-3-0-beta_5_Setup(pleiades-mod).exe




30 comments:

  1. I can't find whar to download Maxport. And the patched third party viewer which support HPA don't work to import stuffs.

    ReplyDelete
  2. Hello Danny,
    Maxport and Maxproxy are part of the main prim composer package , you can download it from here:
    http://www.mediafire.com/?46x8gdcna7113di
    About the patched viewer , it's bit old right now , i hope the imprudence developers will make new version some day ..
    Best regards

    ReplyDelete
  3. I can't get Maxport to work either :/

    ReplyDelete
  4. Hey Danny,
    What exactly is the problem with Maxport ? Are you sure that you .hpa has no errors , do you have .NET Framework installed etc?

    Note: You can get some more immediate help in the "3ds Max" group in SL too. Most of the people there use prim composer and maxport.

    ReplyDelete
  5. Hi! Does Prim Composer export textures along with the model from OpenSim?

    ReplyDelete
  6. Hey Keystone,
    Yes, if you are the owner and creator of the linkset/object you can export all from SL/OpenSim etc with MaxProxy.exe

    ReplyDelete
  7. Looks like Amis is the only one who can use this. There is no evidence of anything called maxport or maxproxy in the extracted or installed primcomposer 1.0.4 files, or resident anywhere on my PC. I'd appreciate any advice for getting it to work as it sounds like a great tool in theory.

    ReplyDelete
  8. Hello Jude,
    I'm not that good to use something that is not there :P Just download http://www.mediafire.com/?46x8gdcna7113di and you will have several folders one of them is called "Maxport". Both maxproxy.exe and maxport.exe are inside.
    Best regards

    ReplyDelete
  9. Hi all how can i have the maxrez to export linkset lik in this video http://www.lldexler.com/primcomposer/using-maxrez-with-unlinkable-linksets.mp4

    ReplyDelete
  10. Hello Zr,
    Group your prims inside 3ds max, this is the equivalent of linking.
    Best regards

    ReplyDelete
  11. Hello amis, i know that, sorry fo my bad english but what i'm asking for is how make maxport export with rezer box in sl and dont rez the sculty directly
    i think i have to add --lsl in Dos cmd line but i dont know why i have error message
    So if you have any idea the right cmd and the seting ot's will good ;))

    ReplyDelete
  12. Hello Zr,
    Sorry for the late response. I'm quite busy those days. I think LL changed something in the simulator code and "--lsl" don't work anymore. I'm still not 100% sure, but I've made a fast test and got an error too. I will investigate further.
    Best regards

    ReplyDelete
  13. I'm having a problem with Maxproxy not actually exporting anything or creating any directories. I open the CMD prompt, run it, get on Phoenix, log into the appropriate Grid URI, see the Maxport Banner, so I know its at least doing something. After all of that, I select the full perm item that I created, type into the chat bar "/save Item", it then gives me the message saying its saved, but after that, I can find no files on my computer, and no prims directory on my C: drive.

    Anyone got any tips?

    ReplyDelete
  14. I don't even see the banner. CMD says DOWNLOAD PRIM mode. But the veiwer doesnt show a banner, nor let me log in when I'm following the instructions.

    Doesn't seem to work in phoenix version 1.5.2.1102 or imprudence version 1.3.2

    ReplyDelete
  15. Hello,
    Sorry for the late response. I didn't had time to test if maxproxy works till now. Results of my tests:
    1. Maxproxy and last version of Phoenix = textures and sculpts don't load at all.
    2. Maxproxy and last Imprudence (not the patched version, but the original) = textures load normal, sculpties are rendered broken, but when /save is used all seems to be fine in max.
    LL is changing the code of the simulators to prepare them for mesh, so like always they where able to broke things.. :) Hope this info helps a bit.

    ReplyDelete
  16. hey hun that's the problem i'm getting when opening maxport

    INFO - Maxport -
    Maxport 1.3.6: Copyright 2008-2009 Shack Dougall. All rights reserved. -
    INFO - Maxport - Homepage: http://liferain.com/downloads/primcomposer/
    -
    INFO - Maxport -
    ..........................
    -
    FATAL - Maxport -
    Error: Option Password is REQUIRED, but not specified.
    -
    FATAL - Maxport -
    Stacktrace: at CommandLine.OptParse.Parser.CheckIfReqsMissing(ArrayList foundDefinitions)
    at CommandLine.OptParse.Parser.Parse(OptStyle optStyle, UnixShortOption unixShortOption, DupOptHandleType dupOptHandleType, UnknownOptHandleType unknownOptHandleType, Boolean caseSesitive, String[] args)
    at CommandLine.OptParse.Parser.Parse(String[] args)
    at #=q2mDBIqvw4uavxiEyGvgKuVltt9XcL_Z1aZhl8IxK9keg3bUuB$d$$gOYyjGMbUgV.#=qBYwt4updWdI2gEkEOdRyHQ==(String[] #=qVx8_Yci0MMdzbxw6F4ceCg==)
    -

    ReplyDelete
  17. Hey Nada,
    Maxport is a command line tool. You need to specify some options. Quote from the post above: "2. Start Maxport like this: maxport.exe -flp Firstname Lastname password --main -i "full path to your .hpa file" In your case the error say that you didn't specify the password.
    Hope this helps

    ReplyDelete
  18. It won't let me type anything... i click on it, it does that then closes up again, the only way I saw those errors was by the Notepad it gave with them.

    ReplyDelete
  19. Hello Nada,
    Quoting the first line of this post:"Both programs use LibOpenMetaverse and you need to start them from DOS prompt. ( just run "cmd" )." If you use Win7 , just click Start button and type it. That you need to navigate to the folder with maxport.exe.
    Best regards

    ReplyDelete
  20. same issue when i do it through CMD it runs up till that error then exists the maxport.. won't even let me type a command in it.

    ReplyDelete
  21. Hello everyone, I was hoping to import a build that is made up of sculpties and when attempting to do so with Phoenix I am experiencing the problem amis highlighted in an above post. So what viewer works best with PrimComposer now? Any suggestions?

    ReplyDelete
  22. Can you elaborate, what exactly is the problem ? Maxport is not viewer dependent, it's a DOS command tool/client. You just need to start it with the proper command line options and it will connect to the grid and upload the build, if the .HPA file is exported correctly. Sometimes people export bad .HPA and than maxport gives them errors. You can verify your .hpa with Prim Composer->Import command in Max. If it works there it should work with maxport. Best regards

    ReplyDelete
  23. Thanks for the response! Well Maxport connects to OpenSim fine and it exports every prim with no errors. But when I import the .hpa into Max there are no sculpties or textures at all, just standard prims textured with a white shader material.

    I read in one of your other posts "last version of Phoenix = textures and sculpts don't load at all." but have just realized that was with reference to Maxproxy and not Maxport, my bad.

    ReplyDelete
    Replies
    1. I just checked the export folder and realized all the textures and sculptmaps that Maxport exported from OpenSim are blank white... that might be the issue! lol

      Is there a common reason you find this happens? Any suggestions that might point me in the right direction to solving the problem?

      Delete
  24. Well exporting FROM OpenSim or SL is made with Maxproxy. Importing TO OpenSim/SL is done with Maxport. So I'm assuming that you are trying to export your build FROM OpenSim with Maxproxy and to import it back in 3ds max? My post about Phoenix is based on the rendering of those things. Because Maxproxy acts like proxy between you and the SL server any change to the protocol may result in bad rendering and probably export. You can try few things:
    1. Find a viewer that supports regular .XML with textures export ( i think Imprudence should have this ).
    2. Export all from opensim with it + the textures.
    3. Import the build to the BETA grid.
    4. Test Maxproxy export from the BETA grid.
    Step 3 have some other variations:
    - you may try to install much older version of the opensim and use imprudence to import your build there and than maxproxy it out.
    - you may use the saved textures from imprudence and replace the white ones produced by maxproxy. If I'm not mistaken both ( imprudence and maxproxy ) will save the textures with name format like this: UUID.jp2 ( imprudence output lacks .jp2 extension )
    Test all those suggestions with a test build - something like 1 sculptie , 1 prim , 1-2 textures etc, to save time.
    Hope all this will help in some way :) Sadly I'm not the developer of Prim composer and we don't have maxproxy/maxport source files, so there is pretty much no way to fix those issues :(
    Best regards and wish u luck :)

    ReplyDelete
    Replies
    1. Yeh I realize you're not the developer, and thanks alot for your help! I used ZBrush and SculptStudio for a couple of years in SL, I stumbled upon PrimComposer a bit late as I only just started using 3DS Max lol. Seems an awesome tool, even if it is out of development these days.

      I'll try various combinations of your above suggestions and hopefully have better results. Thanks alot amis! All the best to you.

      Delete
    2. Note for anyone reading this after the fact. The problem was I hadn't imported the textures to OpenSim. None of the viewers will export textures now, so you'll have to upload them manually. I could see my object's textures/sculpt maps simply because I had them cached.

      Delete
  25. Thanks for sharing and I'm glad all worked out :) Best regards and happy building :)

    ReplyDelete
  26. Can someone please explain how you use max port to get the 3ds max sculpts into sl as a group instead of having to export it piece by piece

    ReplyDelete
  27. Hey Kione,
    Check this video tutorial: http://www.lldexler.com/primcomposer/using-maxport-to-upload-builds-to-opensim-and-secondlife.mp4 (from the Tutorial post)

    ReplyDelete