Qhimm.com Forums

Final Fantasy 7 => FF7 Tools => Topic started by: satsuki on 2018-11-20 19:55:12

Title: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: satsuki on 2018-11-20 19:55:12
This software needs to be updated to be able to process fields advanced animations (with FFNx).
It also need to be updated for processing of about 10 fields and make some manual correction automatic.
As i don't have the time to update it, here's the source code : http://yatoshicom.free.fr/4xcutV5.7z.

I'm not providing the exe because it MUST be fixed-updated to be able to provide a good result OOB for all fields (ATM 95% of the job is automated but the 5% remaining need to be tweaked, and a full ingame check too to be sure)

Feel free to use and share it without any restriction, but if you use it PLEASE do a full gamethrought for bug hunting and correction before doing any fields release, i don't wan't another "bugged never fixed" fields pack  :-\

Hello.
I've done an upscaled fields pack some times ago with waifu and know that the longuest parts is to do the layering assembly before upscale, to cut the files after upscaling, and to walk throug the game for bugs hunting (can realy be discouraging).
As some new upscale methods have shown (esrgan, letsenhence...) i've done a tool so anyone can do an upscale pack (for test, self preference, or release) easily.
I've assembled all fields animation in the lowest number of files to upscale (about 3500 full pictures).
I've generated smooth upscaled cuting layers with potrace and imagemagik.
And i've done the game from start to correct bugs (some optimisation can be done - mainly in the the lightingfiles - i'll optimise then if needed)

