#Battlefield 2

1 messages · Page 2 of 1

thin vector
#

I think game specific

#

having access to camera matrices and sending the information back to bridge could work

winged raven
#

I have no idea how these work so I just asked

#

Huh @quick kelp

thin vector
#

xoxor4d please share your blessings on this game 🙏 if possible

quick kelp
#

Haven’t put much thought into it but would be a simple generic tool that reads an ini file where the user sets offsets at which it can find the matrices in memory .. and maybe an offset where in the renderer loop the game will send these matrices into the d3d pipeline

#

So would still require a lot of reversing … and at this point, writing something specific for that game might be easier

thin vector
#

That would be great. Better than nothing I suppose

quick kelp
#

Would definitely help if there is “external” “help” via pdb’s that were accidentally shipped with updates .. be it bf2 or earlier games … not sure if there are any related to bf games tho

thin vector
#

😬

winged raven
#

I had a dream where Battlefield 2 was working pretty well with Remix

#

Then realized it was ReShade with some magic hq shadows

#

It can't even work in my dreams lol

thin vector
#

😭

#

Even in dreams we're not hopeful

winged raven
#

this got me

quick kelp
#

the bf2 linux server files do have dwarf symbols in them Pogpega

rapid spear
#

Oh yea I forgot about that. I don’t quite know if they’re helpful tho

#

I was under the impression it would only have server related symbols

thin vector
#

can anyone be kind enough to explain what dwarf symbols are you guys talking about and what do they do?

quick kelp
winged raven
#

Which game developers leak in purpose to help future modders

rapid spear
thin vector
#

Would access to renderer be any good to us?

quick kelp
#

ooh yea I was looking for ClassManager

#

because CRenderer->CRendererInfo

thin vector
thin vector
rapid spear
#

From the PR wiki

thin vector
#

