yeshjho
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Update, their environment were deprecated and they were able to solve the issue by switching to ProtonGE from WineGE.
I was able to fix the problem 🙂 Your comment about the environment let me try out a few more things. Before I was running Satisfactory with Wine-GE-Proton8-26. But WineGE is deprecated in favor of ProtonGE. So I switched to GE-Proton9-27 with the umu-launcher. With that I had no problem running the latest version of your mod.
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Thanks Mircea!
26 replies
SMSatisfactory Modding
•Created by Beef on 4/6/2025 in #help-using-mods
Cartographer Feature Request
Hey Beef, thanks for the suggestion!
I remember briefly giving it a thought, but I think at that time I decided to make the mod completely transient, leaving nothing in the save files.
But re-thinking it, it would be more beneficial to save it and reducing the initialization time than making the mod transient(which barely has any benefit).
I don't know why I passed over this idea in the past, thank you for reminding me, I think I'll work on it for the next update.
I might still need to check if saving gets too slow or the save file gets too big, but I'll figure that out while working on it.
Thanks again!
3 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Would loading a "fake" DLL and unloading it before hooking have a chance, then? Or it'll sill be too far away from the original function's address?
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Yeah I know at least in Windows they're completely separated, but you already mentioned addresses looking weirdly low and no ASLR, I though there might be a chance, but I agree that the chance is probably low.
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Ohh right, so if I'm hooking UE's function, that'll be harder to employ a workaround, even if there's a workaround
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
True... I might put it in the backlog (and never come back like how backlogs work 😂)
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
I wonder how far is the heap space away from the code space in that environment... If it's within 2GB, it'll be easy to implement, but if it's not, well...
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Yeah I agree... 😔
But I wonder if there's any workaround.
Like allocating some memory when the mod is loaded and freeing right before hooking? I don't know how cumbersome it is, but it sounds like it might work in theory
26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Looked at the
funchook
's code, I'm not good at reading C code, but it looks like it's finding within INT32_MAX
range around the function address, so it means it couldn't find any free space to install the hook in [function address] +- 2GB space? That's wild...26 replies
SMSatisfactory Modding
•Created by yeshjho on 4/6/2025 in #help-using-mods
funchook failed: Could not find a free region near [function address]
Thanks Robb and Mircea!
I quickly did a very brief research about hooking, and yeah, it seems like there's nothing I can do about it...
It might be the case that my code got bigger in 0.9.0 just enough to shrink the free space down to the point where it can't install the hooks, idk.
26 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
Ah, I see what's going on now. First of all, since it works, don't touch anything 😉
If you want to know why...
- HBox and VBox have their own sizes, too. So if the size of the children gets bigger than its size, it'll clip their content. That was what's happening here: https://discord.com/channels/555424930502541343/1353175379455774811/1354168117038944438
- If you don't want the clipping and want only the alignment from the HBox/VBox, you can check the
SizeToContent
checkbox so their size gets dependent on their children.
- The SizeToContent
option disappeared here(https://discord.com/channels/555424930502541343/1353175379455774811/1354248987837861999) since you wrapped the HBox with a SizeBox, which has sized slots. Since the size of the HBox will now be determined by the slot, UE hides the size-related options from the details view.
- Your solution works because Instead of resizing the outer HBoxes, now you're resizing the inner ones(buttons) with ScaleBoxes.92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
That's the only way I can think of
92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
Is your HBox's
Size To Content
turned off?92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu

92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu

92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
In Construct
92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
But I guess that's all problem solved, right?
92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu

92 replies
SMSatisfactory Modding
•Created by Epp on 3/23/2025 in #help-developing-mods
Adding my own buttons to BPW_MapMenu
Huh, I might try subsequently calling
SetTextStyle
and SetButtonAlignment(true)
too, then (or try calling one only). If it's still not centered after calling those 2 functions, I have no idea.92 replies