K
Kaldarasha
Guest
Yeah this works. ;D
As I thought... that value has NO place being there at all. Well, not anymore anyway. I'll leave it to Aali to see what's whatYeah this works. ;D
So would you have to write the shaders by hand or is it theoretically possible to procedurally generate them based on the code in the field scripts? Either way it seems like a lot of work. Also, if current hardware doesn't support paletted textures how do the originals show up correctly in game. Just trying to wrap my head around this.Those animations rely on the field script being able to modify the palette in real-time (changing the actual colors in the palette, not just switching between different palettes). Obviously that cannot work with your upscaled images since there is no palette to speak of. In theory it would be possible to create upscaled images that use the original palettes but that would kind-of defeat the point not to mention be difficult to implement and since there's no hardware from this millenium that supports paletted textures it would run incredibly slow even if you could make it work.
I have been thinking long and hard on this one, I figure the best bet would be to somehow analyze the field script to figure out what effect it is trying to accomplish and implement it with a shader. That is unfortunately only slightly more feasible than the above "solution".
Writing the shaders by hand would be insanity, generating them from the field script or perhaps analyzing the palettes themselves is the only practical way of doing it. Original textures are converted to plain BGRA textures on the fly. That's already kind of slow but acceptable on modern PCs, a 4x resize however would require 16x the amount of CPU power and GPU bandwidth.So would you have to write the shaders by hand or is it theoretically possible to procedurally generate them based on the code in the field scripts? Either way it seems like a lot of work. Also, if current hardware doesn't support paletted textures how do the originals show up correctly in game. Just trying to wrap my head around this.
(Noone replied to Kaldarasha's question other than someone saying his screenshot was stretched from 4:3 to 16:9)The last thing, which bugs me are the shadows in battle.
Well, I guess I should say that the whole transparency system for the effects doesn't look right. On PSX the transparency faded from the center to the edge, but I don't know if it is possible to create this effect on PC easiely.
That is quite strange and not how I intended it to work. Could you send me the files you used to test this? And just to be sure, can you check that fancy_transparency is on? I don't see why anyone would turn it off but that would disable the alpha blending.I guess I need to search for my test shadow field model and make some tests to see if I understand what you say right...
Edit:
Maybe I got you wrong but this is the result of my tests:
I have tried to replace the shadow texture with its external counter part, but no matter which setting I use it doesn't use the correct alpha blending:
As you can see I need to change the status for the shadow part to average to get alpha blending to work, but that's not as I had planed that it should look like. I wasn't sure if I replaced the shadow texture right, so I painted an big red A on it. Well I had done it right...
Here is the same with the driver built before and that's what I expected the shadow should look like. Though I still need to set the blending for the part to average:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF8 1.2 US English[00000000] INFO: NVIDIA Corporation GeForce GTX 760/PCIe/SSE2 4.4.0[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Using PBO[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 640x480, window size 1280x720, output resolution 1280x720, internal resolution 1280x960[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 2048[00000001] MATRIX INITIALIZE [00000001] INITIALIZING SOUND...[00000001] initializing direct sound[00000001] EAXDirectSoundCreate[00000001] creating primary buffer[00000001] initializing audio data[00000001] OK[00000001] initializing streaming[00000001] SOUND INITIALIZED[00000001] DIRECT MUSIC - Enumerating Ports...[00000001] PORT 0: Microsoft MIDI Mapper [Emulated][00000001] GUID={0x71951757,0xa58a,0x43de,0x95,0x62,0x9f,0x68,0xd6,0xe7,0x4a,0x76}[00000001] PORT 1: Microsoft GS Wavetable Synth [Emulated][00000001] GUID={0x3cceaa76,0xbe14,0x4339,0xb3,0xdf,0xdf,0xf,0x7a,0xda,0xa8,0xba}[00000001] PORT 2: Microsoft Synthesizer[00000001] GUID={0x58c2b4d0,0x46e7,0x11d1,0x89,0xac,0x0,0xa0,0xc9,0x5,0x41,0x29}[00000001] Creating Port1...[00000001] [00000001] Microsoft Synthesizer[00000001] [00000001] Port1 supports XG data[00000387] BinkClose[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld00_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld01_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl01_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl02_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl03_00.ctx for writing: No such file or directory[00000389] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\icon_00.ctx for writing: No such file or directory[00000389] GLITCH: missed palette write to external texture data\eng\menu\icon[00000978] SdMusicPlay ()[00000978] sd_music_play (number=0, song_id=79, volume=0)[00000978] midi_play...[00000978] Stopping Performance[00000978] Loading DLS...[00000978] midi_play FAILED!: returning 0[00001854] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld00_02.ctx for writing: No such file or directory[00001854] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld01_02.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\Face_b00_00.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\Face_b01_00.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\Gf_big00_00.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\Gf_big01_00.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld00_03.ctx for writing: No such file or directory[00001855] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld01_03.ctx for writing: No such file or directory[00001856] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\start00_00.ctx for writing: No such file or directory[00001856] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\start01_00.ctx for writing: No such file or directory[00001857] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl01_02.ctx for writing: No such file or directory[00001859] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld00_07.ctx for writing: No such file or directory[00001859] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\sysfld01_07.ctx for writing: No such file or directory[00002667] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_01.ctx for writing: No such file or directory[00002667] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_02.ctx for writing: No such file or directory[00002667] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl01_01.ctx for writing: No such file or directory[00003014] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_05.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_23.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl00_07.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl01_23.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl02_02.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl02_23.ctx for writing: No such file or directory[00003104] ERROR: couldn't open file c:\games\Final Fantasy VIII/mods/mods/cache/data\eng\menu\hires\iconfl03_23.ctx for writing: No such file or directory[00004444] WM_CLOSE [00004444] Releasing Performance...[00004444] Releasing Loader...[00004444] Releasing Port1...[00004444] Releasing DirectMusic interface...[00004444] Releasing COM...
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF8 1.2 US English[00000000] INFO: NVIDIA Corporation GeForce GTX 760/PCIe/SSE2 4.4.0[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Using PBO[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 640x480, window size 1280x720, output resolution 1280x720, internal resolution 1280x960[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 2048[00000001] MATRIX INITIALIZE [00000001] INITIALIZING SOUND...[00000001] initializing direct sound[00000001] EAXDirectSoundCreate[00000001] creating primary buffer[00000001] initializing audio data[00000001] OK[00000001] initializing streaming[00000001] SOUND INITIALIZED[00000001] DIRECT MUSIC - Enumerating Ports...[00000001] PORT 0: Microsoft MIDI Mapper [Emulated][00000001] GUID={0x71951757,0xa58a,0x43de,0x95,0x62,0x9f,0x68,0xd6,0xe7,0x4a,0x76}[00000001] PORT 1: Microsoft GS Wavetable Synth [Emulated][00000001] GUID={0x3cceaa76,0xbe14,0x4339,0xb3,0xdf,0xdf,0xf,0x7a,0xda,0xa8,0xba}[00000001] PORT 2: Microsoft Synthesizer[00000001] GUID={0x58c2b4d0,0x46e7,0x11d1,0x89,0xac,0x0,0xa0,0xc9,0x5,0x41,0x29}[00000001] Creating Port1...[00000001] [00000001] Microsoft Synthesizer[00000001] [00000001] Port1 supports XG data[00000387] BinkClose[00000389] GLITCH: missed palette write to external texture data\eng\menu\icon[00000978] SdMusicPlay ()[00000978] sd_music_play (number=0, song_id=79, volume=0)[00000978] midi_play...[00000978] Stopping Performance[00000978] Loading DLS...[00000978] midi_play FAILED!: returning 0[00001773] WM_CLOSE [00001773] Releasing Performance...[00001773] Releasing Loader...[00001773] Releasing Port1...[00001773] Releasing DirectMusic interface...[00001773] Releasing COM...