adamhm: Don't worry about those messages, some files make wrestool/icotool produce messages like that even though they've worked as expected.
McMarius11: after that i want to run the start.sh and the game crashes
adamhm: You're probably just missing some dependencies that Wine/the game needs... try opening the wrapper directory in a terminal and running the start script like this to see what error messages it produces:
WINEDEBUG="" ./start.sh play
this is the log
this is the error i am getting
Current desktop resolution: 1920x1080
Detected 2 display output(s). Connected outputs:
eDP: 1920x1080 (primary)
Could not read the display gamma.
Wine version: wine-6.0
Prefix is 32-bit
Userdata directory: /home/mcmarius11/.local/share/soldier_of_fortune_2
0034:err:module:process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
Running: SoF2.exe
Working directory: /home/mcmarius11/Games/gog/SoF_2/Soldier of Fortune 2/prefix/drive_c/Soldier of Fortune 2
Using virtual desktop with resolution: 1920x1080
00d4:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
00d4:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00A1EA1C 1 C) semi-stub
wine: Unhandled page fault on read access to 00000000 at address 00000000 (thread 00d4), starting debugger...