#Garry's Mod

1 messages Ā· Page 34 of 1

drifting hinge
#

doesnt anyone know why

subtle bison
#

what is the value of this setting for you?

drifting hinge
#

let me look

subtle bison
#

it seems to break decals though

#

not sure if that's fixable

drifting hinge
livid rapids
#

Good

#

Fuck them decals

subtle bison
#

also is it possible to see what is casting the shadow?

drifting hinge
drifting hinge
livid rapids
#

Check your addons

drifting hinge
#

so i cant look behind me

livid rapids
#

Disable all except niknaks and remix fixes

drifting hinge
#

the sky also flashes when shooting hl2 guns

subtle bison
#

@quiet scroll can you try your script on a fresh gmod install and see if you have the same issue as @drifting hinge

#

we no longer need mat_forcedynamic for maps with too many faces šŸ”„ šŸ”„ šŸ”„ šŸ”„ šŸ”„

#

we also dont have to disable any culling in the engine anymore either

#

god bless niknaks

subtle bison
#

are you viewing it on mobile?

#

the video is hevc and some devices cant play it

drifting hinge
#

pc

#

audio plays but not video

subtle bison
#

yea ill post a h264 ver one sec

#

see if this one works

#

oml embed fail

drifting hinge
#

you love to see it

subtle bison
drifting hinge
#

it plays now

#

but whats the reason for the errors before you press the magic button

subtle bison
#

i think this happens because engine culling is disabled and is trying to render all map faces at once

drifting hinge
#

how fun

subtle bison
#

displacements are a little buggy lol

#

looks like minecraft far lands

subtle bison
#

just kill the particle system with lua lmao

#

this isnt gonna be my actual solution, but its a decent enough stopgap

subtle bison
#

šŸ”„ šŸ”„ šŸ”„ šŸ”„ šŸ”„
im disabling a lot of core engine functions and then re-enabling them with some safe parameters, and now i can load maps that previously crashed the game

#

if i can go further, i might be able to keep particles and then gmod will require no dll patches lmfao

winter radish
subtle bison
#

for the first time voidplaces doesnt run at 10fps for me lmfao

#

once i figure out all of the crashes and make some kind of particle rendering alternative, ill PR these changes to xenthios github page

#

64-bit is coming soon boys šŸ”„

drifting hinge
#

but why 64bit

subtle bison
#

because 32-bit is severely bottlenecked by the remix bridge and general performance issues

#

64-bit is much faster than the 32-bit version

quasi blaze
#

Also 32-bit is quite older too and in the future More games and projects are more likely to use 64 bit too

subtle bison
#

a lot of maps require it too

quiet scroll
drifting hinge
#

real

quiet scroll
#

That's crazyy

#

hmmm, was it from a clean gmodrtx install? Is hl2.exe in the game directory? monkaHmm

#

or is it a weird playermodel? šŸ˜…

quiet scroll
#

peepoBlushReallyHappyDank CHAT WE'RE GETTING 64BIT GMOD FOR CHRISTMAS

subtle bison
#

idk about that lol, at least sometime soon_tm

stable scarab
#

@subtle bison what gpu u have?

subtle bison
#

rtx 2080

drifting hinge
#

no hl2 and kleiner pm

loud mural
subtle bison
#

at some point yeah

#

they actually show on some materials and i have no idea why

#

they shouldnt work period

loud mural
#

Yeah that's strange

subtle bison
#

gm_lonelyclub on 64-bit

loud mural
#

Does it just work on displacements or is that a worldbrush?

subtle bison
#

not sure, it does show with r_drawworld 0 without custom meshes

loud mural
#

Very likely that that's a displacement then

quiet scroll
#

Hmm, anyone else have the billboard issue? Imma try another clean install Applecatrun

loud mural
#

Me and my friend don't have it and we just did clean installs a couple days ago

subtle bison
#

uhhh, everything is rotated?

#

it works omg

stable scarab
#

i wonder why in HL2 i have this kind of "artifacts" when the map have some "water effects/reflections on"

#

and this only happen in some parts/areas of the map, its not always present while playing

quiet scroll
#

Much better Happs

#

Saved all the projects I packaged lol

stable scarab
#

that's insane bro, almost a 1TB

subtle bison
#

i see the same stuff when patching out the divide by zero errors

stable scarab
subtle bison
#

yea

keen rivet
#

if you're up for it of course.

subtle bison
stable scarab
#

so now actually from nowhere i have culling issues in gmod... i didn't touch anything inside my rtx.conf

subtle bison
stable scarab
#

culling is back boys

#

the only thing i hate more its this lol

stable scarab
#

btw after this i downloaded and installed v0.4 but then the fire emission is missing, only particles works, so i guess im downgrade to v.03

quiet scroll
stable scarab
quiet scroll
#

Ahhhh the portal files probably share a fix for the hl2.exe fire hashes, gmod.exe would be separate Peepo_yes

keen rivet
subtle bison
#

oml so it was just a stringe change? i should've checked before asking mb

keen rivet
#

lol nah you're good dont worry

#

it should work still

subtle bison
#

yeah

#

lemme update the patcher on my end and see

#

yup

keen rivet
#

lol

#

i know its the work of some crazy reverse engineering skills

#

(ctrl+f)

subtle bison
#

absolute genius

#

a mastermind if you will

keen rivet
#

ideally i want it to load the dx80 ones first if it can then fallback to dx90

#

i have no idea how to do that

#

but it would mean hash compatibility with portal with rtx for those models

subtle bison
#

i've been thinking about porting a lot of my stuff to a binary module since im hitting the lua limits in some of my changes, i should be able to add a system like that if i go in that direction

#

would also make remix plug and play for everybody

keen rivet
#

yeah i wanted to do binary module too

#

i have uhh someone who i can steal a base from i asked previously if i could (gwater 2 guy)

