• Welcome to SC4 Devotion Forum Archives.

Windows Vista and Textures: A Problem No More! (Bugfix on Pg. 1)

Started by allan_kuan1992, July 01, 2008, 08:26:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


allan_kuan1992

#21
I'm surprised. Really.

Because you have just fixed one of the most annoying bugs ever to hit my computer. xD

Now with SC4Tool running with administrative privileges (to allow saving to Program Files (x86)/SC4Tool/Export) and with the new DLL applied, everything works like a charm.

THANK YOU SO MUCH! I'll be looking forward to using it during the weekend. =)

- Allan Kuan

Gwail

It recalls me one of Einstein's thoughts:

Everyone knows that it can't be done. And then comes one, who doesn't know, that it can't be done and does that.

Although there were some other options to manage problems, this is a milestone job  :thumbsup:.
My misc works thread:
GWL workshop

Jonathan

oh btw, if you check "desktop Composition" it will turn off Aero when you run SC4Tool, so the menus don't take forever to load the shadows.

I think this should be like uploaded to the LEX.

Jonathan

Rayden

Quote from: null45 on February 11, 2009, 07:36:15 PM
The SC4Tool problem is with fsh textures?

In that case the problem may be fixed by replacing the FSHLib dll with the vista friendly version.

FSHLib vista: http://www.mediafire.com/download.php?wfnylitwmmy

it should overrite the old version

Requirements: Microsoft .NET Framework Version 2.0

Thx a lot, it works  %BUd%


allan_kuan1992

I believe that this thread is important enough to warrant pin status for future reference xD

- Allan Kuan

Ryan B.

Agreed.  Pin this gem, please!

Now my Lone Star Mod can move along!  :D

Thank you so much!

Tarkus

Done.  null45, thank you for all your hard work on this fix!  A lot of Vista users are going to be very happy.

-Alex (Tarkus)

dedgren

Just like that.

Wow!  Thanks, null45.  You've made a lot of folks happy in the last day or so.


David
D. Edgren

Please call me David...

Three Rivers Region- A collaborative development of the SC4 community
The 3RR Quick Finder [linkie]


I aten't dead.  —  R.I.P. Granny Weatherwax

Skype: davidredgren

JoeST

Wow, someones fixed it after all this time? awsome

somebody should attachify that zip to the first post, and make an explanation, or maybe upload it to the lex/somewhere more long lasting than a file hosting site.

was there any other vista related problems? i cant remember

Joe
Copperminds and Cuddleswarms

null45

To isolate the problem I obtained the source using .NET Reflector. I simply built the code in debug mode & ran it in Vista.
The problem with the colorArray became apparent when I ran fshlib under the IDE's debugger while it was being run on vista.   >:D

sithlrd98

Thank you soo much for fixing this! I finally upgraded from a POS xp2500 1.5 gig system to a quad4 phenom with 6 gigs , and have had zero problems with SC4 or any of the tools (that were having problems). Now I can mod faster!

Jayson

Navox

Sorry for bumping this thread but I have a problem with the updated FSHLib.dll file for Vista.
Before the update I couldn't see the textures in SC4Tool, but after the update I get this error message when trying to open a file:



Help is really much appreciated, thanks!


Navox


Navox

I got this message after overwriting the old FSHLib file with the new one for Vista.
Before the update, SC4Tool worked but the textures didn't. I've tried it several times now but it still doesn't work.
When I try to open a texture in the texture scanner I get this message



This is what is says in the details tab:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: The format of the file 'FSHLib' is invalid.
File name: "FSHLib"
   at sr_SC4Lib.TextureReader.GetBitmap(Byte[] ByteListe)
   at sr_SC4Lib.TextureReader.GetTextureImage(cTexture& contents)
   at SC4Tool.FormTM.TreeView1_AfterSelect(Object sender, TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: DisplayName = FSHLib, Version=0.3.2.41616, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = C:\Program Files\SC4Tool\
LOG: Initial PrivatePath = NULL
Calling assembly : sr_SC4Lib, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: FSHLib, Version=0.3.2.41616, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Program Files/SC4Tool/FSHLib.DLL.



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2407
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SC4Tool
    Assembly Version: 2.2.7.0
    Win32 Version: 2.2.7.0
    CodeBase: file:///C:/Program%20Files/SC4Tool/SC4Tool.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2407
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
SandBar
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files/SC4Tool/SandBar.DLL
----------------------------------------
SandDock
    Assembly Version: 1.0.6.1
    Win32 Version: 1.0.6.1
    CodeBase: file:///C:/Program%20Files/SC4Tool/SandDock.DLL
----------------------------------------
sr_SC4Lib
    Assembly Version: 2.1.3.0
    Win32 Version: 2.1.3.0
    CodeBase: file:///C:/Program%20Files/SC4Tool/sr_SC4Lib.DLL
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.6001.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
sr_Resources
    Assembly Version: 1.0.2205.21686
    Win32 Version: 1.0.2205.21686
    CodeBase: file:///C:/Program%20Files/SC4Tool/sr_Resources.DLL
----------------------------------------
Accessibility
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Eyefinder
    Assembly Version: 1.0.4.2
    Win32 Version: 1.0.4.2
    CodeBase: file:///C:/Program%20Files/SC4Tool/Eyefinder.DLL
----------------------------------------
C1.Win.C1FlexGrid
    Assembly Version: 2.5.20052.212
    Win32 Version: 2.5.20052.213
    CodeBase: file:///C:/Program%20Files/SC4Tool/C1.Win.C1FlexGrid.DLL
----------------------------------------
C1.Common
    Assembly Version: 1.0.20031.116
    Win32 Version: 1.0.20042.118
    CodeBase: file:///C:/Program%20Files/SC4Tool/C1.Common.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.


If someone could help me out i'd be really grateful, cause I'm really stuck.  ()what()




Navox

Yes it is 0.3.1.31964. I already checked that, I'm pretty sure everything is correct, but it just doesn't work..

Jonathan

Quote=== Pre-bind state information ===
LOG: DisplayName = FSHLib, Version=0.3.2.41616, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = C:\Program Files\SC4Tool\
LOG: Initial PrivatePath = NULL
Calling assembly : sr_SC4Lib, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null.
===

Sorry, shoudln't have asked that as it says in the details that SC4Tool isn't using that version(bold above)?
Maybe you haven't put the FSHLib in the correct location, it needs to replace the dll in the Sc4Tools folder(generally in the Program Files folder)

Jonathan

Navox

Yes that's what I found pretty weird as well. Because I just put it in the SC4Tool folder in the Program Files folder.

Look: