Comments (25)
Congratulations : you found a new version ^^"
If you don't mind I'll first finish the BFFNT stuff and then i'll try to fix that. But thank you very much for your contribution !
from 3dskit.
It would be very difficult to keep a quick made extractor in the BFFNT module. So this is what i'll do :
- a BNTX extractor. The BFFNT extractor will just extract the BNTX section, and then call the BNTX extractor
- Then a BNTX packer to rebuild them
- And finally the full BFFNT packer that will call the BNTX packer
It may be a bit longer, but it's necessary to keep the consistency of 3DSkit, and just to rebuild correctly the files.
from 3dskit.
Thanks for your commitment!
Unfortunately I'm a newbie on this and not know very much. Would like to help...
@masagrator helped me a lot. Just as you have helped a lot of people too and me.
When finish let us know. And we can ends ours projects. Thanks!
from 3dskit.
Don't try to run it from python command line. Just put this whole line to cmd with python at the beginning
from 3dskit.
That's because the BFFNT packer is not released yet ^^
Don't know why did i put this in the Readme so early...
from 3dskit.
Thanks for agile answer, congratulation for your commitment. I'm waiting for the launch of this feature, so I finish the translation of the game. I would like to be able to help you implement, but I do not know much about python. I'm available for whatever I can help. Thanks so very much.
from 3dskit.
I see that this was for many months in readme. Is this feature progressing or not?
I would be happy for every to->BNTX or to->CMAP converter.
from 3dskit.
I develop 3DSkit on my free time...
And the problem is that i don't have free time.
So i try to answer to issues as fast as i can, but i can't work on this as fast as i'd like. Making a module is quite complicated, as it is not always well documented, so i have to document, program, test, re-program, ... And BFFNT is one of the most complicated formats i worked on.
Anyway, don't know why this was in the Readme.
I'll try to do that, and as always any help is welcome for other formats ^^
from 3dskit.
Just a few news : the BNTX packer is on the way, i'm just struggling with texture compression but it should be done today or tomorrow.
from 3dskit.
Regarding the BNTX extractor:
3DSkit.py -xf BNTX __Combined.bntx -v
--------__Combined.bntx--------
No compression
BNTX file found
Extracting...
File version : 0.4.1.0
Extracting texture BalloonTipShdw^s, element 0
0
Extracting texture BalloonTip^s, element 0
0
Traceback (most recent call last):
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\3DSkit.py", line 249, in <module>
result = main(args, opts)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\3DSkit.py", line 169, in main
extract_files(filename, args.big, args.format, args.verbose, opts)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\3DSkit.py", line 112, in extract_files
unpack.extract(filename, file, format, endian, verbose, opts)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\unpack\__init__.py", line 16, in extract
unpacker = cls(*args)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\util\utils.py", line 18, in __new__
return self.main(*args, **kwargs)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\unpack\BNTX.py", line 59, in main
texmeta.append(self.read_texture(data, brtioffset))
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\unpack\BNTX.py", line 159, in read_texture
libkit.extractTiledTexture(indata, out, width, height, format, swizzle_value if tilemode == 0 else -1, self.byteorder == '<')
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\py3DSkit\graphx.py", line 367, in extractTiledTexture
_extractBC4Texture(input, output, width, height, format, swizzlesize, littleendian)
File "K:\NSW\Themes\Very nice theme\tools\clean_3DSKit\py3DSkit\graphx.py", line 360, in _extractBC4Texture
output[outpos] = output[outpos + 1] = output[outpos + 2] = lum
IndexError: index 572 is out of bounds for axis 0 with size 572
The file is from the ResidentMenu
of the Nintendo Switch
https://drive.google.com/file/d/1aJUnRfWBK6dARm-vLyI0Y_XP3Iviv8rS/view?usp=sharing
Excuse me if I reported this too soon, or it might be
currently only extracts uncompressed 2…
from 3dskit.
The BNTX packer is seemingly working, now i start the BFFNT packer ^^
from 3dskit.
Very good and congratulation for your work. I was job travel, and now go test.
from 3dskit.
Pfff... Really sorry for the wait, no time at all this month...
Anyway, it works quite well, just a few things to fix and it should be done
from 3dskit.
So....
Finally it's committed, you can try if it works ^^
from 3dskit.
Good new. Can you share bffnt repack tools?
from 3dskit.
They are already in the repo, just pull it ^^
from 3dskit.
Oh, nice. Thank you. I want to edit zelda botw and wind waker hd fonts. This bffnt script its work on Wii U games?
from 3dskit.
Why give me error script?
SyntaxError: unexpected character after line continuation character
from 3dskit.
Can you build this tools?
from 3dskit.
This is python script. What you want to build?
I will test it in couple of days on Super Mario Party fonts.
from 3dskit.
I want bffnt unpack repack fonts. But script give me error for unpack.
Example Zelda wind waker hd fonts: https://www94.zippyshare.com/v/4JOtjm8y/file.html
from 3dskit.
For me your WiiU bffnt is extracting normally, json is good, but textures are broken.
python 3dskit.py -x -O origin=CAFE CKingMain.bffnt
from 3dskit.
Thanks but where is the problem?
https://prnt.sc/nv28fl
from 3dskit.
Currently it only repacks Switch fonts, but i'm working on WiiU ones.
I'll take a look at your file ^^
from 3dskit.
Thanks but i cant unpack. Can you make tutorial video for unpack and repack?
Thanks for everything.
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
- 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
- Error unpacking ALYT files HOT 2
- Show message if program is run without any arguments HOT 1
- BFLIM unpacking/repacking of non-multiple of 8px images results in weirdly distorted images HOT 6
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.