Open dezo2 opened 5 years ago
Well, found a crash when using the 120 base dll. When closing the crane in Alpha Labs Sector 3, the game crashes to console. Here is the error: script/map_alphalabs3_crane.script : map_alphalabs3::crane_cmd_pickup script/map_alphalabs3_crane.script : map_alphalabs3::crane_cmd_pickup script/map_alphalabs3_crane.script : map_alphalabs3::crane_update_loop ----- Game Map Shutdown ----- idRenderWorld::FreeLightDef: handle 73 is NULL WARNING: idClipModel::FreeTraceModel: tried to free uncached trace model ERROR: script/map_alphalabs3_crane.script(214): Thread 'map_alphalabs3::crane_update_loop': Tried to bind an object to itself.
i know this thread is old but i really wanted to play doom in 120hz and fortunatly i could fix the crash in alpha labs 3 by editing the crane script file and changing "$crane.setFingerAngle( 20 )" under "close the claw and bind" from 20 to 5. Hopefully i could help someone with this post :)
Hi there! I am facing the same problem in the Alpha Labs Sector 3 with the moving crane. The game crashes immediately when using the console to move the crane. How do I open the script file & edit the value like u said? I m using dhewm3 1.5.2 + unlocked 120 fps + D3HDP mod.
Hi there the file is called map_alphalabs3_crane.script in pak000.pk4. Open it up in a texteditor and look for $crane.setFingerAngle on Line 198 and change that from 20 to 5. It should look like this:
============
crane_pickup
close the claw and bind
============
void crane_cmd_pickup() {
vector begin, end;
string bindJoint, bindBody;
if ( !( !bindEntity ) ) {
return;
}
crane_have_object = false;
bindJoint = bindBody = "";
sound_crane_fingers_close();
$crane.setFingerAngle( 5 );
sys.wait( 2.0f );
$crane.stopFingers();
and then it should work again
$crane.setFingerAngle
One more dump question, Which software to use to open pk4 file? I tried some online texteditor but it showed font error (cant even see text) Thanks for your kind supports.
7-zip or nanazip
yeah, it's just .zip files with a different file ending
or winrar
There you go: base240.zip It moves at half speed on my 120Hz display, so on 240Hz it should run at normal speed with that above mentioned autoexec.cfg settings.
Do you think you could create a 90 fps variant? for the steam deck oled, I swear that device was designed explicitely for doom 3 because of how good it looks and plays on it, but I play at 64 Hz com_fixedtic 1, which is fine but not exactly ideal as 90 Hz usually works much better with gyro :)
I am not that familiar with the sources, but I think Daniel should be able to create a cvar for this. Even if it should require restart of the engine, it will be better than hardcoded value. I didn't play with this since march, but I can share the 120Hz dll here for version 1.5.0, if you want to try it. It should work with any other frequency, but I tried only 120Hz as I have currently 120Hz monitor. Just make sure your autoexec.cfg is set as above. The dll is compiled using VS2017 and latest stable version 1.5.0 of sources.
Hello DEZO2. I just wanted you to know this I wrote to Daniel and maybe you could clarify what the difference is with your DLL and all other DLLs!
I tested all the fast fps DLLs since 1.5.1 and this DLL made by DEZO2 is the best by far! I just completed the game with his and there were absolutly no bugs or errors or major timing issues. However every dll I tested since 1.5.2 made by others based on (I think!) com_gamehz has be very bad in performance and made a lot of timming issues. You should try his DLL and 1.5.1 here: https://github.com/dhewm/dhewm3/issues/230 I have a 14900KS at 5.9 Ghz and with all other dlls from 1.5.2 the performance tanks 1 cpu core and slow mo the game quite often with other mods enabled in 4K. Because how its made it sometimes goes down to 60fps resulting in 50% game speed which is unplayable and very annoying. But with 1.5.1 DEZO2 dll I had NO performance issues with same mods and 4K. And the game ran incredibly well! I also completed ROE with same DLL with no bugs or timing isses. The only thins is that the Lost mission addon has severe bugs on the last mission in particular HELL OUTPOST and will simply not load on 1.5.2 .. SO thats very annoying.. All the mods I combined for the test were.. REDUX 20th, SIkkmod shaders, Runners Doom, High poly models. SO quite a pack and graphic orgie haha! :) But it can manage fine in 120 fps with no frame drop in 4K with DEZO2 DLL without tanking the 1 cpu core all the other DLLs are doing. .
Recently I found a simple tool named Quake 4 Tweaker, which allows Q4 to run smoothly on monitors with refresh rate above 60. https://community.pcgamingwiki.com/files/file/1009-quake-4-tweaker/ I think it does that by hacking into the global game timing slowing it down to the selected monitor refresh rate / target FPS. The more target FPS is selected, the slower the game movement/animation is, so it simply compensates for the game speed up above 60Hz when using uncapped framerate (com_fixedTic 1). The result is perfectly smooth gameplay with correct timing on higher refresh rates. Is it possible to implement something like this into the dhewm3 code? I tried the "experimental" com_fixedTic -1 but for me it behaves the same as com_fixedTic 0, so on the higher refresh rates (100, 120, 144) the movement is just a stuttery mess capped to 63Hz.