Qhimm.com Forums

Basically Mandatory => FFNx Custom FF7/FF8 Driver => Topic started by: TrueOdin on 2020-05-16 12:15:55

Title: [FF7PC-98/Steam] FFNx - Next generation modding platform for FF7/FF8
Post by: TrueOdin on 2020-05-16 12:15:55
FFNx
Next generation modding platform for Final Fantasy VII and Final Fantasy VIII ( with native Steam 2013 release support! )

(https://github.com/julianxhokaxhiu/FFNx/raw/master/.logo/logo_whitebg.png)
Kudos to Cinzia Cancedda (aryaaiedail) (https://www.instagram.com/aryaaiedail/)

Project URL: https://github.com/julianxhokaxhiu/FFNx

Support: https://github.com/julianxhokaxhiu/FFNx#support

How-to Install: https://github.com/julianxhokaxhiu/FFNx/wiki/How-To_Install

What is FFNx?
FFNx was born from the ashes of Aali driver, with an intention to refresh the Rendering engine and the possibility to extend modding capabilities to original Steam copies without the need of a Game Converter. Today FFNx not only can offer that also much more. Feel free to explore the official documentation at https://github.com/julianxhokaxhiu/FFNx/wiki

Thank you!
There's a HUGE list of people to be grateful to for their amazing work. Starting from Aali who made this possible, without his code release FFNx would have never been a reality, but also to A LOT of other people here on Qhimm. Feel free to checkout this list: https://github.com/julianxhokaxhiu/FFNx#credits

From the bottom of my heart, THANK YOU!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-16 13:08:43
Reserved
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: OatBran on 2020-05-16 14:48:25
Finally this has its own thread here!  ;D

This is truly an amazing piece of free software made by someone with so much passion and respect for this community. Thanks for all you do Odin you are a true legend

(thanks for the shout out and link to the guide in the op too Odin  :-D )
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: -Ric- on 2020-05-16 16:59:28
Well here's something that might make me put aside the PS4 and Switch versions and actually have interest in the steam version again.

Thanks for all the work!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Aali on 2020-05-16 22:52:55
Cool! Glad to see this is coming along :)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-16 23:21:33
Cool! Glad to see this is coming along :)

This is truly unexpected, I'm super happy to see you around! If you want to I'll be super happy to have a chance talking to you. There are a TON of questions I'd have ( but not only me ).

In case you hop on Discord, PLEASE remember to say Hi!

Thank you again for all the great work you've done. That's truly amazing achievement. I hope FFNx will be your living legacy!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zera on 2020-05-17 14:29:29
This sounds exciting. I'll be looking forward to texture replacing support for FFVIII. This doesn't look like it has the world map quality reducing bug, so it would be a much better alternative to native Steam with Tonberry.

Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Salk on 2020-05-18 05:28:26
Congratulations and thanks for creating FFNx!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-18 12:42:49
To everyone writing here, THANK YOU from the deep of my heart. For using this software, for contributing on it and for making it better and better with your issues :)

Feel free to report anything that may not work on Discord! I'll be happy to support directly as much as I can.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-18 20:57:13
I haven't checked your source in last week, so forgive me if you've already plugged this one -  some FMVs are full 1280 * 960 AR  as opposed to 1280 * 896.

My code works as follows to make sure centring is turned off for those ones >

Code: [Select]
// draw a full_screen quad, respect aspect ratio of source image
void gl_draw_movie_quad_common(int movie_width, int movie_height)
{
float x1 = 0.0f;
float x2 = (float)width;
float y1;
float AR = (float)movie_height / (float)movie_width;
   
    if (Centred_Field && AR != 0.75f ) // DLPB
y1 = 16.0f;
else
y1 = 0.0f;

float y2 = y1 + min( (float)width * ( (float)movie_height ) / (float)movie_width, (float)height);


0.75 is safe for floating point in these cases.

Congrats on the release.

Hey there!

Thank you very much for the tip. Actually that was implemented a while ago, you may want to checkout the latest master branch :D Guess you missed a lot of things then!

Feel free to see https://github.com/julianxhokaxhiu/FFNx/blob/master/src/gl/gl.cpp#L48

Let me know if you need any help in case :)

Cheers!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-18 22:08:10
Ah, good stuff.   In that case, there's nothing I can really add to this.

Clearly the texture loading issues and memory problems and unloading issues have also been resolved.  I'll need to devote a lot of time to merging this with The Reunion. Did you also manage to stop delays happening with texture loading?  [I really should play your latest build - just a tad busy]

If you need what I have on 60fps battles, I'll supply you it.  At this point, I think you may be the only one who can resolve the graphical issues that remain - NFITC1 is still needed for camera side - but I am more than happy to transfer 60fps battles to this DLL and away from ddraw.dll as a good will gesture.  If I merge Reunion with this, I'll remove it from my own dll.  If not, I'll just have my own version and work with you adding it to this. 

Both modes work well but if we collaborate on this we may finally get the remaining bugs ironed out.

Texture loading delays were caused by too big PNG textures. If you switch to DDS they will work like native ( usually Instant in most environments ) but upscaled in 4K :) You can ask Satsuki about this, he is kind the expert of this topic now.

Related to the 60FPS mod I'll be happy to merge what you did, of course giving you credit for that! If you're fine with it, once we implement that too, you could ideally use the releases I do just out of the box!

Related to "NFITC1 is still needed for camera side" I don't really get where or what the issue is, but I'll be happy to talk about it. If there's something to be fixed, I'm totally into :)

Let me know how you want to take it up from this point.

Cheers!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zara9 on 2020-05-20 19:27:57
is anyone else having slow down problem by using this FFNX program on the ff7 pc steam version at all
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zara9 on 2020-05-20 20:26:26
why does this plugin does not want to work for me at all
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: cencen36760 on 2020-05-21 03:00:35
Many years I was waiting.
Thank you. Thank you. And thank you. (I am Japanese)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Salk on 2020-05-21 04:21:23
Hello TrueOdin! (Ciao)

