Drag-drop in Skin Editor
-Integrated with latest version by Profit
-Function to add random numbers to object names (See settings in editor. This was a quick last minute thing, if you think it's stupid I'll take it out.)
-"MEDIACAR SKIN" tag now "ROADRUNNER SKIN"
-Full Undo/Redo (up to 20 times)
-Ability to store comments in skins (see note)
-Function to strip all extraneous data from skins (see settings in editor)
-Removed /x,y,h,w,... blah blah blah lines as they would only multiply now (You can now add these yourself).
It's difficult to save comments because RR editor only reads only what it recognizes, and then spits that out when you save the skin. It completely ignores everything else.
I rigged it to track and save comments between object definitions, but there's really no telling what will happen you add objects,--i.e. where these lines of text will end up in relation to your comments. You might find that a the new label you added in the skin editor put itself right between another line of skin code and its corresponding comment.
Another big cavet is that the order of the object definitions cannot be changed. If you've added code to a skin manually, I suggest saving with the editor once before adding comments just to let it put everything in the order it likes first. I still think this will be very useful. Stuff like this is now possible:
/this is a shuffle indicator
/this is a repeat indicator
/that's right, mute ************
/some more indicators
/more lines of comments too
/lots of comments here
/omg too many comments
For crying out loud, do not use this to work on anything you don't have backed up. I have not really tested this at all. It could completely ruin a skin if you do something I haven't accounted for. Let me know how it works out.
nice... iwas hoping for an UNDO command in general..for everything!!
Don't know it if it's been done, but can it be coded so that unrecognised commands/codes will be left alone and not deleted?
I think the orginal skineditor deletes anything it don't recognise, so new commands disappear, or my special codes also disappear when people try to do their own versions.
Added full undo. I have not tested if for more than a minute though, I wouldn't trust it just yet. Tell me if you find something it doesn't undo.
Originally Posted by Enforcer
Since you are tinkering and we discussed some work arounds - could you fixe this one for us PLLLLEEEASSE :D
You could be deem'd a hero if you do :tune:
I second it! :)
Originally Posted by kolemieux
Thanks for doing the update. Drag n Drop works great. I havn't tested the Undo yet.
i think you may have coded a feature that is already present in the latest version of the skineditor.
My version allready has drag and drop for a while now. V0.3.019
you may have been on an older version that didnt have it.
There are quite a few additions to the .019 version like the virtual editor etc.
You may need to ping Profit for the latest source code.
Well the drag-drop took me only a few minutes, the undo/redo became a bit of a project, so hopefully that wasn't implemented already.
More updates, see the first post.
Hello deus ex machina,
I have just tried the updated version. You have made the changes to an older version of Skin Editor. pRoFiT's version had a number of additional changes that worked well.
I like the undo, but not your drag and drop. Whenever I select an object, the object moves to the mouse position, so unless you are at position 0,0 of the object, the object jumps out of position, which is a real pain. pRoFiT's version v0.3.019 worked better. It also had a Virtual Editor, which is a great way to check and make changes on the fly, that the editor couldn't cope with. It just can't do the /commands.
Can I please ask that you PM pRoFiT, and implement your changes (not drag and drop and drop) into his later source file. This would give us the best of both worlds. pRoFiT's personal life has taken off of late, and he can't put the time in to make the Editor changes we are all looking for, and so would relish any support from those who are capable, and you clearly are !
Also, I used the latest help command file to update the objects.txt file. If this could be included in the new release, we will have made a major step forward.
Well done though,