RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Topic started by: bomberman on Oct 03, 2017, 08:19 AM

Title: I want to disable fog on Einbroch map.
Post by: bomberman on Oct 03, 2017, 08:19 AM
I had problem with Einbroch map, It's can't disable fog, command /fog on and off is same.

It's work only /effect is off. I merge addon_diseffect_all.grf and fog effect is not disappear.

Can be edit grf for disable fog in this map?

edit einbroch.rsw right?

Please tell me how to or send completed einbroch.rsw edit.

Thank you.
Title: Re: I want to disable fog on Einbroch map.
Post by: Min on Oct 03, 2017, 01:59 PM
You'll want to look for...

data\texture\effect\fog1.tga
data\texture\effect\fog2.tga
data\texture\effect\fog3.tga

and replace them with completely transparent images. This can be easily done with a free image editing program such as GIMP.
Title: Re: I want to disable fog on Einbroch map.
Post by: bomberman on Oct 03, 2017, 02:22 PM
Thank you Morocc

I found some .tga file in data.grf, it's transparent too.

:D
Title: Re: I want to disable fog on Einbroch map.
Post by: rootKid on Oct 03, 2017, 08:35 PM
Quote from: bomberman on Oct 03, 2017, 08:19 AM
I had problem with Einbroch map, It's can't disable fog, command /fog on and off is same.

It's work only /effect is off. I merge addon_diseffect_all.grf and fog effect is not disappear.

Can be edit grf for disable fog in this map?

edit einbroch.rsw right?

Please tell me how to or send completed einbroch.rsw edit.

Thank you.

Open up your client (.exe) in a hex editor, search for the string "einbroch.rsw", change the string to something else, and voila: the fog is gone.
Title: Re: I want to disable fog on Einbroch map.
Post by: misterj on Oct 04, 2017, 06:41 AM
Quote from: rootKid on Oct 03, 2017, 08:35 PM
Open up your client (.exe) in a hex editor, search for the string "einbroch.rsw", change the string to something else, and voila: the fog is gone.
that might mess up the client's inbuilt airship pathing and cause a crash on the world map. best bet is to find the reference to the einbroch.rsw string in CGameMode::Initialize and NOP out it being moved into the strcmp. you'll know it's the right function because it also compares against moc_fild22, rwc maps, and so on.