ShootersForever.com Forum Index

GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion
GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community


GoldenEye Setup Editor Feature Requests List/Bugs
Goto page Previous  1, 2, 3 ... , 109, 110, 111  Next
 
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department
View previous topic :: View next topic  
axdoom
Agent
Agent


Joined: 28 Sep 2024
Posts: 2
Location: Canada

 PostPosted: Sat Sep 28, 2024 1:21 pm    Post subject: Bug - cannot knife polygons Reply with quote Back to top

Hi,

I can't split a polygon in the custom level I'm building inside of Complex.

I usually use the knife tool to split polygons along portal edges so I can create more rooms to optimize my levels. I've already successfully split some polygons on the level, even using the same portal shown in the video as a knife, but some polygons such as the ones shown here are refusing to split.

There is no feedback from the editor explaining why it isn't working.

Video: https://streamable.com/8zc9uw
 
View user's profile Send private message
HackBond
007
007


Joined: 14 May 2009
Posts: 1352
Location: Scotland

 PostPosted: Sat Sep 28, 2024 5:29 pm    Post subject: Reply with quote Back to top

I've ran into a new bug. I cannot open the Vertice Colouring tool after completing a few steps. This happened in the GE side of the editor. I haven't tried the PD side.

- Edit Room Positions, Open Vertice Colouring Tool
- Do not close the Vertice Colouring Tool
- Switch to Edit Clipping and open the Clipping Colour tool
- Do not close the Clipping Colour tool
- Switch back to Edit Room Positions, try to open Vertice Colouring Tool, doesn't work
_________________
Also known as Spyster or Nyxem
[Youtube]

[Decoy] Antenna | Control | Silo | Escape
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Sun Sep 29, 2024 4:24 pm    Post subject: Reply with quote Back to top

I fixed the closing and not reopening.

As for the knifing - is it possible is more than one layer of triangles there? Try pressing H to hide, maybe is that?

I did the pillar as Set as Knife YZ, since I don't have a portal there, selected same triangle, and cut it, and it worked ok. I'm not sure what is going on there? Can try that.
 
View user's profile Send private message
axdoom
Agent
Agent


Joined: 28 Sep 2024
Posts: 2
Location: Canada

 PostPosted: Sun Sep 29, 2024 7:04 pm    Post subject: Reply with quote Back to top

I'll send you a PM with a copy of the ROM. Nobody is able to recreated it in OG Complex.
 
View user's profile Send private message
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Mon Sep 30, 2024 12:53 pm    Post subject: Reply with quote Back to top

Thanks that helped. Looks to be a rounding issue from the math library I was using. I fixed it in beta. I will note that the portal is not identical plane to the pillars, which did work before (so not sure if that will cause issues with your level).
 
View user's profile Send private message
HackBond
007
007


Joined: 14 May 2009
Posts: 1352
Location: Scotland

 PostPosted: Fri Nov 29, 2024 5:56 pm    Post subject: Reply with quote Back to top

There is something wrong with how the Editor handles double-sided triangles / CullBoth. They disappear from view at certain angles like the culling activates. It keeps appearing whenever the Editor injects background data including from slightly modified Rare backgrounds and is not easy to fix, requiring people to manually hex-edit the displaylists to fix the issue. Here are screenshots of it in action.

https://imgur.com/a/PX9MghN
_________________
Also known as Spyster or Nyxem
[Youtube]

[Decoy] Antenna | Control | Silo | Escape
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Sun Dec 01, 2024 5:09 pm    Post subject: Reply with quote Back to top

What exactly are you hex editing to fix it? You are saying it's losing the cull setting that clears culling for the triangles?

I mean it's clearly working overall so I'd need a very precise example to look over to understand.
 
View user's profile Send private message
HackBond
007
007


Joined: 14 May 2009
Posts: 1352
Location: Scotland

 PostPosted: Sun Dec 01, 2024 7:37 pm    Post subject: Reply with quote Back to top

SubDrag wrote:
What exactly are you hex editing to fix it? You are saying it's losing the cull setting that clears culling for the triangles?

I mean it's clearly working overall so I'd need a very precise example to look over to understand.


Sorry let me clarify properly.

Wreck specifically is manually fixing the exported display lists to get around this issue. I assumed this meant hex-editing whenever the display list holds the culling information. The exact methods haven't been described to me. I'll ask Wreck to try and explain it better than I since he is fixing it usually. The problem has always been described to me as the Editor is not saving/applying culling settings properly in some contexts, specifically when the Editor converts files.

I did try that new Background Template option to port Club (the level in the screenshots) to stock GE and the problem didn't appear that time. As soon as I exported the bgfile back to TSWLM (with wrong textures) the problem reappeared. TSWLM isn't alone in dealing with the problem, I've ran into it whenever editing or creating level backgrounds, and Graslu has ran into it.
_________________
Also known as Spyster or Nyxem
[Youtube]

[Decoy] Antenna | Control | Silo | Escape
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Mon Dec 02, 2024 10:43 am    Post subject: Reply with quote Back to top

I can't really help without specific recreation steps or examples. My guess is that there is a default that is not being reset (which is why editor always resets at end of list) so default is going to cull back instead of no culling.
 
View user's profile Send private message
HackBond
007
007


Joined: 14 May 2009
Posts: 1352
Location: Scotland

 PostPosted: Mon Dec 02, 2024 12:26 pm    Post subject: Reply with quote Back to top

I have specific examples this time but no method for reproduction. Sorry for the wait. Thanks to Wreck for all the help explaining this to me.

This is the exported Rooms from Club, a level in The Spy Who Loved Me conversion. I've included a patch for the mod so you can view the level in the Editor. The level occupies Bunker 1.