(excuse me I'm just babbling out of possible excitement)

quick kelp
#

man this looks like a really nice base

quick kelp
rapid spear
winged raven
#

Whats going on here

rapid spear
thin vector
thin vector
winged raven
#

Huh

#

So we basically have access to everything?

rapid spear
thin vector
#

we believe in xoxor4d 🙏

winged raven
#

So excited to see what you guys will come up with

thin vector
rapid spear
#

By the way, I finally got something that loads directly into a level. Add these to the target on a shortcut to the exe:
+fullscreen 0 +restart 1 +szx 1920 +szy 1080 +ignoreAsserts 1 +developer 1 +debugOutput 0 +gameMode sp1 +lowSpec 1 +menu 1 +ai 1 +maxPlayers 16 +playerName Name +loadLevel Gulf_of_Oman

quick kelp
#

actual bf2 exe or the editor (_r) one?

rapid spear
#

Should work on the regular one, but I tested it on the _r one

thin vector
winged raven
quick kelp
#

looks like it places the hook at the correct spot but my game is not calling the hudManager.refresh method this hooks

#

ah nvm I'm stupid and didnt copy the hud folder into the zip 😜

winged raven
#

What about this

quick kelp
#

using this as a base rt and was just wondering why my breakpoint wouldnt trigger

quick kelp
#

lookin good

#

ah damn I forgot that there is no menu with remix loaded

#

oh no actually the latest build can show some parts of the menu

winged raven
#

Adam's launch arguments not working?

#

It should directly load into a level

quick kelp
#

not with the non developer build

#

😄

winged raven
#

Oh my

#

ITS WORKING

quick kelp
#

I think the renderer crashed

#

can still hear sound tho

winged raven
#

Well I want to tell something useful before freaking out of excitement, you can launch the dedicated server and use +joinServer ip. This works alone most of the time, if not you can probably add the +playerName Name
to directly load into a level

#

bf2_w32ded.exe

#

IT IS WORKING

#

What are you doing now

quick kelp
#

was just testing without these to see how it looks at it was just rendering the game with default shaders

winged raven
#

How promising is it

#

I am blown away by this point, not sure what to do if it gets any better

quick kelp
#

😜

#

how can I spawn without seeing the spawn menu map thing 😄

#

ooo even the moving tank has stable hashes

#

lmao

winged raven
quick kelp
#

is there like a console command that force spawns me or something

winged raven
#

I will have a look

#

I had a list of commands somewhere

quick kelp
#

or like a key combo I can press

winged raven
#

THIS IS INCREDIBLE

quick kelp
#

like 1 then enter then enter again of sorts

winged raven
#

The game even has a narrative help that will guide you how to spawn :D

#

How you do this? The same thing with CoD MW 1 ? So apperantly this isn't something generic so remix can do itself.

quick kelp
#

same as cod yea

winged raven
#

Uh nothing works

#

If ui works but just invisible, could you use some reference images?

quick kelp
#

mhh no there is no ingame ui unfortunately

winged raven
#

I mean if they're invisible, you could still click them?

quick kelp
#

yea

#

I'll now mark stuff on my screen using non remix lmao

winged raven
#

So you're on a 16 sized map, in singleplayer am I right

quick kelp
#

correct

#

ive now marked the little dot on the map and the done key

#

with electrical tape 😄

winged raven
#

lol

quick kelp
#

ah damn forgot that I cant even see my mouse 😄

winged raven
#

Default spawn time should be 15 s

winged raven
#

You could alt tab and focus on a different window, position the mouse, alt tab back and spam click maybe

#

Btw sometimes game decides to pop up the score tab which mouse controls the camera

#

Check if you hear sfx when hovering over the loadout menu

quick kelp
#

mhh no nothing

#

I can send you the build and you could test yourself if you want

winged raven
#

If this doesn't work, I could record some gameplay demo, pass you over and you could replay that

quick kelp
#

I think I'll try without this installation step here:

#

can you send me Battlefield 2\mods\bf2\Menu_server.zip because I did not make a backup :x

#

thanks!

#

make sure to use the most up to date build of remix

winged raven
#

quick, get it before the federals arrive

quick kelp
#

done

#

ooh it works without that

winged raven
#

Uh mine just crashed :/

quick kelp
#

on start?

#

mine sometimes crashes when loading the map

winged raven
#

Uh I was all on high, nevermind

#

I am TOO excited right now 😅

quick kelp
#

haha have fun and please post any progress! g2g to bed now

winged raven
#

trying to get in, thank you so much ❤️

#

I am in!

rapid spear
#

I can't seem to get it to work Hmm

quick kelp
#

🙏

winged raven
#

I can't spawn either

quick kelp
#

Don’t use bf2_r

winged raven
#

It has fp precision errors, but it looks promising

rapid spear
winged raven
#

Oh

#

I need to figure out spawning 🤔

quick kelp
#

Should probably port the offsets other to bf2_r tho

quick kelp
winged raven
#

Nope

quick kelp
#

Huh odd mine was working fine without the hud mod stuff

winged raven
#

Oh now I do

#

needed to mark as ui

rapid spear
#

I can't move my mouse Sadge

winged raven
winged raven
#

instead

rapid spear
winged raven
#

Uh, I have no idea then :(

#

Hmm it is too far away from the world center in the carrier

rough gyro
#

pog

winged raven
#

it gets way better near the chimneys

winged raven
rough gyro
winged raven
#

I literally see the sky when got hit

#

lol

winged raven
rough gyro
#

aw

#

:(

winged raven
rapid spear
winged raven
#

:/

#

At least shaders are open, maybe we could at least make them simpler?

rapid spear
#

Guess I just had to restart the game

winged raven
winged raven
rapid spear
#

Nope

winged raven
#

Also why enabling view model makes terrain texture work

rapid spear
#

I think I didn't set my visuals to low

winged raven
#

@oak jay Xoxor4d did the same treatment for Battlefield 2 as well!
We have some annoying fp precision errors. Since some of the shader code is in plain text format, could we fix this issue? What exactly causes this issue with remix, and what we should be looking for in the shader code?

#

Ah I updated remix, now I can't use mouse :/

oak jay
winged raven
oak jay
#

if the origin of the map (the 0,0,0 point) is off in 1 corner, redoing the map with it at the center could help

#

I'm not sure precisely, but I suspect we just do a lot more floating point math on the vertex positions than old raster games had to, which means floating point error creeps in at smaller numbers

#

(and the advice about redoing the map would only help if 1 corner of the map is stable and the opposite corner is unstable

winged raven
#

Is there anything we could accomplish by modifying shaders? I don't think we can get rid of them entirely, but anything that could help?

oak jay
winged raven
#

Got it, thank you for your time :)

winged raven
#

Now I get why it's so severe

#

by numbers

granite panther
#

how the hell did xorxor do this 😛

winged raven
#

My camera would orbit the earth 2 times with this speed in any other game

granite panther
#

i wish i had his skills

granite panther
winged raven
granite panther
#

hm

#

what method does he use for this?

winged raven
#

fp errors are so bad

winged raven
#

It gives access to the master class as far as I understand

granite panther
#

ah, cool

#

i'm making progress with my RE knowledge. hopefully one day i can actually apply it enough to fix an entire game for Remix

winged raven
#

Commander view

#

Bad news, add light to texture doesn't work so are replacement mesh / lights

#

xoxor pls fix :)

thin vector
#

let's fucking go man

#

Xoxor4d is a genius

granite panther
#

does this game have major denoiser issues?

#

i noticed that BeamNG also has the absolutely huge maps in it, and was wondering if FP issues were causing the denoiser instability

quick kelp
#

Didnt see any noise iirc

#

Cod also has some fp issues but I could usually fix that by increasing the near plane from ~1 to 50 or so

thin vector
#

fuzzy shadow details

granite panther
#

this is how BeamNG looks. turning off certain GI and denoiser settings fixes a large portion of it

quick kelp
#

Yea no that’s not a thing in bf2 🫣

thin vector
#

its like static noise from TV

granite panther
#

yeah... it's pretty terrible

dusky pond
thin vector
#

RTX Remix

thin vector
#

can someone write down all the issues we have now?

#

i see we have a custom .exe file to run this. But we need a sort of patch file (like chess titans) to edit the exe using programs like x64dbg if possible

#

so that it'll be easier to run on normal game install

#

also update this plz sc_peeponodders

winged raven
#
  • Wild floating point precision errors. Likely caused by huge maps (by numbers). It is so severe for dynamic objects, sometimes you can't even see them.
  • Things lose their material seemingly randomly.
  • Sampling and denoising issues, it is even worse with RTXDI enabled, likely caused by fp errors.
winged raven
#

@granite panther I put them them to the first post, can you pin that instead

granite panther
#

when did that get unpinned?

#

weird. i swear just saw it there yesterday

winged raven
#

Can we add images when editing a post

granite panther
#

through links only afaik

#

they do show up on the preview in the main channel

winged raven
#

Any image hosting service you would prefer?

granite panther
#

discord works, doesn't have to be external

winged raven
#

Oh I get it

granite panther
#

https://media.discordapp.net/attachments/1103606881538277386/1201647775125880842/resim.png

#

doing that should work

#

ohhh. you might have disabled all embeds for the original post...

#

if you did that, it'll never show

winged raven
#

Uh do I know what I am doing ¯_(ツ)_/¯

granite panther
#

just posting the link to the image directly should have it embed, so that means you probably disabled embeds on the post

#

if it doesn't embed, it won't show up as the thumbnail for the thread

winged raven
#

I probably once added an image with the texture list, thought it would mislead, removed

granite panther
#

maybe 😦

#

they very much need custom thread settings

#

both COD2 and BF2 will suffer the same fate it seems

winged raven
#

should I put an ascii art 😛

granite panther
#

lmao, sure

winged raven
#

It exceeds the limit

granite panther
#

yeah 😦

winged raven
#

thats a nice one

#

Map center isderived from 64 player version, so even the smallest maps are very bad

#

xoxor4d how promising is it you think? Does it look possible to port this to fixed function?

granite panther
#

do you have nitro?

winged raven
#

no

#

I will just link an image

granite panther
winged raven
#

So you do, can you edit my message with a higher limit?

granite panther
#

i only have Nitro basic, which is 2k still 😦

#

and i can't edit messages like that

winged raven
#

Oh now we have Unplayable tag

winged raven
thin vector
#

this status key is confusing

#

sounds close to remix incompatibility without context

#

it barely works now compared to nothing

winged raven
#

It matches

quick kelp
winged raven
#

After playing about 40 minutes, I can confirm that real life has floating point precision errors too

thin vector
#

are you sure its not your eyes?

#

what did mark suggest about FP errors

#

how do we solve them

winged raven
#

huh

winged raven
winged raven
winged raven
#

FuShe Pass 16 map is somewhat playable btw

thin vector
#

Of it being stable?

#

currently there's just too much fp errors to make out what's going on lol

winged raven
#

I mean it is less wobbly, you can actually make out vehicles and such

thin vector
#

ah ok nice

winged raven
#

Do you want a video ?

thin vector
#

yes

winged raven
#

Got 20 minutes of mlg gameplay

#

now wait an hour for hd processing

thin vector
#

youtube?

winged raven
#

Ah great, I cant process videos longer than 15

winged raven
#

unlisted

#

First 10 seconds is 360p for some reason

thin vector
winged raven
#

the rest is 1080p

thin vector
#

true battlefield experience

winged raven
#

dum dum dum dum dum dum

#

It is slightly modded btw, mainly kits and some weapon stats

#

also wrecks stay

quick kelp
granite panther
#

what did you change?

quick kelp
#

its the same fix that fixes the wobble in call of duty games (when stuff is rendered with shaders) -> adjusting the near plane

#

console command renderer.tweakNearPlane set to 4 in this case here

#

cant see the default value but setting it to a value of 0.1 results in wobble

#

You need higher and higher values for the nearPlane the further you are away from the map center
That wobble doesnt happen (no need to tweak the near plane) if its rendered using fixed function (that was the case for cod at least)

rapid spear
#

Bit of wobble

winged raven
#

I can't view anything:
This content is no longer available.

#

Huh, can't send images either :/

#

@quick kelp Can you link an imgurl or something? Discord is broken for me for some reason

#

Someone please help me

#

I need to see this

quick kelp
#

aaaa

winged raven
#

I get this error This content is no longer available.

winged raven
#

Same

quick kelp
#

ill up it to drive then

winged raven
#

Da hell is going on with my Discord

#

Oh IDA Pro has rich presence lol

winged raven
#

Do you see my images btw

quick kelp
quick kelp
winged raven
quick kelp
#

lmao

winged raven
#

So the issue was that near plane was too close?

quick kelp
#

i've unlocked the console so you can use any commands now

winged raven
quick kelp
quick kelp
#

sure might help in other games as well (if there is an option to change the nearplane)

winged raven
#

Can I get the new exe :)

quick kelp
#

need to implementing and rewrite a few things in the base I'm using to actually do that with the dll

winged raven
#

Whats the offset

quick kelp
winged raven
#

It works better than Vietnam does now

#

still a bit wobbly in larger maps, but can adjust it real time

thin vector
#

Any idea what is this?

#

Random terrain flickering

#

Messes up the denoiser

winged raven
winged raven
thin vector
#

Or wake island

winged raven
#

I recall the name but

#

oh okay that one

thin vector
winged raven
thin vector
winged raven
#

I think the center is somewhere around the US base

#

in the 32 size version

#

I don't wanna see wake island without replacing the water ¯_(ツ)_/¯

thin vector
#

Understandable

#

What about light replacements

#

Are they working

#

?

winged raven
#

No, transforms are broken I guess

#

Also I don't remember seeing any lights

#

¯_(ツ)_/¯

#

Actually

thin vector
#

Good point

winged raven
#

I think mine isn't working

#

@quick kelp Is this correct

#

Finally, files are working again

quick kelp
#

both jne jumps should be jmp jumps now

#

that unlocks the console, then you obv. need to open the console and type renderer.tweakNearPlane 4

winged raven
#

Oh I thought this was for the values

quick kelp
#

oh sorry for not mentioning that

#

note: setting First N untextured drawcalls to anything above 100 or so fixes the white terrain flicker

winged raven
#

Doesn't it remove the materialless stuff

#

like buildings

quick kelp
#

nope

winged raven
#

I get unrecognized method error :/

quick kelp
#

that console is a pain to use .. make sure you have no space in front

#

its really annoying.. had to type the same thing multiple times to get it to recognize the command 😂

quick kelp
#

huH

thin vector
#

Garbled and smeared

winged raven
#

I think it might be caused by dxwrapper's borderless fullscreen feature

#

gotta turn it off

quick kelp
winged raven
#

still nope :/

quick kelp
#

well but it now recognizes the command

#

open that up in disassembly view

#

oh

#

also

#

why bf2.exe + the offset

#

that is wrong 😜

winged raven
#

Yep they are both jmp

winged raven
#

how

#

I mean isn't it unique to prefetch otherwise?

quick kelp
#

no no these are static offsets that dont change their location in memory

#

so just add the offsets without bf2.exe + ..

winged raven
#

Ohh

#

IT WORKED

quick kelp
#

you can also press Ctrl + G in the disassembly view to go to an adress, paste 0x69FD00 and double click the jne instruction. Then change it to jmp

winged raven
#

So in 1337 syntax, how do I represent htis

#

I simply remove the first line?

quick kelp
#

what is this?

winged raven
quick kelp
#

uhh .. no clue Im not using x64dbg 😄

winged raven
#

I made a dll to patch things at runtime, but I think I don't handle the case where it is empty :/

#

Can get far plane closer instead?

quick kelp
#

if you need the base offset you can also look into the disassembly view (first column)

quick kelp
#

it would just limit the draw distance

#

depends on the implementation tho

winged raven
#

But it is really good

#

Thanks for the hard work ❤️

#

It looks totally okay with lower values like 1 - 2, in smaller maps

#

I think we can put this command into a con file to get it executed automatically

#

@quick kelp You can put that command in mods\bf2\GameLogicInit.con

#
sv.numPlayersNeededToStart 0

sv.manDownTime 0
sv.spawnTime 0

renderer.tweakNearPlane 4
#

Remix anticulling for point blank objects :D

#

Okay don't try it

#

It literally jumped from unplayable to partially playable with this update sanic

quick kelp
#

man this game is really .... hard to work with

#

its really hard to track where commands are used within the code so there is no easy way to navigate and use these as hints

#

and everything is a class member of another class with a lot of vtables

winged raven
#

oop hell

quick kelp
#

and because most functions are thiscalls (x86 calling convention), they clean up the stack ... meaning I cant simply nop them to see what they might render

#

because the game will instantly crash

winged raven
#

:/

quick kelp
#

🤷‍♀️

#

I'll finish my work on cod first I think 🫣

winged raven
#

Thank you for your amazing hard work ❤️ This game was hopeless just 2 days ago.

winged raven
#

Should we mark it as Partially Playable now

thin vector
#

can we load in high resolution textures?

#

or is it all lowspec for now

winged raven
thin vector
#

yes, current one looks like someone smeared play doh on the ground, is there a way to force high quaility textures

winged raven
#

I can try few minutes later, gotta edit the first post

#

I intentionally set it to low

#

Because apparently some games aren't so good at labeling what settings do

winged raven
#

And I can upload the patch without an issue I guess

#

for this format

#

Hey @quick kelp, because we can't upload the patched exe for obvious reasons 😛, I used this tool to create a patch by the difference of yours and the original one

#

If you can export the patch as 1337 it woul be easier tho

quick kelp
#

I'll create a dll that gets auto-loaded that does not need the "patched" exe or we use asiloader

winged raven
#

Isn't that asi == dll

quick kelp
#

the exe was edited to simply load the dll .. nothing more

#

yea

winged raven
#

which one is it

#

hudfix

quick kelp
#

yea

#

I'll rewrite this today and up it to github so that the source is available and it auto builds on github

winged raven
#

If this thing can be done by a simple 1337 patch, we can use ultimate asi loader with the runtime patching asi

quick kelp
#

why the 1337 patch then tho

winged raven
#

If that will help a little

quick kelp
#

I have to because I need to do at least 1 hook with custom code that sets the camera data

winged raven
#

Oh okay

#

So you will create a fork of hudfix or an asi mod

quick kelp
#

I'll write my own little base that produces a dll -> rename that to asi -> can be loaded by an asi loader (hopefully)

winged raven
#

Thank you again :)

