Main > Main Forum

My serial LCD for displaying directions

Pages: << < (30/39) > >>

Silver:

These LCD's are superb....

I've knocked together a little VB app that will scan controlsdat and listinfo XML files and make a bunch of lcd files based on the contents of your rom folder.... but is still early days for me in the land of VB speaking to XML.

It seems works fine (although only tested on about 15 roms in a dir) - the end files display fine on the LCD. However, it seems to eat up a monster 150 megs of ram when running (listinfo.xml is 20 megs, controlsdat.xml about 0.5meg) - anyone have any tips to parse xml from vb6 without loading the xml first?

Cheers for any help,
Silver

maraxle:

I had my version of that program read it line-by-line like a text file, rather than truly parsing it.  It's potentially slower, and definitely not the most clean way of doing things, but it's certainly less memory-intensive.  Plus the whole program was only 15-20 lines of code.  It was tested on 500 or so roms in a directory.

Silver:

aha.  well you live and learn - I was going nuts trying to figure out all this Xpath expressions....

maybe I'll try that way and see how it goes. Out of interest how long did it take doing 500? Mind you I suppose the disc cache negates any advantage of loading it all first.... Hmmm.

Still - if it works it works. ;-)


bioart:

I got my backlight kit today... taking off the film on the screen was a major pain in the neck, but 20-30 minutes later, it was out and clean... (hint, use lots of windex :))  

Anyways, it looks great!  I'm going to work on the program now :)  I just need to get my XML parsing to a better point...

Art

Silver:

I'd like to get mine backlit too.... although the kits seem very pricey, and can't find any in the UK.....

anyway, you would be welcome to use my prog if you want - although I have now found a bug trying to run it on a larger roms dir. Once I sus that I will probably stick it up for d/l. (so long as no one has a go at my sketchy VB and horrendous mem usage!)

Pages: << < (30/39) > >>

Go to full version