subtle bison
#

my biggest motivation with a binary module is remix api integration, ideally i'd replace all engine lights with remix ones

#

i already have a light capture system that does this but replaces them with gmod lights instead (unrelated to your system)

keen rivet
#

yeah thats waht i wanted to do

#

my lua light system is funky lol

#

hackiest hack of all time

subtle bison
#

yeah im about to find out if my solution works any worse lmao

#

i just want to avoid source lights entirely

#

the light culling on 64-bit is awful

keen rivet
#

if you want i can setup the repo for a binary module and give you permissions for it

subtle bison
#

up to you, i might make my own

keen rivet
#

or you can make the repo and give me perms either way i think i wanna collab on the project, 2 competing solutions sounds like a mess

subtle bison
#

in that case let's go with yours, im not sure how much free time i got this week and i dont wanna hold you out

subtle bison
#

yipeee

stable scarab
subtle bison
#

yes, im using a custom world rendering method that bypasses engine culling

#

its not out just yet

stable scarab
#

i used to play without culling issues but now for some reason the culling its back and its soo annoying, idk why or what is causing it

subtle bison
#

you need to repatch your engine binaries

stable scarab
subtle bison
#

yea

stable scarab
#

hmm let me see

subtle bison
#

if you're doing it manually, follow xenthios video pinned in this channel

stable scarab
#

il try, thanks

lament quartz
#

Iant there also skurts new thing

subtle bison
#

yea i think he already used it but his binares got replaced at one point

#

probably by steam validation

#

@quiet scroll maybe add an option to your script to move the patched gmod to a different directory so steam doesnt update the game?

keen rivet
subtle bison
#

accepted

keen rivet
#

very simple repository, no idea when i'll start trying stuff hopefully soon, maybe after christmas but feel absolutely free to start it yourself because i feel like you would probably know what to do better for some reason lol

stable scarab
#

cant apply patch ?

quiet scroll
#

If gmodrtx is installed into the main gmod directory, wouldn't it always get overridden when there's updates? I've always copied the gmod folder and renamed it gmodrtx to prevent updates overriding the rtx updates monkaHmm

keen rivet
#

i'll see if i can hook up remix api into the project

quiet scroll
#

The script currently looks for a gmod.exe, it could be one you copied, or the regular one Sacknana

keen rivet
#

is that the rest api? i thought there was a proper c++ one

subtle bison
keen rivet
#

oh found it

stable scarab
#

dont know exactly why can't patch

modern quest
#

it's finding the files to patch, but not the patch files?

subtle bison
#

its not finding any memory address patterns to patch

#

do you have 2 gmod installs by any chance?

#

also how are you opening the game?

stable scarab
subtle bison
subtle bison
keen rivet
#

ok so....

#

first hurdle

#

we dont have the source files

stable scarab
#

used to work yesterday, today i wake up and the culling was a problem again lol

keen rivet
#

but maybe we can call it after and hope it works?

stable scarab
#

maybe its because i remix HL2 as well ?

subtle bison
keen rivet
#

whos xenthio

subtle bison
#

oops

#

xoxor4d

keen rivet
#

lol

subtle bison
#

😭

lapis delta
#

XD

stable scarab
#

but not sure...

subtle bison
#

that shouldnt be happening? unless you're moving files between games

stable scarab
#

yeah i know that's why is weird... i didn't touched anything inside gmod main files

quiet scroll
#

Is hl2.exe in your gmod directory?

keen rivet
#

ok, haven't tested it but it compiles

#

i setup a lua addon to load the binary module

#

and the binary module does that loadremixdllandinitialise step

stable scarab
half viper
#

@subtle bison how does your culling method compare to modifying the engine

subtle bison
onyx ridge
quiet scroll
#

REMIX FIXES 2 CONFIRMED

drifting hinge
#

what who what now

quiet scroll
stable scarab
#

i fixed it by re-installing the whole game in a different drive, dont know exactly why or what cause the culling issue

lament quartz
#

Most likely that the patches aren't installed

upbeat jewel
#

Hopefully with that fixed this channel will be less of a ā€problems people have today with particles, culling, and readingā€

stable scarab
#

oh fiddlesticks what now

upbeat jewel
#

You’ve been complaining about these problems for 2 weeks dude. Nearly every single day I might add.

#

At this point make a proper issue report and let people help you instead of wasting their time

#

It’s incredibly disingenuous

stable scarab
#

If I'm honest, I don't understand why the anger, after all this channel is precisely for that, to report any type of problems that may arise, in any case I will do what is appropriate to report any bugs/errors by making a report. I hope I haven't wasted anyone's time.

upbeat jewel
#

If you can’t see that you’ve wasted people’s time by providing no useful information and forgoing the easiest troubleshooting steps for up to two weeks, such as reinstalling the game on another drive, then I don’t know what to say, but that is wasting people’s time

#

You also won’t create documentable issues that people can follow and try to address your specific problems

#

Otherwise what is the point about complaining about particles and culling every day?

#

Make an issue with explicit details about your setup and platform and someone can help

#

Maybe document that to help others? #1116089843479498782 message

#

#1116089843479498782 message

#

#1116089843479498782 message

#

#1116089843479498782 message

#

#1116089843479498782 message

#

I can go on and on and on

upbeat jewel
subtle bison
upbeat jewel
#

We created gmod rtx as a repository to alleviate these kinds of problems, not for people to hop on the bandwagon and then talk about issues every day with very simple fixes

subtle bison
#

sure but there is still a lot of people who are playing the game with xenthios method as well

upbeat jewel
#

That’s fine. But durrant explicitly stated he installed gmod from skurtys gmod rtx. That’s how he got here #1116089843479498782 message

#

Is xenthio going to fix these problems

#

I don’t understand the statement

subtle bison
#