thin vector
winged raven
thin vector
#

lets just keep it as unplayable

winged raven
#

This is more of a gray area

#

High textures

#

Like too high, that I need more social credits to see them

winged raven
#

I am having so much fun

winged raven
#

I don't know how to react

#

Get your dream setup soon 🙏

thin vector
winged raven
#

I can stream if you wish btw

thin vector
quick kelp
#

@winged raven

winged raven
#

I didn't worked for me 🤔

quick kelp
#

I think I did for the lense yea

winged raven
#

You can mark particle atlas as ui too but it messes up with the overall scene sometimes

quick kelp
#

kinda inconsistent tho .. flickers sometimes

winged raven
#

yea

#

Particles are broken, and they don't get affected by any tag but UI

#

They rendered as ui anyway I guess

#

Huh, renderer.allowOnDemandPostProcessing 0 brokes the game

#

like it doesn't render anymore

thin vector
#

Sorry my internet went out

#

Couldn't see stream

thin vector
quick kelp
#

raster

#

0.04100000113 is the default value of the nearplane cvar

winged raven
#

there it is! the viewmodel

thin vector
winged raven
#

renderer.tweakFarPlane1p 0

thin vector
#

Bro has his weapon on the moon

winged raven
#

renderer.tvEnabled 0 doesn't fix the tv missile tho

