xan1242 / TFCardEditGUI

Tag Force CardInfo Editor GUI - frontend for a card database editor
MIT License
12 stars 1 forks source link

TF2+ Compatibility #2

Open Junins opened 1 year ago

Junins commented 1 year ago

Does the program not support TF2+ due to huffman compression? Someone named matheuscardoso96 made a program called YGTool, this program can decompress and compress the card descriptions from TF2-TFS. You can check out his code and see if it will help.

xan1242 commented 1 year ago

If the sources are available I'd be happy to take a look!

I've actually made some working prototype code for decompression (based on the game code directly) but not much more than that.

Currently it's not just huffman compression, but also the card property bitfields are different (shouldn't be too hard to figure out). I've actually done it in a bit of a wrong way in here (with bit shifting instead of actual bit fields) so I'll rework those into proper structures as well which should make it work for others.

In any case, any help is appreciated! I'd love to get it finally working for the newer games! (So we could have card mods or randomizers!)

Junins commented 1 year ago

Nice, I hope Matheus's program can help you! ChrisFand showed me your project and I'm really excited to see how far this can go! https://github.com/matheuscardoso96/YGTool

1158191255 commented 2 weeks ago

Nice, I hope Matheus's program can help you! ChrisFand showed me your project and I'm really excited to see how far this can go! https://github.com/matheuscardoso96/YGTool

Oh, The readme file for this project is written in Portuguese, which is very rare.