EARTH DEFENSE FORCE 6

EARTH DEFENSE FORCE 6

Vis statistikk:
Rumi 25. juli 2024 kl. 6.12
2
2
Ultrawide fix
For post-patch values please refer to the latest post in this thread! OP might not be up 2 date.

> New Offsets (28.01.2025)
How to edit?
1. Open the EDF6.dll in HxD and press shift + g
2. Enter one of the following Offsets in the popup

> Resolution
Offset: 01810B38

Replace 39 8E E3 3F with your desired resolution

Common values:
21:9(2560x1080)= 26 B4 17 40
21:9(3440x1440)= 8E E3 18 40
21:9(3840x1600)= 9A 99 19 40
32:9(3840x1600)= 39 8E 63 40
48:9(5760x1080)= AB AA AA 40


> Fix Chat
Offset 1: 017F554C
Change 00 00 10 3F -> 85 EB D1 3E

IF 48:9 -> 00 00 40 3E

Offset 2: 017F5436
Change 16 C4 00 00 -> FA C3 00 00

IF 48:9 -> 5C C3 00 00


>FOV
Offset: 01764420
Change DB 0F 49 3F -> Desired FOV value.

DB 0F 49 3F = 0.7853982

Use https://www.h-schmidt.net/FloatConverter/IEEE754.html

Examples:
1.1 = CD CC 8C 3F
1.0 = 00 00 80 3F
0.9 = 66 66 66 3F
0.8 = CD CC 4C 3F
Sist redigert av Rumi; 28. jan. kl. 4.11
< >
Viser 115 av 102 kommentarer
Mortac 25. juli 2024 kl. 6.20 
Going through the .exe with a hex edit atm but I really can't find anything essential. Would really like to get ultrawide fixed before I play.
Blareot 25. juli 2024 kl. 6.23 
It seems that all the stuff that was previously in EDF5.exe is now in EDF.dll, but doing the same hex changes doesn't seem to do anything. Maybe someone that knows more about this stuff than me can get it to work, though.
Rumi 25. juli 2024 kl. 6.25 
Opprinnelig skrevet av Mortac:
Going through the .exe with a hex edit atm but I really can't find anything essential. Would really like to get ultrawide fixed before I play.
The .exe is irrelevant and too small.
Rumi 25. juli 2024 kl. 6.29 
Okay so hex editing the dll and changing

"39 8E E3 3F" to "8E E3 18 40" made my game render in ultrawide for 3440x1440 ingame at least but the menu seems ♥♥♥♥♥♥ a little. I will test it out really quick.

can anyone confirm? it's just 1 value inside the dll.

Disable letter box + backup
Rumi 25. juli 2024 kl. 6.32 
Chat boxes are ♥♥♥♥♥♥ up after that edit, need to figure out how to fix them.
soft as HELL 25. juli 2024 kl. 6.52 
I did poke around dll with ghidra and it seems like there's just one reference to 1.77777777778 that needs replacing. Chat gets messed up but but I can live with that.

Check floats at
18180dde8
1817a1be8
Rumi 25. juli 2024 kl. 6.54 
Opprinnelig skrevet av soft as HELL:
I did poke around dll with ghidra and it seems like there's just one reference to 1.77777777778 that needs replacing. Chat gets messed up but but I can live with that.

Check floats at
18180dde8
1817a1be8

Yep pretty much what I've seen as well, replacing that as usual. The HUD is still stretched and the chat bubbles are not aligned on the y axis but that's about it. I'm looking for a fix for the chat rn.
soft as HELL 25. juli 2024 kl. 7.29 
Maybe it's worth checking out some stuff from EDF5 since it's the same engine. Good chance same things work here, they're just in dll.
https://steamcommunity.com/app/1007040/discussions/0/1642043267235851987/?ctp=4#c3158630999993863856
But it probably requires a bit more than simple hex editing to find the right offsets.
Sist redigert av soft as HELL; 25. juli 2024 kl. 7.31
soft as HELL 25. juli 2024 kl. 7.37 
Kinda fixed chat bubbles. It's not perfect but changing to the same values works in edf6 as well.

1817f286c to 0.41f
1817f2754 to -500f

Probably one of these needs to be a bit tweaked since the box gets too big and it's not centered.
Sist redigert av soft as HELL; 25. juli 2024 kl. 7.41
Mortac 25. juli 2024 kl. 7.47 
Opprinnelig skrevet av soft as HELL:
Kinda fixed chat bubbles. It's not perfect but changing to the same values works in edf6 as well.

1817f286c to 0.41f
1817f2754 to -500f

Probably one of these needs to be a bit tweaked since the box gets too big.

I'm using HxD and can't seem to find these offsets. Do you have any other reference point you could share? Assuming this is still in the EDF.dll.
Sist redigert av Mortac; 25. juli 2024 kl. 7.48
Rumi 25. juli 2024 kl. 7.50 
Opprinnelig skrevet av soft as HELL:
Kinda fixed chat bubbles. It's not perfect but changing to the same values works in edf6 as well.

1817f286c to 0.41f
1817f2754 to -500f

Probably one of these needs to be a bit tweaked since the box gets too big and it's not centered.
changing these doesn't seem to affect the chatboxes
soft as HELL 25. juli 2024 kl. 7.51 
Yes it's all in the dll, I assume ghidra adds some base address to it. Try 17f1154.
soft as HELL 25. juli 2024 kl. 7.52 
Opprinnelig skrevet av Rumi:
Opprinnelig skrevet av soft as HELL:
Kinda fixed chat bubbles. It's not perfect but changing to the same values works in edf6 as well.

1817f286c to 0.41f
1817f2754 to -500f

Probably one of these needs to be a bit tweaked since the box gets too big and it's not centered.
changing these doesn't seem to affect the chatboxes
I also have changed 1817a1be8 to 2.38889 not sure if that affects anything.
Frank Horrigan 25. juli 2024 kl. 7.55 
Hey, im new to using hex editors. I know how to edit these values "39 8E E3 3F" to "8E E3 18 40" but i dont know where to find these "1817a1be8" values and how to edit their floats? Thanks in advance!
soft as HELL 25. juli 2024 kl. 8.00 
5
2
4
I will just upload my patched dll. Just run a diff against original, it contains 4 changed values. Chat also seems fine now since I fixed aspect ratio properly.
https://gofile.io/d/kJx70f
I have only tested this on 3440x1440

https://steamcommunity.com/sharedfiles/filedetails/?id=3296543580
Sist redigert av soft as HELL; 25. juli 2024 kl. 8.05
< >
Viser 115 av 102 kommentarer
Per side: 1530 50