https://drive.google.com/drive/folders/1rHW7y9SuoA6fHaw-mssC5WsUi8rGREZD?usp=drive_link

The problem lies in several rooms, but we will look at Room 0B.
In the primary file (tempRoomIndice1ASVS0B.bin) it has a double-sided cull setting (B6 00 00 00 00 00 30 00) at offset 0x8 and then has a single sided cull setting (B7 00 00 00 00 00 20 00) at offset 0x50
In the secondary file (tempRoomIndice2ASVS0B.bin) the cull setting is completely missing.

If the secondary triangles are viewed in the Editor through the Replace Texture dialog, then it shows that the triangle is set with show both sides despite having no culling setting.
_________________
Also known as Spyster or Nyxem
[Youtube]

[Decoy] Antenna | Control | Silo | Escape
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Mon Dec 02, 2024 4:01 pm    Post subject: Reply with quote Back to top

It seems to be behaving properly to me:

All rooms clean themselves up automatically back to double-sided, so that it's clean for the next file to turn on whatever it wants, or default, such as with guns.

In your case, file 0B, has at offset 0x00000378, 0xB600000000002000, right before the file ends, which makes it double-sided and clears out cull back. So when it reads secondary, it goes to double-sided. I don't have your original model before you converted it, so not sure intent, but editor is reading at least your completed file properly. It also has MirrorS and MirrorT so seems like something was explicitly set for texture. The materials on import uses the keywords CullBoth (really means Cull None...), or CullFront, defaulting to cull back if not set.

It's also possible at some point someone manually set that texture in the entire level using replace texture dlg to mirrors/t, and cull both, and didn't realize it affected culling too of matching material? That's my guess, and probably have inadvertantly done that on regular levels too.

I exported your Room 0B to obj, removed the CullBoth, then imported, and it is properly showing secondary as Cull Back. I think maybe your import has defined the texture as CullBoth MirrorS MirrorT, which applies to all rooms.

I can't find any editor issues, unless there is a real issue.
 
View user's profile Send private message
HackBond
007
007


Joined: 14 May 2009
Posts: 1352
Location: Scotland

 PostPosted: Mon Dec 02, 2024 5:36 pm    Post subject: Reply with quote Back to top

SubDrag wrote:
It seems to be behaving properly to me:

All rooms clean themselves up automatically back to double-sided, so that it's clean for the next file to turn on whatever it wants, or default, such as with guns.

In your case, file 0B, has at offset 0x00000378, 0xB600000000002000, right before the file ends, which makes it double-sided and clears out cull back. So when it reads secondary, it goes to double-sided. I don't have your original model before you converted it, so not sure intent, but editor is reading at least your completed file properly. It also has MirrorS and MirrorT so seems like something was explicitly set for texture. The materials on import uses the keywords CullBoth (really means Cull None...), or CullFront, defaulting to cull back if not set.

It's also possible at some point someone manually set that texture in the entire level using replace texture dlg to mirrors/t, and cull both, and didn't realize it affected culling too of matching material? That's my guess, and probably have inadvertantly done that on regular levels too.

I exported your Room 0B to obj, removed the CullBoth, then imported, and it is properly showing secondary as Cull Back. I think maybe your import has defined the texture as CullBoth MirrorS MirrorT, which applies to all rooms.

I can't find any editor issues, unless there is a real issue.


Thank you for explaining how this works. The texture is supposed to have CullBoth / show both sides. If I can find a method of reproduction that has this behaviour (culling activating at different angles despite CullBoth / show both sides) I'll return.
_________________
Also known as Spyster or Nyxem
[Youtube]

[Decoy] Antenna | Control | Silo | Escape
 
View user's profile Send private message Visit poster's website
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7215
Location: Ontario, Canada

 PostPosted: Mon Dec 02, 2024 6:45 pm    Post subject: Reply with quote Back to top

The secondary display list needs to have a cull setting in it. It was not being added. Simply sticking in the standard cull both sides command...

B6000000 00003000

...before the draws corrected the issue. I have had to do this with a few levels in the past, including regular GE maps that were retextured and re-exported by users. Without the setting, it only shows properly from one side, and fights to render from the other.
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6145

 PostPosted: Tue Dec 03, 2024 2:17 am    Post subject: Reply with quote Back to top

Are you saying that secondary is random what cull setting it has and it isn't drawn right after primary? Maybe it's all primary rooms, then all secondary? Not fully sure. Maybe that was more true on props and guns.
 
View user's profile Send private message
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7215
Location: Ontario, Canada

 PostPosted: Tue Dec 03, 2024 4:59 pm    Post subject: Reply with quote Back to top

I would need to confirm, but I am fairly certain that rooms require the cull setting in each primary and secondary display lists. I do know what you mean about other types, though. I think characters that use secondary draws can carry over the last set cull. I would have to look at props and guns.

If you take a level, even say Runway, and simply do Export Rooms to Text File and pop open the secondary files in a Hex Editor, they should set their own cull commands. I will even look later tonight to be certain.
 
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department All times are GMT - 8 Hours
Goto page Previous  1, 2, 3 ... , 109, 110, 111  Next
Page 110 of 111

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Cobalt 2.0 BB theme/template by Jakob Persson.
Copyright © 2002-2004 Jakob Persson


Powered by BB © 01, 02 BB Group

 


Please Visit My Other Sites: GoldenEyeForever.com | GrandTheftAutoForever.com

Got kids? Check out my Dora The Explorer site with games and coloring pages!

Our forums feature Nintendo 64 games, GoldenEye 007 N64 New Maps and Missions, GoldenEye Cheats, N64 Emulator, Gameshark, GoldenEye Multiplayer and more!

[ Privacy Policy ]