I was wondering if FFNx could do something about the one issue that is spoiling the transition from the original backgrounds to the upscaled ones. Apparently due to engine limitations, background animations do not work anymore (http://forums.qhimm.com/index.php?topic=19204.msg278333#msg278333 (http://forums.qhimm.com/index.php?topic=19204.msg278333#msg278333)).

Thanks again for all the hard work!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zara9 on 2020-05-21 05:46:32
I love this ff7 game alot

its my childhood game of all time and i really like this plugin alot also

and i am just wondering why it goes slow for me and wondering how you guys fix it yourself
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: satsuki on 2020-05-21 06:16:04
Hello TrueOdin! (Ciao)

I was wondering if FFNx could do something about the one issue that is spoiling the transition from the original backgrounds to the upscaled ones. Apparently due to engine limitations, background animations do not work anymore (http://forums.qhimm.com/index.php?topic=19204.msg278333#msg278333 (http://forums.qhimm.com/index.php?topic=19204.msg278333#msg278333)).

Thanks again for all the hard work!
Not ATM but one day it will (i hope) and it'll probably need some files to be done from scratch.... i'll adapt my mods then ^^
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zara9 on 2020-05-21 10:47:59
keep up the great work on this mod
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-22 12:27:12
I love this ff7 game alot

its my childhood game of all time and i really like this plugin alot also

and i am just wondering why it goes slow for me and wondering how you guys fix it yourself

Hi Zara9,

Feel free to approach me on Discord and I'll be happy to check your configuration. Another used had the same issue with an AMD RX 590 and all we had to do in the end was update the driver to the latest AND a factory reset in the AMD Control Panel. Personally I always suggest to start with the default FFNx.cfg file and then try tweaking until you find your perfect spot :)

Let me know and thanks for using FFNx.

Cheers!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: EmperorSteele on 2020-05-29 01:59:29
Quote
FFNx will allow you to use up to 3.5GB of RAM space for Mods, by using the 4GB Patch on your ff7.exe file. Remember that this feature works ONLY on Windows 64bit.

Can I apply this patch without using FFNx? I only ask because apparently FFNx doesn't work with Win7. The page that is linked there is very... generic and didn't mention FF7 by name.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-29 10:08:06
Can I apply this patch without using FFNx? I only ask because apparently FFNx doesn't work with Win7. The page that is linked there is very... generic and didn't mention FF7 by name.

You can apply the patch at your desire but you may not get the same benefits because there some other internals that are required to work with that. FFNx does work with Win7 just fine, make sure you download the latest release.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: OatBran on 2020-05-29 13:30:05
You can apply the patch at your desire but you may not get the same benefits because there some other internals that are required to work with that. FFNx does work with Win7 just fine, make sure you download the latest release.

Oh you actually did implement a win7 fix already? I totally did not see you mention that anywhere I will change that information in the guide I have still been telling people to use v1.6.1 for win7  :-[
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: EmperorSteele on 2020-05-29 19:50:42
Oh! Yeah, that's what I was confused on, too! I'll try the whole kit and kaboodle, then!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: EmperorSteele on 2020-05-29 20:50:47
So, I tried following OatBran's guide, and unfortunately FF7 now looks and runs like garbage =/ The screen is stretched (even though I have preserve aspect ratio set to "yes"), and everything is low-rez and pixelated (even though I can tell it's loading the high-res texture packs). The AA isn't working, even though I have that set, and even the music now sounds worse =/ It takes extra time to loads scenes (field to battle, battle to EXP up screen, exp up screen to field, field to menu, etc). It's displaying the version number and rendered in the top left, which is distracting... Any idea what I may have done incorrectly? The only thing I can think is that I'm running windows 7, but you said that shouldn't be an issue, so....
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-29 21:29:36
So, I tried following OatBran's guide, and unfortunately FF7 now looks and runs like garbage =/ The screen is stretched (even though I have preserve aspect ratio set to "yes"), and everything is low-rez and pixelated (even though I can tell it's loading the high-res texture packs). The AA isn't working, even though I have that set, and even the music now sounds worse =/ It takes extra time to loads scenes (field to battle, battle to EXP up screen, exp up screen to field, field to menu, etc). It's displaying the version number and rendered in the top left, which is distracting... Any idea what I may have done incorrectly? The only thing I can think is that I'm running windows 7, but you said that shouldn't be an issue, so....

That sounds like a lot of things that went wrong. I'd say just jump on Discord and we will be happy to help.

Until then those are my personal suggestions:
1) Make sure you install the game on an internal HDD ( no USB attached HDDs, or if any, make sure it's at least USB 3.0 )
2) Make sure you GPU driver settings are not using "fancy" settings. Better reset them to stock and then run the game with FFNx
3) Try the game with FFNx only, default cfg file and vanilla. It will look like how the game came out but it's the best way to check if the game runs smoothly.
4) Once you start to install mods using 7th 2.x, make sure you read the FAQ section. And use official FFNx installation steps. Run the game without mods but through 7h. If it starts with FFNx then you're good.
5) Start to mod the game gradually. Try on each step and make sure the game runs fine. If not, then starts to toggle the last downloaded and so on. Until you find out which one it is.

It works fine as said on Windows 7 ( which is the minimum target version for FFNx ) up to the latest Windows 10 May 2020 update.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-30 12:34:05
Please make sure to give me and NFITC1 credit for the 60fps you are adding to source if it's based on or using the Hext file I released.  Cheers.  If using interpolated files, also give Obesebear credit.

There's no 60 FPS patch for battles on the source code yet, but if it will happen I'll let you know.

Likewise please do remember to release your fork source as well.

Cheers.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zara9 on 2020-05-31 12:29:29
Hey Trueodin

Just a quick question here, will i be able to play the ff7 NT mod on your FFNX plugin Mod at all?
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-05-31 12:30:42
Hey Trueodin

