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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-21-11, 11:43 AM   #1
ryanwigginton
Weps
 
Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
Default

Thanks frau kaleun, but I already know how to swap out and replace files using the directory structure. I want to know how to REMOVE a file completely. Can it be done?

Just for example, if I wanted my mod to remove intro.wmv from data/movies and didn't want to replace it with anything. How would I do that?
__________________
Windows 8 Pro 64-bit, Intel Core i7-2760QM @ 2.40GHz, 8GB RAM, AMD Radeon HD 6990M
ryanwigginton is offline   Reply With Quote
Old 09-21-11, 12:05 PM   #2
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

I don't think you can do that with JSGME - the way I understand it, JSGME can only replace existing files with alternate files of the same name, or add files that aren't already there. To completely remove something I'm pretty sure you just have to delete it from the game directory or rather move it to a backup location.
frau kaleun is offline   Reply With Quote
Old 09-21-11, 12:52 PM   #3
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 94,227
Downloads: 63
Uploads: 13


Default

Quote:
Originally Posted by frau kaleun View Post
I don't think you can do that with JSGME - the way I understand it, JSGME can only replace existing files with alternate files of the same name, or add files that aren't already there. To completely remove something I'm pretty sure you just have to delete it from the game directory or rather move it to a backup location.
Correct...the file name is of paramount importance...if you want the game to load and not suffer a CTD.
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 09-21-11, 02:31 PM   #4
ryanwigginton
Weps
 
Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
Default

Thanks guys!
__________________
Windows 8 Pro 64-bit, Intel Core i7-2760QM @ 2.40GHz, 8GB RAM, AMD Radeon HD 6990M
ryanwigginton is offline   Reply With Quote
Old 09-21-11, 04:52 PM   #5
Fish In The Water
Prince of
the Sea


SUBSIM
Welcome
Committee

 
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,495
Downloads: 98
Uploads: 2
Default

Quote:
Originally Posted by ryanwigginton View Post
Thanks guys!
Ya no worries, and good luck with the mod project!
__________________
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people are so full of doubts." - Bertrand Russell.


Fish In The Water is offline   Reply With Quote
Old 09-21-11, 12:09 PM   #6
Fish In The Water
Prince of
the Sea


SUBSIM
Welcome
Committee

 
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,495
Downloads: 98
Uploads: 2
Default

Quote:
Originally Posted by ryanwigginton View Post
Just for example, if I wanted my mod to remove intro.wmv from data/movies and didn't want to replace it with anything. How would I do that?
I'd be interested to hear the answer as well, but AFAIK this can't be done with JSGME. The only other option is the manual route or, (in the case of an image file), you could always swap it out for something like a 1x1 pixel marker with the same background color for virtual invisibility.
__________________
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people are so full of doubts." - Bertrand Russell.


Fish In The Water is offline   Reply With Quote
Old 09-22-11, 01:54 AM   #7
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by ryanwigginton View Post
...I want to know how to REMOVE a file completely. Can it be done?...
What files do you want to remove?

Quote:
Originally Posted by ryanwigginton View Post
...if I wanted my mod to remove intro.wmv from data/movies and didn't want to replace it with anything. How would I do that?...
You want to skip the intro movies?
It's possible to replace them [via JSGME] by 0 Byte dummies with the same file name.



.

Last edited by SquareSteelBar; 09-22-11 at 03:02 AM.
SquareSteelBar is offline   Reply With Quote
Old 09-22-11, 04:36 AM   #8
ryanwigginton
Weps
 
Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
Default

Quote:
Originally Posted by SquareSteelBar View Post
You want to skip the intro movies?
It's possible to replace them [via JSGME] by 0 Byte dummies with the same file name.
Yeah, I figured that one out. I created notebook files and renamed them using wmv extension.
__________________
Windows 8 Pro 64-bit, Intel Core i7-2760QM @ 2.40GHz, 8GB RAM, AMD Radeon HD 6990M
ryanwigginton is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 07:56 AM.


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