#

I once had it working all fine

#

but not anymore

#

this could be useful renderer.setQualityLodDistanceALL int float -> void

quick kelp
#

with tweaknearplane1p at 1 and tweakfarplane1p at 1000

#

near 1 and 600 far seems to be a good range (the gun stays where it should) but with some floating point issues

winged raven
quick kelp
#

reduce the non 1p nearplane

#

to 1

winged raven
#

Ohh

#

even got 3d scope :D

quick kelp
#

lmao

winged raven
#

Add renderer.drawPostProduction 0

#

fixes the issue with postfx messing up with camera

#

Why renderer.drawSunFlare 0 do this lol

#

renderer.drawUndergrowth 0 disable grass (kills my performance)

#

renderer.enableHWOcclusion 0 to crash the game

winged raven
#

renderer.forceStaticMeshSkipLod -1 to disable lod for buildings

#

renderer.qualityLodEnabled 1

#

I think disabling postfx fixed wrecks too

thin vector
winged raven
#

Cant find how to force lod on trees tho

#

Oh they still broke when you get close

thin vector
#

Does it wobble?

winged raven
#

I think this is the correct one, wrecks are not colored in bf2 (most)

#

but it is annoying

#

and stupid

thin vector
winged raven
#

At least we have tv cam working

winged raven
#

