Quantcast

Jump to content

» «
Photo

[REL|BIN/SRC|Beta] SparkIV

910 replies to this topic
DexX
  • DexX

    Black Hat

  • Feroci
  • Joined: 16 May 2002

#61

Posted 18 December 2008 - 09:47 PM

Preview feature is nice but some textures are not displayed correctly. Most are, but a few have oddball colors. For example pc\data\maps\jersey\nj_01.img - nj01_korean2.wtd

Many of the ones that are displayed incorrectly, also have ludicrously long filenames. Example:
nj01_shop35front_snj01_redbrickblockwin1_snj01_redbrickblockwin2_s.dds
cry.gif

Also, some of the wtd's simply don't have textures (probably used for linking to other wtds, as defined in txdp section of the IDEs). Might be handy to list the number of textures in the preview, or even just in the window title; "Spark IV - Preview - njlights.wtd (0 textures)".

edit: Jost_vice beat me to it, it seems. ah well. that'll teach me to sleep tounge.gif

But i digress. Any progress padding the models? Will be helpful for testing stuff ingame icon14.gif

steve-m
  • steve-m

  • Feroci
  • Joined: 26 Jul 2002

#62

Posted 18 December 2008 - 10:04 PM

QUOTE (aru @ Dec 18 2008, 19:39)
@Jost_Vice... interesting... I guess it only happens for DXT1 textures. There must be something wrong with my decoder.

Or maybe they simply use the 3 color channels to store 3 monochrome textures, and mix, colorize and scale them in the shaders? Would explain the big ass filenames which essentially consist of 3 separate texture names...

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#63

Posted 18 December 2008 - 10:19 PM

QUOTE (steve-m @ Dec 18 2008, 17:04)
QUOTE (aru @ Dec 18 2008, 19:39)
@Jost_Vice... interesting... I guess it only happens for DXT1 textures. There must be something wrong with my decoder.

Or maybe they simply use the 3 color channels to store 3 monochrome textures, and mix, colorize and scale them in the shaders? Would explain the big ass filenames which essentially consist of 3 separate texture names...

Yup, I think thats what it pretty much is. Infact, looking at some of those weird looking textures and how they overlay, theres nothing else they could be. I'm guessing they just merged 3 alpha channels into a DXT1 texture to get better quality alphas than DXT3/5. Note that the filename of the texture is essentially the combination of 3 other textures in the same wtd.

I tried dumping the raw data into a DDS file and loading it up with Paint.NET and got the same effect, so its not my code (phew!). smile.gif

@DexX... what do you mean by padding the models?

QwertyAAA
  • QwertyAAA

    Ceci n'est pas une pipe, c'est le logo de Rockstar

  • Members
  • Joined: 09 Feb 2008

#64

Posted 19 December 2008 - 01:22 AM

Great job. Opens everything in PC/DATA/CDIMAGES and PC/MODELS/CDIMAGES.
Pretty good.

L0uNGeR
  • L0uNGeR

    Ya, that's what I said.

  • Members
  • Joined: 03 Dec 2008

#65

Posted 19 December 2008 - 04:19 AM

QUOTE (fullmetal @ Dec 18 2008, 21:19)
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 .

ya, like this
http://ian-albert.co...asa-all-1.0.jpg tounge.gif

DimazzzZ
  • DimazzzZ

    Aircraft Man

  • Members
  • Joined: 28 Jan 2006

#66

Posted 19 December 2008 - 04:47 AM

Big thanks to you aru colgate.gif

Disastorm
  • Disastorm

    Player Hater

  • Members
  • Joined: 12 Dec 2008

#67

Posted 19 December 2008 - 05:28 AM

QUOTE (simkas @ Dec 17 2008, 14:01)
QUOTE (Prince-Link @ Dec 17 2008, 13:52)
QUOTE (simkas @ Dec 17 2008, 15:18)
Awesome.
Does anyone know where are all the models and textures for Niko are kept? I haven't found any niko.img or player.img.

There is a playerped.rpf in the \pc\models\cdimages folder.. Think that contains the player models/textures.

