"Which type of multiplayer game…"button removal??
-
I wish to remove (fully) the LAN button on the multiplayer type screen, or better yet…remove the whole section and just have he ESRB notice…how would i do that?? if at all?
-
Its for a new mod….and I dont really want FLHack to be shipped with the download
EDIT: have heard of a mod that has done this…so i know its possible.
-
-
Sorry, could you give me a quick run through on what that means?
-
There’s nothing to stop you from downloading FL Hack, see how it removes the selection, then add the hex edit directly, namely:
0xE805D5F0FF->0xB801000000 in freelancer.exe, 0x166d56 = prelude to auto-select LAN or internet 0x8B442410->0x90909090 in freelancer.exe, 0x166d66 = auto-select internet 0x48->0x90 in freelancer.exe, 0x166d6a = auto-select LAN 0x75->0xEB in freelancer.exe, 0x166c2b = bypass ESRB notice
The other hack effectively makes Freelancer multiplayer only, since you won’t be able to start a new game, or load an existing one.
-
0xE805D5F0FF->0xB801000000 in freelancer.exe, 0x166d56
what im wanting is for someone to explain what the code layout is…what does the 1st/2nd/3rd set of numbers mean, i know “freelancer.exe” is the file in which i edit.
-
0xE805D5F0FF->0xB801000000 in freelancer.exe, 0x166d56
Use a Hex Editor for this. I use ICY Hexplorer. It has a target button as “Go to”.
Open Freelancer.exe.
Go to address 166d56
In the standard Freelancer.exe you will see the values E805D5F0FF
Change them to B801000000Save the file.
In the first example:
174634: E8 47 E5 EA FF 83 7C 24 50 01 77 [ C7 44 24 70 00 00 00 00 C7 44 24 ]
11 DB 05 4C 46 57 00 EB 0D [ 74 00 00 00 00 C7 44 24 78 ]
1746CA: 00 00 [ 80 3E ]
174707: 00 00 [ 80 3E ]Go to 174634.
You will see: C7 44 24 70 00 00 00 00 C7 44 24
Change to: E8 47 E5 EA FF 83 7C 24 50 01 77After that (17463F)
You will see: 74 00 00 00 00 C7 44 24 78
Change to: 11 DB 05 4C 46 57 00 EB 0DGo to 1746CA.
You will see: 80 3E
Change to: 00 00Go to 174707.
You will see: 80 3E
Change to: 00 00Save.
Simple really.
-
thank you ever so much.
EDIT: now i just have to change the location of the remaining boxes
-
is there a kinda shiffre for the for the buttons itself. The texts are removed by replacing the 80 3E with 00 00.
So i guess the first two edits from 0x0174634 up to 0x0174648 are for the buttons (in that example for the first two buttons). My question is related to remove other buttons as well. Different address or same address -> other values for sure
Someone has an idea? Thanks in advance.
-
yeah why not –> for single player only games…
What i am asking is the:174634: E8 47 E5 EA FF 83 7C 24 50 01 77 11 DB 05 4C 46 57 00 EB 0D [ C7 44 24 70 00 00 00 00 C7 44 24 74 00 00 00 00 C7 44 24 78 ]
removes the first two buttons. I think this is kinda code, because the pattern [ C7 44 24 70 00 00 00 00 C7 44 24 74 00 00 00 00 C7 44 24 78 ] looks very easy tho, its continued 3 times at this offset. Thus i thought to remove other buttons must be at this offset too. Hence i wanted to know if there is kinda code for one button only - so that i can remove the buttons i would like to remove.
For example if i want to remove button 1 and 5, or 2 and 4… (examples - i know that they are useless). There must be a different kind of value at this offset. And just someone dont need to post 5 different values for the 5 buttons i thought there is kinda procedure for one particular button only - so i can get the total value myself (for those buttons i want to remove)…
If there is not such code then i please would like to know the following:
remove button 1: address - value -> posted above
remove button 2: address - value -> posted above
remove button 3: address - value
remove button 4: address - value
remove button 5: address - valueThanks in advance!
-
The buttons are set up in a loop. The patch tests if the counter is above 1 (0 = new game, 1 = load game) and, if not, uses a big negative number to calculate the offset (thus moving it off screen, rendering it useless). Doing it this way, there’s room to remove any two buttons, or one button plus any number of buttons from the top or bottom. It would also be possible to shift them to the right side of the screen, or display them as a row, rather than a column. Anything else would require a plugin. The text of the buttons can be removed by replacing the other 80 3E sequences: 174744, 174781, 1747BE.
Specifically, if you want to remove MULTIPLAYER, replace 01 77 with 02 75 and put 00 00 into 174744. Shifting the other buttons up is more complicated.
-
Wow amazing Adoxa. I am just curious how you find out what offset at the exe causes what effect in game? I know there is a relation but never understood how you could find something like elements from within the application in the exe binary code (besides static strings :)).
That worked! Thx again!
-
Huor wrote:
I am just curious how you find out what offset at the exe causes what effect in game?For stuff that uses text, I just search my disassembly listing for its resource number. That will show me where the button is created, then it’s off to the debugger to track down where it gets used.
-
adoxa wrote:
Specifically, if you want to remove MULTIPLAYER, replace 01 77 with 02 75 and put 00 00 into 174744. Shifting the other buttons up is more complicated.You got me here. At which address do i do this? Followed the examples for removing the singleplayer buttons and that worked fine. Want to try just removing the multiplayer button now myself.
You say replace 01 77 with 02 75, but where? Which address do i type in to get those?
-
# Remove the "MULTIPLAYER" button on the main menu. # Jason Hood, 28 November, 2009 & 29 June, 2014. File: Freelancer.exe 174634: E8 47 E5 EA FF 83 7C 24 50 02 75 [ C7 44 24 70 00 00 00 00 C7 44 24 ] 11 DB 05 4C 46 57 00 EB 0D [ 74 00 00 00 00 C7 44 24 78 ] 174744: 00 00 [ 80 3E ] ```I guess you're familiar with what to do, but for those who came in late… As is, the above is a file used by my [BwPatch](http://misc.adoxa.vze.com/#bwpatch) utility (so save it as **nomp.crk** and run **bwpatch -f nomp.crk** within the **EXE** directory, or change the paths as appropriate). Doing it manually, load up **Freelancer.exe** in a hex editor, navigate to hex offset **174634** (which may need to be specified as **0x174634**, depending on the editor), where you should see the bytes inside the brackets - overwrite them with the bytes before the brackets.