What do you think?

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 99
    Win 7 Professional 64bit
       #11

    Now what I would like to have is something special, probably not of much use to the general public but certainly to the several hundred people who create content for the programs Poser and DAZ Studio.

    If you have a long piece of code, plain text, could you filter out sections that start with certain words?

    For example:

    deformerPropChan Sit2_LHip_Dfmr:1
    {
    name Sit2_LHip_Dfmr
    initValue 1
    hidden 0
    forceLimits 0
    min -100000
    max 100000
    trackingScale 0.005
    keys
    {
    static 0
    k 0 0
    }
    interpStyleLocked 0
    addZone 1 Sit2_LHip_DfmrZ:1
    deformerProp Sit2_LHip_Dfmr:1
    }

    The names in that vary, but these blocks of code always start with "deformerPropChan". This first line and everything between the following { and } have to be deleted. These blocks of code, with varying names and values, are repeated many many times throughout the file.

    Could you write a routine that deletes this, leaving the rest of the file unchanged?

    If you're interested, I can give you more background info what all this is for. If not, I don't have to do all that typing
      My Computer


  2. Posts : 571
    Windows 7 Home Premium x64
       #12

    HonorGamer:

    OK- no problem. but did ask... :)
      My Computer


  3. Posts : 1,436
    Windows 8.1 Pro x64
    Thread Starter
       #13

    i understand that basic stuff, but what language is that code? looks like C++ or something
      My Computer


  4. Posts : 99
    Win 7 Professional 64bit
       #14

    HonorGamer said:
    i understand that basic stuff, but what language is that code? looks like C++ or something
    Do you mean that bit I posted?
    I have no idea. It's just a text file in which we rummage about with a text editor, deleting and adding things manually.

    Here's some background:
    There are programs for 3D rendering which use pre-made content. The users load a figure, give it a pose, add some clothing and hair (by double-clicking a preset in a library) and a nice background and then they let the program calculate lighting, reflection etc. so the end result is a nice 3D render. It's a bit like "dressing up Barbie" for adults

    To create clothing for that, I model a piece of clothing in 3D, import it to the software and give it the same bone skeleton the figure has so the clothing will move with the figure.
    The figure uses special deformer settings, so the muscles bulge in the right places when e.g. the forearm bends. These deformers get automatically added to the clothing as soon as the clothing is loaded - otherwise the muscle would poke through the clothing.

    So, when I've finished setting up the clothing and I save it to the program's library for other people to use, I get all those deformers in the file. (The code is created by the program, I've no idea what language it uses.)
    That wouldn't matter if it was just for private use, but I sell the clothing add-ons and the files I pass on shouldn't contain anything unnecessary.

    So it would be great if I had a little tool through which I could run the files afterwards to get rid of those deformers. The files are plain text with the extension .cr2

    I would use search-replace in my text editor but since each deformer has a different name this doesn't work.

    I added such a file for you to look at. It's a small one because it doesn't contain yet all the data the final version will have. The final file will have about 22MB, that is a lot of text so you can imagine how funny it is to go over all those lines manually. And this isn't even a complicated file, there are much longer ones.

    If you don't want to touch it I can understand, but if you wanted to give it a try I'd be quite happy, and also happy to provide more files to work on.
    What do you think? Attached Files
      My Computer


  5. Posts : 131
    windows 7 RTM
       #15

    Hello, HonorGamer

    I have a challenge for you. It will give you some experience and help
    a lot of folks.

    MouseImp Pro, Is a rather old program which originated in Russia and was kept
    updated by some good souls, but they gave up after Vista.

    It is open source and deserves to be revived .

    It is a mouse scrolling tool which allows one to just hold down the right mouse key
    and scroll in both directions without the need to reach for the scroll bar.

    I have been using MouseImp for years and am now using W7 32 bit because it will
    not run on W7 64 bit.

    Start here. DOWNLOAD « MouseImp Pro Live!.

    The source code is available and their is more detail available.

    The good folks which have been keeping it alive have abandoned it. Its competition
    Scroll Mouse and Mouse Star are poor substitutes.

    Please give this good old program a new life.

    Thanks for listening,
    Richard
      My Computer


  6. Posts : 1,436
    Windows 8.1 Pro x64
    Thread Starter
       #16

    Alright i will have to download it when i get home. its blocked here at tech school.

    I will try my best
      My Computer


  7. Posts : 571
    Windows 7 Home Premium x64
       #17

    rerice:
    Does this work in any program, once it is installed?
    I ask because there are solutions for browsers, and, of course, PDF readers already come equipped with this 'grab and drag' feature.
    Or is it not 'grab and drag'?
      My Computer


  8. Posts : 1,939
    Windows 7 Ultimate 64 bit Steve Ballmer Signature Edition
       #18

    OK... how about a program that will generate rainbow tables or dictionaries to be used with brute force hacks? White hat (pen testing) stuff only...

    There are a few out there but nothing that really excels! Output should be txt or lst format. User should be able to select # of characters, uppercase, lowercase, symbols, numbers, spaces, etc...???
      My Computer


  9. Posts : 4,663
    Windows 7 Home Premium 64 bit
       #19

    Hi. I think a picture resizer for this forum would be great. I often read a post and think "I've got a photograph that's just right for this, would be funny or appropriate" etc.
    I'm a keen photographer and most of my images are huge, whether tif. or jpg. The more editing you do in Photoshop the bigger the files get, so I have 45mb+ files sometimes.
    I usually forget about the size limit for attached photos, spend ages trying to upload and attach it to a post and then get an error.
    By that time the moment has passed and I've missed the boat on my post.
    I know I could resize all my pics in Photoshop but I have thousands and thousands.
    An automated converter/resizer for attachments would be great.

    Sounds a bit complicated I suppose, what do you think?
      My Computer


  10. Posts : 1,436
    Windows 8.1 Pro x64
    Thread Starter
       #20

    OK... how about a program that will generate rainbow tables or dictionaries to be used with brute force hacks? White hat (pen testing) stuff only...

    There are a few out there but nothing that really excels! Output should be txt or lst format. User should be able to select # of characters, uppercase, lowercase, symbols, numbers, spaces, etc...???
    You mean to be used against hacks?

    Hi. I think a picture resizer for this forum would be great. I often read a post and think "I've got a photograph that's just right for this, would be funny or appropriate" etc.
    I'm a keen photographer and most of my images are huge, whether tif. or jpg. The more editing you do in Photoshop the bigger the files get, so I have 45mb+ files sometimes.
    I usually forget about the size limit for attached photos, spend ages trying to upload and attach it to a post and then get an error.
    By that time the moment has passed and I've missed the boat on my post.
    I know I could resize all my pics in Photoshop but I have thousands and thousands.
    An automated converter/resizer for attachments would be great.

    Sounds a bit complicated I suppose, what do you think?
    That will require some research, but i will give it a shot.
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:32.
Find Us