Menu

Resident Evil 1 PC

Megaman
2017-03-02
2021-09-28
1 2 > >> (Page 1 of 2)
  • Megaman

    Megaman - 2017-03-02

    I been trying to a find a way to fix overlapping polygons in RE1, im not a professional tech guy and there soo many options in dxWnd..the game runs fine, but its ugly, maybe someone can help?

    Thanks

     

    Last edit: Megaman 2021-09-27
  • gho

    gho - 2017-03-02

    Uhm, overlapping polygons should happen only in HW accelerated mode, but I believe that the original "Resident Evil" only works on sw mode or specifying a particular video card. To try to help I'd need some more information about the game (did you install some patch?) or the installation (what card did you select?)....

     
  • Megaman

    Megaman - 2017-03-02

    No its a clean version with DxWnd...no patches, i selected the last on in the list...selecting different cards matters at all? it has something to do with 3dfx and directdraw? yes, original works in soft mode, with 320 and 640 resolution i believe?

     

    Last edit: Megaman 2017-03-02
  • Megaman

    Megaman - 2017-03-02

    I been also playing with Sega Saturn and PS1 versions of RE1, PS1 version looks better of all so far)

     
  • gho

    gho - 2017-03-03

    Resident Evil 1 with no patches comes with a choice of 3D cards, but the maximum resolution I got from the setup menu (actually, the only one!) is an ugly 640x480. Avoiding 3DFX chipsets (unless you have a VooDoo card or you want to try an emulator) the last choice is for a Rendition Intergraph Intense 3D (not that this matter too much) and the game does NOT use HW acceleration, with a result like in the attached pictures. I agree that it is ugly, but there is no polygon overlapping, IMO. I fear this is the best we can squeeze from the game as it is from the CD.
    If you have a different result, it would be very interesting to know what and how did you get it! In case, please post here some screenshots and infos.

     
  • Megaman

    Megaman - 2017-03-03

    I dont think i can do something about it, im just gonna play PS1 version, HW mode on PC looks a lot better then with PS1 emulators, PC version also doesn have the "shaking" polygons which PS1 has, ...but PS1 is more accaptable right now.

     
  • Megaman

    Megaman - 2021-09-25

    "Failed to initialize the Graphic Hardware Device.(3)"
    This issue is caused by incorrect detection of Z-buffer formats on AMD cards

    Is there something in dxwnd that can fix that?
    
     
    • BEEN_Nath_58

      BEEN_Nath_58 - 2021-09-25

      i don't remember exactly but some modified atiumdag.dll or such fixed this

       
    • gho

      gho - 2021-09-25

      Could you post here the dxwnd.log logfile after running the game with these log options?

       
  • Megaman

    Megaman - 2021-09-26

    resident evil 1

     
  • gho

    gho - 2021-09-26

    Weird, I didn't recall a thing like this:

    CreateProcessA: ApplicationName="NULL" CommandLine="I:\horr\usa\data\biovfwus.bin" CreationFlags=0 CurrentDir="NULL" mode=DEFAULT
    

    the log tells that everythink is ok up to the end, when the program "i:\residentevil.exe" (btw, you are running the game from the CD, is that correct?) spawn this other process "I:\horr\usa\data\biovfwus.bin" that would start without DxWnd control.
    I'll have to investigate if this is correct for a standard game version, but in any case if you want DxWnd to keep controlling the game you should add some flags, at least the following:

    • Hook / Inject suspended process
    • Hook / Son process hook / Extend inject
    • Hook / Son process hook / Shared hook

    p.s. to make a better test, could you tell what game release are you using? If possible, you could write me privately through the PM channel with instructions about how to get a copy of this game release.

     
  • Megaman

    Megaman - 2021-09-26

    check your PM

     

    Last edit: Megaman 2021-09-26
  • Megaman

    Megaman - 2021-09-26

    Ive recorded a video, showing blinking overlapped polygons on models. My guess, Its probably has something to do with backface culling in dx or opengl. Or different shaders or something:-)
    https://www.youtube.com/watch?v=gwNlDJTq4Q4

     

    Last edit: Megaman 2021-09-26
  • gho

    gho - 2021-09-26

    Got it.
    First of all, let me say that DxWnd doesn't work very well with Win95 compatibility or other shims, and even if it works there seems to be no warranty that the Win95 shim will keep being the same (Microsoft makes frequent updates to this stuff) so that tomorrow it may cease to work.
    Also, running the game with CD mounted is not very handy, it's better to have a fully portable HD setup.
    Last but not least, I couldn't get to make the work either, so for the moment aI took the lazy and easy way: there's a nice game setup on AbandonwareFrance (search "resident evil", then click on "Télécharger le jeu" and click on " Version automatique") that brings everything you need on HD, including maybe some patches. The only drawback, the game is in french language, but I think it should be possible to add the UK/USA language from your CD, but it doesn't matter, this was only a test.
    Starting from this setup, it is necessary to apply some changes:
    1) get rid of ddrawCompat wrapper. It is an excellent product, but most functionalities overlap those of DxWnd, so they may not work well together. Just delete/rename the ddrawCompat folder.
    2) clear all shims. In RESIDENTEVIL.EXE properties clear the Win95 and administrator compatibility flags. Also delete/rename RESIDENTEVIL.sdb (the shims database)
    3) hook RESIDENTEVIL.EXE with DxWnd. Do not bother trying RESIDENTEVIL1024.EXE, the game resolution is still 640x480!
    4) in DxWnd configuration set "Hook injected process".
    5) The game makes use of some privileged instructions, probably to generate sounds in the legacy old way. In DxWnd configuration set "Compat / Handle Exceptions", it will take care of that.

    This way the game worked for me, but as I said it was just a test.
    I also noticed that at the link you kindly provided there's a RE1_Fix.rar file that holds some patched files including the mysterious BIOWFUS.BIN file (is it a US version of the arcade BIOS?). Later I'll make tests with your configuration as well.

     
  • gho

    gho - 2021-09-26

    Sorry if I ask, but your movie showed a graphic rendering that seems hw accelerated. How did you get this? The installer proposes a choice amongst 6 (I think I recall) different choices, which one did you pick? If it was a 3dfx card, what emulator did you use? Did you use any patch or game update? Sadly, DxWnd logs can't be used to know this.
    More: If RESIDENTEVIL.EXE successfully run biovfwus.bin and you added the "Son process hook" flags that I told you, then there should be a second dxwnd.log file in the "I:\horr\usa\data\" folder that should tell more interesting things.

     
  • gho

    gho - 2021-09-26

    A quick note: the game is rendered in RESIDENTEVIL.EXE, but all movies are handled by biovfwus.bin, so there's a continuous swapping between these two executable files and therefore DxWnd absolutely need the "Son process hook" flags that I told you.
    Here is my configuration example.

     

    Last edit: gho 2021-09-26
  • Megaman

    Megaman - 2021-09-27
    • to switch between resolutions hit F8 in-game. It is HW accelereted by default. I think you can enable software mode by adding "/nocard1" and/or "/nocard2" to a shortcut, but that doesnt do anything on my computer.
    • The two different 3dfx options give more artifacts like this: http://prntscr.com/1trxwse The last 3 options work better...but Im pretty sure all options with HW acceleration.
    • I have no mods or emulators, I tried dgVoodoo2, but its poorly optimized for AMD, and most games are black and white.
    • I have no clue what BIOWFUS.BIN is.
     

    Last edit: Megaman 2021-09-27
  • gho

    gho - 2021-09-27

    Ok, thanks, I didn't know about the F8 trick, at 640x480 the quality is much better. Too bad there's nothing more than this one.
    So, back to the original question, did you apply the additional DxWnd flags? Did they help fixing the problem? do you still have problems with the game? In case there are still problems, were you able to locate the additional dxwnd.log file?
    There is also a possibility that the log files could overlap each other, so hiding some interesting log. In that case you could enable the flag "Logs / separated" that will open a new file (named like dxwnd(n).log) for each new activation. In this case remember to disable the flag and delete the unnecessary logs in the end, otherwise your HD will be flooded with log files!

     
  • Megaman

    Megaman - 2021-09-27

    all log files in dxwnd core directory, correct?

     
  • Megaman

    Megaman - 2021-09-27

    I tried your config on my version, all the same.
    I forgot to mention that the game should be capped at 30fps or so, otherwise character animations move too fast.

     
  • gho

    gho - 2021-09-27

    all log files in dxwnd core directory, correct?

    Uhm, I should check: usually the logs are in the target program folder, that in this specific case brings some problem since the target folder is the read-only CD I: device. Maybe we can fix that by setting another flag, "Logs / Write on temp folder". This way the logs will be written in "\Users\<username>\Appdata\temp" hidden folder, but you can easily open that folder by writing %TEMP% on the explorer path....

     

    Last edit: gho 2021-09-27
  • Megaman

    Megaman - 2021-09-28

    Do I need to enable the same flags as before?

     
  • Megaman

    Megaman - 2021-09-28

    I cannot start the french version with your instructions: http://prntscr.com/1twnom7The
    It must have win95 compatibility.
    this the config Im using

    it gives the same error as in my version, without dxwnd: http://prntscr.com/1two1yj

    are you using nvidia card?

     

    Last edit: Megaman 2021-09-28
    • gho

      gho - 2021-09-28

      I'm out of home now, so I'll check later, but yes, I removed the Win95 compatibility, the "Run as administrator" Windows flag (see screenshot from Win7 example, on localized Win10 it should be different but you know what I mean), renamed the .sdb shim databases and the ddraw folder so that they can't be seen. The configuration was identical, except for the obvious fact that you should hook the RESIDENTEVIL.EXE on HD instead that the one on CD. Probably you'll have also to pay attention to make a clean uninstall of each release before installing the next one.
      Does the French version work without interventions and without DxWnd?

       

      Last edit: gho 2021-09-28
  • Megaman

    Megaman - 2021-09-28

    I did by your instructions. The game prompts an error without dxwnd.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.