im talking generally, not just specifically durrant.
Though as for his issues, it just means more stuff to add to the script if not already. Stuff like fire particles do require rtx_remix_fixes to be manually installed. As for stuff randomly breaking such as culling issues, the script should move the game to a separate folder so steam doesn't touch it.

upbeat jewel
#

If that’s the case can we get some documentation for this somewhere? I’m not sure everyone understands how to fix this but you and a few key people

#

You see the problem?

subtle bison
#

it's pinned

#

for the fire at least

upbeat jewel
#

Yeah nobody reads that clearly

#

As evidenced by this whole convo 😌

subtle bison
#

then just include it in the script? why bother with the documentation when it can be all taken care of by automation

upbeat jewel
#

Because I don’t even know what said automation is. It would be better for skurty to add that. If he can’t then I will have to

#

I’m on vacation right now

quiet scroll
#

I'll write up a document/troubleshooting page for common issues, and if the user wants to try manually installing YesYes Because that's true, now that Xenthio's video is outdated because of the gmod/hl2.exe and they use my automated install, how the patches came to be would get lost. I'll make it nice &easy with screenshots of the problems (like decals, their playermodels showing, culling fixes (not having rtx-fixes/nikknaks) and a detailed breakdown of how to fix them KirbDance

subtle bison
#

hopefully me and xenthio can fix most of this stuff transparently via the binary module so everything will become drag and drop

upbeat jewel
#

Thank you so much šŸ™

#

I’m sorry for being harsh. But if like you say this is covered in the pins, I’m just trying to reduce the unneeded churn. And to be honest, and this goes for everyone here, if you’re having problems with your game, please just reinstall it

#

It would help a lot probably

quiet scroll
#

I can't help but be lost as to why someone's install would have issues, it's fail proof Wokege All the right addons, an up to date rtx.conf, the dxvk.conf, and up to date runtime, etc

subtle bison
#

but it doesnt move the gmod install to a separate folder right?

#

random steam validation can completely revert the binary patches

upbeat jewel
#

That’s fair. No we don’t change it, but they could copy it anywhere in theory

#

If we move it won’t workshop content fail to install?

subtle bison
#

no

quiet scroll
#

The script doesn't, but in the installation method I give them two options, 1.) install directly to gmod (incase they're tight on space) or 2.) Copy the gmod folder and just rename it gmodrtx. Copying the gmod folder and renaming it somehow keeps it up to date without overwritting the gmodrtx fixes

subtle bison
upbeat jewel
# subtle bison no

So you’re saying if I move gmod and don’t tell steam it’s just going to be able to still install the workshop content? I’m asking genuinely because I don’t know

#

Ah okay

#

I understand now

subtle bison
#

i only know this because i have an horribly out of date 32-bit install that lives on an entirely different drive and it still gets my latest addons

#

i think gmod uses some sort of steam api to query/install addons?

#

even the earliest gmod 13 builds from steam depot can still download addons lol

upbeat jewel
#

Yeah I’d imagine it can through SteamAPI. Especially for the main menu addons store

quiet scroll
#

Yeah! Which makes it genius for these kinds of things pepespin the workshop's all stored in steamapps\workshop\content\4000 for gmod, as long as it see's the same game id it takes addons everywhere

upbeat jewel
#

I’m personally not really clear on what the difference is between source mods and workshop content

#

and when do things go in source mods, and why does it even exist

#

Well for one I guess there’s certain things you just can’t distribute from the workshop

subtle bison
#

sourcemods are actual source mods

quiet scroll
#

sourcemods is veryyyy old, I believe it's only for things like the 2012 black mesa mod, gmod 9, and just about all of the moddb hl2 mods. Like for example, I have the old 2012 black mesa mod installed with the 2007 sourcesdk to play it with rtx YesYes

subtle bison
subtle bison
upbeat jewel
#

I’ve never used it tbh, TIL

subtle bison
#

that one is different

upbeat jewel
#

O

subtle bison
#

like admin, moderation, etc

upbeat jewel
#

Ah okay.

drifting hinge
#

found the thing that was doing the massive shadow tied to the camera thing
here the hash if it matters at all because i was the only one with this problem i think: DB4DA856683A01BF

subtle bison
#

what was the actual object

#

kinda curious

drifting hinge
#

in remix menu it was completely black

#

so idk

#

uh huh okay now its back

quiet scroll
#

hmm I’ll see if I have that hash when I get home

#

You can try and set it as ignore texture if it’ll let you

drifting hinge
#

i cant select the other smaller box though

#

and the big shadow only gets disabled on the map with the render target screen

subtle bison
#

wut the hell

quiet scroll
#

Maybe it’s an addon

subtle bison
#

i dont experience this on the latest gmod

#

at least with my 64-bit testing

drifting hinge
#

i will clean addons except remix fixes and niknaks and tell you if it works

subtle bison
#

looks like all maps that dont have this error work in 64-bit now. I cant prevent this in lua without patching shaderapidx9 or making some kind of hook mechanism with the binary module

subtle bison
#

maybe nuke your rtx.conf and redownload the one from skurtyyskirts's repo?

drifting hinge
#

mmm maybe

#

it still happens

subtle bison
#

yeah looks fine on 64-bit for me

#

ignore the holes in the ground, its a bug with my custom world renderer

drifting hinge
#

another problem from downloading the new rtx.conf

#

sky is always black now

#

shadow still there

subtle bison
#

make sure your sky tuning settings look like this

drifting hinge
#

black sky semi goes away when ignoring texture with hash C587A0FFB8C341F2

subtle bison
#

wtf

drifting hinge
#

no more sand also

subtle bison
#

sand uses terrain blending so that one isnt much of a surprise

#

dont expect that to work properly ever

drifting hinge
#

whoops its back now

#

somehow

subtle bison
#

your gmod install

#

šŸ™‚

