Jeff D
03-15-2005, 03:05 AM
I may be barking up the wrong tree, but in the interest of learning I'm experimenting.
I've got some resources on one of my dtivos (hdvr2) that are giving me the no bg video for menus. I've been looking into the cause and how to remedy the problem.
What I've found is that there are some .mpv files that have no size, or very little size. 32 bytes to be exact. So, I've created a resource dump using ADH's resource_dump technique on my good and bad dtivos. This is how I found the difference in some of the files. I then took the resource.tgz file on the bad the bad dtivo and uncompressed it to /tmp. I then replaced the bad files with good versions from the other dtivo.
I edited the create_resources.tcl file to only try to work on the .mpv files, I should edit it more to only add the ones I care about, but I didn't do that first pass...
What I'm getting is failure to create resource, I assume this is because one already exists. I'm not a scripter, I don't know tcl nor pearl, so the code makes sense, but I'm not able to figure out what to do on my own here.
Can I delete a resource? I thought I had read there's some delete command, but I can't find it searching. I searched for delete resource and no hits.
Is it possible, or can I change the create resource tcl file to overwrite existing files?
I've got some resources on one of my dtivos (hdvr2) that are giving me the no bg video for menus. I've been looking into the cause and how to remedy the problem.
What I've found is that there are some .mpv files that have no size, or very little size. 32 bytes to be exact. So, I've created a resource dump using ADH's resource_dump technique on my good and bad dtivos. This is how I found the difference in some of the files. I then took the resource.tgz file on the bad the bad dtivo and uncompressed it to /tmp. I then replaced the bad files with good versions from the other dtivo.
I edited the create_resources.tcl file to only try to work on the .mpv files, I should edit it more to only add the ones I care about, but I didn't do that first pass...
What I'm getting is failure to create resource, I assume this is because one already exists. I'm not a scripter, I don't know tcl nor pearl, so the code makes sense, but I'm not able to figure out what to do on my own here.
Can I delete a resource? I thought I had read there's some delete command, but I can't find it searching. I searched for delete resource and no hits.
Is it possible, or can I change the create resource tcl file to overwrite existing files?