Jump to content


  • Content Count

  • Donations

  • Joined

  • Last visited

  • Days Won


Gwendalin last won the day on April 12 2017

Gwendalin had the most liked content!


Profile Information

  • Gender
  • Location
    In the back of your mind whispering dirty things

Recent Profile Visitors

1,014 profile views
  1. Tell me that you adore me!

  2. Gwendalin

    Boy I love fire season!

    It is much worse than what my camera picked up. there are flames all around us. Practically all of Malibu is evacutated and in fire.
  3. Gwendalin

    The Dysfunctional Family Reunion

    Heya Crazy, Tis I. I still lurk in the shadows and make my presence known from time to time. Glad to see you are still around as well! I hope you are doing well. ^.^
  4. Gwendalin

    I'm back!

    I think i remember you... didn't someone or you change your name from Dog to god at one point? It's been so long my memories are a little fuzzy.
  5. Gwendalin

    The Dysfunctional Family Reunion

    Sorry guys... i will most likely not be able to make it. I will be on my lengthy commute home at that time. If i have time after i get home i'll see if i can swing by, but dont wait up for me.
  6. Gwendalin

    Introduce Yourself Thread!

    Welcome Yanz. I miss my Acolyte and Priestess I ran a Ragnarok server for quite a while, and programed some casino scripts for it.
  7. Gwendalin

    XML question

    not working... i get this error "Additional information: Object reference not set to an instance of an object." It displays the correct information for the first entry in the xml file, and then breaks. in this section. The dEntries.add(data); is highlighted. if (data != null) { MessageBox.Show("Switch Name: " + data.Name + " Crc: " + data.CRC); dEntries.Add(data); } if i comment that out it will display all the entries in the xml correctly, but it then breaks in the second if (data != null) part when adding the data.
  8. Gwendalin

    XML question

    Thanks Panda, I'll give this a try! I appreciate your help!!!
  9. Gwendalin

    XML question

    Can you give me an example... Im not following. This always happens... i start off good, then try to add or change something to try to make it easier, then get stuck on something that should be pretty simple and get discouraged.
  10. Gwendalin

    XML question

    I thought that since I store the values into the list before changing the value a second time, it would just add a new entry with the new value. Since im overwriting the data, shouldint i only have one entry in my list. Why does it create the correct amount of entries, but overwrites the value in the list, when i'm not accessing the list data? i want it to read through the xml file, and grab the <game Name> attribute, and the <crc> attribute. I need to store that data as a pair in an array or list that i can iterate through later and put into my grid, that i have in my previous post. I want to store that data that is shown in the two messagebox images above into a list. read xml.. create object with .name, and .crc property store object in a list object 1 = obj1.name = "game1" | obj1.crc = "crc value" object 2 = obj2.name = "game2" | obj2.crc = "crc value" etc....
  11. Gwendalin

    XML question

    each entry shows correctly with the first messagebox. the second messagebox shows the brick wall 9 times.
  12. Gwendalin

    XML question

    here is what the xml doc looks like. <?xml version="1.0"?> <menu> <header> <listname>Creatronic Mega Duck</listname> <lastlistupdate>03/06/2016</lastlistupdate> <listversion>1.0</listversion> <exporterversion>HyperList XML Exporter Version 1.3 Copywrite (c) 2009-2011 William Strong</exporterversion> </header> <game name="Arctic Zone (Europe)" index="true" image="a"> <description>Arctic Zone (Europe)</description> <cloneof></cloneof> <crc>f88f2d25</crc> <manufacturer>Commin</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Commin 5 in 1 (Europe)" index="true" image="c"> <description>Commin 5 in 1 (Europe)</description> <cloneof></cloneof> <crc>ff0da355</crc> <manufacturer>Commin</manufacturer> <year>1993</year> <genre>Miscellaneous</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Magical Tower (Europe)" index="true" image="m"> <description>Magical Tower (Europe)</description> <cloneof></cloneof> <crc>98694021</crc> <manufacturer>Sachen</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Mega Duck 4 in 1 Game (Europe)" index="" image=""> <description>Mega Duck 4 in 1 Game (Europe)</description> <cloneof></cloneof> <crc>8046ea70</crc> <manufacturer>Sachen</manufacturer> <year>1993</year> <genre>Miscellaneous</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Pile Wonder (Europe)" index="true" image="p"> <description>Pile Wonder (Europe)</description> <cloneof></cloneof> <crc>61c81e06</crc> <manufacturer>Commin</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Railway (Europe)" index="true" image="r"> <description>Railway (Europe)</description> <cloneof></cloneof> <crc>2bb6aeb9</crc> <manufacturer>Sachen</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Street Rider (Europe)" index="true" image="s"> <description>Street Rider (Europe)</description> <cloneof></cloneof> <crc>74c3377f</crc> <manufacturer>Commin</manufacturer> <year>1993</year> <genre>Driving</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="Suleimans Treasure (Europe)" index="" image=""> <description>Suleimans Treasure (Europe)</description> <cloneof></cloneof> <crc>cd2730ac</crc> <manufacturer>Commin</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> <game name="The Brick Wall (Europe)" index="true" image="t"> <description>The Brick Wall (Europe)</description> <cloneof></cloneof> <crc>58efe338</crc> <manufacturer>Timlex International</manufacturer> <year>1993</year> <genre>Action</genre> <rating>HSRS - GA (General Audience)</rating> <enabled>Yes</enabled> </game> </menu>
  13. Gwendalin

    XML question

    Can someone help me with this. I'm trying to create a list of data that contains a name+crc entry each time it comes up in the xml. I've been having trouble getting the name and crc to match up as the xml is being read, but i finally have them matching. The messagebox before i add the object to the list displays the correct data. So I would assume that the object i'm adding to the list is correct. Before i return the list i am checking my list and stepping through each entry. The problem is it seems like only the last entry in my xml is in my list. I have 9 xml entries, and the foreach shows the last xml entry 9 times. So the xml is reading correctly. I am able to display each name+crc property correctly in the first messagebox... it displays 9 different entries. When i add it to the list, it does add 9 items, but when i display them, they are all the last name+crc entry recorded. here are two of 9 entries... the second messagbox in my code only shows the commin 5 in 1 entry 9 times. I hope i explained that ok. class XMLData { private string name; private string crc; private string database; private List<XMLData> dEntries; public string Name { get { return name; } } public string CRC { get { return crc; } } public XMLData(string directory) { database = directory; dEntries = new List<XMLData>(); ReadXML(); } private XMLData() { } private List<XMLData> ReadXML() { using (XmlReader reader = XmlReader.Create(database)) { while (reader.Read()) { if (reader.IsStartElement()) { switch (reader.Name.ToString()) { case "game": this.name = reader.GetAttribute("name"); break; case "crc": this.crc = reader.ReadString(); MessageBox.Show("Name: " + this.Name + " Crc: " + this.CRC); dEntries.Add(this); break; } } } } foreach (XMLData x in dEntries) { MessageBox.Show("for Name: " + x.Name + " Crc: " + x.CRC); } return dEntries; } }
  14. Gwendalin

    XML question

    Yay! This is the first thing I've programed in like 4 years. I did steal some code... all of the CRC code, but I'm excited with what I have done considering I haven't looked at code in forever. It is to help me organize my rom collection. Over the years i have downloaded multiple copies of different systems and I know that a lot of them are the same file just named differently. I was going through my directories manually to clean them out but some systems have thousands of games, and that would take me forever. I know there are utilities to clean a single folder, but i have not come across anything that will compare to directories together. This program will read two folders, and give me the crc of each file in the folder. It also reads the XML database of the frontend I'm using. This way i can see if i have duplicate files in the two drives, and see if my roms are named correctly with my frontend and have the same crc. Next i have to sort the table so the files will match up with the database name and crc, and have the files in the directories match up if they have the same crc so i can tell if i have a duplicate. After that I'm going to try to add in auto deleting of duplicates. Unfortunately it is an ugly program, and i dont have any error checking so it is easily breakable, but maybe i'll fix that later. i did break something recently when i was messing with adding the xml code, so my data is not correct in this screen shot, but it was working earlier.
  15. Gwendalin

    XML question

    Thanks Panda, i realized that right after I posted my code.