That's for the multiplayer character.

actually it seems like the multiplayer characters are in componentpeds.img. I'm pretty sure playerped.rpf is, in fact, niko's character.

bobotosa
  • bobotosa

    Player Hater

  • Members
  • Joined: 16 Dec 2008

#68

Posted 19 December 2008 - 07:32 AM

i have a qeustion
it can to extract WTD's texture?
and import texture?

simkas
  • simkas

    That guy

  • Members
  • Joined: 13 Dec 2006

#69

Posted 19 December 2008 - 07:34 AM Edited by simkas, 19 December 2008 - 01:03 PM.

Nevermind.

saintone
  • saintone

    Player Hater

  • Members
  • Joined: 09 Apr 2008

#70

Posted 19 December 2008 - 09:12 AM

user posted image
user posted image
user posted image

Jonny Klebitz the DLC main character? colgate.gif

simkas
  • simkas

    That guy

  • Members
  • Joined: 13 Dec 2006

#71

Posted 19 December 2008 - 10:54 AM Edited by simkas, 19 December 2008 - 11:01 AM.

I found the models and textures for the fingerless gloves. So that means that they are in the game, just either Rockstar hasn't put in a way to unlock them or no has just found that way. It should be really easy to make the gloves replace normal hands, we just need this thing to be able to import files into rpf's, cause that's where all player models and textures are.

I just found those opened suits that were in the console game too. Goddamn, I can't wait until you make it possible to save rpf's too.

LaMuerteX
  • LaMuerteX

    Player Hater

  • Members
  • Joined: 10 Dec 2008

#72

Posted 19 December 2008 - 11:48 AM

Excellent! Many thanks Aru for all, and continue well

Working in the first mods, and ideas in coming ...

jessy-maus
  • jessy-maus

    Player Hater

  • Members
  • Joined: 27 Sep 2008

#73

Posted 19 December 2008 - 11:59 AM

Great work they have done here.
Wan, you can import the pictures whom I may ask.
Will be possible?

Thanks for the great editor he is very nice work

Jessy l.g

inlove.gif inlove.gif inlove.gif inlove.gif

simkas
  • simkas

    That guy

  • Members
  • Joined: 13 Dec 2006

#74

Posted 19 December 2008 - 12:01 PM Edited by simkas, 19 December 2008 - 08:23 PM.

Wait a second, the playerped.rpg has all the textures and models for the player model, but neither the normal maps or specular maps are in it. Where are those?


EDIT:
Is there any progress on making this tool import textures into rpf's? You really need to add that. It'd be awesome.

Faalagorn
  • Faalagorn

    w00t!

  • Members
  • Joined: 08 Dec 2008

#75

Posted 19 December 2008 - 08:46 PM

Nice, indeed... but why can't it open the unarchived wtd's (ex. fonts.wtd)?

gamerzworld
  • gamerzworld

    Why did I move here? I guess it was to bounce.

  • Members
  • Joined: 29 Nov 2005
  • United-States

#76

Posted 20 December 2008 - 01:27 AM

QUOTE (Faalagorn @ Dec 19 2008, 15:46)
Nice, indeed... but why can't it open the unarchived wtd's (ex. fonts.wtd)?

It can. You just have to trick it by replacing an archived texture with an unarchived texture using the import command. I guessing that Aru forgot that there are some textures are outside of RPFs/IMGs and didn't put an option to view separate wtd files.

QwertyAAA
  • QwertyAAA

    Ceci n'est pas une pipe, c'est le logo de Rockstar

  • Members
  • Joined: 09 Feb 2008

#77

Posted 20 December 2008 - 03:16 AM

One word: Zombie.WTD.

adijaga2
  • adijaga2

    The Hitman.

  • Members
  • Joined: 22 Mar 2008

#78

Posted 20 December 2008 - 09:12 AM

Really cool tool. But can it import textures? dozingoff.gif

DarkoP
  • DarkoP

    Player Hater

  • Members
  • Joined: 15 Apr 2008

#79

Posted 20 December 2008 - 10:30 AM

