SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-28-11, 03:00 AM   #1
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Quote:
Originally Posted by sober View Post
You can already look at your sunk ship icons on google earth if you go on the official silent hunter 5 site . Not while playing the game though .
This is just awesome and I cannot understand why Ubi not implemented this map in the game now that we have to be online to play. I really miss something like this, it would be so cool to see your activity history on map and also see other players/captains location and recent activity.

Is no way to "suck" this data from g2w.ubi.com and make it available in the game?!
Zedi is offline   Reply With Quote
Old 02-28-11, 04:01 AM   #2
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

@TDW: Very interesting and promising thread.

Until now I directly injected Hex Code into sh3.exe and some .act files in order to do some realism changes and additions. See this thread for details:

http://www.subsim.com/radioroom/showthread.php?t=174225

I still stick on direct HexCode Injection because I am not very familiar to DLL based code injection.

My question to you is: Does DLL code injection also work for .act files, which are loaded into different memory locations every time a game is started because of address space layout randomization (ASLR) in newer 64 Bit systems?

By the way: In SH3, DLL code injection seems to be very easy, just place your .act file into the sh3 install directory and it will be loaded automatically by sh3.exe when it starts, regardless of it's name.

Thanks very much and good luck!
h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 02-28-11 at 07:22 AM.
h.sie is offline   Reply With Quote
Old 02-27-11, 05:56 PM   #3
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,983
Downloads: 102
Uploads: 1
Default

Could this be done to earlier Silent Hunter games as well? Or would it be possible to take features missing/taken out of SH5 that were in 3 & 4 and put them back in?

(New Ships?? Switch over from GR2 Files??)
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 02-27-11, 06:05 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Could this be done to earlier Silent Hunter games as well? Or would it be possible to take features missing/taken out of SH5 that were in 3 & 4 and put them back in?

(New Ships?? Switch over from GR2 Files??)
I can make it work with any application. I have a version I made that allows one to inject DLLs into ANY process (plus it does a lot more than that ). So yes I can make it work for SH3/4

Anything is possible when you are able to inject DLLs into a running process. The DLL being injected defines what the new features are or removes some functionality or ??? Really you can do anything with it that you can code.
TheDarkWraith is offline   Reply With Quote
Old 11-29-14, 03:33 AM   #5
thufirhawa
Bilge Rat
 
Join Date: Oct 2011
Posts: 1
Downloads: 49
Uploads: 0
Default

Sorry for this necro-quote/post but i was wondering ...

Quote:
Originally Posted by TheDarkWraith View Post
I can make it work with any application. I have a version I made that allows one to inject DLLs into ANY process (plus it does a lot more than that ). So yes I can make it work for SH3/4

Quote:
Thus all the .py files have to be compiled at game start and this takes time to do.
The Python language supports pre-compiled files but SH5 doesn't
I just saw an article about shedskin
This tool translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++ ( and dll if i'm correct )

Can we use this to improve the horrendous loading time and cpu usage of SHV ?
Is such a feat possible, if so where do I begin ?
thufirhawa is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -5. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.