![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-27-11, 09:07 AM
|
#1 | |
|
Black Magic
![]() |
Quote:
I use Visual Studio 2008 C# or C++ to do my programming and my DLL creating. One could use Visual Basic if they wanted to. A DLL is an exe with one bit changed in the PE header to 'make' it a DLL. Any computer language can be used as long as you can compile the source code into a dll. I'm going to make a sample dll file and include source code so that you can see what this app can do for SH5 |
|
|
|
02-27-11, 07:16 PM
|
#2 | |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
|
Quote:
could be possible then make a surface warships game or more complex submarines or weapons
__________________
But this ship can't sink!... She is made of iron, sir. I assure you, she can. and she will. It is a mathematical certainty. Strength and honor |
|
|
|
02-27-11, 07:22 PM
|
#3 |
|
Black Magic
![]() |
|
|
|
02-27-11, 07:36 PM
|
#4 | |
|
Ocean Warrior
![]() Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
|
Dam.. I could see the CWSS guys making good use of this in the SH4 Mod Workshop
__________________
Quote:
|
|
|
|
02-27-11, 07:38 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
What most people don't know is that a .exe file is mapped in memory by the Windows loader when the process is started. By copying these memory blocks one can assemble their own .exe file. So after injecting your .dll you could have it save the memory regions to a file (with an appropriate PE header) thus creating a new version of the sh5.exe file (a patched version if you will with your changes). Sounds easy to do but it's rather involved (but doable). |
|
|
|
02-27-11, 08:26 PM
|
#6 |
|
King of the Ocean
Join Date: Mar 2010
Location: Michigan, United States
Posts: 337
Downloads: 621
Uploads: 0
|
"SH4 Injector": Possibility?
DarkWraith,
I think Jhapprich can make good use of this for CWSS, (Cold Warriors: Steel Sharks). which is supposed to bring SH4 into the Cold War! i posted a reply on the CWSS thread found here: http://www.subsim.com/radioroom/showthread.php?t=161396 i said that i would recommend this program and to ask for a 32bit version for SH4 ![]() ill shoot him a PM aswell. Yamato_NF
__________________
Proud owner of SH3/4/5 Proud owner of the DCS series http://farm9.staticflickr.com/8323/8...917b3c20_m.jpg "He who controls the seas controls the world." |
|
|
02-27-11, 08:32 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
