Quantcast

Jump to content

» «
Photo

[REL|BIN/SRC|Beta] SparkIV

926 replies to this topic
Glumok
  • Glumok

    8 years on GTAForums... Bordel de foutre !

  • Members
  • Joined: 04 Apr 2007
  • None

#181

Posted 29 December 2008 - 12:44 AM

@rubiomhs : go make your own tool, smartass.
@Aru : I hope the release of OpenIV stimulates you even more to keep on the development of SparkIV ! Go on !

ceedj
  • ceedj

    PEDS Creator

  • Feroci
  • Joined: 21 May 2005
  • United-States

#182

Posted 29 December 2008 - 02:42 PM

Aru, question for you, before I muck up my lappy with .net updates, is it possible to run SparkIV on a network? Meaning, I have IV on my main machine, but just want to examine files and such on the lappy. Thanks. smile.gif

mr.Dageron
  • mr.Dageron

    Bbobik - my old nickname

  • BUSTED!
  • Joined: 25 Nov 2008

#183

Posted 29 December 2008 - 03:17 PM

OpenIV hasnt got function of any working with Xbox360 files... icon13.gif

Aru, please, add Xbox360 models and textures viewer and exporter! confused.gif It is for future DLC converting... smile.gif And I ask you very much - If your programm will not edit XTD and import XDR/XDD, please, put everything you know about this formats on public. icon14.gif

Anyway thanks and good luck icon14.gif

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#184

Posted 30 December 2008 - 06:09 AM

@mr.Dageron... all XBOX360 live DLC is in a packed compressed encrypted and highly secured format which no one can open yet. So no point in adding XBOX360 support.

@ceedj... maybe, possibly. Haven't tried... The only thing unique that SparkIV does is that it opens the file for read/write mode on loading, so as long as you have write access to your network share, you should be good.

@gorgeprofondegta4/Prince-Link/ceedj... Thanks for the support smile.gif

@Prince-Link/Tohtori Sykerö... the vertex structure of the models is currently assumed based on size -- this is a huge assumption that results in incorrectness such as non-properly rendered models and bad UV mapping. The vertex format really should be based on which shader is being used. And memory leak... I'll have to look into.. thanks smile.gif

@H1Vltg3... are you running .NET Framework 3.5?

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#185

Posted 30 December 2008 - 03:04 PM

New version 0.5.1, updated on the first post @ here.

Only major feature is basic texture importing with full MipMap generation support.

Additionally, as promised, SparkIV and all its related components are now published under the GNU GPL v3 license including source code. More info on how to obtain the source code is provided on the first post as well.

Version 0.5.1 Features
- Support for Texture File editing with Import (replace only) functionality
- Support for viewing Texture mipmaps and viewing colour channels seperately
- Support for showing most of the filenames in Audio RPF (v3) files.
- Support for launching external registered editors based on extension
- Fixed some bugs with IMG file saving



Glumok
  • Glumok

    8 years on GTAForums... Bordel de foutre !

  • Members
  • Joined: 04 Apr 2007
  • None

#186

Posted 30 December 2008 - 04:07 PM Edited by gorgeprofondegta4, 30 December 2008 - 04:16 PM.

Woohoo ! Aru, you are the man !
Mipmaps works great ! From far, mid and near view.
user posted imageuser posted image

Bravo !

user21043
  • user21043

    Rat

  • Members
  • Joined: 13 May 2008

#187

Posted 30 December 2008 - 04:55 PM

Don't work for me sad.gif

Glumok
  • Glumok

    8 years on GTAForums... Bordel de foutre !

  • Members
  • Joined: 04 Apr 2007
  • None

#188

Posted 30 December 2008 - 05:12 PM

QUOTE (user21043 @ Dec 30 2008, 17:55)
Don't work for me sad.gif

Explain. How do you proceed ?

Don't forget, after you imported the new textures, click on "Save and close" on the upper right side of the window, before closing it :
user posted image

pinky
  • pinky

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

  • Members
  • Joined: 06 Jan 2005
  • United-Kingdom

#189

Posted 30 December 2008 - 05:24 PM

QUOTE (aru @ Dec 30 2008, 16:04)
New version 0.5.1, updated on the first post @ here.

Only major feature is basic texture importing with full MipMap generation support.

Additionally, as promised, SparkIV and all its related components are now published under the GNU GPL v3 license including source code. More info on how to obtain the source code is provided on the first post as well.

Version 0.5.1 Features
- Support for Texture File editing with Import (replace only) functionality
- Support for viewing Texture mipmaps and viewing colour channels seperately
- Support for showing most of the filenames in Audio RPF (v3) files.
- Support for launching external registered editors based on extension
- Fixed some bugs with IMG file saving

Aru, you have made my day. smile.gif
Have some. cookie.gif cookie.gif cookie.gif cookie.gif

the hubster
  • the hubster

    Sup Homies

  • Members
  • Joined: 03 May 2005

#190

Posted 30 December 2008 - 05:35 PM