quiet scroll
#

You could open an issue on github with all your logs and stuff

drifting hinge
#

let me orbital strike gmod install

#

and reinstall EVERYTHING

quiet scroll
#

When you clean install do you also delete the folder after uninstalling?

drifting hinge
#

delete what folder

quiet scroll
#

The game folder, to clear out anything leftover

drifting hinge
#

i delete everything in root folder

#

removing garrysmod didnt work before

#

yayyyyy deleting EVERYTHING in the root gmod folder and then reinstalling gmodrtx finally made the shadow go away

#

no sky being black either or when shooting

subtle bison
#

petition to make the gmod folder read only when the script is done lmfao

drifting hinge
#

what does read only mean

subtle bison
#

the user cannot write anything to the files teef

#

and programs if they arent running as an admin

drifting hinge
#

and how would that fix the problems

subtle bison
#

i was being sarcastic

#

its my fault i forgot the /s hehe

#

i was making the joke because this is like the 3rd instance of a gmod rtx install randomly breaking

drifting hinge
#

man... what yuo say me man???? hey manj FACK YUO MAN ...

#

/j

subtle bison
#

my light debug text has taken over the map help

drifting hinge
#

rest in debug fr my homie

keen rivet
#

i updated the scripts to use gmod

#

and i put a note above the download links to use the latest 0.6.0 build

keen rivet
keen rivet
#

@subtle bison how did ya get 64 bit working

#

it just crashes on map load for me

#

okay im in

#

time to start seeing what i can fix

#

alright the binary module loads

keen rivet
#

ok so its now time i realise i have no idea what im doing! i cannot figure out how to use this remix api at all

#

docs say i need this

#

no idea where i get it from

keen rivet
#

ok its now communicating with the api

#

that is being set programmatically

keen rivet
#

No idea how to draw into the existing scene though...

keen rivet
#

Ok I give up for the day

quiet scroll
#

damn kit_Voices

drifting hinge
#

the christmas present

meager oar
lapis delta
#

btw, how soon will rtx fixes 2 come out?

subtle bison
#

no idea, i still have to get antiquated with the binary module and port my stuff over

subtle bison
#

@keen rivet where did you place the compiled dll in the garrysmod folder?
garrysmod/addons/lua/bin/ or bin/win64/?

#

nvm think i got it, it was garrysmod/lua/bin

#

made some changes to how the remix api light spawns but it seems like our old friend is back

subtle bison
#

not sure why we need materialsystem or shaderapidx9 though

#

ill see if i can make it work without using either

winter radish
#

It was on a crappy GT 640m iMac

#

Good times

subtle bison
#

[RTX Remix Fixes 2] - Attempting to create light...
[RTX Remix Fixes 2] - SphereLight struct created
[RTX Remix Fixes 2] - LightInfo struct created
[RTX Remix Fixes 2] - CreateLight failed with status: 7

back to where xenthio is, gotta create a d3d9 devicebobatea

#

i can hijack onto gmod's d3d9 device but then i run into the divide by zero errors again

#

might be worth it to fix those with the binary module first before adding the remix api

#

progress

#

source pls stop with the divide by zero errors i beg of you

subtle bison
#

@keen rivet you sure your code isnt working?
i reverted all of my commits and tried what you have done so far and it looks like a light spawned?

#

the game crashed shortly after but that light does not exist on that map

lament quartz
#

Flashbang

lament quartz
#

I really wish beatrun mod worked

subtle bison
#

omfg my shaderapi crashes were from something completely else

#

i wasted 4 hours debugging nothing

#

😭

#

its fixed now but now i get to re-do anything i did in the binary module

#

šŸ‘‹

willow fog
subtle bison
#

we are getting somewhere evil_gang

subtle bison
willow fog
#

idk I expected it to handle it better

#

So is this the "power" of aces?

subtle bison
#

its probably brighter than what the internal tonemapper can handle lol

subtle bison
half viper
subtle bison
#

it breaks when custom mesh rendering is enabled, the blueness you see is some kind of bug with whatever buffer the sky uses

#

im planning on moving most of my custom rendering stuff to the binary module so hopefully i can find a way to render the skybox without the world

winter radish
subtle bison
#

they can now be edited with a properties menu

#

not sure why my game crashed at the end lol, probably another division by zero i havent caught yet

lament quartz
lapis delta
subtle bison
#

its a mirror entitiy

#

yea that ^

lament quartz
#

cool thanks

lapis delta
#

btw, is it possible to replace these mirrors with those that support remix?

subtle bison
#

yea

lapis delta
#

without changing the map

subtle bison
#

could make a unique hash for a mirror texture, add some code to detect an existing mirror entity, get its dimensions, replace it with a mesh with that mirror texture hash

#

it would all happen on map load so it would be seamless for the player

lament quartz
#

awesome

#

i forgot my protogen made everything glow pink

subtle bison
#

god these api lights really make the game unstable

#

its most definitely how i implemented them, the networking between the game > module > then remix is horrible. i hope i come up with a better way lol

lapis delta
subtle bison
lament quartz
winter radish
lament quartz
#

my xbox game recorder died recording this

subtle bison
#

a little too late hehe

#

tl;dr we have working remix api lights

keen rivet
#

i was only playing around with it

#

i wanted to see if i could add lights but it really seems its most useful for drawing things yourself

keen rivet
subtle bison
keen rivet
subtle bison
#

i also accidentally commited straight to the repo

#

it was meant to go to a fork

keen rivet
#

the crash at the end is funny lol

subtle bison
#

yeah shaderapidx9 strikes back

keen rivet
#

we can probably ask the nvidia guys questions too

keen rivet
#

just do that i dont care

subtle bison
#

im redoing the whole d3d9 device integration rn btw, the amount of d3d9 device calls we make to remix makes the game stupid unstable

