Quantcast

Jump to content

» «
Photo

[REL|BIN/SRC|Beta] SparkIV

910 replies to this topic
rebel_36
  • rebel_36

    dot connectah

  • Members
  • Joined: 14 Mar 2004

#31

Posted 18 December 2008 - 12:22 AM

wow i didnt expect an import feature this fast smile.gif

crashes for me though, i run it, click open, then this:

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

************** Exception Text **************
System.MissingMethodException: Method not found: 'System.String System.Windows.Forms.OpenFileDialog.get_SafeFileName()'.
  at bz.g(Object A_0, EventArgs A_1)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripButton.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.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.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.42 (RTM.050727-4200)
   CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SparkIV
   Assembly Version: 0.4.0.0
   Win32 Version: 0.4.0.0
   CodeBase: file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/SparkIV-0.4.0/SparkIV.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.198 (QFE.050727-1900)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.42 (RTM.050727-4200)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.42 (RTM.050727-4200)
   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#32

Posted 18 December 2008 - 12:30 AM

QUOTE (rebel_36 @ Dec 17 2008, 19:22)
wow i didnt expect an import feature this fast smile.gif

crashes for me though, i run it, click open, then this:

[snip]

Download and install .NET Framework 3.5 @ here. If you installed GTAIV on the computer you're running this on, you should already have .NET 3.5 as RGSC requires it.

rebel_36
  • rebel_36

    dot connectah

  • Members
  • Joined: 14 Mar 2004

#33

Posted 18 December 2008 - 12:59 AM

hmm ive had rgsc installed but now i downloaded and installed it from ms and now it works, maybe rgsc doesnt install the whole thing? the rgsc .net installation is much faster than the ms one too.

either way, glad it runs now, great work icon14.gif

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#34

Posted 18 December 2008 - 08:09 AM

Updated first post with a new version (0.4.5).

New features include...
- Texture (*.wtd) preview and support for exporting textures
- Experimental Model (*.wdr) preview
- Double click/Press enter on a supported file to preview it
- Fixed bug in resource file segment size calculation when importing data in Resoursaur.

The Model preview is done using M$'s WPF/Avalon thing... not sure how well it works on the majority of computers out there, but we'll find out soon enough I guess.

Download link in first post smile.gif

Harmalarm
  • Harmalarm

    Player Hater

  • Members
  • Joined: 05 Jul 2007

#35

Posted 18 December 2008 - 08:49 AM

OMG, this tool looks great! The model preview is really neat! Are you planning on having the preview show some texture uv's?

I can't wait to start modding for IV, and this tools would be a great start!

Millenia
  • Millenia

    Gunz 'R Us

  • Members
  • Joined: 12 Aug 2005

#36

Posted 18 December 2008 - 09:32 AM

You never cease to impress us aru, I recall you did a lot of work with NFS:MW back in the day as well if I'm not mistaken?

user21043
  • user21043

    Rat

  • Members
  • Joined: 13 May 2008

#37

Posted 18 December 2008 - 12:07 PM

When I press the "Open" button , i have this problem:
Not processed exception in the appendix
http://www.picamatic...428_695x514.JPG

rebel_36
  • rebel_36

    dot connectah

  • Members
  • Joined: 14 Mar 2004

#38

Posted 18 December 2008 - 01:21 PM

user21043, look 5 posts above yours, that should fix it


JostVice
  • JostVice

    realtime, not prerendered

  • Feroci
  • Joined: 30 Oct 2005
  • None

#39

Posted 18 December 2008 - 02:35 PM

Epic work aru, all working great. I see some weird textures with colours all mixed, looks corruption but I don't know what to say, maybe they're like that or something. Anyway, great work! the model preview works perfectly biggrin.gif

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#40

Posted 18 December 2008 - 02:40 PM Edited by aru, 18 December 2008 - 02:44 PM.

QUOTE (Jost_Vice @ Dec 18 2008, 09:35)
Epic work aru, all working great. I see some weird textures with colours all mixed, looks corruption but I don't know what to say, maybe they're like that or something. Anyway, great work! the model preview works perfectly  biggrin.gif

Ooh.. which ones in particular?


@Millenia, yeah.. MW was almost about 2-3 years ago smile.gif


