Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sat Sep 21, 2013 3:04 am
Using this and your readme, I have now modded my game, thanks!
Official Forum for FTL: Faster Than Light and Into the Breach
https://subsetgames.com/forum/
Vhati wrote:Scotty wrote:could you explain under which circumstances a backup will be loaded from the program dir (\FTL\resources)?
Whenever you click "patch"...
- It looks for "SMM/backup/data.dat.bak".
If it doesn't exist, "FTL/resources/data.dat" is copied to create the backup.
.- It looks for "SMM/backup/resource.dat.bak".
If it doesn't exist, "FTL/resources/resource.dat" is copied to create the backup.
.- If they did exist, backups will be copied in the other direction, to replace the game's dats.
.- Any selected mods will then be inserted into the game's dats.
The backups are assumed to be vanilla. This is why it's important to return the game to an unmodded state before starting a new mod manager. Otherwise, its first backups would have mods baked in permanently.
This is also why you need to delete SMM's backup dats when the game itself gets updated: to create new backups. Otherwise backups from the old FTL would continue to be used.
CatWithScissors wrote:alright so I get this message when I validate Captains Edition, if anyone can explain this to me in layman's terms that would be great:Code: Select all
! Junk file
~ LF line endings (CR-LF is safest)
...
Patching failed: java.io.FileNotFoundException: C:\Program Files\FTL\resources\data.dat (Access is denied)
CatWithScissors wrote:Alright here come the questions, bear with me xD
1) What is it that I change, the .xml or .append?
2) What text editor(s) do I use?
3) How do I do it?
Apologies for harassing you, kinda bad at this
CatWithScissors wrote:it disappears as soon as I open it
Code: Select all
23:38:45.085 [AWT-EventQueue-0] DEBUG net.vhati.modmanager.FTLModManager - Slipstream Mod Manager v1.4
23:38:45.088 [AWT-EventQueue-0] DEBUG net.vhati.modmanager.FTLModManager - Windows 7 6.1
23:38:45.088 [AWT-EventQueue-0] DEBUG net.vhati.modmanager.FTLModManager - Java HotSpot(TM) Client VM, 1.7.0_25, x86
23:38:45.120 [AWT-EventQueue-0] INFO net.vhati.modmanager.FTLModManager - Using FTL dats path from config: C:\Program Files\FTL\resources
23:38:45.395 [Thread-4] DEBUG net.vhati.modmanager.json.URLFetcher - Attempting to download the latest "current_catalog.json".
23:38:46.046 [Thread-4] ERROR net.vhati.modmanager.json.URLFetcher - Error downloading the latest "current_catalog.json". java.io.FileNotFoundException: .\backup\current_catalog.json (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.json.URLFetcher.refetchURL(URLFetcher.java:93)
at net.vhati.modmanager.ui.ManagerInitThread.init(ManagerInitThread.java:127)
at net.vhati.modmanager.ui.ManagerInitThread.run(ManagerInitThread.java:67)
23:38:46.056 [Thread-4] ERROR net.vhati.modmanager.json.URLFetcher - Error writing eTag to "current_catalog_etag.txt". java.io.FileNotFoundException: .\backup\current_catalog_etag.txt (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.json.URLFetcher.refetchURL(URLFetcher.java:120)
at net.vhati.modmanager.ui.ManagerInitThread.init(ManagerInitThread.java:127)
at net.vhati.modmanager.ui.ManagerInitThread.run(ManagerInitThread.java:67)
23:38:46.059 [Thread-4] DEBUG net.vhati.modmanager.json.URLFetcher - Attempting to download the latest "auto_update.json".
23:38:46.136 [Thread-4] ERROR net.vhati.modmanager.json.URLFetcher - Error downloading the latest "auto_update.json". java.io.FileNotFoundException: .\backup\auto_update.json (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.json.URLFetcher.refetchURL(URLFetcher.java:93)
at net.vhati.modmanager.ui.ManagerInitThread.init(ManagerInitThread.java:159)
at net.vhati.modmanager.ui.ManagerInitThread.run(ManagerInitThread.java:67)
23:38:46.138 [Thread-4] ERROR net.vhati.modmanager.json.URLFetcher - Error writing eTag to "auto_update_etag.txt". java.io.FileNotFoundException: .\backup\auto_update_etag.txt (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.json.URLFetcher.refetchURL(URLFetcher.java:120)
at net.vhati.modmanager.ui.ManagerInitThread.init(ManagerInitThread.java:159)
at net.vhati.modmanager.ui.ManagerInitThread.run(ManagerInitThread.java:67)
23:38:50.528 [AWT-EventQueue-0] ERROR net.vhati.modmanager.ui.ManagerFrame - Error writing "modorder.txt". java.io.FileNotFoundException: .\mods\modorder.txt (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.ui.ManagerFrame.saveModOrder(ManagerFrame.java:504)
at net.vhati.modmanager.ui.ManagerFrame.access$100(ManagerFrame.java:94)
at net.vhati.modmanager.ui.ManagerFrame$1.windowClosed(ManagerFrame.java:288)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
23:38:50.768 [AWT-EventQueue-0] ERROR net.vhati.modmanager.ui.ManagerFrame - Error writing metadata from local mods to "cached_metadata.json". java.io.FileNotFoundException: .\backup\cached_metadata.json (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at net.vhati.modmanager.json.JacksonCatalogWriter.write(JacksonCatalogWriter.java:62)
at net.vhati.modmanager.ui.ManagerFrame$1.windowClosed(ManagerFrame.java:309)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)