keen rivet
#

thats rather annoying

#

i had to do a piece of shit to get IDirect3DDevice9

subtle bison
#

i mean it did work lol

#

enough to at least get a working api integration

keen rivet
#

yeah you got a LOT futher than me

subtle bison
#

i had some downtime at work and a lot of caffeine

#

im drained tbh lmao

keen rivet
#

lol yeah but damn you did good

#

excited to see how much further this goes

subtle bison
#

end goal is to completely replace source lights evil_gang

#

also maybe time of day if i feel like it?

keen rivet
#

oo

subtle bison
#

i wanted to go deeper with ishaderapi and materialsystem but unfortunately we still dont have much control over it with the binary modules, so im probably gonna add a similar capture and replace system

keen rivet
subtle bison
#

nothing atm, i've gotten pretty far with lua alone so far

keen rivet
#

also yeah i get the div by zero error a lot too

subtle bison
#

i tried adding some kind of safe handler for vertex buffers which would resolve the divide by zero crashes but that's when i ran into the limits of what the source sdk provides

keen rivet
#

also i made a symlink batch file to make editing easier, you can compile and not even need to restart the game, you just have to type disconnect then compile then load the map

#

or i just type reload, compile before it tries to load because its quick

subtle bison
#

yeah i've been doing that for lua but i didnt realize the module loading was dynamic lol

keen rivet
#

yeah

#

super useful

subtle bison
#

too bad my game crashes 99% of the time because of shaderapi so i havent really had a chance to test it hehe

keen rivet
#

bind a key to reload

#

64 bit used to be more stable

#

i dunno what happened

#

i have an old install that doesnt crash at all

subtle bison
#

i've gotten it to be more stable by removing/disabling a lot of systems on map load with lua

#

but its definitely not enough

#

put it into rtx_remix_fixes/lua/autorun

keen rivet
#

you should add that to the repo if you can

subtle bison
#

yeah i can PR it in a bit

#

probably the mesh rendering system too

keen rivet
#

thats odd fire and muzzleflashes dont crash for me

subtle bison
#

some dont, some do

#

i went on the aggressive side lol

#

even killing sounds

keen rivet
#

almost all the crashes seem to happen on mapload for me, once im ingame its good

subtle bison
#

that file lets a lot of more maps load

keen rivet
#

heres the patched binaries of an ol;d 64bit version that never used to crash

#

theres a patch i noticed that didnt apply now so i wonder if thats part of it

subtle bison
#

ill use that for rtx api testing for sure
once i get the d3d9 device shenanigains fixed ill focus on the vertex buffer/divide by zero crashes

#

my game is entirely unpatched atm

keen rivet
#

i had to patch to get it to load into maps

subtle bison
#

try unpatched with that lua file, it should work as good. I even got flatgrass to load

#

its not the final solution for sure but its a good enough stop-gap for anyone atm who wants to mess with 64-bit

keen rivet
#

wait the binaries im using doesnt crash at all now

#

i used a mixup of the old and new

subtle bison
#

so shooting an RPG or throwing a grenade doesnt instacrash the game?

keen rivet
#

im doing things that crashed before and they work now

subtle bison
#

those cause integer divide by zero errors instantly

subtle bison
#

šŸ’€

keen rivet
subtle bison
#

try the hl2 one

#

oh wait that is

#

oops

#

try a non hl1 map

keen rivet
#

what map

subtle bison
#

uhh flatgrass?

#

idk it happens on any for me but im just curious lol

keen rivet
subtle bison
#

what the hell

keen rivet
#

so yeah i think blueamulets patches need updating perhaps

#

though, chromium doesnt work there for some reason

#

you will need to use the console

subtle bison
#

weird that the game doesnt crash, we never got the division by zero patches for 64-bit

keen rivet
#

yeah no idea lol

subtle bison
#

im all for using a mix of custom binaries but i would love to handle this all in the module, i hate patching the game personally lol

keen rivet
#

yeah we can patch in module maybe lol

subtle bison
#

that or catch what is crashing the game

keen rivet
#

do you know whats stopping this fix from being ported to 64bit

subtle bison
#

i gave a try at this last week lol

#

its a little beyond my scope

keen rivet
#

same

subtle bison
#

i was able to patch 3 out of 4

keen rivet
#

šŸ˜…

#

this patch doesnt work anymore so i wonder if it helps

#

how did ya get viewmodels working on 64 bit

#

oh wtf

#

LOL
its just disabled

subtle bison
#

they just work for me

keen rivet
#

nvm

#

that was easy

subtle bison
#

they should work unpatched as well?

#

they do for me at least

keen rivet
#

it was just disabled in remix settings

#

no idea why

subtle bison
#

ah lol

keen rivet
#

new default maybe

#

all maps just work for me now

subtle bison
#

šŸ’€

keen rivet
#

wonder if we can disable that culling from the binary module

subtle bison
#

i kinda wanna keep the custom mesh renderer, it seems to be better than disabling culling

#

it fixes issues with maps with too many faces

#

also i have the ability to optimize it (more than it already is at least)

keen rivet
#

i want to disable culling anyways because yknow props and addons might have their own things they want to do

#

like a compatibility mode

subtle bison
#

if it changes anything, i havent noticed anything breaking other than decals?

#

all it does is replace world geometry

keen rivet
#

how does it handle displacements

#

those are fucked up in source

subtle bison
#

not at all atm lol, i havent gotten around to it

keen rivet
#

oh lol

subtle bison
#

i need a map to test that with too and i have no idea where to look

keen rivet
#

gm_construct

#

lol

subtle bison
#

would the displacements be the hills?

keen rivet
#

yeah

subtle bison
#

i can check rq and see if they work

keen rivet
#

most of the grass is

subtle bison
#

god 32-bit is so slow to load lmao

#

surprisingly yes???
topography is fucked tho lol

