A complete guide to how to the cryptomining side of the Hardware Expansion Mod, from the most basic to the most complicated aspects.
Hello ! I am the guy that coded the cryptomining in HEM, and I see a lot of people confused on how it really works, so here is a guide covering every possible aspect of the cryptomining, ranging from the most basic to the advanced calculations.
If you have any question, hit me up on discord : Whitebow#0749, or join the official HEM discord server – [discord.gg] , i’m often here !
If you don’t know what HEM is, it’s a very cool mod made by Liby which adds a ton of new hardware and now it adds a few new features (cryptomining, custom multiGPU, automatic overclocking, smart access memory and a lot more to come !).
You can download it here – [nexusmods.com] , it’s available for all platforms !
You can also check out my video on how to install it :
And while i’m self-promoting shamelessly, you can go read my guide on an other project – [steamcommunity.com] , which is PCBSGraph, a graph that features every part in the base game and HEM.
Anyway, have a good read !
First step, you’ll need to build a computer. We’ll see what the best components are to do this, but anything works. Be aware that it works in freebuild, but it will be useless since you can’t receive any email/pay.
Now, you need to go into the BIOS. To do that, you need to hold the Del of the F2 key when the PC is starting up (before the OmegaOS logo, when the logo of the motherboard shows up).
When you are into the BIOS, click on the “System” tab, and switch the cryptomoney mining to enabled.
You can click on Apply changes and Drestart, and the PC is now mining !
Now, when you go to the next day, you’ll receive some money depending on how the performance of the PC and depending on the cryptomoney price.
Be also aware that your electricity bill will greatly increase, and that parts can break !! I’ll go into more detail later in this guide.
EHM price generation
In this part, i’ll focus on how the price of the cryptomoney can change from day to day.
You can get indications in the daily email you receive, where you have the current price and the change between the price of the previous day and this one. Of course, the price generation is totally random and will never be the same between two careers.
You can go see this simulation – [github.io] of how the price is generated over 200 days by clicking on “generate a graph”. The values in the inputs fields are what the values are in the mod right now, and you can tweak them to see what it changes.
As you can see, the minimum price is 4$ and the max is 40$. I calculated the average price multiple times and it seems to be around 14$.
Mining rate calculation
Basically you can only mine a specific quantity of EMH per day, which is equal to the mining rate * 2.
Each seconds, you’ll mine 1 thousandth of the mining rate, so you’ll be capped after roughly 30 minutes of mining. After these 30 minutes, you won’t mine any more EMH.
The mining rate includes a few things, here they are :
For the CPU :
- 3DMark CPU score
- Number of cores
- CPU frequency (or more precisely, the difference in frequency between the current one and the base one)
For the RAM :
- Total RAM size
- RAM frequency
For the GPU :
- 3DMark GPU score
- Quantity of VRAM
For the storage :
- Total quantity of storage
- Speed of the storage
There is also a mining multiplier for workstation CPUs and GPUs, it’s a multiplier applied after calculation (so for example if you have a RADEON Pro, the gpu mining rate will be gpuMiningRate * 1.25), the default value is 1.
For the GPUs :
|AMD Radeon Instinct||1.285|
|AMD Radeon Pro||1.25|
|Any PHi GPU||1.102|
For the CPUs :
|AMD Ryzen Threadripper||1.07|
|Intel Xeon Platinum||1.103|
|Intel Xeon W||1.0745|
|Intel Xeon Gold||1.074|
|Intel Xeon Silver||1.052|
|Intel Xeon E||1.052|
Also, a little pro tip : you can check the CPU, GPU or total mining rate in the system info app if mining is enabled !
It’s just indicative, which means that alone it doesn’t mean much, but you can use it to compare different PCs !
The electricity bill is calculated using the wattage consumption of the PC times the number of seconds the PC has been mining and all of that divided by 862.
This means that if you leave a PC that has a wattage consumption of 300W for 10 minutes, the electricity bill for this day will be 208$.
The number of seconds is capped in the latest version, so don’t worry about letting the game run for too long (in a previous version, it would have made you pay like a million in electricity bill)
For information, the equation for the wattage is the sum of all the GPU wattages, the CPU wattage and add 30 to that.
When a PC is mining, there are some chances that some parts will break when going to the next day.
If a part breaks, you’ll be greated with a bluescreen with no error code, like this :
(thanks JayY for the screenshot)
Here are the factors that affects the breaking chances :
For CPUs :
- CPU Temp
- Difference in frequency between current one and stock clock
- Silicon lottery
For GPUs :
- GPU Temp
- Silicon lottery
For the RAM, it’s only the silicon lottery.
And lastly, if your PSU is over 75% load (for example if your PC is using over 750 Watts on a 1000 Watt PSU), you have a chance to break your PSU which is 1 in a
1000 - systemWattage * 900 + (psuWattage - systemWattage) * 20
.When breaking your PSU, it will cause the motherboard to burn, has a 20% chance to break the CPU cooler and each storage device has a 10% chance to break.
Conclusion, you can reduce the chances of breaking by underclocking, using low power components, using an overkill PSU and adding more cooling.
Some mining setups
Now, here are some setups that could be useful to some people, they are purely theoric.
I calculated those using brute force, so they don’t take into account overclocking or overheating.
This setup has the best electricity / ehm ratio with parts unlocked before level 5 (you unlock both parts at level 2). For each EMH mined, you only pay 12.5$ of electricity.
|CPU||Intel Core i7-6700T|
|GPU||AMD FirePro W2100|
|Power per EMH||12.5$|
|Max EMH per day||8.4|
This one has the best electricity / ehm ratio under level 10.
|CPU||AMD Ryzen 7 Eight Core 1700|
|GPU||AMD FirePro W2100|
|Power per EMH||9.8$|
|Max EMH per day||14.27|
This one has the best electricity / ehm ratio under level 20.
|CPU||Intel Core i7-8700T|
|GPU||NVIDIA Quadro P400|
|Power per EMH||8$|
|Max EMH per day||13.63|
Best electricity / emh ratio in the entire game :
|CPU||Intel Core i9-9900T|
|GPU||NVIDIA Tesla P4|
|Power per EMH||3.9$|
|Max EMH per day||61.12|
As expected, the low power series is dominating all the other CPUs, and the high core models are the go-to.
Just as an information, here is the worst electricity / emh ratio : (which is also the worst mining rig in the entire game)
|CPU||Intel Celeron G3900|
|GPU||AMD FirePro W4300|
|Power per EMH||126.4$|
|Max EMH per day||1.53|
These parts don’t use a lot of power (181W), but the low core count and low score of the CPU and GPU makes them extremely not effective at mining, even with the mining boost of the FirePro.
The best mining rig that is cost-effective on average (average crypto price is roughly 14$):
|CPU||AMD Ryzen 7 Eight Core 1800X|
|GPU||NVIDIA Tesla M4|
|Power per EMH||12$|
|Max EMH per day||21.8|
Here is the most powerful mining rig that is cost-effective on average, which is also the most powerful mining rig in the entire game :
|CPU||Intel Xeon Platinum 8284 (8P)|
|GPU||AMD Radeon Instinct MA100 (8-Way)|
|Power per EMH||11.4$|
|Max EMH per day||981.3|
Even if the 8284 doesn’t have the highest core count in the game (“only” 224 cores compared to the 256 cores of the Ampere Altra MAX M128 (2P) series), his ability to use 16 GPUs makes it the go-to in the high-end. With it’s 11.4$/EMH mined, this system looks pretty good, but the cheapest PC using these components is 583 466$…
And finally, here is the best setup that will ALWAYS be cost-effective (so even when the price drops to 4$, which is the minimum if you’ve not read this guide)
|CPU||AMD EPYC 7713|
|GPU||NVIDIA Tesla T4 (2-Way)|
|Power per EMH||3.92$|
|Max EMH per day||158.28|
My game is crashing when finishing the day, help !
Don’t worry, this is not a severe problem at all, but it can be caused by a lot of things (but it’s almost certainly because I messed up somewhere).
Here are some suggestions to try and fix it :
- Disable cryptomining temporarily on all of your running computers
- Make sure to put every computer with a missing component in the closet
- Try to reinstall the mod, and make sure that it’s the LATEST version !
- Make sure you followed EXACTLY the steps in the video
- If none of these worked, send your save in the bug reports channel of the HEM discord server, and precise the mod version, game version, platform (Epic/Steam/GOG). I’ll be there to help you if I can, and if not there’s almost always someone to help you !
I’m very sorry for the inconvenience, but if you sent your save I should be able to fix it for the next patch !
Thanks a lot for reading ! I enjoyed making this guide, and I hope it’ll be useful to a lot of people !
Again, if you want to know something about how the mod is made, or if you have suggestions, or even if you want to help me, send a PM on discord, my username is in the intro ! (you can also post a comment, but I won’t be as responsive)
Thanks to Liby for his mod, to Mars for helping me code in C# (learned a lot doing that), to Ethan, Brad and Bit for beta-testing everything for me !
And, of course, thanks to everyone of you who used this mod, you guys are the best !
This is all about PC Building Simulator – Installing Hardware Expansion Mod Video Tutorial Guide; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
- All PC Building Simulator Posts List