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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-02-09, 02:10 PM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default Using Sh3MissionEditor together with ResolutionFix

Normally the Sh3MissionEditor cannot be used together with the resolution-fix. Until now I always had to rename d3d9.dll before starting Sh3MissionEditor.exe and rename it back after closing the Editor. My Batch Sh3MissionEditor.bat does this automatically. It must be placed in the same folder as sh3.exe, d3d9.dll and Sh3MissionEditor.exe. Now just start this batch instead of the MissionEditor.

The batch first renames d3d9.dll to tmp.dll, so that MissionEditor.exe will work fine.
Then it starts MissionEditor.exe in the background.
Then it waits about 10 seconds to make sure that MissionEditor has completely started.
Then it renames tmp.dll back to d3d9.dll.

---------------------------------------------------------
ren d3d9.dll tmp.dll
start Sh3MissionEditor.exe
ping localhost -n 11 > NUL
ren tmp.dll d3d9.dll
---------------------------------------------------------

Can be found on my MediaFire page

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 09-03-09 at 02:27 AM.
h.sie is offline   Reply With Quote
Old 09-02-09, 05:33 PM   #2
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
Normally the Sh3MissionEditor cannot be used together with the resolution-fix. Until now I always had to rename d3d9.dll before starting Sh3MissionEditor.exe and rename it back after closing the Editor.

My Batch Sh3MissionEditor.bat does this automatically (it must be placed in the same folder as sh3.exe, d3d9.dll and Sh3MissionEditor.exe):

---------------------------------------------------------
ren d3d9.dll tmp.dll
start Sh3MissionEditor.exe
ping localhost -n 11 > NUL
ren tmp.dll d3d9.dll
---------------------------------------------------------

Note: The ping command is used to pause the execution of the batch for about 10 seconds....

h.sie
hello H.Sie,

.....where is this Batch ? or i have...misunderstand ...something ??
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-02-09, 05:37 PM   #3
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

just uploaded it to my mediafire page
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-02-09, 05:52 PM   #4
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
just uploaded it to my mediafire page
H.sie , i have just to put this in sh3 folder and that's it ?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 02:21 AM   #5
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

yes, put it into the sh3-folder and start the batch instead of the mission editor. that's it.


any problems? feel free to ask me.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-03-09, 03:29 AM   #6
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

good morning H.sie,

maybe i am doing something wrong but i can't make it work . the Batch (from your mediafire page)is a .txt file and ...can't start the ME. what am i doing wrong ?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 03:38 AM   #7
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi Makman,

I'm sorry. I uploaded a file called "MissionEditor.bat" but when I download that file, it's name now is "MissionEditor.bat.txt". I don't know why this happens!?!?!?!?
So simply rename it to MissionEditor.bat, put it in the sh3 folder and start it.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-03-09, 03:46 AM   #8
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
Hi Makman,

I'm sorry. I uploaded a file called "MissionEditor.bat" but when I download that file, it's name now is "MissionEditor.bat.txt". I don't know why this happens!?!?!?!?
So simply rename it to MissionEditor.bat, put it in the sh3 folder and start it.

h.sie
it still keeping (after the rename) to be a .txt file . can you check the one (that you uploaded) if is working ?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 03:55 AM   #9
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

I'm currently not at home, so I cannot test it. but after downlöoading and renaming, it of course had the ending .bat as desired. and after doubleclicking, it started to execute (but on this PC no d3d9.dll and MissionEditor.exe could be found because SH3 is not installed).

Surely it's a text file as each MS-DOS batch is a text file, that is okay. But files with the ending .bat should be interpreted as a MS-DOS batch by the system and so be executed when one doubleclicks it. What happens if you doubleclick it?
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-03-09, 04:05 AM   #10
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
I'm currently not at home, so I cannot test it. but after downlöoading and renaming, it of course had the ending .bat as desired. and after doubleclicking, it started to execute (but on this PC no d3d9.dll and MissionEditor.exe could be found because SH3 is not installed).

Surely it's a text file as each MS-DOS batch is a text file, that is okay. But files with the ending .bat should be interpreted as a MS-DOS batch by the system and so be executed when one doubleclicks it. What happens if you doubleclick it?
it opens with notepad and i can read all these :

ren d3d9.dll tmp.dll

start Sh3MissionEditorX2.exe

ping localhost -n 11 > NUL

ren tmp.dll d3d9.dll

also , one more question .... why ''start Sh3MissionEditorX2.exe '' (X2 ...)
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 04:19 AM   #11
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

In my GWX-installation the MissionEditor is called MissionEditorX2.exe, I think it was installed with GWX3??? If your installlation differs from that, please edit the batch file accordingly to:

start Sh3MissionEditor.exe

I really have no idea why doubleclicking on your system starts notepad instead of executing the batch.....phew....

Does your system show or hide known file extensions?
Is a text file like "Readme.txt" shown as "Readme" or as "Readme.txt" ?

h.sie

*
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-03-09, 04:30 AM   #12
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
In my GWX-installation the MissionEditor is called MissionEditorX2.exe, I think it was installed with GWX3??? If your installlation differs from that, please edit the batch file accordingly to:

start Sh3MissionEditor.exe----ok never mind with this ,maybe i had replace the ME ,can't remember now

I really have no idea why doubleclicking on your system starts notepad instead of executing the batch.....phew....

Does your system show or hide known file extensions?
Is a text file like "Readme.txt" shown as "Readme" or as "Readme.txt" ?---it is shown as "Readme".you think...there is the problem ?

h.sie

*
look at red
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 04:46 AM   #13
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default it is working perfect !

OK H.sie !

it was just this ! i changed the settings to show known file extensions and the .bat worked !!

your Batch is working !

the only reason that i was running the sh3 at 1024x768 was exactly this problem with ME. but not anymore....

thank you very much !!

really good !
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 09-03-09, 05:10 AM   #14
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Cool! Good to know
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 09-04-09, 09:30 AM   #15
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

how can I help you?
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie 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 12: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.