Just a quick question here, will i be able to play the ff7 NT mod on your FFNX plugin Mod at all?

This is up to Sega Chief :) You need to ask him. AFAIK he has planned that, but I'm not sure when it will happen.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: DLPB_ on 2020-05-31 23:27:26
Your shader settings are wrong, so your FMVs are playing without full 0-255 range (so black is not black).  This was fixed a while back in Reunion by changing the shader file - but your shaders are different.  Definitely something to look into.  You'll need a properly calibrated monitor to see this and also need to set graphic card to use full range in main graphic control panel.


Reunion yuv.frag

Quote
#version 110

uniform sampler2D y_tex;
uniform sampler2D u_tex;
uniform sampler2D v_tex;

uniform bool full_range;

const mat3 rgb_transform = mat3(
   1.0,    1.0,   1.0,
   0.0,   -0.344, 1.77,
   1.403, -0.714, 0.0
);

void main()
{
   float y = texture2D(y_tex, gl_TexCoord[0].st).x;
   float u = texture2D(u_tex, gl_TexCoord[0].st).x - 0.5;
   float v = texture2D(v_tex, gl_TexCoord[0].st).x - 0.5;
   
   if(!full_range) y = (y - (1.0 / 255.0) * 16.0) * (255.0 / (255.0 - 16.0));
   
   vec3 yuv_color = vec3(y, u, v);
   vec4 rgba_color = vec4(rgb_transform * yuv_color, 1.0);
   gl_FragColor = rgba_color;
}
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: DLPB_ on 2020-06-01 05:56:37
   _snprintf(dds_name, sizeof(png_name), "%s/%s/%s_%02i.dds", basedir, Mod_ID, name, palette_index);
   _snprintf(png_name, sizeof(png_name), "%s/%s/%s_%02i.png", basedir, Mod_ID, name, palette_index);

Looks suspicious? 

(dds_name, sizeof(png_name)


-- Additionally, png loading times are around 4x as long as they were under aali's opengl code.  So something is making it take a long time to load compared.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: myst6re on 2020-06-01 18:27:16
-- Additionally, png loading times are around 4x as long as they were under aali's opengl code.  So something is making it take a long time to load compared.

Do you use compress_textures option in Aali's OpenGL on your benchmark? You can use DDS directly instead of PNGs to improve performance.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: DLPB_ on 2020-06-01 20:45:51
nah   it's way longer even without
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: satsuki on 2020-06-02 06:11:29
png remains for compatibility but it's not optimised at all (also because the driver search for a dds and only if not here search for a png file).
png is useless compared to dds in ff7 even with high quality background like jusete's ones.
so go for dds you'll be happy with it ^^
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: myst6re on 2020-06-02 11:00:52
The difference between the drivers is that FFNx uses bimg and bgfx to create the texture, and Aali's driver uses libPNG directly without bgfx.
It is possible that something is wrong either in how we use these libs or inside bimg/bgfx. Maybe address this will also speedup DDS, dunno
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-06-02 12:53:07
The difference between the drivers is that FFNx uses bimg and bgfx to create the texture, and Aali's driver uses libPNG directly without bgfx.
It is possible that something is wrong either in how we use these libs or inside bimg/bgfx. Maybe address this will also speedup DDS, dunno
TrueOdin said on Discord that he has found bugs in bgfx's engine and submitted patches upstream.  Whether or not any of those bugs address this, though, I'm not sure.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-03 11:31:22
The difference between the drivers is that FFNx uses bimg and bgfx to create the texture, and Aali's driver uses libPNG directly without bgfx.
It is possible that something is wrong either in how we use these libs or inside bimg/bgfx. Maybe address this will also speedup DDS, dunno

I've already clarified it here, in order to avoid duplicating the effort: https://github.com/julianxhokaxhiu/FFNx/issues/56#issuecomment-638129028

Let's see where this goes :)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-03 11:35:14
DDS will be used, but PNG support in current FFNx is not fit for purpose.  It's excruciatingly slow and in fault, which definitely needs to be looked at.  If not- I'd say PNG support should just be removed.

Why? PNG is a failsafe for people using existing mods. But DDS is suggested and the way to go. When all the mods will be DDS only, then I guess that will be the time to deprecate the PNG layer. Until then it will stay in place.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-03 12:34:28
The load time is too slow to be usable.  With the battle PNGs alone, the game pauses for 0.25 - 1 second every time an action is made.  Field screens take 5 seconds to load every time.  With Aali's - it was no delay in battle and very little in field.

Feel free to not use FFNx if you judge is not good enough for your own use case. I'm tired of this attitude. Either you don't want to understand or you want to create a thread where you just complain about FFNx. Either way, you're not forced to use it. If you prefer Aali DLL use that one.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-03 12:40:12
I am reporting to you a bug.  One that makes PNG loading unusable.  You either fix it or you don't - I won't be using PNG because no one can with latest FFNx and hope to play the game.

And I already replied three threads above why this is happening, that I am working on it. I also replied to your own issue on GH. You should have received a notification about it.

Everyone is using DDS textures with FFNx because of many improvements going on behind the scenes. Is not only about "speed", is about everything that has to do with GPU memory, RAM, GPU cycles, etc.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-03 13:28:11
That's fine.  If you're working on it - so be it.  You replied:Why?

To my earlier query.  You made no mention of actively working to fix it here.

I'm not actively working on it because, as you said too, it's going to be deprecated. So the less effort we put on this, the better it is. PNG textures should just fade away. Until then, you can still load them, despite being "slower" than DDS. This means that you should convert all of your textures to DDS, and most of the community is now well aware of this, as well as conversion tools done by Satsuki. Just hop on the train and forget about PNGs.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sl1982 on 2020-06-03 22:50:38
I can see there being advantages and disadvantages to both really. If using lossless formats such as PNG (or flac for music) cause slowdowns or other issues then lossy formats are usually 'good enough' (especially if they are vastly more performant.) Most people when actually playing a game arent going to notice some slight degredation.... But i have to admit the archivist in me prefers lossless formats.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-06-04 03:11:35
I believe Jusete is still doing all original rendering in PNG and handing that off to Shampignon for cutting.  Pretty sure S will continue releasing PNG format files (max compatibility), and allowing us to convert to DDS if we wish.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sl1982 on 2020-06-04 15:14:12
Any thoughts on doing an initial internal conversion? That way people can use whichever they want and get benefits both ways.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-06-04 17:48:21
but if pngs could use cache files like aali's dll it should work.
As I understand it, that cache was where many (most?) of the really nasty memory leaks lived.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sl1982 on 2020-06-04 18:34:14
Thats not what i meany. More like what aalis cache does. If it sees a png it converts it to dds and saves in a cache. Would be slow the first loads but after that would be fast
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: satsuki on 2020-06-04 18:55:55
I can see there being advantages and disadvantages to both really. If using lossless formats such as PNG (or flac for music) cause slowdowns or other issues then lossy formats are usually 'good enough' (especially if they are vastly more performant.) Most people when actually playing a game arent going to notice some slight degredation.... But i have to admit the archivist in me prefers lossless formats.
Let's be clear about that, i'm a quality addict, archiving my cds as flac, ripping my UHDBR as a simple mkv repack (no transcoding)... but outside my home server, i'm using loosy virtualy lossless formats to gain from 30% to 200% space or compatibility with some hardware, lossless is pointless if you can't use it smoothly (i've started studying lossy and lossless numeric formats 25 years ago, before the mpeg1 became a real standard so i've seen many formats and their limits - mpeg2 rgb full range for medical archive at time witch was unusable real time where yuy2 was great...)

DDS BC7 is 100% visualy lossless (not to compare with older dds codec), i've done countless tests before convert my mods to dds.
Even why my 4k projector (>2m base) i cant tell witch one is png and witch one is dds.

It's like wav vs [email protected] (musepack), you'll never be able to spot any audible difference even with a very good hifi amp.
Or uncomp avi vs 4k h265 hight bitrate, you can't tell witch one in compressed even with a good projector.

Png is good for archiving sources files (so you can edit/mod the source loselessly, even if you edit/record 1000 times) , for live game engine it's pointless.


Thats not what i meany. More like what aalis cache does. If it sees a png it converts it to dds and saves in a cache. Would be slow the first loads but after that would be fast
No need for a cache as dds is loaded first, only need to convert dds in the same folder as png.
But as dds bc7 is realy powerfull, it's also realy slow to convert specialy on older GC (i own a 1060gtx and convert a full fields car take around 30s)
>>not usable for a realtime conversion
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sl1982 on 2020-06-04 22:58:51
Well that is good to know. I didnt expect a 30s conversion. That really puts the on the fly conversion idea to rest.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Red46 on 2020-06-06 08:05:49
Does this supports linear/bilinear filtering for textures? I realise I might be in the minority but I just can't stand the pixels
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: satsuki on 2020-06-06 08:21:25
yes the bilinear option is usable (only need to activate it in the cfg file, like with aali)
but you'll need it only with vanilla game, with hd external texture you won't need it
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-11 19:36:17
Allright, this is let everybody knows that together with Satsuki we did some tests on top of some new implementation and we made PNG loading times even faster.

FFNx now it will support all PNG types ( against original Aali DLL which supported only RGB/RGBA PNG formats ) like: Grayscale, Grayscale w/Alpha, RGB, RGBA and Paletted. All of them should load fine.

Time to load has improved A LOT but ( just to be honest ) is a little bit slower than Aali DLL just because I don't cache anything and I load it fresh. Anyway, on modern PCs this small % of slowdown is not even noticeable. For a daily gameplays it should work more or less like DDS, a bit slower. DDS is still a way to go as it provides the fastest experience related to texture modding.

Some memory optimizations and usage has been made, which means even less memory used to handle a texture in memory. This means a bit more space for your mods, again :)

