IntelOrca / biorand

A randomizer for the classic Resident Evil games.
https://biorand.net
MIT License
76 stars 8 forks source link

RE 3, room 20C, many graphical bugs or crash #352

Open IntelOrca opened 1 year ago

IntelOrca commented 1 year ago

Version

3.0.1

Seed

R730-XAQF-ZTC885XZ3Z400NRPW490ZZZZZZZZZZZZZZZ

Scenario

RE 1 (Chris)

Player Character

Carlos

What happened?

Room 20C has many graphical issues due to the number of NPCs within the same room. I expect the custom NPCs (models and textures) are hitting some in-game limit related to graphical resources.

image image

Another seed: image

otamega72 commented 1 year ago

picture 1 : 20B:255 (0x3966) [MIKHAIL VIKTOR] becomes [TYRELL PATRICK (tyrell)] 20B:255 (0x39EE) [MIKHAIL VIKTOR] becomes [TYRELL PATRICK (tyrell)]

picture 2 : 20C:0 (0x5050) [JILL VALENTINE 1] becomes [TYRELL PATRICK (tyrell)]

picture 3 : is it [wesker(wesker.cv)] ?

Is it same person in both column [xxx(xxx)] cause the problem ?


maybe not , #338 no such problems if disable \mod_biorand\room

IntelOrca commented 1 year ago

@otamega72 the reason you don't get issues when you delete the room folder is because it removes the custom EMD (models/textures) for the NPCs. That is what is causing this, the custom NPCs we provide, probably because it is hitting some resource limit within the game.

It happens when multiple active EMDs are placed within a room. For example in the first part of 20C, I have to force Carlos to be added to the room, as a 3rd NPC (alongside Mikhail and Nikolai) just because you might have all the components for the train. If you place all the components of the train when entering the room before the Nikolai cutscene has been activated, it will crash because Carlos isn't there. So now that all 3 NPCs are in the room (even if they are inactive / out of bounds), the texture of the sparks at the front of the train becomes corrupted. Again I think it is hitting some texture limit, or the textures are not compatible with each other (bit depth?). It is rather unfortunate.