Haldi wrote:
chris686 wrote:
So... this thread is really scattered. Any chance someone in the know could do a write up and consolidate the information in a new topic or have an admin update the original post?
I'd potentially take a stab at an automated patcher. It doesn't look like it would be that difficult. I scanned through some of the GUI files and they're just SWF files, so doing some sort of batch decompile/edit/recompile makes a lot more sense than manual editing.
Definitely.
Especially since a patcher allows for 21:9, 16:3 or PLP Resolutions to work.
But you think you can get a patcher to work that does background decompiling of .ba2 modify all .swf files correctly, repack them into a .ba2 and modify the .ini file ?
Afaik only Jpex flash editor works with this .swf files.
I'm sure Erkboi and Ci7rus and I could try to write down all changes we did.
I would definitely put together a list.. but like Haldi said JPEX is the only way to go as far as I can tell. I've tried others and they either lack MANY options that JPEX has or I was in WAY over my head. I decompiled one of the swfs and opened it in Adobe Flash Pro CC... I couldn't figure out how to make that program do much LOL. I didn't try for very long though.
However the gist of it is changing the header file to match your res based on 1280x720 (ie. 5760x1080 is 3840x720) and then start playing.. you will find that some of the HUDs/menus will be the right size but not centered and will be all the way to the left side so you have to manually center the elements in the swf.. a little trial and error and you will figure out a formula/pattern for moving them. Just remember everything is in twips (pixel*20). Then it's onto the green boxes.. scaling/realigning the ones you can and or setting their scaling to 0,0 to get rid of them.
Some of the green boxes are static and those are the ones that are easy to scale/realign. Some of them are not static and are done with a shader which I've yet to figure out how to fix their scale much less align them. You can turn off the shader for some in the ac scripts.. but some of the swfs will fail to run and just crash the game or not appear in-game after modifying them with JPEX.. JPEX does say script editing is experimental.
I have done some more playing around with the swfs and have the main menu green boxes the right size and where they should be and also scaled the green background on the compass on the HUD. I'll upload an updated ba2 when there is a little more reason to do so.
FWI to Haldi and anyone else still messing with the files you can get it to load the swfs it wouldn't load before when they were just loose in the data/interface folder by setting archive invalidation like FO3/NV/Skyrim by adding bInvalidateOlderFiles=1 under [Archive] in fallout4.ini. So now you can play around with stubborn files without constantly repacking the ba2 to test them.