Trying to rebuild 1.3 fake console assets
Posted: Mon Oct 19, 2015 3:10 am
After noticing something, I had a new idea; the ability to add fake console assets as part of new mods, without actually having the original assets (as they have been lost) or using the compiled .lvl files included from the official patch release.
First I was messing around with the .lvl file extractor, I don't remember who made this tool because I downloaded it a very long time ago and I always throw away readme files.
I ran the .lvl extractor on the 3 files replaced by the 1.3 patch; ingame.lvl, shell.lvl and common.lvl
So now I have a .lub file that's the name of each script file from the 1.3 files, example; fakeconsole_functions.lub, utility_functions2.lub, etc.
Note: Will be ignoring texture files in this post as scripts is the important part of making fake console what it is.
Then I noticed:
The extracted .lub files are the exact same as the premunged files that get created after a first time munge, located in:
C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC
Example; ifs_fakeconsole.lub(an extracted file) is the same as ifs_fakeconsole.script located in the premunged folder after a first time munge.
The only difference being the file extension name.
So then I took all of the .lub extraction files, and renamed them in the .script extension, then copy/pasted and replaced them over the matching files in C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC
At this point I'm thinking that I am going to fool the munger into thinking the extractions from the official patch files are the premunge files that it made from first time munge. The next thought is that the second time munge will add the 1.3 patch items along with the standard Battlefront 2 assets as it makes new .lvl files - therefor giving us 1.3 fake console patch additions. My personal goal with this is to get Fake Console menu on the PS2 version of swbf2.
Anyway, when I do the second munge, I get some weird error about fakeconsole_functions.script located in
C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC is not a valid UCF Binary file
And it's not just this file.
If I remove that one specific file, it presents the same error on other files. It only presents the error on files that were replaced by 1.3 patch extractions.
I'll see if I can fix this and post more progress but any help/thoughts would be super great!
Edit: Yes, I added the 1.3 patch-specific items to the .req files for shell, common and ingame so I know they're getting called in.
First I was messing around with the .lvl file extractor, I don't remember who made this tool because I downloaded it a very long time ago and I always throw away readme files.
I ran the .lvl extractor on the 3 files replaced by the 1.3 patch; ingame.lvl, shell.lvl and common.lvl
So now I have a .lub file that's the name of each script file from the 1.3 files, example; fakeconsole_functions.lub, utility_functions2.lub, etc.
Note: Will be ignoring texture files in this post as scripts is the important part of making fake console what it is.
Then I noticed:
The extracted .lub files are the exact same as the premunged files that get created after a first time munge, located in:
C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC
Example; ifs_fakeconsole.lub(an extracted file) is the same as ifs_fakeconsole.script located in the premunged folder after a first time munge.
The only difference being the file extension name.
So then I took all of the .lub extraction files, and renamed them in the .script extension, then copy/pasted and replaced them over the matching files in C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC
At this point I'm thinking that I am going to fool the munger into thinking the extractions from the official patch files are the premunge files that it made from first time munge. The next thought is that the second time munge will add the 1.3 patch items along with the standard Battlefront 2 assets as it makes new .lvl files - therefor giving us 1.3 fake console patch additions. My personal goal with this is to get Fake Console menu on the PS2 version of swbf2.
Anyway, when I do the second munge, I get some weird error about fakeconsole_functions.script located in
C:\BF2_ModTools\data_MOD\_BUILD\Common\MUNGED\PC is not a valid UCF Binary file
And it's not just this file.
If I remove that one specific file, it presents the same error on other files. It only presents the error on files that were replaced by 1.3 patch extractions.
I'll see if I can fix this and post more progress but any help/thoughts would be super great!
Edit: Yes, I added the 1.3 patch-specific items to the .req files for shell, common and ingame so I know they're getting called in.