@thin vector High texture and mesh quality works fine actually

winged raven
#

The camera is actually behind the transparent cover lol

thin vector
#

I love this

#

Trees look any better with high texture quality

winged raven
thin vector
winged raven
thin vector
#

Also any idea why replacements aren't working? Unstable hash?

#

Or the captures aren't correct

winged raven
thin vector
#

mhmm what's the issue then

winged raven
#

unlike them, I don't see anything in my head either

winged raven
thin vector
#

Gonna need someone to get a capture and see what it looks like in toolkit

quick kelp
#

replacements as in mesh replacements?
Should generally work but if its an instanced mesh, it will hide all instances of the model and only show the one that was placed in the toolkit iirc (that was the behavior in cod4)

winged raven
#

they don't work for me

quick kelp
#

no havnt tried with this game yet

#

just found a server? build of bad company 2 that comes with debugging symbols ... might help with a few structs and understanding of the games layout

winged raven
#

BF2142, BF Hereos, BF Play 4 Free are refactor 2

#

BF 1942 is refactor 1

winged raven
quick kelp
#

can you modify the terrain shaders?

thin vector
#

isn't the frostbite engine vastly different from refractor 2?

quick kelp
#

could say the same about cod4 -> newest cod. Vastly different but some core principles are still the same

thin vector
thin vector
winged raven
#

