www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 04-07-19, 05:34   #1
TheLostSecret
Explorer
 
TheLostSecret's Avatar
 
Join Date: Mar 2018
Location: Tehran, Persia
Posts: 603
Arrow Troubleshooting: TRNG Plugin Warm-Up Error




Troubleshooting TRNG Plugins Warm-Up Error
Things you should know about plugin attaching service in TRNG


Please see the posts below for more information.
__________________
Egypt has many secrets and mysteries yet to be discovered ...

Last edited by TheLostSecret; 05-07-19 at 08:25.
TheLostSecret is offline   Reply With Quote
Old 04-07-19, 06:46   #2
JMN
Explorer
 
Join Date: Sep 2006
Posts: 540
Default

Note the D at the end of the DLL name, MSVCR100D.DLL. This means the plugin was released as a debug version. This should not be done!
JMN is offline   Reply With Quote
Old 04-07-19, 07:16   #3
LoreRaider
Archaeologist
 
LoreRaider's Avatar
 
Join Date: Jul 2016
Location: Italy
Posts: 1,215
Default

You can fix this even in this way, imo it's faster and easier
https://www.tombraiderforums.com/sho...00&postcount=8
__________________
"Everybody lies, no exceptions."
LoreRaider is online now   Reply With Quote
Old 04-07-19, 09:42   #4
TheLostSecret
Explorer
 
TheLostSecret's Avatar
 
Join Date: Mar 2018
Location: Tehran, Persia
Posts: 603
Default

Quote:
Originally Posted by JMN View Post
Note the D at the end of the DLL name, MSVCR100D.DLL. This means the plugin was released as a debug version. This should not be done!
Quote:
Originally Posted by LoreRaider View Post
You can fix this even in this way, imo it's faster and easier
https://www.tombraiderforums.com/sho...00&postcount=8
Sorry, I'm afraid you don't have to post replies on a tutorial thread. You could tell me through a PM or VM and I could do something in that case.
Sorry If maybe I'm wrong about the name but it could have been better if you let me know through a PM or a VM.

------------------- ( Regarding to the below post of JMN ) --------------------------
Thank you so much!
------------------------------------------------------------------------------------------
__________________
Egypt has many secrets and mysteries yet to be discovered ...

Last edited by TheLostSecret; 04-07-19 at 10:42.
TheLostSecret is offline   Reply With Quote
Old 04-07-19, 10:35   #5
JMN
Explorer
 
Join Date: Sep 2006
Posts: 540
Default

ok
JMN is offline   Reply With Quote
Old 04-07-19, 14:30   #6
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 32,314
Exclamation

Since people have answered and are discussing this, I decided to move it to the TRNG section for now.

Once we can all agree on a or multiple solutions for this issue, they can all be put together in a final tutorial which can then be created in the tutorials section.
Or, might be better in this case, it can be added to the post JMN linked to, so all troubleshooting issues regarding getting plugins to work are all in one place.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 04-07-19 at 14:32.
Titak is offline   Reply With Quote
Old 04-07-19, 14:55   #7
TheLostSecret
Explorer
 
TheLostSecret's Avatar
 
Join Date: Mar 2018
Location: Tehran, Persia
Posts: 603
Thumbs up Thanks!!!

Quote:
Originally Posted by Titak View Post
Since people have answered and are discussing this, I decided to move it to the TRNG section for now.

Once we can all agree on a or multiple solutions for this issue, they can all be put together in a final tutorial which can then be created in the tutorials section.
Or, might be better in this case, it can be added to the post JMN linked to, so all troubleshooting issues regarding getting plugins to work are all in one place.
Thank you very much for your great opinion! Yeah I definitely agree with you!
__________________
Egypt has many secrets and mysteries yet to be discovered ...
TheLostSecret is offline   Reply With Quote
Old 04-07-19, 23:33   #8
ChocolateFan
Historian
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 267
Default

According to Microsoft Docs:
Debug versions of an application are not redistributable, and debug versions of the Visual C++ library DLLs are not redistributable. You may deploy debug versions of applications and Visual C++ DLLs only to your other computers, for the sole purpose of debugging and testing the applications on a computer that does not have Visual Studio installed. For more information, see Redistributing Visual C++ Files.
Source: https://docs.microsoft.com/en-us/cpp...e?view=vs-2019.

The only correct solution is to do what LoreRaider said.
ChocolateFan is offline   Reply With Quote
Old 05-07-19, 06:16   #9
TheLostSecret
Explorer
 
TheLostSecret's Avatar
 
Join Date: Mar 2018
Location: Tehran, Persia
Posts: 603
Default

Quote:
Originally Posted by ChocolateFan View Post
According to Microsoft Docs:
Debug versions of an application are not redistributable, and debug versions of the Visual C++ library DLLs are not redistributable. You may deploy debug versions of applications and Visual C++ DLLs only to your other computers, for the sole purpose of debugging and testing the applications on a computer that does not have Visual Studio installed. For more information, see Redistributing Visual C++ Files.
Source: https://docs.microsoft.com/en-us/cpp...e?view=vs-2019.

The only correct solution is to do what LoreRaider said.
Ok! Thanks!

But let me ask something, so it means that I have to publish my plugin under "Release" configuration and not "Debug" ?
__________________
Egypt has many secrets and mysteries yet to be discovered ...

Last edited by TheLostSecret; 05-07-19 at 06:24.
TheLostSecret is offline   Reply With Quote
Old 05-07-19, 08:16   #10
Krystian
Explorer
 
Join Date: May 2010
Posts: 893
Default

Yes, that is correct. The Debug configuration compiles the plugin to a slower and less efficient version of code. This is needed for the debugging functionality, the code is less compact and and special files are generated that resolve the positions between machine code and C++ source code. But it allows tracking what is happening in code line by line.
However when all bugs and issues are solved and no further inspection is required, the final (at the moment) plugin version should be compiled under the Release configuration. This makes compiled code compact and efficient, so the plugin can run faster.

With our fast computers there may not be much a difference in performance, but what has been said above is crucial - debug versions are only for testing, because they are not guaranteed to work on other users' computers. The release version is almost certain to work as long as necessary runtime libraries are installed on the other users' PCs.
Krystian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 14:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.