Jump to content

[WIN] KSP to DDS texture converter


Lilleman

Recommended Posts

I have a question as to weather this would be the right choice for me. I'm running Linux with the 64 bit ksp. I have 16 GB of ram so I'm not worried about running out of memory in that way, I have all of the visual upgrade mods and around 80+ additional mods and the game runs just as well with or with out them installed. My problem is with FPS. When I have a ship or station with more than 400 or so parts my frames drop to the point of not being playable. So my question is will this help me in the way of compressing the files so they can be displayed quicker in game or will it only help me loading the game quicker? Sorry to sound like such a noob but I guess I really am here. Thanks.

FPS on crafts with many parts is limited by CPU (physics) rather than graphics, so you won't see any performance improvement in that respect.

Link to comment
Share on other sites

Okay, so in the instructions, it reads:"This file should be located in the same folder as the executable. As this program is quite young, I tested some popular mods, and actualize the exceptions list accordingly, but I didn't test all of them."

As the ksp.exe, in the game data folder....where? Do I need to drop it into each mod folder? Somewhere else? Sorry, but I'm not a coder/programmer/IT specialist, and are just trying to play a game. I'd loveto try this to improve my gaming experience, but I need more in the way of instructions. Maybe some instructions more for those of us that have computers as appliances...Thanks.

Link to comment
Share on other sites

Hello guys,i used this program in addition to ddsloader and it has reduced my ram usage by 500mb :)

But i have come across a problem. The map icons regarding missions or orbits have been damaged.Strangely enough the icons showing vessels(flag/debris etc.) is totally fine. :S

Anyone know where those files are so that i can revert the .ddsified files?

(Screens attached)

Javascript is disabled. View full album
Link to comment
Share on other sites

Hello guys,i used this program in addition to ddsloader and it has reduced my ram usage by 500mb :)

But i have come across a problem. The map icons regarding missions or orbits have been damaged.Strangely enough the icons showing vessels(flag/debris etc.) is totally fine. :S

Anyone know where those files are so that i can revert the .ddsified files?

(Screens attached)

http://imgur.com/a/ZVASp

never had issues with the contract icons

Link to comment
Share on other sites

For the Editor toolbar the icons are in :

Squad\PartList\SimpleIcons

What to you mean by the "Contracts not showing one is" ?

(I was just being stupid,sorry for that. It is all working now.)

(Contracts were not showing because i had no active contracts...good job Fizban you are a smart one:confused:)

Link to comment
Share on other sites

New mod in development B9 Aerospace Procedural Parts - icon for this mode (editor KSC) is also wierd. Other textures performes well, so you may also want to add folder

B9_Aerospace\Plugins

to ModsExceptions.txt file.

It could happen when you try to convert already small size textures, so, maybe it will be good to add feature to skip small files/resolution when you doing conversion.

That icon is already 4kb, so compressing it further don't give much space, but produce issues at same time.

Link to comment
Share on other sites

So wait, I'm confused. I must be lacking some common knowledge here or something. So how exactly do you use this tool? How do you install it? Is it like a KSP mod?

It's not a mod. Run the exe and select a folder to process (Folder -> Open). This can be GameData or some subfolder. Then go Folder->Export all to DDS. You probably don't need to worry about the settings, so just click ok in the dialogue that comes up. You also neeed DDSLoader (which is a mod) to get KSP to recognize the DDS textures.

Link to comment
Share on other sites

Attempting to convert my gamedata folder to DDS and this is what i get without changing any settings.

-----

Folder infos :

MBM files count : 474

TGA files count : 81

PNG files count : 862

Backup files count : 0

-----

-----

Starting conversion of 1417 files.

MBM count : 0.

TGA count : 0.

PNG count : 0.

1417 files excluded, 0 files without mipmaps. 0 files will skip normal detection.0 files will not be resized.

-----

-----

Conversion done! 0 files processed.

-----

Nothing is converted and i've also attempted to use it as "run as admin" I'm using windozer 7 sp1 and have no AV installed at the moment except for windozers so called AV.

Link to comment
Share on other sites

It's not a mod. Run the exe and select a folder to process (Folder -> Open). This can be GameData or some subfolder. Then go Folder->Export all to DDS. You probably don't need to worry about the settings, so just click ok in the dialogue that comes up. You also neeed DDSLoader (which is a mod) to get KSP to recognize the DDS textures.

Oh, I was trying to select a folder with (File -> Folder). It wouldn't let me select one so I thought I misunderstood something, ha. Thanks.

Link to comment
Share on other sites

Attempting to convert my gamedata folder to DDS and this is what i get without changing any settings.