Finally, the DLL code is now built with the maximum optimization available through the compiler, which means faster execution on top of your CPU.

All of this available on latest canary. Feel free to test!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-13 12:04:33
I see you've also added extensions such as jpg and so on...  I take it this is just cosmetic?  pnglib doesnt support these formats does it?

It's not cosmetic. Those are real supported extensions. I still need to document that on the README but feel free to try them.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-06-13 23:36:40
I commend you on the bug fixes and joypad support in case that isn't clear.  All i asked for when i came to you 2 years ago was that kind of thing.  Despite the fact im never going to work with you from this point on nor acknowledge your existence again after this post, i want you to know i believe in full credit and people will know exactly what additions in reunion come from you.  I'll also continue to supply bug reports as that aids my project as well.

There's no need as I'll never support Reunion. Simple as that.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Cicciolo on 2020-06-26 23:29:13
Hello, i wanted to try this driver but i think something went wrong: when i load the game, Squall is literally at the center of the map, walking on the sea.

I've used the latest Canary version, because i wanted to use it with this mod and apparently it crashes with the latest Stable version: http://forums.qhimm.com/index.php?topic=19968
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Kitsune on 2020-06-27 16:03:27
Hi,

True Odin, I attempt to rune FFnx on Linux by the Wine app. I am based here on the CD Version.

So I can run the Aali Driver as well with some few bugs(transparency) about textures in battles with the dialogs inside battle.
Then I try to run your Mod based on it but I simply can make it work. I have rune Aali mod on Windows XP compatible install in Wine and for your one I try with Windows 7 compatibility but...Not work. So I asking you what are then necessary component for make this Mod work on Windows 7? I am talking about VCrun 200x 20xx? Also .NET necessary for it? Can it run with only DirectX9c installed?

I have tried OpenGL and DirectX option but don't work here. But I precise my graphic card is old but work on Aali drivers, Geforce Go 7400 128MB. (OpenGL 2.1 compatible)

