Hacking [Tool] Bandai Namco's L7C Archive Tool

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,612
Country
New Zealand
Thanks for the tools, glad to see can compress/decompress .bin files, can now port Taiko V/IM@S songs to the 3DS Taiko Titles, already ported 2 songs over while testing, potentially opens up porting 3DS to VITA, should be possible, not tried working out the VITA audio format yet, might look into when DLC is finally working in dumped version of Taiko V.
 
  • Like
Reactions: Nagato

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,612
Country
New Zealand
Hadn't actually tried this before but now that I have use for it I did.

psvita-l7ctool doesn't seem to be compressing .bin files at all? I was trying to compress a file and didn't seem to do anything, I decided to take a .bin file straight from Taiko V and decompress that and recompress, not working correctly :(
 

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,612
Country
New Zealand
The decompression mode of psvita-l7ctool is only for the TXP files. They have a specific format that includes the filesize in the header.

The tool should be automatically decompressing any data it dumps if you're using x mode, though. If you see a message at the beginning when you start it saying that it's an unsupported archive type, then it will dump raw data which seems to be in another compression format that I don't know and I most likely won't support.

Hmm psvita-l7ctool mentions the .bin files specifically though when looking at all its commands so thought it was made for those, it makes no mention of unsupported archive type, decompress the files found in" "_data\fumen" perfectly, they are essentially the songs note chart and work great ported back over to the 3DS version.

I was trying to port a 3DS song over but since those .bin files aren't getting compressed looks like I'll be at a dead end, game won't take an uncompressed format.
 

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,612
Country
New Zealand
.bin is just a generic extension.

All files should be getting compressed when you recreate the archive using the 'c' command. The tool will compress it automatically.
If it's not working then it's for another reason and most likely not the tool I think.

Fair Enough, thought would just have said .txp if only works on those.

Those .bin files come out of the L7C still compressed I have to run "psvita-l7ctool d input.bin output.bin" on them which works great, I just tried packing them back into a L7C but they don't get compressed.
 
Last edited by DarkSynopsis,

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,612
Country
New Zealand
The tool *does* compress then when you use 'e', but it's a lazy compression. It's basically a fake compression which doesn't use any of the advanced features of the compression algorithm.

So, if the data doesn't work when you use the 'e' command, then it probably still isn't the tool I would assume.

Oh Awesome, so it does work in-game, should have tested first but since the file size didn't change I assumed it didn't work, well back to work I go :)
 

onepiecefreak

Kuriimu 2 Developer
Member
Joined
Aug 12, 2015
Messages
526
Trophies
0
XP
1,755
Country
Germany
I made a Pull Request to this tool that adds the mentioned different compression scheme from Tales of Hearts R. Though I assume the tool as well as the OP are kinda inactive. Just letting you know.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo