Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[REL|BIN/SRC|Beta] SparkIV


aru
 Share

Recommended Posts

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

 

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

 

 

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 thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration>   <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.

 

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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!

Link to post
Share on other sites

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

Link to post
Share on other sites

 

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.

Edited by aru
Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

 

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

Link to post
Share on other sites

Aru, you amaze me ! Already an (excellent) upgrade for SparkIV !

It works very fine for me. Haha, that's great !

Link to post
Share on other sites

@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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

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.com/index.php?showtopic=385483

 

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

Link to post
Share on other sites

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.

Edited by NonToXIC
Link to post
Share on other sites

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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

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!!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.