hey guys i have a problem with the program.. every time i press a button like open,save,import,export i get an error something like unhandled exception. what is wrong??

Glumok
  • Glumok

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

  • Members
  • Joined: 04 Apr 2007
  • None

#80

Posted 20 December 2008 - 10:33 AM

QUOTE (DarkoP @ Dec 20 2008, 11:30)
hey guys i have a problem with the program.. every time i press a button like open,save,import,export i get an error something like unhandled exception. what is wrong??

Are your files in read-only mode ? I got an error when they are write-protected.

DarkoP
  • DarkoP

    Player Hater

  • Members
  • Joined: 15 Apr 2008

#81

Posted 20 December 2008 - 10:37 AM

no they are not.. this is the error i get:

Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately

Method not found: 'System.String
System.Windows.Forms.OpenFileDialog.get_SafeFileName()'

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 q.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.5.0
   Win32 Version: 0.4.5.0
   CodeBase: file:///C:/Program%20Files/Rockstar%20Games/DOWNLOADS/SparkIV-0.4.5/SparkIV.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.42 (RTM.050727-4200)
   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.


_CP_
  • _CP_

    Group: Vice City Stories team

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

#82

Posted 20 December 2008 - 11:50 AM

I've got problem with your tool.
If i click continue, i have a error.
I have .NET Framework from IV disc (i don't know it's 3.0 or 3.5)

aoxsystems
  • aoxsystems

    www.xssed.com

  • Members
  • Joined: 31 Jan 2008

#83

Posted 20 December 2008 - 11:52 AM

@DarkoP

try installing .net framework 3.5,i had this problem with 3.0

i_speel_good
  • i_speel_good

    My nick's short is Speel.

  • Members
  • Joined: 13 Oct 2007

#84

Posted 20 December 2008 - 12:08 PM

RPF rebuilding would be good because it will finally make us able to use FINGERLESS GLOVES!
Grand Theft Auto IV\pc\models\cdimages\playerped.rpf
contains file
hand_diff_001_a_whi.wtd
Which is fingerless gloves texture. There's also a seperate model.

jessy-maus
  • jessy-maus

    Player Hater

  • Members
  • Joined: 27 Sep 2008

#85

Posted 20 December 2008 - 12:38 PM

I have a question for you.
I read with some pictures which they can import, because I misunderstood something or is this yet?

inlove.gif inlove.gif

bobotosa
  • bobotosa

    Player Hater

  • Members
  • Joined: 16 Dec 2008

#86

Posted 20 December 2008 - 01:23 PM



you made it with c++?

Wow, Great work.

I wait for next version

I hope it can editing wtd files

Kimd41
  • Kimd41

    SRS

  • Members
  • Joined: 18 Sep 2005

#87

Posted 20 December 2008 - 01:34 PM

Wow, great job! I didn't expect and import feature this soon. smile.gif

Machienzo
  • Machienzo

    Player Hater

  • Members
  • Joined: 25 May 2007

#88

Posted 20 December 2008 - 02:33 PM

Aru, I really want to know how I can use this program to extract sound files from the audio rpf files. I use SparkIV to extract a folder full of files from the audio section of the game, but in that folder aren't any audio filetypes, just files without a filetype. Is there anyway to extract proper audio files from rpf files or are the files inside them meant to be a certain filetype or what?

LaMuerteX
  • LaMuerteX

    Player Hater

  • Members
  • Joined: 10 Dec 2008

#89

Posted 20 December 2008 - 02:36 PM

user posted image

Aru you know you can work the audio format of these tracks? can make it compatible with the RPF audio? as able to know when I draw an even extandar not have any compression? be great if we could alter these tracks, and edit, apply new voices GPS, radio etc

The community needs this tool, you can edit the news, putting real news, and royal courts of radio, advertising etc, that will make this game bigger

Many thanks Aru. sorry for my english, greetings.

_CP_
  • _CP_

    Group: Vice City Stories team

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

#90

Posted 20 December 2008 - 07:40 PM

Can you make, to open Xbox files of IV? (textures)




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users