PDA

View Full Version : D2toTGA....?


HueMann
04-29-2007, 14:30
Hey Maxst,

you know how when you run d2totga it displays a list of the pictures including all of their info.

Is there a way to save that info as a "pictable.txt" for later viewing?

Also, Would it be hard for you to progam d2totga to create a new bin based on the "pictable.txt" in so doing creating a much smaller bin for flashing which only includes the addresses of the pics(tga) replaced and not every pic in the whole bin...?

If this were possible we could replace any pic we like without desturbing earlier replacements. This would open up the possibility for people to pick and choose what they would like to replace as well...

MaxSt
04-29-2007, 15:43
I'm not sure what you mean but here's how it works:

The second program, TGAtoD2, puts back pictures based on their number. So not all pictures have to be replaced. If let's say someone posted better img123.tga and img321.tga images, you just download them, and run the second program, that's all.

TGAtoD2 will work correctly, it will replace only two images - image #123 and image #321 (based on their order in the firmware).

HueMann
04-30-2007, 05:36
How could it work by replacing the number (img259.tga) the program must know where in the bin to place the pic - 1e0435 to 1e1879 = img259.tga for example.

I'm no programmer and I'm sure you know how your program works. I'm just going off my experience with modding cell phones and how the software I used for that worked.

So what would be nice is if your program could create a bin which only flashed the address of the pic at hand. Then we could create files like "fw345-main_menu-theme_name.bin" or "fw345-battery-theme_name.bin"

just a thought

MaxSt
04-30-2007, 11:34
How could it work by replacing the number (img259.tga) the program must know where in the bin to place the pic - 1e0435 to 1e1879 = img259.tga for example.

The number is an order in which that image appears in the resource file. The program scans the resource file, and enumerates images from the first to the last. That's how it finds the place to put the particular image.

So what would be nice is if your program could create a bin which only flashed the address of the pic at hand. Then we could create files like "fw345-main_menu-theme_name.bin" or "fw345-battery-theme_name.bin"

I don't get it. Let's say you have these smaller bin files. But what you suppose to do with them?

HueMann
04-30-2007, 13:36
well, in this way you could choose to flash just your battery or menu icons for example with the mod of choice. If we could make a flash file of only the images of choice you wouldn't have to have a backup bin which you yourself have to make and keep safe.

This would help the others who don't have much computer skill to be able to mod their players with ease.

I guess what I'm trying to say is if I upload a bin for all to enjoy then that bin will have all my work and nothing more in it. If somebody else uploads a bin it will have their work and nothing more... If this bin is a complete graphics bin then any changes you get by flashing my bin will be erased by flashing the other bin to your player.

Like you pointed out, we could upload the pics for all to use but again, for those who may find it a little difficult to start your program in dos may enjoy downloading a "small bin" which only replaces the image of choice.

HueMann
04-30-2007, 13:43
As for the list I see when I run d2totga! How do I see the complete list???
I can only scroll back so far as to see img217.tga

I would love to see the whole list..... The info about bit color for example could be why many of our pics do not want to work for us.... Some are 16bit, another 24bit then I also see 32bits. .. With the list I/we can check the list and save the image correctly.

MaxSt
04-30-2007, 14:21
If you mean putting the smaller bin in the player, I don't think D2 will accept it.

If you mean uploading it to others, then ou can simply ZIP the images you changed, and upload the archive.

for those who may find it a little difficult to start your program in dos

Well, they don't have to use a Command Prompt. Double-clicking on .exe file is not difficult at all.

I would love to see the whole list..... The info about bit color for example could be why many of our pics do not want to work for us...

You don't need that stuff. Just save images as uncompressed 32-bit, and everything will be fine.

HueMann
04-30-2007, 14:48
double clicking doesn't work for me......?

and now with the new firmware *I'm getting an error when trying the tga switch. "error 3"

MaxSt
04-30-2007, 15:49
double clicking doesn't work for me......?

Then you doing something wrong.

and now with the new firmware *I'm getting an error when trying the tga switch. "error 3"

Make sure you do NOT save the images as 16-bit, and do NOT change the image height/width.