#

i can probably fix this

keen rivet
#

oh nice

subtle bison
#

oh yea another benefit of the custom mesh render, all geometry hashes are stable

#

can spawn lights anywhere in the toolkit and they "just work"

keen rivet
#

yeah thats good

#

i could get stable hashes with a console command but it was super laggy

subtle bison
keen rivet
#

just merge it lol you dont need to ask

subtle bison
#

i dont have control over this repo lol

keen rivet
subtle bison
#

mat_forcedynamic 1

subtle bison
keen rivet
subtle bison
keen rivet
#

but i wonder if we can activate that without dynamic on

subtle bison
#

the 2nd command? might be dependent on it

keen rivet
#

it looks similar to yours lol

#

minus odd displacemnts

subtle bison
#

i can make it look different, all i gotta do is increase the chunk size /s šŸ«„

keen rivet
subtle bison
#

yea

keen rivet
#

can i put it in the new one

#

with the binary module

subtle bison
#

nah, im gonna reimplement it for the binary module

#

unless you really want to

keen rivet
#

ah ok

#

i kinda want to add it you can remove it when you reimplement

subtle bison
keen rivet
#

lol

subtle bison
#

if source didnt have a stupid vert limit i could make this as high as i want

#

higher values means more performance

drifting hinge
#

jolly evening gayry mod rtx

keen rivet
#

uhh my performance is less with custom world rendering

subtle bison
#

how much less

keen rivet
#

250 off

subtle bison
#

how the hell are you getting 250fps

#

FG?

keen rivet
#

195 fps

keen rivet
subtle bison
subtle bison
keen rivet
#

its the 64bit version so no

#

OH
llol

#

yeah right

#

HAHAHA

#

culling = performance

subtle bison
#

yea lol

#

btw the performance impact depends on where you are

#

the hit is much less in confined spaces

keen rivet
subtle bison
#

yea the d3d9 device broke

#

try it in a smaller map

#

you will need to relaunch your game

keen rivet
subtle bison
#

ignore with the runtime hehe

keen rivet
#

should just not draw them lol, think of the nanoseconds saved troll_i386

subtle bison
keen rivet
#

breaks on a small map too

subtle bison
#

hu

#

it works for me on gm_orange

keen rivet
#

crashed

#

i was using a tiny hl1 map

subtle bison
#

wonder if there are other factors that break the d3d9 device other than map size

#

no idea yet, im still trying to figure this out lol

keen rivet
#

no clue

#

yeah me too

#

i hardly know c++ to be honest LOL

subtle bison
#

me too, that is why there are certain tools that help

#

šŸ˜‰

keen rivet
#

lol

drifting hinge
#

new prop icons are rendered completely transparent like this and nothing is in spawnicon editor
can this be fixed or will it NEVER be fixed EVER and it will STAY like this FOREVER...

#

soup enging

subtle bison
#

try pre-rendering them without remix first

drifting hinge
#

how do i disable remix

subtle bison
#

temporarily rename d3d9.dll in your garrysmod/bin folder to something else

#

re-open the game

drifting hinge
#

aight

#

it did something

subtle bison
#

oh right i guess the game doesnt render without remix lol

#

temporarily rename your dxvk.conf to something else too

drifting hinge
#

there was no difference

#

same black

subtle bison
#

remove the -dxlevel commandline argument in whatever you use to launch the game

#

wait

#

just open it normally via steam

drifting hinge
#

both times

subtle bison
#

do you have any launch arguments on steam

drifting hinge
#

-windowed -noborder -console

subtle bison
#

hmm werid, not sure what skurtyyskirts's installer does that breaks normal launching

drifting hinge
#

the gmod rtx launcher in question

drifting hinge
#

saw bro typing

subtle bison
#

good lord i figured out why my game is a crash fest with api lights, the custom world renderer is sending so many drawcalls that anything added on top of it makes it extremely unstable

#

guess it will be definitely be getting rewritten at one point

subtle bison
#

lights are much more stable (large maps still make the engine shit itself), you can spawn multiple, and you can undo them cleanly

subtle bison
#

optimized the custom world renderer a bit more

#

running at dlss ultra perf

lament quartz
subtle bison
#

yea

lament quartz
#

Cool

subtle bison
#

did it earlier
#showcase message

quiet scroll
#

a new gmod era is on the horizon xorxor

#

npc battles without bottlenecks pepespin

subtle bison
#

my brain is cooked

#

i have been working on this far longer than i should have in one day

#

im going to bed gn šŸ‘‹

lament quartz
winter radish
plain blade
quiet scroll
#

A map i JUST got done remixing got taken off the steam workshop

modest whale
drifting hinge
quiet scroll
subtle bison
#

got a few mmod weapons working without crashing the game, still got a lot left

subtle bison
#

did someone say no more crashes?

winter radish
subtle bison
#

rn its just gracefully handling the divison by zero errors with a VEH, but it makes the game unstable in other ways, so im adding some code to locate the creation of these errors and will hopefully find a way to handle them better

#

we are close chat

#

🤪

#

also a personal fuck šŸ‡¾ šŸ‡“ šŸ‡ŗ to the engine/occlusionproxy shader

#

its responsible for 99% of the divison by zero crashes

#

and im having hell of a time disabling it or at least fixing whatever the fuck its doing

keen rivet
#

i've been away for christmas

#

just got back today

lapis delta
subtle bison
#

wdym?

lapis delta
#

i mean, i have a lot of crashes when i have 10 or more addons

#

cuz of that error

subtle bison
#

i havent noticed any issues like that, even without the shader fixes

#

are you talking about 32-bit?

lapis delta
#

yea

#

about usual rtx

#

not 64bit

subtle bison
#

i think you're talking about that remix runtime bug that would cause random crashes?

lapis delta
subtle bison
subtle bison
#