So to automate the process i've done a small tool (in vb6 + imagemagick + palmer) :
(http://wowsatsuki.free.fr/4x205.png)

So it's simple
-Click on the  "open sources folder"
-Upscale 4x the files with your favorite softs
-Put the upscaled file in the source 4x folder (with the "open sources4x folder")
-Click on "4xCut fields"
-Wait (maybe realy long if lots of files)
-"Batch import" with palmer (auto launched)
-Wait (maybe long  if lots of files)
-Close palmer
-Wait (fast)
-A folder will open with the ready to use fields files

The soft auto correct the missing block after palmer import for las4_3 and las4_2 and auto delete some file witch make ingame bugs (datio_8, woa ...)
The soft don't process the 16 blacks screens and debug room of the game, so it's processing 685 of 703 fields.

The tool also provide REpalmer, a simple palmer batch ui to batch palmer the already 4xCutted fields.
It's autodetecting if a 4xcutted filed is present, then do the exact same processing of palmer that regular 4xCut (with auto delete bugued light fields, auto correct the "las" files...)

(http://wowsatsuki.free.fr/REpalmer.png)

http://wowsatsuki.free.fr/Satsuki.4xCut.v2.6.exe

If you found bugs in fields (black lines of dots - background over the character) tell me and i'll correct the layers... or you can correct them yourself, all the layers for cutting are in the "\work\Fields\layers4x" folder of the software.
Before telling me bugs, please test the game without the modded files because some colision bug are not due to the cutting but to the driver (and i can don nothing about it)

If it can help you i could do the same soft for the battle files to.
Title: Re: 4xCut (make your own upscaled fields files)
Post by: Mcindus on 2018-11-21 00:15:35
Whoa!  Excellent!  Any chance this can be done for FF8? It uses PuPu as an interface for field file splicing, etc. -- I'm sure Fated Courage and others would appreciate it!
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2018-11-21 06:41:41
Good stuff!
Thanks, i'll optimise it while i'll make a new upscale pack to ff7 but it's realy usable right now (it's already does a better cut (in most casses) than my old waiffu pack i've done mostly by hand)

Whoa!  Excellent!  Any chance this can be done for FF8? It uses PuPu as an interface for field file splicing, etc. -- I'm sure Fated Courage and others would appreciate it!
Sadly to make this sort of auto layering take me looooots of time and i'm not realy into FF8 (i'm into a new upscale pack for ff7 now, probably letsenhence or esrgan or may be a mix of differents resize now that layering and cutting isn't to hard to do ^^)
Title: Re: 4xCut (make your own upscaled fields files)
Post by: obesebear on 2018-11-21 11:47:29
This seems really helpful. Thank you for doing this
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2018-12-01 11:42:25
Working on a new upscale pack (will take some time but will be way better than the waifu's one ^^) :

(http://yatoshicom.free.fr/ff7p/comparo/ig1.jpg)

(http://yatoshicom.free.fr/ff7p/comparo/ig9.jpg)
Title: Re: 4xCut (make your own upscaled fields files)
Post by: BahamutSIN on 2018-12-01 13:42:09
Ok, I'm hyped up. I'm still using your waifu backgrounds so this could be a nice upgrade.
Title: Re: 4xCut (make your own upscaled fields files)
Post by: Tsuna on 2018-12-01 17:25:32
That is clear as F! Keep it up man
Title: Re: 4xCut (make your own upscaled fields files)
Post by: CaptRobau on 2019-01-01 19:57:53
This looks like a great tool! Thanks satsuki
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-01-29 21:50:17
Hey I have been working on my own upscales and then I stumbled on this tool!!! This looks great. Just a few questions for you. I know you have mentioned in other posts that you use potrace and imagemagik to optimize the edges of the layers... does 4x include these optimizations? When doing the fields manually I realized pretty quickly that the major issue was the edges on the layers. If 4x doesn't solve this automatically would you mind explaining your process? Also I know you mentioned releasing a more optimized version after your next updated upscale pack is released.. Can you give us an idea of what has been improved on?
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-01-30 05:07:59
Quote
does 4x include these optimizations
>Yes

Quote
Can you give us an idea of what has been improved on?
>Mainly hand correction on black pixels and layers junctions
>Some of the source files wasn't right numbered so some animation ingame wasn't right
>Light dots was showing at the edge of the lights

So wait, the newer version will realy be more powerfull.
Some screen must be optimised by hand after using the tool because of their special light layering, so far :
-game1, game2 and blin1
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-01-30 05:35:02
>Some of the source files wasn't right numbered so some animation ingame wasn't right
>Light dots was showing at the edge of the lights

So wait, the newer version will realy be more powerfull.
Some screen must be optimised by hand after using the tool because of their special light layering, so far :
-game1, game2 and blin1

This is good to know! Do those 3 fields include the fields with the animations numbered wrong?
Also is there any ETA on you releasing the next version of 4xcut? I mean it would be awesome even if you just released some of the optimizing as you go. Or even just fixed the animation numbering. Once again thank you very much for the great work with this tool though!
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-01-30 09:33:40
No animation bug on thoses 3 screens
No release date, i'll release it after my ff7 esrgan pack, so bug correction will be maximum.
I also need  to automate a black offset correction (fast but need to test to be sure)
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-01-31 01:45:05
This is awesome. I've already used your tool to redo every field in the game. Going through to test now. I know you mentioned doing this for battle fields as well. Is that still in the plan?
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-01-31 07:27:19
Yes it'll be in next release.
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-02-11 21:10:32
Hey man just curious how the new update is coming along?
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-02-12 13:04:19
On its way.
It'll be released after my ff7 pack.
All feature are ready, only need the final test to be over.
The final walkthrought just passed about half the game.
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-02-12 21:16:27
Preview of the v2 of 4xcut (all options working great sor far) :
(http://yatoshicom.free.fr/4xv2.png)
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-02-16 06:51:28
Preview of the v2 of 4xcut (all options working great sor far) :

Really looking forward to this release. Any updated ETA? Also would be cool if you separated the 4xcut and palmer batch into 2 buttons. That way if you just wanted to redo the palmer section without doing the full recut again it would be possible.
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-02-16 11:43:46
About 2/3 of the game checked so far.
For palmer only there's a palmer frontend in this forum.
I cant do a more specific version of it if needed...
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-02-17 13:39:28
Waiting the v2 of 4xCut, here's REpalmer, a simple palmer batch ui to batch palmer the already 4xCutted fields.
It's autodetecting if a 4xcutted filed is present, then do the exact same processing of palmer that regular 4xCut (with auto delete bugued light fields, auto correct the "las" files...)
You need to put it in the same folder that 4xCut.exe

(http://wowsatsuki.free.fr/REpalmer.png)

dl link : http://wowsatsuki.free.fr/REpalmer.7z
Title: Re: 4xCut (make your own upscaled fields files)
Post by: opengrip on 2019-02-17 18:13:17
Waiting the v2 of 4xCut, here's REpalmer, a simple palmer batch ui to batch palmer the already 4xCutted fields.
It's autodetecting if a 4xcutted filed is present, then do the exact same processing of palmer that regular 4xCut (with auto delete bugued light fields, auto correct the "las" files...)
You need to put it in the same folder that 4xCut.exe

dl link : http://wowsatsuki.free.fr/REpalmer.7z

Thanks a lot!
Title: Re: 4xCut (make your own upscaled fields files)
Post by: satsuki on 2019-02-26 09:21:56
V2 will be released soon.
I expect to release my ff7 pack in some days (10 days max if no bug so far) then release the V2 of this tool soon after that
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: satsuki on 2019-03-02 14:07:58
V2 released
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: opengrip on 2019-03-02 19:52:28
V2 released

Thank you very much :D
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: satsuki on 2019-03-02 20:13:00
Link corrected
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: CaptRobau on 2019-03-03 09:10:29
Thank you very much satsuki. Congratulations on reading your ff7 mod, saw it was released.
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: opengrip on 2019-03-06 02:11:27
Hey Satsuki noticed in your sourcebase field folder it seems like the astage_a and astage_b files seem to be already upscaled. I didn't check 1 by one for the rest of the folders but figured I would mention it to you.
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: satsuki on 2019-03-06 07:11:40
Thanks, it's corrected
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: nuada on 2019-03-31 15:00:03
hi nice toll!!

is it possible in the future to layer menu .pngs?

i have also a question. how can i make this pics again in to a flevel.lpg?

or how can i create again the ancnt1 folder back to a ancnt1 file? without 7h...
i can inject the files with lpg installer but i dont find a way to make the folders back to the ancnt1 file org style..

Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: satsuki on 2019-04-01 07:04:50
is it possible in the future to layer menu .pngs?
The tool ins't designed that way

i have also a question. how can i make this pics again in to a flevel.lpg?
or how can i create again the ancnt1 folder back to a ancnt1 file? without 7h...
i can inject the files with lpg installer but i dont find a way to make the folders back to the ancnt1 file org style..
Don't know how to do this, but you'll be limitated with the file size anyway
Title: Re: 4xCut (make your own upscaled fields files) V2 released
Post by: nuada on 2019-04-01 10:18:58
ok thx .. but i need only a way to re create the ancnt1+2+3+4+,mds7.dat and all that .dat files :(
or replace only the pics in it....


im using it on the switch, but its the steam version, 4x ai scaled avalanche Risen Battle Textures resized in 720p do also work
but i cant find a way do repleace the field textures in the files...


is there no way ?

that would be very sad

pls any programmer make it possible :(


Title: Re: 4xCut (make your own upscaled fields files) V2.3 released
Post by: satsuki on 2019-04-20 14:05:16
Updated to v2.3
Added an option to choose that's you want to process:
-The base field and it's animation (up to layer 999)
-The "fx" stuff like light, gog, smoke... (layer 1000 and up)
-Both

As 4xcut processing take a long time it can be usefull to do only one part of the job
Title: Re: 4xCut (make your own upscaled fields files) V2.3 released (2019/04/20)
Post by: Manakaiser on 2019-04-20 16:16:24
Awesome idea for an update;

In case it helps I have noticed though; on itown1a for example there is animations on layers with numbers higher than 999, and even higher than 9999; the windfarm blades have animations up to 33156 unless im wrong!

Great update though.
Title: Re: 4xCut (make your own upscaled fields files) V2.3 released (2019/04/20)
Post by: satsuki on 2019-04-20 16:52:54
I think you're right ^^'
Need to check and correct that

[edit]animations seems to go as high a 82332 in las0_1 ^^' need to do a more specific works to list all light/fog/.... specifily for each flield T_T[/edit]
Title: Re: 4xCut (make your own upscaled fields files) V2.5 released (2019/04/27)
Post by: satsuki on 2019-04-27 10:53:54
Version 2.5 in first message:
-Corrected the Fx selection for Processing after number 35000 and added a list of exception (don't think i've missed one but you can edit the list of the Fx as you will ^^)
-Mirror correction in fields cutting (kuro_7, sango2 and sninn_1)
Title: Re: 4xCut (make your own upscaled fields files) V2.5 released (2019/04/27)
Post by: CaptRobau on 2019-05-13 21:13:48
Hi Satsuki. I'm running 2.5 and I'm getting a Run-time error 13 mismatch on sango2. Is this a bug or something else?
Title: Re: 4xCut (make your own upscaled fields files) V2.5 released (2019/04/27)
Post by: satsuki on 2019-05-13 21:48:49
Here's bad files in the 4x layers.
I'll post a newer version tomorow
Title: Re: 4xCut (make your own upscaled fields files) V2.5 released (2019/04/27)
Post by: CaptRobau on 2019-05-13 22:37:29
Great!
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: satsuki on 2019-05-14 17:51:44
Version 2.6 in first message:
-Corrected sango2 generation bug
-Modified, when generating command line, it's checking you won't miss 4xsized file for processing, if files are missing it doesn't launch processing but open a text file with missing files name (thanks Manakaiser for the idea)
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: CaptRobau on 2019-05-14 22:19:47
Thanks! I'll try it out ASAP.
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: CaptRobau on 2019-05-19 12:55:14
sango2 works in 2.6, but it now throws up similar errors for fields like lastmap, last4_4, life and life2.
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: satsuki on 2019-05-19 18:43:38
no bug here.
can you check the content of the folder "4xCut\files\work\Fields\layers4x\life2_batch" for exemple ?
witch option is checked ?
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: CaptRobau on 2021-01-14 17:26:33
Hi satsuki. See you're going to be sometime updating 4xCut to work with the new animated fields. That'd be awesome and much appreciated. I hope to one day have my mod done and complete, and I couldn't have done it without your amazing tools.
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: satsuki on 2021-01-14 18:46:29
No ETA ATM i have some to do to complete that i want to do for the curent v5 fmv, minigames and menu.
But i will update 4xcut after that
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: CaptRobau on 2021-01-23 05:16:39
I'll wait patiently. Good luck with your mod.
Title: Re: 4xCut (make your own upscaled fields files) V2.6 released (2019/05/14)
Post by: satsuki on 2022-02-12 10:55:25
This software needs to be updated to be able to process fields advanced animations (with FFNx).
It also need to be updated for processing of about 10 fields and make some manual correction automatic.
As i don't have the time to update it, here's the source code : http://yatoshicom.free.fr/4xcutV5.7z.

I'm not providing the exe because it MUST be fixed-updated to be able to provide a good result OOB for all fields (ATM 95% of the job is automated but the 5% remaining need to be tweaked, and a full ingame check too to be sure)

Feel free to use and share it without any restriction, but if you use it PLEASE do a full gamethrought for bug hunting and correction before doing any fields release, i don't wan't another "bugged never fixed" fields pack  :-\