![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#31 |
Black Magic
![]() |
![]()
The 32bit version of SH5 injector has a flaw in it. For those who have downloaded it please do not use! The problem with it is the incorrect RVA is given for the LoadLibrary and FreeLibrary functions in kernel32.dll.
Normally one calls the Win32 API function GetProcAddress to get the address of the function they want to call in a dll. I had problems getting that working correctly with 64bit OS so I found another way to do it. Since I know the base address of kernel32.dll I just add an offset to that base to get to the function(s) I want (I know this offset from using dumpbin on kernel32.dll). Now here's the problem: Win7 64bit uses WoW (Windows 32 on Windows 64) to enable 32bit apps to run in the 64bit environment. When in WoW mode, kernel32.dll is different from the 32bit version of kernel32.dll (there are two versions of it on 64bit). This means the offsets are also different for the functions I need ![]() EDIT: problem has been corrected. Now if someone can verify that the 32bit version works I would greatly appreciate it ![]() Last edited by TheDarkWraith; 02-28-11 at 10:45 AM. |
![]() |
![]() |
![]() |
#32 |
Mate
![]() Join Date: Feb 2003
Location: España
Posts: 56
Downloads: 128
Uploads: 0
|
![]()
All that sounds great!!!!
![]() |
![]() |
![]() |
![]() |
#33 |
Planesman
![]() Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 190
Downloads: 126
Uploads: 0
|
![]()
Please moderators, this post should be moved to "SH5 Guru Programming" subforum.
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#34 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Excellent Tool for breaking OSI.exe
![]() As I don't want to be brigged nor banned? That's all I'll say on OSI ![]() |
![]() |
![]() |
#35 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Keep getting an "SH5 Process not found!" error ![]() Is there an SH3 version ![]() Sh5 is up and running. SH5Injector32.exe is in SH5 Directory. |
|
![]() |
![]() |
![]() |
#36 | |
Black Magic
![]() |
![]() Quote:
I haven't made an SH3 version yet but I will. |
|
![]() |
![]() |
![]() |
#37 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() |
![]() |
![]() |
![]() |
#38 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
#39 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Edit just restarted the PC and now it works - strange. But it works ![]() Last edited by reaper7; 06-10-11 at 09:29 PM. |
|
![]() |
![]() |
![]() |
#40 |
Sailor man
![]() Join Date: Mar 2010
Posts: 43
Downloads: 191
Uploads: 0
|
This program does not work on 32bit ... should remove the link for download
![]() |
![]() |
![]() |
![]() |
#41 | |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]() Quote:
Now if I only know what to do with it ![]() @TDW any chance up doing up an example dll that can show the process of dll injection ![]() |
|
![]() |
![]() |
![]() |
#42 |
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
|
![]()
yap, sign on that. please share your knowledge! as i wrote in sh3 section, many people do not know, what you know. so, be kind and share your knowledge in tutorials!!! any help for further modding is much appreciated. you know that...
![]()
__________________
|
![]() |
![]() |
![]() |
#43 |
Seaman
![]() Join Date: Mar 2010
Posts: 37
Downloads: 62
Uploads: 0
|
![]()
@TheDarkWraith: is there a way to use this tool to "fix" the steam SH5.exe like you do with the box version?
I suppose no, as for the box version you keep change directly the exe, but i am not very aware of that ![]() |
![]() |
![]() |
![]() |
#44 |
Captain
![]() Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
|
![]()
This is very exciting! Hopefully this will attract more modders to the game who will finally recognize the huge potential of SH5.
![]() |
![]() |
![]() |
![]() |
#45 | |
Sea Lord
![]() Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,739
Downloads: 825
Uploads: 4
|
![]() Quote:
![]() Maybe UBI's copyright infringement never went so far into these 'dynamics', then that's their problem....and I don't think they have the expertise to cover all windows's 'gaps'. ![]() |
|
![]() |
![]() |
![]() |
|
|