@Harmalarm... haven't figured out the texture assignment data yet, but we'll get there eventually.

JostVice
  • JostVice

    realtime, not prerendered

  • Feroci
  • Joined: 30 Oct 2005
  • None

#41

Posted 18 December 2008 - 02:47 PM

QUOTE (aru @ Dec 18 2008, 15:40)
QUOTE (Jost_Vice @ Dec 18 2008, 09:35)
Epic work aru, all working great. I see some weird textures with colours all mixed, looks corruption but I don't know what to say, maybe they're like that or something. Anyway, great work! the model preview works perfectly biggrin.gif

Ooh.. which ones in particular?


@Millenia, yeah.. MW was almost about 2-3 years ago smile.gif


@Harmalarm... haven't figured out the texture assignment data yet, but we'll get there eventually.

I find them in every wtd, they aren't spec maps or normal maps, just regular textures with all the colors a bit mixed up.

Here is a screeny of one wtd inside the Manhattan folder:

user posted image

mr.Dageron
  • mr.Dageron

    Bbobik - my old nickname

  • BUSTED!
  • Joined: 25 Nov 2008

#42

Posted 18 December 2008 - 02:58 PM

aru, check PM please smile.gif

FunGt
  • FunGt

    GTA-Modding.com

  • Members
  • Joined: 10 Jun 2005
  • Italy

#43

Posted 18 December 2008 - 03:03 PM

wft preview doesn't work for me. If I double click wtd files it show me the preview, but is not the same with wft.
Btw awesome tool, keep it up. icon14.gif

user21043
  • user21043

    Rat

  • Members
  • Joined: 13 May 2008

#44

Posted 18 December 2008 - 03:05 PM Edited by user21043, 18 December 2008 - 03:08 PM.

Work fine!!!! Thx nice man

JKM
  • JKM

    [BM] Projectleader

  • Members
  • Joined: 16 Jul 2005

#45

Posted 18 December 2008 - 03:55 PM

great tool smile.gif

but for me the same liek FunGt. Can't open the wtd... the preview screen won't show up^^

Lol.... works fine for me now :> I started the program as admin and now it works fine smile.gif

_CP_
  • _CP_

    Group: Vice City Stories team

  • Feroci
  • Joined: 27 Dec 2007
  • Poland
  • Best Map 2013 "ViceCityStories PC Edition"

#46

Posted 18 December 2008 - 04:37 PM

aru, do you open vehicles models? Or they have different format of coding?

rebel_36
  • rebel_36

    dot connectah

  • Members
  • Joined: 14 Mar 2004

#47

Posted 18 December 2008 - 05:06 PM Edited by rebel_36, 18 December 2008 - 09:14 PM.

-removed due to global warming-

Hollaz
  • Hollaz

    Bleh.

  • Members
  • Joined: 15 Feb 2007

#48

Posted 18 December 2008 - 05:07 PM

Great tool. It cured my boredom by making me extract all the radar textures and put them together to one big map.

user posted image

Shifty41s_beerhatsmilie2.gif

SLAYERMAGGOT
  • SLAYERMAGGOT

    Stay Wild

  • Members
  • Joined: 19 Mar 2008

#49

Posted 18 December 2008 - 05:34 PM

Very Great, that we are now able to open all textures icon14.gif


13-37
  • 13-37

    ♫ ♪ ♫ ♪ ♫ ♪ ♫

  • Members
  • Joined: 14 Dec 2008

#50

Posted 18 December 2008 - 05:40 PM

This is Great! icon14.gif

Glumok
  • Glumok

    7 years on GTAForums... Nom d'une pute !

  • Members
  • Joined: 04 Apr 2007
  • None

#51

Posted 18 December 2008 - 05:50 PM

Aru, you amaze me ! Already an (excellent) upgrade for SparkIV !
It works very fine for me. Haha, that's great !

Kakashevich
  • Kakashevich

    Player Hater

  • BUSTED!
  • Joined: 30 Nov 2008

#52

Posted 18 December 2008 - 06:38 PM

Model viewer doesn't work. When i double click on a model nothing appears

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#53

Posted 18 December 2008 - 06:39 PM

