topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 26, 2024, 6:20 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - agentsteal [ switch to compact view ]

Pages: prev1 [2]
26
Post New Requests Here / Re: IDEA: Simple line by line truncator
« on: November 24, 2008, 06:09 PM »
* Whitespace is now deleted from the beginning of the line
* Ctrl-Enter now also copies the truncated text
I'm not sure what you mean by deleting the separated characters: do you mean that only the first word in each line is included or that the 2nd word is only included if it's not partially truncated?

29
Post New Requests Here / Re: IDEA: Simple line by line truncator
« on: November 23, 2008, 01:58 PM »
* blank lines are now erased
* Tab + Enter = Submit Button
* Ctrl + C = Copy to Clipboard Button
* Ctrl + N = Clear everything
* the length option is now editable
* Ctrl + A = select all in the text box
* When resizing window the text box inside now resizes
* trailing white space is now erased
http://agentsteal.110mb.com/LineTruncator.zip

31
Post New Requests Here / REQUEST: audio comparer
« on: November 09, 2008, 09:28 PM »
Could someone please write a program that takes two 1-second-long wav files and outputs a number that represents the difference between the sounds? It would output 0 if the samples are exactly the same. If the sounds are a good match it would output a small number but if they are very different it would output a large number. My goal is to be able to replace the sound during one second of an audio file with one of my own sounds, and have it sound as close as possible to the original.

32
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: January 09, 2008, 09:17 PM »
okay I just loaded a converted gedcom into Family Tree Maker and it worked, but it had thousands of errors, mostly these three:

Tag: DATE, subordinated to wrong item, line ignored.

Tag: DATE, invalid date: (±) 1786, line ignored.

Tag: CHIL, adding this individual as a child will exceed the maximum of 99 parents for an individual, parents are ignored.

33
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: January 09, 2008, 10:30 AM »
I think I found a problem... notes aren't working with any of my DFTs.

--edit: Actually a lot of stuff isn't converting... I don't think names are converting either.

34
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: January 09, 2008, 09:52 AM »
Wow amazing job this program looks so cool! I haven't really gotten a chance to test it yet... tonight I will try converting some files and comparing them to the original GEDCOMS. I tried converting a couple of my DFT files and it seems to have worked... except why is the Found Families is less than the Families? Anyway thanks again the program looks great!

35
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: January 08, 2008, 07:54 PM »
That's great! Thank you so much for making this program.

I thought that is how it was being done, where the famc is an index into the family array, but I wasn't getting it to work. I must be off somewhere, I'll have to go back and check how I am setting up the indexes.
So did you figure out how to do this?

The part where he is representing the month in base 16 was interesting..
What do you mean base 16?

The DFT compiler only supports a limited set of GEDCOM tags and the rest of the data it just ignores, so that data is gone.
Really? Like which tags?

The DFT compiler also combines some data like death/birth/baptized/married info into one string and I have done my best to parse it apart, by trying to match the date string with a regular expression that you can override from the command line, I get it right most of the time, but I'm sure a few oddball entries will get past.
Yea when I was looking at the source code I noticed that some of the information gets combined. A regex match would probably work without too many errors unless someone was deliberately trying to mess with the program.

My sample set is pretty small too.. I have the file you pointed me to, and a gedcom file I compiled and then de-compiled to test, so once people start using the program chances are there will be things I will need to fix here and there.
If you want I could send you the 19 DFTs I'm trying to convert. I don't have the original GEDCOM files though...

36
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: January 03, 2008, 02:32 PM »
As I said in my first post, the variables that link the individuals is the part I couldn't figure out.

I'm looking at the java source code... maybe this could help?
Code: Java [Select]
  1. public void loadAncestors(int i, int j)
  2.     {
  3.         if(j >= 1)
  4.         {
  5.             nodeList[treeNode].prefix = 0;
  6.             nodeList[treeNode].indiRef = i;
  7.             nodeList[treeNode].repaint();
  8.             treeNode++;
  9.             int k = j / 2;
  10.             loadAncestors(mData[pData[i].famc].husb, k);
  11.             loadAncestors(mData[pData[i].famc].wife, k);
  12.         }
  13.     }

Thanks again for working on this project

37
how did you throw that far..any tips??

Put the plane as high and as far left as it can go. Then take the mouse out of the game and move it around the page to the other side of the screen. Put the mouse back in the game about 2/3 down.

38
114.222m
rank 11217

39
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: December 24, 2007, 07:14 AM »
Hey hows it going is the program almost ready?