I was getting the error:
CODE
System.TypeInitializationException: The type initializer for 'SparkIV.Editor.Editors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SparkIV.Config.SparkIVConfig' threw an exception. ---> System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Rockstar Games\Grand Theft Auto IV\common\data\cdimages\SparkIV.Config.xml'.


When opening any file within an rpf.

Error was easily fixed by changing sparkivconfig.cs to have an absolute path instead of a relative path to SparkIV.Config.xml

Original code:
CODE

static SparkIVConfig()
       {
           Instance = XmlPersister.Load<Value.Config>("SparkIV.Config.xml");
       }


I am too lazy to look into why its using path relative to the file i'm opening and not relative to the app dir tounge.gif

boCa
  • boCa

    wtf bbq?!

  • Members
  • Joined: 26 Dec 2008

#191

Posted 30 December 2008 - 05:47 PM

Now the only thing that's missing is to export and import seperate "Geometries" in the modelfiles (.wdd).
I think then it's possible to mod ANYTHING in this game. devil.gif

Gunzen-R
  • Gunzen-R

    Mouhaha

  • Members
  • Joined: 18 Jan 2007

#192

Posted 30 December 2008 - 05:51 PM Edited by Gunzen-R, 30 December 2008 - 06:08 PM.

Doesn't work for me too. I open a file in playerped.rpf, export the texture, import a new one with the same size, I click on save and close, then I select the .wtd and save it. I launch the game, load my save, but at the end of the loading, when normally there is the name of the last mission we did which display, the game crash confused.gif

I've patched the game with Magic Patcher.

EDIT : I've disabled the read only and now it works perfectly :

user posted image

user21043
  • user21043

    Rat

  • Members
  • Joined: 13 May 2008

#193

Posted 30 December 2008 - 06:21 PM

QUOTE (the hubster @ Dec 30 2008, 17:35)
I was getting the error:
CODE
System.TypeInitializationException: The type initializer for 'SparkIV.Editor.Editors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SparkIV.Config.SparkIVConfig' threw an exception. ---> System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Rockstar Games\Grand Theft Auto IV\common\data\cdimages\SparkIV.Config.xml'.


When opening any file within an rpf.

Error was easily fixed by changing sparkivconfig.cs to have an absolute path instead of a relative path to SparkIV.Config.xml

Original code:
CODE

static SparkIVConfig()
       {
           Instance = XmlPersister.Load<Value.Config>("SparkIV.Config.xml");
       }


I am too lazy to look into why its using path relative to the file i'm opening and not relative to the app dir tounge.gif

I have same problem why???? sad.gif

Gunzen-R
  • Gunzen-R

    Mouhaha

  • Members
  • Joined: 18 Jan 2007

#194

Posted 30 December 2008 - 06:32 PM

Do you use Browse or Open to open a file ?

Gforce
  • Gforce

  • Members
  • Joined: 17 Sep 2003
  • None

#195

Posted 30 December 2008 - 06:36 PM

great work aru, works a treat for me, thx for adding texture importing biggrin.gif

user posted image

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#196

Posted 30 December 2008 - 06:50 PM

@the hubster... thanks, committed in a fix for that. Weird that I wasn't getting that error during my testing.

jessy-maus
  • jessy-maus

    Player Hater

  • Members
  • Joined: 27 Sep 2008

#197

Posted 30 December 2008 - 07:26 PM

user posted image
user posted image


You are the beste

Thank you so mutch

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

Glumok
  • Glumok

    8 years on GTAForums... Bordel de foutre !

  • Members
  • Joined: 04 Apr 2007
  • None

#198

Posted 30 December 2008 - 07:42 PM