@Jost_Vice... interesting... I guess it only happens for DXT1 textures. There must be something wrong with my decoder.

@mr.Dageron.. I'm not going to be spending time on the 360 version. I rather be spending it on something worthwhile that will eventually help the majority of the community. Modding the 360 version probably won't.

@FunGt... Only wdr files are supported for now. wft files are not supported and wdd files are not supported.

@City_Poke912... Nope, the vehicle models are wft files and can't be previewed currently. Their format is somewhat different from the wdr files.

@Hollaz... you must have been reaaaaally bored because that must have taken a while by hand smile.gif .

jadire
  • jadire

    Player Hater

  • BUSTED!
  • Joined: 18 Dec 2008

#54

Posted 18 December 2008 - 07:39 PM

Amazing. Is there any chance you could make the camera on the model viewer like Valves hammer editor? So we can really get in close and see the models properly? Using WASD to move around.

Glumok
  • Glumok

    7 years on GTAForums... Nom d'une pute !

  • Members
  • Joined: 04 Apr 2007
  • None

#55

Posted 18 December 2008 - 08:10 PM

Since the release of SparkIV 0.4.5, I took the liberty to start a list of the content inside the IMG files.
Check it : http://www.gtaforums...howtopic=385483

It is only a basic list, I will complete it in the future. Don't hesitate to add your infos !

NTxC
  • NTxC

    GTA V.

  • Members
  • Joined: 11 Oct 2006

#56

Posted 18 December 2008 - 08:31 PM Edited by NonToXIC, 18 December 2008 - 08:34 PM.

Thank you so much for this tool. It allowed me to unpack some audio data. I have some informations about the music format used in GTA IV.

I've used SparkIV to open LOADING.RPF file (package containing loading tunes used in the game). Now, I got this:
user posted image

I exported the highlighted file.
Then, I decided to investigate a bit. I launched Audacity (a sound editing program - really good one) and tried to open the exported file. I got an error about the file not being recognized by the program. Clicked OK, then used "Import RAW data" option. Selected the exported audio file, and I began experimenting with the audio format settings. After messing with the format settings, I was able to hear the actual music.

These are the settings I've used to listen to the track:
user posted image

The playback is messy a bit though. The file structure seems to be like this:

[few seconds of noise] + [first 10 seconds of stereo channel 1] + [first 10 seconds of stereo channel 2] + [next 10 seconds of stereo channel 1] + [next 10 seconds of stereo channel 2] ... ... ...

Thought it's interesting; I hope I helped a bit.

pinky
  • pinky

    "Tooled up and chibbin' ye, ya Bass".

  • Members
  • Joined: 06 Jan 2005

#57

Posted 18 December 2008 - 09:04 PM

Great start to the tool so far, looking forward to importing textures and not only exporting/saving them.
Is it possible to create an option where you set your IV directory and you mod folder to make multiple file swaps a little more fluid.
So when go click open it will jump to your IV directory and if you click on export or import it will automatically jump to your mod directory. Still having the drop down to selct others of course.

Love it so far, nice work.

FullMetal
  • FullMetal

    Non-Retard

  • Feroci
  • Joined: 23 Nov 2004
  • None

#58

Posted 18 December 2008 - 09:19 PM

QUOTE (Hollaz @ Dec 18 2008, 18:07)
Great tool. It cured my boredom by making me extract all the radar textures and put them together to one big map.

user posted image

Shifty41s_beerhatsmilie2.gif

Great work, now we need someone to put all weapon/armor/health/flying rats/?... locations on the map tounge.gif .

iristrauma
  • iristrauma

    Rat

  • Members
  • Joined: 01 May 2008

#59

Posted 18 December 2008 - 09:21 PM

Great tool aru.. icon14.gif Most helpful and timely.. icon14.gif icon14.gif

Fabio206
  • Fabio206

    GTA-Expert.it Webmaster

  • Members
  • Joined: 20 Oct 2006

#60

Posted 18 December 2008 - 09:40 PM

QUOTE (Hollaz @ Dec 18 2008, 18:07)
Great tool. It cured my boredom by making me extract all the radar textures and put them together to one big map.

user posted image

Shifty41s_beerhatsmilie2.gif

Great work!!




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users