-----

Folder infos :

MBM files count : 474

TGA files count : 81

PNG files count : 862

Backup files count : 0

-----

-----

Starting conversion of 1417 files.

MBM count : 0.

TGA count : 0.

PNG count : 0.

1417 files excluded, 0 files without mipmaps. 0 files will skip normal detection.0 files will not be resized.

-----

-----

Conversion done! 0 files processed.

-----

Nothing is converted and i've also attempted to use it as "run as admin" I'm using windozer 7 sp1 and have no AV installed at the moment except for windozers so called AV.

That's odd.

And I never heard of an OS called Windozer 7 :sticktongue:

Link to comment
Share on other sites

@Damaske, try to copy Gamedata folder out of ProgamFile/Your_KSP_install folder. Double check that this folder is not readonly and then try to run DDS conerter on that folder outside of KSP main install.

If everything worked then just copy converted folder back to main KSP game folder and overwrite files.

If DDS still shows 0 files processed, problem could be elsewhere. Could be anything, missing C++ library or faulty directX install.

Don't have a clue what else could be a reason for your problem.

Link to comment
Share on other sites

I don't have my ksp folder in any system folder, its sitting on my c drive in a folder named games.

edit: reinstalled c++ runtimes, and directx was up to date, Also tried running as admin and made sure all files are not read only still failed to convert nor will it convert ignoring the exclusion list. This happened with single file as with folder batch converting.

Edited by Damaske
Link to comment
Share on other sites

You beautiful, wonderful human beings.

I made multiple flights with three different ships up with my usual mod load this evening, usually that would get me at least one ram crash.

With this plus DDSLoader I didn't have a single one ... and without having to run ATM on Aggressive :).

Transformed my KSP, Thank you.

Link to comment
Share on other sites

I LOVE YOU!

I LOVE YOU!

I LOVE YOU!

THIS IS INCREDIBLE!!!!!

BEST MOD EVER MADE!!!

SHOULD BE RECOMMENDED UNDER EVERY BIG MOD!!

Seriously the biggest thenks i can think of! Expanded my Kerbol-System using only a few essential mods and hit the 2.4GB in the Titel Screen. CTD every few houers.

Now with this mod and the forced d3d11 im running 1.4GB of ram IN FLIGHT(!!!!!!) This .... this just changed EVERYTHING.

Now I can go berserk on mods again without a single worry.

This mod needs to be more visible. I kind of stumbled across it by accident and thougt "meh ... lets see what this does, cant get any worse" and then BÄM!! i couldnt belive my eyes it is so awsome.

EVERYBODY NEEDS to have this!!

.... YEAH I LOVE YOU!!!

English isnt my foreign language so if you find a spelling mistake; feel free to keep it

PS: Best mod ever made

Link to comment
Share on other sites

I get this error message when converting Texture: Index was outside the bounds of the array.

and this is the error details:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.IndexOutOfRangeException: Index was outside the bounds of the array.

at DDS4KSP.IMGManager.gs_swizzle(GraphicsStream& gs, Int32 iWidth, Int32 iHeight, Boolean b32BPP)

at DDS4KSP.IMGManager.convertFileToDDS(cConversionParameters& convParams, cFolderProcessingParams& CFG)

at DDS4KSP.FolderLoader.processFileLists(String sFolderPath, ProgressBar& PB, Label& lInfos, cFolderProcessingParams& CFG)

at DDS4KSP.FRM_main.ExportAllToDDSToolStripMenuItem_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ToolStrip.WndProc(Message& m)

at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

DDS4KSP

Assembly Version: 0.0.0.1

Win32 Version: 0.0.0.1

CodeBase: file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Kerbal%20Space%20Program/DDS4KSP.exe

----------------------------------------

Microsoft.VisualBasic

Assembly Version: 8.0.0.0

Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5488 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Microsoft.DirectX.Direct3D

Assembly Version: 1.0.2902.0

Win32 Version: 9.05.132.0000

CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll

----------------------------------------

Microsoft.DirectX

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.2904

CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll

----------------------------------------

OpenFolderDialog

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Kerbal%20Space%20Program/OpenFolderDialog.DLL

----------------------------------------

System.Core

Assembly Version: 3.5.0.0

Win32 Version: 3.5.30729.5420 built by: Win7SP1

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

Microsoft.DirectX.Direct3DX

Assembly Version: 1.0.2902.0

Win32 Version: 5.04.00.3900

CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Can you fix this?

Thanks for this great DDS converter nevertheless.

I found that the Versatile Toolbox is the one mod that is causing the exceptions; it works great without this one installed.

Edited by MK3424
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...