most of my addons are maps lol

#

if the issue still exists then it's probably specific addons rather than how many

#

maybe turn your subscribed addons into a collection so i can see if i get those errors?

lapis delta
subtle bison
#

well i guess ill have to test this later, cant remote into my pc at all weariest

subtle bison
#

arc9 weapons work now lmfao

#

i left the drive that holds 32-bit gmod unplugged at home so i cant test it atm

#

but yeah 64-bit is solid

#

we can also load really large maps now but remix and the engine really dont like it

lapis delta
subtle bison
#

yeah it helps a bit but maybe we can fix some of these issues?

#

there might be a way to work around these shader issues entirely if it's possible with the binary module.
Why not have the game run in dxlevel 95 but have the module force render the world and models in dx8 mode?

winter radish
subtle bison
lapis delta
#

so yea

winter radish
#

Might also just be the bigger on the inside effect

lament quartz
#

I hope beatrun works cuz it's 64 bit only

subtle bison
#

isnt beatrun a paid addon tho?

lament quartz
#

Mm never mind the workshop one was dmca'ed.... I'm gonna assume it was a rule 6

lament quartz
#

64*

#

Or ig "fix" itself

subtle bison
#

tardis seems to work?

#

going inside works too

#

its really buggy though

#

looks like a open ver of beatrun exists

lament quartz
subtle bison
#

yea i remember the whole situation lol

lament quartz
subtle bison
#

definitely some kinda of renderhook shenanigans

#

probably fixable? but it would require editing the addon

lament quartz
#

dang

subtle bison
#

lemme see if i can edit the addon TROLLED

lament quartz
#

alrighty

modest whale
subtle bison
#

yea

modest whale
#

so mirror's edge rtx possible šŸ‘€

#

hmmm

subtle bison
#

šŸ’€

modest whale
#

interesting

subtle bison
#

would be better if someone just made a compat mod for ME

modest whale
#

it's almost working, launch on SM2, crash when it loads the level tho

#

i'm sad cuz it's a 2008 game, so close

subtle bison
winter radish
subtle bison
#

šŸ‘ļø

#

aaand it broke

#

hotreloading lua fixes it but then you cant move

#

when you respawn it goes back to breaking smh

lament quartz
#

Dang

subtle bison
#

i removed all rendering hooks and it fixed the issues but now you dont get any body anims lol. this addon is cursed, ill come back to it a later time

lament quartz
#

Alright, thank you for trying thus far froggonodding

subtle bison
#

oh yea i need to try infmap

lapis delta
#

how's the progress?

subtle bison
#

working on shader material handling atm, havent gotten to it

lapis delta
#

will there be some beta testing or something like that?

subtle bison
#

at some point maybe? progress has been so inconsistent its hard to tell when ill be hitting a safe point

#

while the game doesnt crash anymore thanks to the VEH, its not the actual solution as there is many graphical bugs when the division by zero hits, and also some maps completely break with it

#

so once i can figure out the custom mesh rendering system and division by zero fixes, i can release a beta dll

#

@keen rivet how does this sound to you? since we're co-creators i dont want to force a decision

drifting hinge
#

what is rtx remix fixes '2'

subtle bison
#

binary module version of rtx remix fixes, can do a lot more

#

end goal is to make installation easy as drag and drop

steel lark
#

my first second mod

#

(my first actually was just making glass actually transparent)

subtle bison
#

nice

#

is it just emissives?

steel lark
#

ooohh didn't see that reflection of the dashboard but that's really realistic wow

subtle bison
#

now make the mirrors reflective evil_gang

subtle bison
#

ok i think im good with leaving the VEH to handle the shader bullshit, i've been banging my head at other solutions for 7 hours and it's easier to fix the cleanup code for the VEH and move on lmao.
you can now exit maps or load other maps and the game wont spontaneously explode

drifting hinge
subtle bison
#

its basically the same thing as the binary patches but this does it at runtime

near tartan
quiet scroll
#

Applecatrun gunna try and tackle the gmod guide today

quiet scroll
#

LMAOOOOO KEKW

lament quartz
#

I mean it in the nicest way possible

subtle bison
#

anyone want me to try something on 64-bit?

drifting hinge
#

try what

subtle bison
#

something that doesnt work with 32-bit

lament quartz
subtle bison
#

is that a infmap?

drifting hinge
#

the entire too scale death star model

lament quartz
drifting hinge
#

i cant find it anywhere

subtle bison
#

infmap kinda works?

#

game is rasterized for some reason though

#

something definitely broke

drifting hinge
#

what does rasterized mean i see it everywhere

subtle bison
#

rasterized means remix cant hook into the game anymore and its showing the original graphics

drifting hinge
#

ugly...

steel lark
#

@subtle bison do you know why if you disable raytracing in rtx remix all textures are bugged?

subtle bison
#

most likely becase we're forcing a lower shader model with dxvk.conf + the lower dxlevel in-engine

lament quartz
keen rivet
# subtle bison

you might have something marked as ui texture that shouldnt be

subtle bison
subtle bison
#

it stops rendering if i stop moving

keen rivet
#

oh interesting

subtle bison
#

im gonna go back to the infmap rq

keen rivet
#

its probably something thats being drawn orthographically, by default remix treats that as ui

subtle bison
#

lots of untextured drawcalls

keen rivet
#

what's veh

keen rivet
#

ahh

#

i see ok very nice

#

i'll totally give that a try later

subtle bison
#

ok well everything works now???

#

i dont really know what i did

#

oml yes its some kind of problematic material

lament quartz
subtle bison
#

idk i kept disabling stuff in other maps, came back to flatgrass and it magically worked

keen rivet
#

lmao

#

what material does flatgrass use

#

flatgrass works fine for me

subtle bison
#

yea on ur cursed build TROLLED

#