But they are plain text

thin vector
#

Terrain uses pixel shader 1.4

#

That's all I know 🙂

quick kelp
#

so its possible without any code tweaks?

winged raven
thin vector
#

I see trail.fx

#

What's it for?

winged raven
#

missile trails

thin vector
#

What's this then

winged raven
#

?

#

vehicle damaged trail

thin vector
#

totally forgot

#

How about Flares? Do they look normal?

winged raven
thin vector
#

Seems like everything needs to be set as UI like those particles fx

winged raven
winged raven
thin vector
#

yeah well that's because you don't have any access to the data now if you nullify shaders

#

Needs another way to get the data

winged raven
#

I can't seem to replace water :/

#

Something with th look changes when I toggle materials, but thats it

#

Actually they are absent from the captured textures

#

Ohh

#

the ones with no thumbnail

winged raven
thin vector
#

No building atlas or anything

winged raven
#

no buildings

#

but particle atlas is there

#

and vehicles, flags

#

ui atlas too

#

Lets see if we can replace the canopy on ah1z, it is present in textures folder so

thin vector
#

Is this the z1 viper?

winged raven
#

viper is in battlefield 4

thin vector
#

ah it's just ah-1z

winged raven
#

looks weird tho I need to mark it thinwalled

thin vector
#

It's reflective but maybe normals are not inverted?

winged raven
#

bot stole my heli lol

thin vector
#

Take the birdie down

winged raven
#

yea normals are broken :/

thin vector
#

yeah that needs a model replacement

quick kelp
#

Nah that would be fine if rendered with fixed function 😜

thin vector
#

but reflections won't look nice on the canopy

winged raven
quick kelp
#

Same issue as in cod. They probably packed the normal

winged raven
#

Man I can't believe, this evolved from black screen to reasonably playable and personally fun experience in just 2 days

winged raven
#

This map is so big that even with near plane set to 4 it freaks more that vanilla bf2 did

winged raven
#

Huh, water replacement works if I mark world stuff as ui

#

Ohh no its not that

quick kelp
#

uuh any idea why I cant move my mouse ingame to select a spawnpoint or something?
All I've did was run bf2_r once kekw

winged raven
#

from documents

#

I think it is messes up because it is ran as admin?

#

Do someone has USD composer still installed

quick kelp
#

I do

winged raven
#

Oh it is working now

#

I just needed to restart it

#

weird

#

Anyway, I think I messed up the usda syntax at my first attempt

#

Is this better

quick kelp
#

yea the usda you send doesnt show in cpmposer

winged raven
#

It works after a restart tho

quick kelp
#

🤷‍♀️

winged raven
#

If the error is about materials, thats fine. I don't have them either.

quick kelp
#

he found the func that renders terrain

winged raven
#

Who is he

thin vector
#

he is who found the func

winged raven
#

I am confused

thin vector
#

probably some guy in refractor 2 modding server

quick kelp
#

sorry missed another h

#

heh

winged raven
#

3rd person expression_

quick kelp
winged raven
#

lol

#

My brain couldn't autocomplete that to heh :D

thin vector
winged raven
#

at first try

#

Now Wake Island time

#

Uh the same problem as bf1942

thin vector
winged raven
#

so it is colored exactly as transmittance_color

#

practically ignoring transmittance_measurement_distance

thin vector
#

can you increase draw distance? seems like loads tiles or chunks

winged raven
#

Should search online

thin vector
winged raven
#

Too blue

thin vector
winged raven
thin vector
#

you should follow this

winged raven
#

great find thanks

winged raven
thin vector
#

hmm

#

strike at karkand had this brown duststorm like fog

#

can we add that?

#

remix does have volumetric fog

winged raven
#

likely messing up parameters

winged raven
winged raven
#

excellent

#

not so excellent

#

I can adjust the transmittance distance to get the look I want on shallow water

#

since it wont affect the deep water (because there is no terrain mesh beneath)

#

it will always pick the exact color I enter

winged raven
#

You are definetely better than me at finding stuff :D

thin vector
#

looks amazing with remix

winged raven
#

OUR achievement

#

comrade

thin vector
#

now the question is

#

will this work with PR

#

😮

winged raven
#

I wonder where this purple coming from

#

normals are too strong I think

#

Oh okay I just needed to set this wayy to high