Ok, I edited both IMG and RPF files (niko) and everything is fine !
user posted imageuser posted image
(yeah, I know, naked girls arn't absolutly needed. Hot Coffee tribute) smile.gif

Hollaz
  • Hollaz

    Bleh.

  • Members
  • Joined: 15 Feb 2007

#199

Posted 30 December 2008 - 08:10 PM

Absolutely great work on this tool. Never had any problems with it. But is it possible to export a "submodel" from a .wdd? That would be helpful if it was possible to do that. icon14.gif

xStalkerxx
  • xStalkerxx

    Player Hater

  • Members
  • Joined: 30 Dec 2008

#200

Posted 30 December 2008 - 08:20 PM

anyone knows where the comercials textures are located?
ya know the Sprunk, clucking bell, etc

aceship
  • aceship

    Just An Indonesian Scripter

  • Members
  • Joined: 20 Dec 2008

#201

Posted 30 December 2008 - 08:52 PM Edited by aceship, 30 December 2008 - 09:12 PM.

So, can we add new weapon model without replace it?
Are there any Google Sketchup Plugin to load wdr?

TheRealTRA
  • TheRealTRA

    Player Hater

  • Members
  • Joined: 22 Dec 2008

#202

Posted 30 December 2008 - 09:45 PM

I cannot preview any of the model formats. The application sort of freezes, as in it becomes unresponsive, like as if there is an invisible window on top of it, I cannot click it.

arthurc
  • arthurc

    They call me " The Janitor "

  • Members
  • Joined: 01 Nov 2008

#203

Posted 30 December 2008 - 09:49 PM

hey ! where are this textres of billboards , faces and other ??

Citizen-Eraser
  • Citizen-Eraser

    Player Hater

  • Members
  • Joined: 30 Dec 2008

#204

Posted 30 December 2008 - 10:25 PM

hey, thanks, it works good for me now in multiplayer, gonna make some skins for the team.

Create/Importe GTAIV skin in multiplayer

Open you common/data/ MalePlayerSetting.dat or FemalePlayerSetting.dat and set the new clothes if it s not done yet.
Or download the folder: GTA4 All Unlocks in Multiplayer

make a safe backup of your c:/progfile/R*/gta4/pc/model/cdimage: compenetped.img to a backup folder.

make another backup for moding,

lauch OpenIv (163) ,open folder from your desk compenentped.img for modding.
filter research with "mu" (multiplayer)
edit m_y_multiplayer or f_y_multiplayer to see all .wtd inside.
click on button save to extract a wtd in png in your desk, play it with photoshop, save it as the same name of texture: uppr_diff_001 _a.png for exemple,

click on the button " replace " and select your new skin, back to wtd images, click on " save ".

REBUILD the folder .
re open edition of compenentped.img m_y_multiplayer.wtd, select your new skin in list, click on " change level " set it to 1

REBUILD the folder .
exit OpenIV

PlayTheGame

gtaplayer_420
  • gtaplayer_420

    Player Hater

  • Members
  • Joined: 30 Dec 2008
  • None

#205

Posted 31 December 2008 - 12:13 AM

is there anyway you can add in your own radio music? or even create your own music station on top of whats already there?

BeatFK
  • BeatFK

    Kill the Beat My man

  • Members
  • Joined: 17 Dec 2008

#206

Posted 31 December 2008 - 12:38 AM Edited by BeatFK, 31 December 2008 - 01:05 AM.

Some pics using Spark last version.

user posted image
(this one was multiplayer... not single)

user posted image

user posted image

user posted image

user posted image

user posted image
(Manny's top clothes)

user posted image


I used some componentped clothes to apply on Niko. Some are photoshoped by the way. The screens are on High texture ingame.

Problem : when I set in medium or in low, the textures are just hideous, I mean more hideous than the original ones. I wasn't able to properly read the "FBI" in the back of Niko when I was in Low settings, even big it is. I guess for those who play in low/medium (I do), we'll have to make our own textures.

edit : As for the pedprops, It seems my sunglasses look just great !


Edit 2 : I tried with OpenIV, and the textures are not "damaged" when using Low or Medium level like it is on Spark (explained just before). Aru, you may wanna clear this out. Cause between us I prefer your interface biggrin.gif

aru
  • aru

    *poof*

  • Feroci
  • Joined: 20 Jun 2005
  • None

#207

Posted 31 December 2008 - 02:25 AM Edited by aru, 31 December 2008 - 04:06 AM.

New version 0.5.2, updated on the first post @ here.

Version 0.5.2 Features
- Support for editing textures embedded in Model (wdr) and HTML (whm) files (EXPERIMENTAL)
- Added View/Edit buttons. Default action is View now, so use the Edit
button if you wish to edit textures.
- Fixed bug with texture encoding producing low quality mipmaps.
- Fixed bug with loading SparkIV.Config.xml file

----

@BeatFK... I'm not sure how OpenIV generates its MipMaps or even if it does at all (I can't get OpenIV's Edit mode thing to work even on a local file with no readonly perms), but SparkIV was using a crappy algorithm for resizing the textures... so I fixed that in the new build. Ideally, SparkIV would support DDS import/export and let the image editing tools deal with the mipmap generation.

@Hollaz... that would require some pretty crazy code... none of which is in SparkIV currently. What are you trying to do anyway? Export the models to Max?

sallet
  • sallet

    Crackhead

  • BUSTED!
  • Joined: 31 Dec 2008

#208

Posted 31 December 2008 - 02:49 AM

well i froozed up. can someone give me the original w_bat_wdr and wtd files(model and texture)?

BeatFK
  • BeatFK

    Kill the Beat My man

  • Members
  • Joined: 17 Dec 2008

#209

Posted 31 December 2008 - 04:01 AM Edited by BeatFK, 31 December 2008 - 04:30 AM.

Oh yeah !!! WDR editing, that's nice and hot.


I tried to replace the wdr and the wtd of niko's face with brucie's.


That's what's born :

user posted image


It's not Brucie, it's not Niko, it's kinda Mix.

How can I effectively replace the face ? is there an other file commanding it ?


edit : I noticed when we change the texture inside the WDR, the geometry stays original. I changed both the _spec and the _normal. It seems some part of the face change, some don't. It lacks some kind of geometry editor or something.


as far as I can get :

user posted image

TheRealTRA
  • TheRealTRA

    Player Hater

  • Members
  • Joined: 22 Dec 2008

#210

Posted 31 December 2008 - 04:20 AM

QUOTE (TheRealTRA @ Dec 30 2008, 21:45)
I cannot preview any of the model formats. The application sort of freezes, as in it becomes unresponsive, like as if there is an invisible window on top of it, I cannot click it.

sooo.... no one knows?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users