Thanks for reply
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-07-03 14:10:46
Hi,

True Odin, I attempt to rune FFnx on Linux by the Wine app. I am based here on the CD Version.

So I can run the Aali Driver as well with some few bugs(transparency) about textures in battles with the dialogs inside battle.
Then I try to run your Mod based on it but I simply can make it work. I have rune Aali mod on Windows XP compatible install in Wine and for your one I try with Windows 7 compatibility but...Not work. So I asking you what are then necessary component for make this Mod work on Windows 7? I am talking about VCrun 200x 20xx? Also .NET necessary for it? Can it run with only DirectX9c installed?

I have tried OpenGL and DirectX option but don't work here. But I precise my graphic card is old but work on Aali drivers, Geforce Go 7400 128MB. (OpenGL 2.1 compatible)

Thanks for reply

Hi Kitsune,

Deeply sorry for the delay but I didn't got a notification about this, not sure why. Either way, I knew this has pretty much good compatibility on Wine for people using AMD/Intel GPUs. Although I see your GPU is pretty much old, so I fear your drivers are old too. This unfortunately may lead to issues in your environment.

Although, what you can do is try to run it using DirectX 9 or DirectX 11 renderer, in the config. Your Wine environment should be fine to use Windows 10, and you need the Universal CRT as the code is built on top of that.

Sithlord48 is one of the users using FFNx on Wine and has been successful with it. Maybe you can try to approach him :) Also, worth a shot to try the latest canary to make sure the issue is just not only on the latest stable.

Let me know how it goes!

Cheers,
TO
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sithlord48 on 2020-07-03 19:14:14
I'm playing FF7 via wine for a very long time and have not had a problem with FFNx using openGL or Vulkan  (yeah its a bit slow) your card might need to be updated to one that supported a newer copy of openGL . im not sure what version our openGL is targeting.

you do not need any extra packages installed and i would recommend making a wine prefix just for ff7. I have not tried to run using Dx9 or 11 since wine is just going to translate them to openGL calls anyway.

For you next card i would suggest trying to avoid nVidia for linux AMD has much better drivers then nVidia does for linux, The architecture for AMDGPU should be emulated by every vendor that wants to have a proprietary driver for Linux.

@trueOdin seams bgfx supports both OGL 2.1 or OGL 3.1+ so we might need to add an option that forces the loading of the OGL 2.1 backend?
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Kitsune on 2020-07-03 23:59:45
Thanks for your reply I will test it however in Windows 10 compatibility mode but I think effectively my card is too old for this mod...On Wine certainly.

I have installed Debian 10 between the time trought, in this version I can't use proprietary drivers from Nvidia on it. It's a trap.

The drivers I must use with Wine for now are the Open sources drivers named "Nouveau" for Nvidia GPU. There are some troubles about DirectX games with Wine and these drivers. Only OpenGL apps run here for now on Wine with these  "Nouveau" open sources drivers. I can run in OpenGL mode ePSXe and also Half Life (first) as example...The introduction movie of the Half Life game run and his game engine in opengl too work. Half Life in DirectX mode crash also on Wine with these drivers like FFVII from Steam.

The FF7 Opengl FFNx mod here don't run for now here correctly on Wine (mixed up screen at intro movie, freeze and crash). I thinked it was maybe due to ffmpeg codecs...I don't really know how the movies are decoded here in this pack. I have attempt to download ffmpeg library (dll) for Windows to decode it well but that not change the trouble, and I must evitate to use "a DirectX decoders"...

