Comments (6)
Yep, poor kitty. Another problem in BFLIMs. That's at least the fourth like that. I'll try to determine what it is. And for the first bug, it should be fixed in my next commit. Another time, thanks for help!
from 3dskit.
Problem found! Unlike the Kirby's one, the cat's frame has not a multiple of 8 width, so the last 8x8 tile of each line is not properly processed. Now, it only remains to find where the problem comes from...
from 3dskit.
I lazily avoided the problem by adding a few pixels to the image to get a multiple of 8 pixels widths. Now it should work better. This cat is saved!
from 3dskit.
Ha, I had just discovered that this produces a glitchy mess only when either the width or height of the input image isn't a multiple of 8, and came here to report it. Glad to see you found it first! It might be worth printing a message such as "Texture dimensions not a multiple of 8, padding to nearest multiple" just to inform the users what's going on.
Thanks for saving the cat!
from 3dskit.
I'm not sure this really solves the problem, though, because there are bflims in USUM that contain non-multiple-of-8 sizes, such as 180x300. They extract fine, so clearly they're valid, and they had to have been created somehow. It probably works for now, but it's still worth figuring out how the standard works for non-8-multiple images IMO.
from 3dskit.
I have not fixed the problem, it's an hacky workaround - if I really find the problem someday, I'll try to fix it, but i searched 2 hours long and i didn't find the bug.
from 3dskit.
Related Issues (20)
- BFLIM replacement in ALYT files results in a crash HOT 40
- Mini repacking: "3DSkit is currently unable to pack this format" HOT 4
- No support for unpacking BFFNT v4.1 HOT 6
- Error extracting nx_bffnt font ,I don't know why. HOT 10
- BFFNT OverflowError: signed integer is greater than maximum HOT 8
- Error unpacking new BFLYT Nintendo Switch HOT 18
- Error unpacking new BFLAN Nintendo Switch HOT 23
- Error packing new BFLYT Nintendo Switch HOT 3
- Extracting files inside exefs Nintendo Switch HOT 3
- bksnd support HOT 3
- No Support for packing BFFNT v4.1 HOT 25
- Error extracting .bflyt "KeyError: '__parent'" HOT 1
- packing BFFNT
- UnsupportedDataFormatError: Unsupported texture format RGB565 (104) HOT 52
- Dbz Supersonic warriors 2 .arc files not supported HOT 2
- Download link? HOT 1
- Add a way to extract and convert the formats in Tank Troopers
- Contributing HOT 4
- Show message if program is run without any arguments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dskit.