Sun Sims  


Please help us pay the bills.        

Go Back   Sun Sims Forums > Sun Sims Community > Open Forum
FAQ Donate Members List Calendar Mark Forums Read

Reply
 
Thread Tools
Old 01-15-2008, 12:13 AM   #1
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default Just to torment all of you...

Screenshot of sample report from my new proggie:



Basically, you run Delphy's Download Organizer, then my program generates reports based on the output file from DDO. This one shows which Skintones and ClothingRecolours are associated with each mesh...

Yes, it's sorting backward. It's not done yet.
Miros1 is offline   Reply With Quote
Old 01-15-2008, 01:02 AM   #2
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Neat!

Does this mean we might get the image-cleaner soon?
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-15-2008, 02:03 AM   #3
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Well, in the process, I'm learning the XSL that will help me write the image cleaner...
Miros1 is offline   Reply With Quote
Old 01-15-2008, 02:11 AM   #4
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Oh neat! Is there some language or utility that's useful for processing XSL?

I was thinking about that today. You could do a lot of fun things with the stories in the photo albums if you could parse the whole thing.

In this case, though, it's just a matter of searching for ".jpg" in a string and then parse out the word that contains it, delimited by spaces or punctuation.
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-15-2008, 04:04 AM   #5
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Actually, if it's good XML, it would be easy to write an XSL script to make an html page with any arrangement of data from the XML file. Very easy, much easier than cross-referencing various Meshes and their Recolors... I had to beg for help on tek-tips.com!

I'm wondering if RTF would be a viable output format....

As for how to process XSL -- well, months ago when I started this lunatic project, I made a nice little Java proggie that runs from the command line and takes 3 parameters -- XSL file, XML file, and output file... I just need to give it a pretty user interface, so people can browse for their files!
Miros1 is offline   Reply With Quote
Old 01-15-2008, 06:10 AM   #6
homerette
Day late & a dollar short
 
homerette's Avatar
 
Join Date: Apr 2007
Location: central VA
Posts: 206
Default

I don't understand a word your saying , but the end result looks promising!
__________________
May the roof above us never fall in, and may we friends gathered below never fall out.
homerette is offline   Reply With Quote
Old 01-15-2008, 10:26 AM   #7
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Not to mention, it should be an easy way to find the skins that are incompatible with sexyfeet!
Miros1 is offline   Reply With Quote
Old 01-15-2008, 11:45 AM   #8
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Yeah, what Homerette said. Anything that demystifies the clothing collections is a good thing!

Now I'm wondering if it would be possible to also identify what categories each clothing item is in.
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-15-2008, 09:59 PM   #9
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

I think there's at least one catagory stored in PackageDB.xml, the output file from DDO, which I use for source material (why parse package files when you can parse XML, which already has a parser and a transformer (but doesn't make julienne fries).
Miros1 is offline   Reply With Quote
Old 01-16-2008, 01:04 AM   #10
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Are you using a parsing routine that comes with Java?

Homerette, don't worry; we're at the limit of my ability to understand what Rose is saying!
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-16-2008, 02:01 AM   #11
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Yepper... there's like 10 lines of Java code to load up an xml file, an xsl file and write an html file as output. Very cool!
Miros1 is offline   Reply With Quote
Old 01-16-2008, 12:08 PM   #12
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Neat! That just might mean that PHP has features like that, too. It seems that whatever happens in Java also happens in PHP.
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-16-2008, 02:22 PM   #13
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Yep, just had Java installed and PHP gobbles hard drive, so Java was the language of choice.

I also wanted a stand-alone application, so I didn't have to tell users to install PHP!

Last edited by Miros1 : 01-16-2008 at 10:22 PM.
Miros1 is offline   Reply With Quote
Old 01-17-2008, 10:44 AM   #14
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

*blink*

Is there a version of PHP that doesn't require a web server?
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-17-2008, 01:18 PM   #15
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Yep. http://www.php.net/downloads.php#v5

You have to change the "open" action for the php extention to "run" it with the main php exe (or create a "run" action) and create an "edit" action to modify the script with your favorite text editor. Had it on my puter for work once.

Who sez hanging out on the internet isn't edjumactional?
Miros1 is offline   Reply With Quote
Old 01-17-2008, 05:08 PM   #16
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Who indeed? I expect that the Internet, though currently a vast bastion of disinformation, is the future of education.
__________________
Who are all these people and what do they know?
Greg is offline   Reply With Quote
Old 01-17-2008, 07:56 PM   #17
shorty943
Banned
 
Join Date: May 2007
Posts: 805
Default

Quote:
Originally Posted by homerette View Post
I don't understand a word your saying , but the end result looks promising!


OK, that's 2 and 2 so far. I vote with Homerette.

Mind you, I still don't seem to have found all my grey matter from Christmas yet.

This is the program that sorts and finds all my crash and burn fun stuff?

Good work Rose. My hat's off to you.
I can run a "Nuke" power station, but I'm damned if I can make "Hello World" work.
shorty943 is offline   Reply With Quote
Old 01-18-2008, 08:27 PM   #18
Zenmistress
Solar Max
 
Zenmistress's Avatar
 
Join Date: Mar 2007
Posts: 153
Default

This is cool...very handy.
I will definitely have a use for this...if I ever get my pooter working again. LOL
I think there is certainly a need for this. Its really hard to figure out some of the meshes and textures matches.
__________________
Sandy
All my life, I wanted to be somebody...
now I see that I should have been more specific.
Zenmistress is offline   Reply With Quote
Old 01-18-2008, 10:24 PM   #19
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Well, that particular report finds all your meshes in PackageDB (output by Delphy's Download Organizer) and lists all the textures and skintones that use them. I figure that will come in really handy when figuring out what BodyShape a skintone uses...
Miros1 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:01 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is not endorsed by or affiliated with Electronic Arts.
Trademarks are the property of their respective owners.
Game content and materials copyright by their respective creators. All Rights Reserved.
Copyright ©2007-2008 by Sun Sims.