Frictional Games Forum (read-only)
Runtime Error R6025 every time I restart the game 2 times. - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - SOMA (https://www.frictionalgames.com/forum/forum-74.html)
+--- Thread: Runtime Error R6025 every time I restart the game 2 times. (/thread-54476.html)



Runtime Error R6025 every time I restart the game 2 times. - TiManGames - 05-17-2018

My issue is as the following:

I cannot mod SOMA or test other mods through the Debug Mode because of Runtime Error R6025. When I want to override an existing script file (Making the game use the mod's script file instead of the game's script file, let's say, Player.hps), the game will use my version of said script file for the first 2 times. What does it mean? It means that if I open my map through the debug mode and restart the map (Pressing F5) 2 times, the game will suddenly use the original file instead of my new file, and if I exit the game at this point it will give me this error:

[Image: 6API8Pm.png] 


*Very Important Note: Even if I just copy the file and make zero changes to it, the problem will still occur.
It's really frustrating because every time that happens, the game won't use any of my custom modules or scripts, making it a nightmare to mod.

Also, it's not happening only with my mod, it happens with every mod that uses a custom script file that overrides the original script files from SOMA.
This Issue has already happened with 2 different computers.

Now, This is what I've been trying so far to fix the problem:
  • Reinstalled vcredist 2005 SP1, 2008, 2010, 2012 U4, 2013, 2017 (32- and 64-bit)
  • Installed Visual F# Runtime 2.0
  • Steam Integrity Check
  • Reinstalled SOMA
  • Updated Graphic Card Drivers
  • Updated Operation System
None of this fixed my problem. I have no idea what to do.
I added my mod's hpl.log file to this message.

If you want me to send a portion of my mod that includes every script file, I can send it too.


RE: Runtime Error R6025 every time I restart the game 2 times. - Luis - 05-17-2018

Hey! Cannot say what's going on from what I'm seeing. If you don't mind to set up some minimal mod that reproduces the issue I can look into it at some point.


RE: Runtime Error R6025 every time I restart the game 2 times. - TiManGames - 05-17-2018

(05-17-2018, 03:11 PM)Luis Wrote: Hey! Cannot say what's going on from what I'm seeing. If you don't mind to set up some minimal mod that reproduces the issue I can look into it at some point.

Here's the minimal mod:
https://drive.google.com/open?id=132n1XjP9zcU6L23HL0gXL33x2oMbBZDC

Also, in order to launch it through debug mode & make the game load the new modules and script files, you need to create in the main game folder a bat file with the following text:
Code:
start Soma.exe -mod C:\Program Files (x86)\Steam\steamapps\common\SOMA\mods\TiManModSample\entry.hpc -map mods\TiManModSample\maps\features_tests\features_tests.hpm -user Dev -cfg config/main_init_dev.cfg

(Obviously, change the directory path if you need to.)

After that, launch it and the game should load the map in debug mode.
Then, restart the map 2-3 times (F5) and exit the game through the pause menu. This is when the error occurs.

Thanks a lot!


RE: Runtime Error R6025 every time I restart the game 2 times. - TiManGames - 05-18-2018

Update: my friend just tested it on his computer and guess what: He also gets that error. Which means it's probably a problem with the engine itself, not with my mod Tongue


RE: Runtime Error R6025 every time I restart the game 2 times. - TiManGames - 06-20-2018

Did you have any chance to check it? I undertand if not, you guys are quite busy these days.


RE: Runtime Error R6025 every time I restart the game 2 times. - Luis - 06-25-2018

Super sorry Sad Haven't had the time to do it. Let's see if I can squeeze some time this week (bit tight but gonna try)

Also, late reply to your update: yeah, I was assuming it was an engine thingy. Me asking you for your project stuff is just being lucky and thankful you found a way to reproduce that is small and makes it break every time Smile


RE: Runtime Error R6025 every time I restart the game 2 times. - TiManGames - 06-25-2018

(06-25-2018, 12:21 PM)Luis Wrote: Super sorry Sad Haven't had the time to do it. Let's see if I can squeeze some time this week (bit tight but gonna try)

Also, late reply to your update: yeah, I was assuming it was an engine thingy. Me asking you for your project stuff is just being lucky and thankful you found a way to reproduce that is small and makes it break every time Smile

Thank you for the consideration despite being busy!!