So I have take these informations as example, maybe that can help you for a better compatibility update (it's in french):

AVI movie Half Life (GOTY CD ed):
Res:640x480
Démultiplexeur: avi
Format: Cvid
Vid Cod:ffcvid
Aud Cod:pcm

AVI movie Final Fantasy VII Steam:
Res:1280x896
Démultiplexeur:lavfpref
Format vidéo:VP80
Vid cod:ffvp8
Aud cod:ffvorbis

I have tried to use finally Media Player Classic by Wine app for reading the Movie of Final Fantasy VII. I have an error about DirectX9 the first time I launch a movie and after nothing about the error and the movie work. I think this app use DDraw rendering but not sure...

Like you said It seem AMD are better for Linux about drivers (There are really open...) But I use a laptop, and changing the graphic card will be certainly not possible on it. Natively this card only support OpenGL2.1 and DirectX9c (in real windows environment). I don't think Vulkan is tolerate by my card (she is too old) but maybe there are something that can passthrought like an interpreter in Wine (I am not sure of it). Wine have a regedit option to force of use of an "OpenGL version Level" I can set it to 2.1 for use 2.1 or 3.1, ...but don't know really if my card can support a upper version of GL ---> natively it's 2.1 but with "Mesa",...and other "Gallium3D" used by "Nouveau" drivers don't really know how it work...and what can I do.

I think there are an Intel GPU chipset 945Gm inside this laptop, but Linux seem not recognize it as a GPU (My trouble for it) I will try again with Win10 compatibility and CRT...If I find how put it on Wine.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sithlord48 on 2020-07-06 12:25:36
If your card does not support the right OpenGL version changing the compatibility mode is not going to help you at all.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-07-06 12:32:34
@trueOdin seams bgfx supports both OGL 2.1 or OGL 3.1+ so we might need to add an option that forces the loading of the OGL 2.1 backend?

Good catch! I wasn't aware of it. Got any example link? I'll be happy to add it to the list of renderers!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: myst6re on 2020-07-06 12:35:57
https://github.com/bkaradzic/bgfx/blob/master/src/bgfx_p.h#L230
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Kitsune on 2020-07-07 11:48:32
Good catch! I wasn't aware of it. Got any example link? I'll be happy to add it to the list of renderers!

So what is the actuel necessary OpenGL version for the FFNx pack to work actually?

I use this option for force OpenGL 2.1 version that's the maximum version my card can doing natively normaly but maybe there is a wrapper inside Wine that can downgrad the OpenGL version or in Mesa, I don't know about it. Also there is already something like DirectX wrapper to openGL I think in Wine. But the open-sources 'Nouveau' driver are not good for D3D softwares throught Wine here...I think I cannot use this one for it must go to Nvidia proprietary drivers...But what is the OpenGL version FFNx needed in brief?

I was be able to play with the Aali original driver and not FFNx for now but when I played with Aali drivers I have some text box trouble in  battle of the game and in same times the characters became transparents...I thinked FFNx was based on Aali drivers...
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sithlord48 on 2020-07-07 12:33:55
Lets try this tell me about your system so im not just guessing on what might be.

Please post the output of these commands
lshw -C VIDEO
uname -a
wine --version
glxinfo | grep "OpenGL version"

Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-07-07 13:38:28
So what is the actuel necessary OpenGL version for the FFNx pack to work actually?

I use this option for force OpenGL 2.1 version that's the maximum version my card can doing natively normaly but maybe there is a wrapper inside Wine that can downgrad the OpenGL version or in Mesa, I don't know about it. Also there is already something like DirectX wrapper to openGL I think in Wine. But the open-sources 'Nouveau' driver are not good for D3D softwares throught Wine here...I think I cannot use this one for it must go to Nvidia proprietary drivers...But what is the OpenGL version FFNx needed in brief?

I was be able to play with the Aali original driver and not FFNx for now but when I played with Aali drivers I have some text box trouble in  battle of the game and in same times the characters became transparents...I thinked FFNx was based on Aali drivers...

Sorry to disappoint you but Aali driver was borned with OpenGL 2.1 in mind, while NX is targeting modern Hardware. Because of this at least OpenGL 3.1 is required.

Regarding wrappers and such, I'd suggest to do some re-search in case and MAYBE there's a chance to get it running. I do remember about some layers being developed in the FOSS drivers like the one you use, to allow modern OpenGL versions to run on top of HW which was not officially supporting it. If you manage to reach at least a 3.x version you'll be good to go :)

Unfortunately on our side is not a "flag" away this feature and requires 2x the efforts to be maintained. Be it in code, in dependencies, in tests and in release artifacts. And most of all, if I downgrade to OpenGL 2.1 for everyone there's a good chance we loose Shader features and RenderDoc debugging too, which is even useful for myself sometimes to debug things not working properly. This is a high cost to pay for a FOSS project being maintained in our free time.

Although IF an easy way arises in order to allow ALSO OpenGL 2.1 support, I'm all for it. The links above unfortunately requires some Defined to be done forehead bgfx is built.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Kitsune on 2020-07-07 14:04:36
Thank for your replys,

I will try find something to make FFVII PC/Steam version work well here, maybe retry with the Aaly that seem more easily compatible (OpenGL2.1 support)
But normaly there is a way about Dx9 with my configuration I thinks and your Canary version propose it, But I don't think I have made it work one time with the Dx9 mode here throught Wine.


For answering to  sithlord48:

I have downgraded my Debian system to 9 Stretch now because the last proprietary drivers from Nvidia for my card can't be installed on the 10 Buster version...These drivers depends of the Kernel version of Linux:

This is a GeForce Go 7400 (serie 7) Last drivers compatible is 304.137.

Code: [Select]
sudo lshw -C VIDEO
  *-display                 
       description: VGA compatible controller
       produit (product): G72M [GeForce Go 7400]
       fabriquant (manufacturer): NVIDIA Corporation
       identifiant matériel (hardware ID): 0
       information bus: [email protected]:01:00.0
       version: a1
       bits: 64 bits
       horloge (clock): 33MHz
       fonctionnalités (functions): pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       ressources: irq:16 mémoire:d1000000-d1ffffff mémoire:c0000000-cfffffff mémoire:d0000000-d0ffffff mémoire:c0000-dffff


uname -a
 4.9.0-12-686-pae #1 SMP Debian 4.9.210-1+deb9u1 (2020-06-07) i686 GNU/Linux
[b]wine --version [/b](last stable)
wine-5.0.1

glx OpenGL information:
OpenGL version string: 2.1.2 NVIDIA 304.137

Details:
glxinfo | grep "version"
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 2.1.2 NVIDIA 304.137
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 304.137 304.137
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.00
Very limited comparing to recent GPU yes...


---Reedit 21:40---

Just information:
I have installed again the Steam version of the game with the proprietary Linux drivers. It run into original form by Wine -->DirectX but lag sometimes into combats, I have previously had the same lag on another Linux OS installation.
But with "Nouveau" Driver, DirectX don't run at all here. I will try now the FFNx version and maybe some tweaks in Wine for accurate speed with this material. Normally my graphic card is Dx9 compatible.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-07-07 21:19:38
Just information:
I have installed again the Steam version of the game with the proprietary Linux drivers. It run into original form by Wine -->DirectX but lag sometimes into combats, I have previously had the same lag on another Linux OS installation.
But with "Nouveau" Driver, DirectX don't run at all here. I will try now the FFNx version and maybe some tweaks in Wine for accurate speed with this material. Normally my graphic card is Dx9 compatible.

You could either try to use the DirectX 9 configuration in the canary ( see https://fedoraproject.org/wiki/Changes/Wine_to_use_mesa_Direct3D ) or you can also use this trick which I found just now :) Maybe it works fine for you too: https://bbs.archlinux.org/viewtopic.php?pid=1854649#p1854649

Let me know!


//EDIT: You may also fake the reported OpenGL version to something newer and see how it goes: ( MESA_GL_VERSION_OVERRIDE -> https://docs.mesa3d.org/envvars.html )
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Kitsune on 2020-07-08 07:44:48
Hi True Odin,

Thanks for the tricks I will get an eye on it and try..
I have tryied the DirectX mode and have a black screen with a message box troubles for now...Also there where a resolution trouble but I don't know if this is "from Wine" or if this is the Canary version of FFNX about windowed mode and resolution troubles with DirectX9 mode...Here it always put the game in fullscreen mode in Wine or in my native context -->Linux screen. I have tweaks the config file and the parameters in the steam launcher but same trouble...I have also overwrite with the original config file from the FFNx pack but the trouble is always here. Also the game launch with I thing 640x480 also when I specified in the config file my native resolution...Don't know why...I have try also deleted the config file from Sque Enix folder and put the default resolution but the error message of the game persist for now in Dx9 mode. If you can test it in you home with the Canary version if you have trouble about Dx9 endering mode and resolutions/windowed mode. Thanks.

About Gallium I have installed it before in my Debian 10 with the "Nouveau" drivers and it make some troubles on Wine...but maybe retrying it with more well documented about it. I will put on eye on your tricks about opengl and Mesa.

They talking about NV50 support for Nvidia and mine is just NV40 also talking about GL ARB_compatibility in GL 3.1 mode. But don't see it in the proprietary driver I have. They talking about LLVmPipe it's a software driver "GPU"-->CPU from Mesa apparently, Maybe that will work but no GPU use here the CPU will suffer certainly ^_^ go continue learning...Maybe try this way for testing.

Here a table with NV40 (serie 6 and 7 Nvidia) Mesa compatibility with the GPU driver:
https://people.freedesktop.org/~imirkin/glxinfo/#b=version&g=NVIDIA%20NV4x%20(GeForce%206%2C%207)&p=compat
The 2.1 is effectively the last OpenGL version Fully implemented. The way is a CPU drivers or something between.

Thanks
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-07-13 22:44:14
FYI I did a quick check on the OpenGL topic as I'm working on the renderer part again and this came straight out of the driver log using "renderer_debug = yes" in the cfg file:
Code: [Select]
[00000000] TRACE: BGFX Capabilities (renderer OpenGL 2.1, vendor 0x10de, device 0x0000):

This means the driver is fully capable of using any OpenGL 2.1+ version, when using the OpenGL renderer. If you are being detected as something else, this may be a Wine issue.

Cheers :)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: PoolHandMan on 2020-08-05 21:45:44
I'm using it along 7th heaven 2.0. It works fine but it seems any changes I make in 7H_GameDriver.cfg don't take effect in the game. For example, playing in windowed mode or hiding the fps counter. Any suggestions? I'm new to this mod stuff but I understand 7th and your driver are two separate things and it's not your obligation to make it work, so if you can't help I understand
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-08-06 00:24:12
I'm using it along 7th heaven 2.0. It works fine but it seems any changes I make in 7H_GameDriver.cfg don't take effect in the game. For example, playing in windowed mode or hiding the fps counter. Any suggestions? I'm new to this mod stuff but I understand 7th and your driver are two separate things and it's not your obligation to make it work, so if you can't help I understand
That's because FFNx doesn't read 7H_GameDriver.cfg, it reads FFNx.cfg.  Alternatively, upgrade to 7Hv2.2beta and get the best of both worlds ;)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: PoolHandMan on 2020-08-06 12:24:39
That's because FFNx doesn't read 7H_GameDriver.cfg, it reads FFNx.cfg.  Alternatively, upgrade to 7Hv2.2beta and get the best of both worlds ;)