40
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: December 18, 2007, 03:53 PM »
That's great thanks!  ;D

41
The program works right? What was the problem with the Test folder?

No quotes. I'll add the Ctrl-C option and the folder creation.

42
Test contains landscape jpg files right?

Oh I think the extensions might be case sensitive. Are the files .JPG? If they are, try changing the extension option to JPG. If that's the problem I can make them case insensitive...

43
Okay try this one...
http://agentsteal.11....com/imagefinder.zip

1. Extract the archive.
2. Set the folders and options in the settings.txt file.
3. Double click on imagefinder.exe

44
Post New Requests Here / Re: IDEA: DFT to GEDCOM converter
« on: December 16, 2007, 09:37 PM »
Wow that would be great if we could finally get this done  ;D

I have the java source code for the DFTCOM2 applet viewer. It loads the information from the DFT data file into arrays. I have figured out how to read most of the information from the arrays, although some of it isn't parsed correctly for the GEDCOM format (ie: the dob is mixed with the place of birth) and the variables that link family members are pretty confusing.

If you know java, we could probably edit the DFTCOM2 program to parse the information from the loaded data file and save each individual and family in the GEDCOM format. I can send you a copy of the source code if you want to take a look at it.

Thanks,
agentsteal

45
If you want I can make a version that's easier to use.

To run the program:
1. Change the parameters at the top of the script to set the folders/options.
2. Save the script as a .php file.
3. Install PHP: http://us.php.net/ge...er.msi/from/a/mirror
4. Open a command prompt and say: php C:\directory\scriptfile.php

46
I made you a PHP script :Thmbsup:

Code: PHP [Select]
  1. <?php
  2.  
  3. $folder = './';
  4. $subfolders = true;
  5. $extension = 'jpg';
  6. $orientation = 'L';
  7. $copytofolder = 'C:/Images/';
  8.  
  9. if (!is_dir ($folder))
  10. {
  11. echo ($folder . ' doesn\'t exist.');
  12. }
  13. elseif (!is_dir ($copytofolder))
  14. {
  15. echo ($copytofolder . ' doesn\'t exist.');
  16. }
  17. else
  18. {
  19. getImages ($folder, $subfolders, $extension, $orientation, $copytofolder);
  20. }
  21. function getImages ($folder, $subfolders, $extension, $orientation, $copytofolder)
  22. {
  23. $files = opendir ($folder);
  24. while ($image = readdir ($files))
  25. {
  26. if (is_dir ($folder . '/' . $image))
  27. {
  28. if ($subfolders && $image != '.' && $image != '..')
  29. {
  30. getImages ($folder . '/' . $image, $subfolders, $extension, $orientation, $copytofolder);
  31. }
  32. }
  33. elseif (substr ($image, -1 - strlen ($extension)) == '.' . $extension)
  34. {
  35. list ($width, $height) = getimagesize ($folder . '/' . $image);
  36. if (strtolower ($orientation) == 'p' && $height > $width)
  37. {
  38. echo ('Copying ' . $image . '...');
  39. fwrite (fopen ($copytofolder . '/' . $image, 'w'), file_get_contents ($folder . '/' . $image));
  40. }
  41. if (strtolower ($orientation) == 'l' && $height < $width)
  42. {
  43. echo ('Copying ' . $image . '...');
  44. fwrite (fopen ($copytofolder . '/' . $image, 'w'), file_get_contents ($folder . '/' . $image));
  45. }
  46. }
  47. }
  48. }
  49. ?>

47
Post New Requests Here / IDEA: DFT to GEDCOM converter
« on: December 16, 2007, 02:08 AM »
A GEDCOM is a file that contains family tree information. GEDCOM files can be loaded into most genealogy software.
Here is the GEDCOM format:
http://en.wikipedia..../wiki/GEDCOM#Example

DFTCOM2 is a java program that converts a GEDCOM into a data file and shows the family tree in an applet.
http://www.dftcom2.co.uk/
Here is the DFT data file format:
http://www.dftcom2.co.uk/web/dftdbs.zip

Between 2003 and just last month, there have been many posts on the DFTCOM2 forum from people who have lost their original GEDCOM files and need a program to convert their DFTs to GEDCOM. However, the DFTCOM2 project was discontinued and no one ever made the converter.

This is a fairly simple project; it is mostly parsing information from one format to another and adding relationships between individuals. I was almost able to make the converter myself, but the numbers that determine the relationships are confusing. However, completing this project wouldn't take more than a day and would help a lot of people recover their family trees.

Pages: prev1 [2]