ROM Hack RELEASE Final Fantasy X/X-2 & XII Unpack/Repacker

kiyafox

Well-Known Member
Member
Joined
Oct 20, 2020
Messages
270
Trophies
0
Age
31
XP
487
Country
United States
hello im trying to port a mod i made for the pc version to the switch for ffxii
. i know i need to extract the vbf from the nsp but i lost the nsp and forgot how to get it back, i also need to figure out how to get just the vbf's from it.
 

Benkat

Member
Newcomer
Joined
Jul 21, 2020
Messages
5
Trophies
0
Age
42
XP
174
Country
France
Hello, i'm trying undub FFX on PS4
I replaced the US files with the JP ones and renamed each file but it didn't work.
I need to copy the JP folder, but how do I force it?
 

Stellar

Well-Known Member
Member
Joined
Jul 20, 2014
Messages
210
Trophies
0
XP
1,806
Country
Portugal
That you can share this mod without legality being questioned (since by repacking you will upload file also with unmodified assets which is a no-no on mod sites).

And since this is an old thread - I have managed to repack PATCH file to put whole Polish translation, I don't remember now why it didn't work before.

I hope it's okay to revive this thread with questions.

Let's say I pack MyMod.vbf with this tool's pack function, will the game see these files?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,307
Trophies
3
XP
12,101
Country
Poland
Let's say I pack MyMod.vbf with this tool's pack function, will the game see these files?
No. And there are 2 main issues with this approach:
1. Game accepts by default only 2 VBF files with hardcoded names.
2. Some files are checked against "filesizetable_nx_us.fst" in case of English language and if uncompressed size doesn't match table, game hangs. Issue is that we don't know all files listed there, there are no names to figure it out. Polish translation mod for PC had 2 files that were listed in that table and ffgriever figured out where to patch table, the same way he helped me figure out what to patch on Switch. And those tables are different on PC and Switch.
 

Stellar

Well-Known Member
Member
Joined
Jul 20, 2014
Messages
210
Trophies
0
XP
1,806
Country
Portugal
No. And there are 2 main issues with this approach:
1. Game accepts by default only 2 VBF files with hardcoded names.
2. Some files are checked against "filesizetable_nx_us.fst" in case of English language and if uncompressed size doesn't match table, game hangs. Issue is that we don't know all files listed there, there are no names to figure it out. Polish translation mod for PC had 2 files that were listed in that table and ffgriever figured out where to patch table, the same way he helped me figure out what to patch on Switch. And those files are different on PC and Switch.
I used this tool 2-3 years ago to successfully install 2 simple mods via layeredFS by just putting them in the patch file. I don't remember if I packed or repacked, but it worked.

I was going to see if I could get lucky again and test another mod, but I just wanted to understand what the benefit of packing vs repacking might be.

Earlier you said it's so people can distribute mods without including vanilla game files, but how could that be the case if the game only sees FFXII_TZA.vbf and FFXII_TZA_PATCH.vbf?

If I were to pack a vbf from scratch and give it the FFXII_TZA_PATCH.vbf name but ONLY included my mod files, wouldn't that prevent the game from loading the files from the actual patch? I would be effectively uninstalling the patch to load modded files, right?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,307
Trophies
3
XP
12,101
Country
Poland
If I were to pack a vbf from scratch and give it the FFXII_TZA_PATCH.vbf name but ONLY included my mod files, wouldn't that prevent the game from loading the files from the actual patch? I would be effectively uninstalling the patch to load modded files, right?
yes

Earlier you said it's so people can distribute mods without including vanilla game files, but how could that be the case if the game only sees FFXII_TZA.vbf and FFXII_TZA_PATCH.vbf?
Make a mod loader that will remove this limitation. But nobody did, so PACK is good only if you want to add more files to PATCH than actually there are.
 
  • Like
Reactions: Stellar

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    Oh God no :ohnoes:
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pineapple is the safe word?
  • Psionic Roshambo @ Psionic Roshambo:
    But you said pine apple...
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
    BigOnYa @ BigOnYa: Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog: