ObsidianX / 3dstools

Tools for extracting and packing resources found in 3DS games
51 stars 15 forks source link

PNG to BFLIM list index out of range #15

Open RobN-Hood opened 7 years ago

RobN-Hood commented 7 years ago

I've tried using bflim.py to convert PNG to BFLIM, but it returns this error: IndexError: list index out of range

Tyulis commented 7 years ago

Can you give the full error (line...) and, if possible, send the BFLIM file?

RobN-Hood commented 7 years ago

I've forgotten how I produced that error, I keep getting this:

bflim.py: error: the following arguments are required: bflim_file

After somehow fixing this error I got the error I wrote about above. Could it be because I'm using a Wii U file, and this tool was built for 3ds?

Tyulis commented 7 years ago

If you use it with a WiiU file, you have to use the -b option (because of the byte order) For the error you got it your second comment, this is because you have to give the output name (-c image.png image.bflim) If this does not fix the problem, can you give the full error (something like: file "bflim.py", line X in )?

Tyulis commented 7 years ago

Does it works?

RobN-Hood commented 7 years ago

Hello, sorry for the delay in writing, it still gives me the same error.

It doesn't give an error line or anything, it just displays the usage message and the message from my previous comment.

I've recently found a program made for replacing Wii U BFLIM files, so I think I will just use this one for what I'm trying to do.

Thank you for your help.