![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-21-11, 11:43 AM
|
#1 |
|
Weps
![]() Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
|
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 |
|
|
09-21-11, 12:05 PM
|
#2 |
|
Rear Admiral
![]() |
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.
|
|
|
09-21-11, 12:52 PM
|
#3 | |
|
Chief of the Boat
|
Quote:
|
|
|
|
09-21-11, 02:31 PM
|
#4 |
|
Weps
![]() Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
|
Thanks guys!
__________________
Windows 8 Pro 64-bit, Intel Core i7-2760QM @ 2.40GHz, 8GB RAM, AMD Radeon HD 6990M |
|
|
09-21-11, 04:52 PM
|
#5 |
|
Prince of
the Sea
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,495
Downloads: 98
Uploads: 2
|
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. ![]() ![]()
|
|
|
09-21-11, 12:09 PM
|
#6 |
|
Prince of
the Sea
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,495
Downloads: 98
Uploads: 2
|
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. ![]() ![]()
|
|
|
09-22-11, 01:54 AM
|
#7 | ||
|
Sea Lord
![]() Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
|
Quote:
Quote:
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. |
||
|
|
09-22-11, 04:36 AM
|
#8 |
|
Weps
![]() Join Date: Apr 2007
Location: Nottinghamshire
Posts: 368
Downloads: 68
Uploads: 0
|
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 |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