#

150 seems fine
It was not

#

it was 101 before

thin vector
#

It's partially playable

winged raven
#

*request

thin vector
#

Hmm

#

I'll wait for the view model to work too

winged raven
thin vector
#

Let's make a couple of screenshots and post them in #showcase (WIP)

granite panther
#

looks good 🙂

glossy merlin
#

nice find 😉 👍

winged raven
glossy merlin
#

Thank you, I'm going to try these settings for the game I'm modding, Battlefront 2 OG

glossy merlin
#

I thought your commands were for remix

winged raven
#

Uh lol

#

I read it as Battlefield 2

#

OG as your mod name

winged raven
glossy merlin
winged raven
#

All fine

glossy merlin
#

LODs and mesh popping are really bad in that game too

#

just trying to see if there's a way to make it more stable

winged raven
#

Yea remix cant do anything about that unless you anchor a new mesh to every single lod level of every lod mesh

glossy merlin
glossy merlin
#

If there's two of the same model

winged raven
glossy merlin
#

Oh if you don't mind could you tell me how? or show me a screenshot

#

I really don't know how one could do that, I use Omniverse interface...do you as well?

winged raven
#

But this should really be the last resort

#

as it requires too much effort

glossy merlin
quick kelp
#

@winged raven did you figure out good values for the 1p near and farplane or are your viewmodels wobbly

winged raven
#

Found where the chess board was

quick kelp
#

alright just wanted to make sure

winged raven
#

for what

#

The coolest chopper in the game in the fan favorite map, combined with the best lightning this game ever seen

quick kelp
#

for the gamelogicinit I'll add to the repo

#
renderer.forceStaticMeshSkipLod -1
renderer.qualityLodEnabled 1
renderer.tweakNearPlane 3
renderer.tweakNearPlane1p 1
renderer.tweakFarPlane1p 600
renderer.drawPostProduction 0
winged raven
quick kelp
winged raven
#

Now I don't need the hudfix do I

quick kelp
#

nope - stock bf2 exe and no hud dll

winged raven
#

Beep

quick kelp
#

scary beep

thin vector
#

Boop

#

Bop

winged raven
#

Btw skinned meshes are done on the gpu

#

Interesting thing I found, those effects also work if you align it with the sky

#

It is not marked as ui right now

winged raven
quick kelp
#

lmao

winged raven
#

@granite panther

#

This is default viewport with the largest map refractor can handle (I believe)

#

This is with nearplane set to 4

granite panther
#

ouch indeed

winged raven
#

this map looks cool with proper water
because it is literally just an ocean

thin vector
#

please test strike at karkand 16 player map

#

its small so might be stable

winged raven
winged raven
#

Also jets don't disappear up to 6.2

#

Which is slightly more stable

#

This is a naval combat map

thin vector
#

hmm, so we can replace materials but not add lights?

winged raven
#

only materials

thin vector
winged raven
#

there is loads of culling related commands, lets see if I can disable culling

quick kelp
#

added a light to my weapon .. well its stationary and doesnt move with the gun but it works

#

and disappeares when I switch the gun

#

adding to world geo seems to work as well but culling is definitely a problem

winged raven
#

how

#

Also how you fixed the view model

#

I want answers!!

#

terrainCuller.cullerType int -> int

#

seems 1-6

#

None of them stops the culling

#

3 by default

quick kelp
#

Nearplane 1
Nearplane1p 1
Farplane1p 610

winged raven
#

How you added the light

quick kelp
#

selected the viewmodel and added a light to it 😄

#

selected the rolling door of the building (pink light) and added a light 😄

winged raven
#

that doesnt seem to work for me :/

quick kelp
#

im rocking world in fused world view

#

and 300 in unique obj search distance (no clue what that does tbh)

winged raven
#

still nothing :/

winged raven
quick kelp
#

huh

winged raven
#

It does not account for scene scale

winged raven
quick kelp
winged raven
#

Oh you added by toolkit?

#

How toolkit worked for you

quick kelp
#

what .. doesnt that work for you?

winged raven
#

there is only terrain, and few chunks

quick kelp
#

I dont have any terrain at all lmao

winged raven
#

huh

#

whats going on here :/

#

Your nearplane settings made my game a slideshow for some odd reason

quick kelp
#

huh thats odd

winged raven
#

but lights are there

#

It took me 30 seconds to get this menu
it is that slideshow

quick kelp
#

do you have the toolkit open by any chance?

winged raven
#

I probably messed up something

#

it is both

#

It is "meshes"

#

since you attach the light to a mesh

quick kelp
#

yea .. but why is your game such a mess with lights enabled KEKPOG

winged raven
#

Huh it is magically fixed

quick kelp
thin vector
#

Wait, when did we get the viewmodel working dead dead dead

quick kelp
#

your gun isnt glass tho