thanks, when I installed it I renamed FFNx.cfg to 7H_GameDriver.cfg as I learned here https://www.youtube.com/watch?v=_xmNDtxKPt8 (https://www.youtube.com/watch?v=_xmNDtxKPt8)

when I finish new threat I'll do that then, uninstall 2.0 and install 2.2, because I'm afraid of messing up :D (took me some time to configure it, specially the controls)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-08-06 13:21:48
Despite being only two months old, that video's already out of date... Tsuna made it with 7H v2.0, and unab0mb has since put v2.2 into public beta, which incorporates FFNx natively :)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: sasukexbox on 2020-08-17 22:55:20
Does it mean it will look like the PS1 original game? 'cause that would be cool

What sucks is, if you use mods on Steam. Then that wont unlock the steam achievements : (
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-08-19 20:42:22
Does it mean it will look like the PS1 original game? 'cause that would be cool

What sucks is, if you use mods on Steam. Then that wont unlock the steam achievements : (

Load any savegame that is near the last cave using the original driver, and you'll get all of them instantly :)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Topken on 2020-10-10 13:39:20
*bangs head against keyboard* I have been at this since last night and things still aren't working for me. Here's a link to my log file and I have already repaired both Windows 10 and .net Framework that is built into Windows 10. Game is unable to launch for me as can been seen. Launches but crashes as soon as it becomes responsive. Anyone have any idea what else I can try to do to fix this short of a complete reinstall of Windows 10 from scratch?

https://www.dropbox.com/s/xdp7q8touv62oce/FFNx.log?dl=0
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-10-11 15:17:08
Are you trying to run FF7 directly, or via a loader/manager like 7H?  If the latter, we need to see the mod config options you have set.

But it might not go that far... see if you have the Animations mod's 60fps option enabled. If so, turn that off. It's incompatible with FFNx (not that it was really all that great to begin with)
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Topken on 2020-10-11 19:52:45
I am loading via 7H and yeah I am aware of the 60FPS issue with FFNX and that is set to 15FPS personally. I have the same setup on a different computer and everything is working fine over there so there is an issue with this PC it would seem.

(https://www.dropbox.com/s/gtol741c002ruky/screenshot%202020-10-11%2015.54.24.png?dl=1)

Here are the mods I have enabled which aren't out of the norm. Animations is already set to 0:15FPS so that isn't the cause of my headache with this setup.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: -Ori on 2020-10-11 20:58:01
Here are the mods I have enabled which aren't out of the norm. Animations is already set to 0:15FPS so that isn't the cause of my headache with this setup.

regardless, you can confirm you have completely turned the animations mod off and the same thing happened?

if it does, the next step is to turn ALL the mods off and try to see if it works


if it launches but crashes when the game becomes responsive, its almost certainly a mod compatibility issue
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: LordUrQuan on 2020-10-12 16:53:23
That screenshot is just which mods you have active, not the options within them.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-10-22 13:38:02
It is with great pleasure that I would like to announce the newest FFNx 1.8.0 release :)

Improved rendering performance, super-smooth Vulkan and DirectX 12 support, astonishing Audio Engine and much much more are waiting for you to be explored in this new release.

Feel free to know more about it in the official changelog: https://github.com/julianxhokaxhiu/FFNx/wiki/Changelog_v1.8.0

A special thank you to all the people who have worked together with me in this new milestone.

Looking forward for great new achievements in the future.

Until then, enjoy!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: AuthenticM on 2020-10-23 05:15:04
It is with great pleasure that I would like to announce the newest FFNx 1.8.0 release :)

Improved rendering performance, super-smooth Vulkan and DirectX 12 support, astonishing Audio Engine and much much more are waiting for you to be explored in this new release.

Feel free to know more about it in the official changelog: https://github.com/julianxhokaxhiu/FFNx/wiki/Changelog_v1.8.0

A special thank you to all the people who have worked together with me in this new milestone.

Looking forward for great new achievements in the future.

Until then, enjoy!

Congratulations! Looking at the changelog, this is a very sweet release indeed!

I have a question. Would FFNx 1.8 allow a mod that tries to implement a menu layout similar to FF7 Remake?

(https://i.redd.it/beata1utchm31.jpg)

By that I mean having the menu entries on the left, full character portraits in the middle, and even having the menu transparent so that the player can see the gameplay screen behind it.

I believe that I have read, in the past, that the menu screen layout in FF7 is pretty hardcoded into the game, which makes it difficult to be modified. That's why I'm asking; I'm curious if advances have been made on that front.

Thank you
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Chrysalis on 2020-10-23 18:00:53
It is possible, but as always with UI layout changes it requires knowing the memory/executable addresses to modify, and in some cases custom code may need to be injected into the game.  On my mod ESUI, I did document the address modifications I did so you can extract the mod to find some of these addresses, I do not know all the addresses required to achieve this though so some effort is required to pull it off.  The bit I am unsure off is if the game background can be visible behind the menu, the game very likely does not keep the field rendered, when the menu is on screen, the frame rate is changed as an example when the menu is drawn.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Salk on 2020-11-19 05:19:13
Congratulations on this newest release!

The change-log is indeed impressive and if I understand correctly now it will be possible to have the animated background working also when using upscaled background textures?

Cheers!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zera on 2020-11-24 23:06:10
Did you manage to implement proper analog support? Also, is it possible to use Tonberry with this driver (I think it wasn't last time I checked)?

EDIT: Never mind, the answer is no to both. I got hopeful when XInput support was mentioned.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: andreasaspenberg on 2020-11-27 23:28:52
i have no issues running final fantasy 8. it actually works better in my version of windows 10 than it did in windows xp(that goes for both steam and disc versions). even the installer worked perfectly. the steam version of final fantasy 7 also works perfectly. i have tested them recently. final fantasy 7 and 8 on steam i tested while i was writing this.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-12-06 21:00:00
Congratulations on this newest release!

The change-log is indeed impressive and if I understand correctly now it will be possible to have the animated background working also when using upscaled background textures?

Cheers!

Thank you :) Yes, Satsuki is working hard on it and a new release is going to be released. Stay stuned!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-12-06 21:01:11
Did you manage to implement proper analog support? Also, is it possible to use Tonberry with this driver (I think it wasn't last time I checked)?

EDIT: Never mind, the answer is no to both. I got hopeful when XInput support was mentioned.

What do you mean by proper analog support? Also about Tonberry it will never work as FFNx is a custom rendering engine, while Tonberry hooks the internal game rendering engine. But the same feature may come one day as soon as texture replacement will become a thing.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-12-06 21:02:01
i have no issues running final fantasy 8. it actually works better in my version of windows 10 than it did in windows xp(that goes for both steam and disc versions). even the installer worked perfectly. the steam version of final fantasy 7 also works perfectly. i have tested them recently. final fantasy 7 and 8 on steam i tested while i was writing this.

Glad to hear that :) Feel free to follow the development as more is going to come. We're not done...yet!
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Salk on 2020-12-08 13:10:33
Thank you :) Yes, Satsuki is working hard on it and a new release is going to be released. Stay stuned!

Well, then this is indeed a great accomplishment.

Thanks again for all the hard work you guys are putting into this.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: Zera on 2020-12-12 23:16:37
What do you mean by proper analog support?

Analog movement is broken in FF8 and FF9 (FF7 never supported it because it was released before the PS joypad with analog sticks). It doesn't support sensitivity (so you can walk without needing a dedicated button) and only allows 8 directions as if it was a D-Pad. I believe the Moguri mod fixes it in FF9, but no such mod exists for FF8.


Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: olearyf2525 on 2020-12-16 08:23:55
Thank you :) Yes, Satsuki is working hard on it and a new release is going to be released. Stay stuned!

Looking forward to it, thanks for all your hard work.
Title: Re: [FF7PC-98/Steam] FFNx - Next generation driver with native Steam support!
Post by: TrueOdin on 2020-12-16 21:13:38
Analog movement is broken in FF8 and FF9 (FF7 never supported it because it was released before the PS joypad with analog sticks). It doesn't support sensitivity (so you can walk without needing a dedicated button) and only allows 8 directions as if it was a D-Pad. I believe the Moguri mod fixes it in FF9, but no such mod exists for FF8.

I see what you mean. Actually I did never try this personally but on FFNx I've reimplemented completely the gamepad support, by writing my own layer and supporting DInput and XInput out of the box, and additionally D-Pad works on both ways OOB too. Analogs works as always, but please feel free to try if the sensitivity is fine or not on the latest canaries. I'll be happy to support if not ( as far as I can go ofc as having no source makes the task a little harder :) )