ok i was wrong

#

about everything

#

i accidentally had rtx remix fixes 1 loading and it had my crash prevention addon which removed whatever problematic material it is

#

ffs

subtle bison
#

ok well i fixed it

#

i simplified the crash protection lua addon and now the engine/occlusionproxy error spam is gone (edit: nvm) and map rendering works

drifting hinge
#

@quiet scroll new map remixes when

subtle bison
#

uhhhh

#

uhhhh

#

another infmap works???

#

simpons hit and run

#

collision is busted but i think that is a addon issue

#

yeah other maps work fine

drifting hinge
#

now do the multiverse map

subtle bison
#

it kinda works lol, its flashing some kind of material remix cant handle (i cant even select it)

drifting hinge
#

oh dear

drifting hinge
#

its time for trolling

subtle bison
#

OMFG IT WORKS

#

AHAHAHAHA

drifting hinge
#

nice

#

what else have you not tried yet

subtle bison
#

idk, but this map is the crysis for gmod and remix

#

and im getting 51fps

drifting hinge
#

rest in peace my homie fr

subtle bison
#

ny in its low poly glory

#

i gotta do the gta 5 map

#

i gotta

quiet scroll
drifting hinge
subtle bison
#

no fucking way

#

it takes forever to load

#

but lmfao

#

rip

drifting hinge
#

why bro stuck in time like that hell nahhhh šŸ’€

subtle bison
#

honestly, other than maps that crash the game on load, x64 is now more stable than 32-bit now lmfao

drifting hinge
#

isnt that the point

#

64 more stable

subtle bison
#

yea but gmod x64 has complications working with remix

#

it took a lot of work to get to this point lol

drifting hinge
#

mission accomplished then?

subtle bison
#

not fully, just pretty close

quiet scroll
drifting hinge
#

šŸ‘ļø

quiet scroll
#

Unless CR knows a fix

drifting hinge
#

gimme a sec i needa find a different one

subtle bison
#

give me the mat name and location and i can try chasing it

drifting hinge
#

idk if you can do mat_crosshair on water

#

@quiet scroll i found a different map called The Flying Hotel

quiet scroll
# subtle bison give me the mat name and location and i can try chasing it

Looks like water_riverbed01_beneath_dx8 in ep2/ep2_pak_dir.vpk/materials/nature and lostcoast/loast_pak_dir.vpk/materials/lostcoast/nature name water_ati, the guy in these two videos has all the missing textures remix hasn't covered yet https://www.youtube.com/watch?v=ubUAQ6unECM https://www.youtube.com/watch?v=0f5KghK7YKI&t=35s

This is a video list containing information and graphical representations of the different over- and bottom- water texture materials currently present within Half-life 2: Lost Coast.

The name is of the material that collects textures and sets necessary variables for creating the water "texture" currently shown within the viewport alongside its ...

ā–¶ Play video

This is a video list containing information and graphical representations of the different over- and bottom- water texture materials currently present within Half-life 2: Episode 2.

The name is of the material that collects textures and sets necessary variables for creating the water "texture" currently shown within the viewport alongside its u...

ā–¶ Play video
#

I don't think episode 1 had any special water

subtle bison
#

what the we have special videos just for water?

#

lmao

#

valve strikes again (and soer ig)

quiet scroll
#

If we can get those 2 packs down we'll have all the source water covered BLANKIES lmaooo I tried getting it to work awhile ago and spent a week on it but ended up failing sad_cat

drifting hinge
#

🫔

quiet scroll
drifting hinge
#

all my homies love realistic water

keen rivet
#

i wanna try disable detail textures in the binary module somehow

subtle bison
#

go for it

#

im still fighting the damn remix api lights

#

i have optimized the living shit out of them but its not enough for source's poor d3d9 device

#

im debating making a remix fork that does API updates outside of it

#

because jesus this sucks

#

i pinged xoxor4d asking him how he did his API lights for p2, so hopefully his feedback will put me in a good direction

subtle bison
#

oh yeah i guess that also works lol

keen rivet
#

lol

#

i dont see anything wildly different the difference is he's using the bridge api so he doesnt have to do the d3d9 device fetching hack

subtle bison
#

sucks for us i guess lol

#

unless we dont actually need the d3d9 device

keen rivet
#

nah i tried making lights without it, it didnt work

subtle bison
#

hmm

#

ill try to think of some other ways to handle this

#

I at least want the remix api lights to replace source ones

#

(if its feasible at all)

#

i say this because currently remix lights in motion will guarantee a swift and fast game crash
and i have optimized them pretty well when they're static

keen rivet
#

maybe p2-rtx does do something different? idk, do you see anything different?

subtle bison
#

yeah no the bridge is the reason why his works well lmao

#

i could give making a second d3d9 device another try but that went to shit last time

keen rivet
#

interesting

#

no idea what changed but gm_flatgrass no longer works

subtle bison
#

are these with my changes?

keen rivet
#

yeah

subtle bison
#

cursed 64-bit or steam ver

keen rivet
#

cursed 64-bit

#

it seems ui is in the world now

subtle bison
#

try the steam ver

keen rivet
#

i think this might be realted to that issue you had before

#

when i open the console a console sized shadow appears lol

#

begins working after tagging some ui textures what the hell is going on here lol

subtle bison
#

wait

#

hold on

#

do you have this checked

keen rivet
#

yep

subtle bison
keen rivet
#

something up with world renderer

#

groups is nil for some reason

#

niknaks is enabled

#

oh i see

#

its missing the require

subtle bison
#

is this for my mesh renderer?

keen rivet
#

yeah

subtle bison
#

oopsies šŸ™‚

keen rivet
#

much better

subtle bison
#

i swear flatgrass never ran this good at dlss perf lmao

#

i can barely break 100 with ultra

#

you can do it rtx 2080 i believe in you