Fallout 2 mod FO2 Engine Tweaks (Sfall)

Discussion in 'Fallout General Modding' started by Dude101, Jul 30, 2007.

  1. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    hi timeslip,

    i just wondering, if there's an option for widescreen to add a letter box on the side, so that fallout won't be distorted, just got a new monitor, and everything looks fat,

    I downloadad killap's fallout restoration project that includes youre graphic tweaks,

    Hope I'm in the right thread :)
     
  2. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    No. There's nothing in the fallout 1 version that changes encounter rate. The fallout 1 version doesn't do much more than fix the blackout problem and let you use the middle mouse button and scroll wheel.

    Yup, you're in the right thread. :)

    There's no official option that will do it, but you can fake it with a hardware filter if you like. Create a file called 'global.fx' in the data\shaders folder, open it in notepad and paste this into it:

    Code:
    sampler s0 = sampler_state {
    	BORDERCOLOR = 0;
    	ADDRESSU=BORDER;
    	MAGFILTER=LINEAR;
    	MINFILTER=LINEAR;
    };
    
    static const float width = 16.0/9.0;
    
    float4 ps_p0(float2 tex : TEXCOORD0) : COLOR0
    {
    	tex.x = (tex.x - 0.5) * width/(4.0/3.0);
    	tex.x+= 0.5;
    	return tex2D(s0, tex);
    }
    
    
    technique T0
    {
    	pass P0 { PixelShader = compile ps_2_0 ps_p0(); }
    }
    Change the 16.0/9.0 line to match whatever the aspect ratio of your new monitor is. Set the GlobalShaderMode=xxx line in ddraw.ini to 3, set the graphics mode to 4 and set the resolution to the native resolution of your monitor.
     
  3. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    wow it worked, though it seems that the text is kinda blurry

    my resolution is 1440x900 and I set the aspect ratio to 16:10

    the size looks ok, its like im playing in 4:3 ratio, however the game is generally blurry, making it hard to play for a long period of time
     
  4. Octopuss

    Octopuss Guest

    Hmm I didn't read through 17 pages of posts, but will this work with say Killap's patch/mod?
     
  5. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    You'd need a 1536x960 resolution to not get any bluring. There are a few things you can experiment with to see if you can make it look better though. You can change the mag/min filter lines in the shader to POINT instead of LINEAR. In ddraw.ini you can change the ScaleFilter line to 5, or TextureFilter to 1. Alternatively, try a resolution of 768x480 and letting your monitor do the rescaling.

    Edit: Just tried them myself, but that mostly just made it look worse. :( Do your graphics drivers have an option to scale with a fixed aspect ratio? I know it's possible with nvidia drivers at least, and that gives a perfect image.

    Obviously you haven't read any of his thread either, given that both his patch and expansion include this as part of their download. :roll:
     
  6. Octopuss

    Octopuss Guest

    Yeah terribly sorry for visiting these forums only once in a few months and having better stuff to do with my time than reading through tens of pages.
     
  7. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    I didn't ask you to read through tens of pages. The very first post in killaps thread will do, as will the second post in this one.

    Sorry, but anyone not reading the first page and last couple of pages in a thread and asking something obvious can generally expect a sarcastic comment from me if I get there first. :P
     
  8. Octopuss

    Octopuss Guest

    Yeah but I wasn't aware of this back when I came by Killap's stuff. So I asked. I hope no hamsters were harmed in the process.
     
  9. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    there's this option for maintain aspect ratio, what should be the setting for ddraw.ini ?
     
  10. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    A 640x480 resolution, with all the shaders/scalers turned off. If your graphics driver can do it, it's best to let it handle everything.
     
  11. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    ok, trying ... its a built in video card btw, gma 3100 :D

    edit: ok i tried resetting all the settings, turning off the scaler and shader, and setting it to 640x480..

    i think the maintain aspect ratio option in my video card doesn't work, i don't see a letterbox on the side of the screen, the screen is still fat,

    though the sharpness is back
     
  12. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    Sorry, but if that doesn't work then I'm out of ideas. :( Maybe I'll add an 'official' letter boxing option for the next version.

    The option I was talking about is here in the nvidia drivers. Never even heard of a gma, but it's unlikely that an integrated card would support something like that, tbh.
     
  13. Alchemist

    Alchemist Nocturnal Mechanic Modder

    164
    Dec 26, 2004
    And honestly it's never has been spotted that FO1 really has problems with the encounter rate. It's FO2 only specific implementation bug.

    P.S. Timeslip, check your PM box, please. I have a request on the other topic.
     
  14. gregor_y

    gregor_y Where'd That 6th Toe Come From?

    405
    Jan 19, 2007
    Well actually there wasent to much encounters in FO1 still its becouse world was less developed and in FO2 everything moved on...
     
  15. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    thanks for the insights :)

    you're right timeslip, its a built in video card made by intel,

    Anyway, I plan to buy this card HD2600XT , made by ati, would they have flat panel scaling as well?
     
  16. Alchemist

    Alchemist Nocturnal Mechanic Modder

    164
    Dec 26, 2004
    gregor_y:
    Yes. But this has nothing to do with a technical issues. The real nature of the bug in the FO2 is the enounter rate dependency on the host machine perfomance. Users with faster computers get lesser rate than users with the slow computers. FO1 does NOT have this bug. And never had. There is no need to repair something which is not broken. When people begin to talk about 'fixing' enconter rate in the FO1 they most probably are newcomers from FO2 and just want to have things in the customary manner. But it looks more like cheating or creating of new bugs than fixing anything. :roll:

    nouvoMX:
    There were plenty of issues with ATI 2xxx series reported during the few last weeks. Videomodes below 1024x768 setting problems, unsupported GL caps and such. I'd adviced you to google for those reporst in the gaming forums before actually buying a card. May be it will make you to chose some other product.
     
  17. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    thanks for the heads up :)
     
  18. Mr.Wolna

    Mr.Wolna Vault Senior Citizen

    Nov 15, 2007
    Hey Timeslip i had an idea about total new weapons(standing, walking, etc.) and with the help of MIB88 who make this code there is now a possibility to make his true!
    So i want to ask you, to add this feature in your next version.

    Here is the Link to the tread!
    http://www.nma-fallout.com/forum/viewtopic.php?t=40795

    I hope you will add this, because ui think is a great zhing for all the modder.
     
  19. Timeslip

    Timeslip Water Chip? Been There, Done That
    Modder

    921
    Aug 15, 2007
    Done. :)

    Get the new version, set ScaleFilter=6 and set your resolution to either to 1440x900 or 768*480.

    Also new is one other scale filter, (which doesn't actually scale, but draws black borders along all 4 edges of the screen and only uses the central 640x480 pixels,) and the ability for shaders to automatically load textures.
     
  20. nouvoMX

    nouvoMX First time out of the vault

    13
    Jan 31, 2008
    timeslip:


    you forgot to set the graphics mode to 4, btw, fallout just crashes, it won't open im using the one I downloaded off your site , chorrol