winged raven
quick kelp
#

aaah alr

winged raven
#

I just disabled enhanced meshes before adjusting nearplane

#

instead of putting into the gamelogicinit

thin vector
#

All wobbly

#

@quick kelp can you pick up projectile hash?

#

Wonder if we can attach a light to it

winged raven
thin vector
#

It's picking up view model transforms?

winged raven
#

I have some random vertex explosions going on

#

how the menu got affected

quick kelp
quick kelp
thin vector
winged raven
#

Add light to texture still doesn't work

winged raven
#

just not after

thin vector
#

Wait I forgot

#

Yeah it does

winged raven
#

Fonts are not rendered

#

in menu

thin vector
#

I think we talked about changing the flash menus to more modern stuff?

#

Will that help?

winged raven
#

How you think that will work

thin vector
#

Maybe

#

I'll take a look

quick kelp
#

also having these bad framerate issues at certain spots

thin vector
#

@winged raven i found something that might help

winged raven
#

modify

#

it is still flash

#

I think our best bet would be to do something with dear imgui

#

I found some console commands that the ui seems to be calling

winged raven
#

Uh cant disable culling :/

#

terrain culling*

#

Found how to disable the sun flare tho: skyDome.flareFadeMul 0
renderer.drawSunFlare 0 is bugged

winged raven
#

They look like sha 1

thin vector
#

WHERE DID YOU FIND THIS!? 💀

winged raven
#

Uh, my bf2.exe 's sha1 is not there

#

And it downloads bf2.pd_

thin vector
winged raven
#

I am here for bf2

thin vector
#

this will land us in jail

winged raven
#

Ohh it is just a zip file

#

with this inside

#

772kb isn't it too small?

#

When I compile something, generally the generated pdb is ~30 times larger than the binary

thin vector
#

jesus christ

#

wonder if its helpful

winged raven
#

How do we confirm if these are legit

thin vector
#

these were uploaded in 2020

quick kelp
#

nothing of interest

winged raven
quick kelp
#

thats related to some audio engine and most certainly some "plugins" for that

rapid spear
#

Need them renddx9.DLL(?) symbols

winged raven
rough gyro
#

need

thin vector
#

2142 might work now

winged raven
#

I set lightning to high and enabled dynamic lights with the hope that it will create lights that remix can capture, this is what I got

quick kelp
#

remix can only capture fixed function lights. Lights in shader based games are not handled this way so there is nothing to pick up 😦

thin vector
winged raven
#

I remember trying to get it up and running couple times, and I did. It sucks and I don't think it will help much

thin vector
#

nothing im just finding stuff

#

someone must have thought of getting rid of the flash player

#

in some old god forsaken forum

winged raven
thin vector
#

does 1942 use flash player for menu?

winged raven
#

not 100% sure

winged raven
#

particleSystemManager.particleSystemShaderQuality 0 disables the broken particles all together
Edit: Interestingly it doesn't work for the ah1z autocannon
Edit2: It doesn't work for most, but does eliminate the booster effect from the hydra rockets

thin vector
#

nice

#

no more damage trail i suppose

winged raven
#

This one is the muzzle flashes and such

#

shadermanager.byPassDiceStates 1

#

I have no idea what this does

#

but it flickers like crazy

thin vector
winged raven
thin vector
#

didn't xoxor4d fix that?

winged raven
thin vector
thin vector
#

Standalone mod

#

ugh it has reshade 💀

winged raven
#

Not sure about this one but I seen couple mods migrating over the ps3 like PR

winged raven
#

No leaked debugging material :/

thin vector
#

Never realized there was a cut Easter egg

winged raven
#

I asked in Refractor 2 Modding server if they know of any leaked debug symbols.

thin vector
#

Searched the internet for debugging symbols pdb

#

no results 😞

thin vector
#

Anything new regarding battlefield 2 remix?

dusky pond
#

2 options:

Solution 1 - Wait for someone with brain intelligence 100+ to make everyones day
Solution 2 - Pay or hire a programmer

winged raven
#

Option 3: Wait for xoxor4d to done cod4-5 first

thin vector
#

from remix incompatiblity to partially playable

quick kelp
#

But thats probably all that I'll do for this game 🫣
That engine very hard to analyze and the results of my testings with terrain drawing are thumbdown

winged raven
#

I was thinking of tweaking nearplane on the fly by modding the game (I think it is possible with .con files, not tested tho) but I noticed that messing with near plane also changes hashes.

#

Unfortunately a value of 1 is not very viable for 32 and 64 sized maps.

cold void
#

hey I cant download the rtx mod

#

what do I do

#

how to download it

thin vector
#

then go down

#

just click it again and it will download

cold void
#

I cant click is this needs a git account

#

yes it needs a git acc

cold void
#

no way, thanks

#

uhh...

quick kelp
#

expected behavior

thin vector