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. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. 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] Yet another IMG Editor -- Spark


aru

Recommended Posts

Fantastic! I was waiting for something like this to come out, and BAM here it is biggrin.gif

 

A few things-

  • Try and eliminate the white flicker when changing from 1 txd to another
  • Could you have a Normal, Alpha, and Mixed views of the textures please
  • Importing and exporting textures (and as alphas)

This will probably be one of the best tools out there, so please update soon! biggrin.gif

 

PS. cookie.gifcookie.gifcookie.gifcookie.gif

Link to post
Share on other sites
Vercetti Gangsta
Very nice job! Could you also do it VC & GTA3 compatible?

Not to be a bitch or something, but could you please tell the answer for my question? smile.gif

Link to post
Share on other sites

The main reason I'm using this is for SparkCS.exe, which is nothing short of a stroke of genius. Thanks for a great tool! smile.gif

Link to post
Share on other sites

Good job, I've been using this a lot. Much handier than IMG. inlove.gif

 

Feature requests:

 

1. Rename Import to Add, I think it suits more. doesn't really matter a lot though.

 

2. Replace feature, like IMG's (add a new file in position of old file, so it doesn't add to the bottom of the img and you don't need to rebuild the archive).

 

3. A handy feature you already have in is that when you add a file to the archive and there's already a file with the same name in the archive, it will delete the old file and then add the new file. Make this use the Replace feature from #2 instead smile.gif.

 

4. Option to rebuild the archive.

 

5. Have these features available via right-click context menu: Add,[seperator], Delete, Rename, Replace.

 

This tool will truly be great with all of these suggestions implemented. And other's suggestions too.. mainly Cerbera's about the search window ph34r.gif

Link to post
Share on other sites

Thank you for all your comments... I'm working on adding a few extra things that were requested.

 

Voodooman, regarding DFF support, I believe the person you are reffering to is Majestic? I've talked to him on irc a while ago, and I know that his viewer program is in C++ and uses a core component of the DX SDK. It might not be too easy to convert it to be compatible with Spark... it might even be just as easy for me to write loaders.. I just don't have that much time to do it right now.

 

GTA3 and VC support.. I'm thinking about it.... it needs some design decisions as how to handle this with the "File->New" feature.

 

 

A few things-

 

Try and eliminate the white flicker when changing from 1 txd to another

 

Could you have a Normal, Alpha, and Mixed views of the textures please

 

Importing and exporting textures (and as alphas)

 

 

 

Sorry, Spark was never meant to do anything more than manupilate IMG archives. The TXD preview was a bonus, as a few people over here on the forums and on #gtamodding were desperately asking for it. The textures are converted to a GDI+ bitmap, so I technically don't have control over displaying the normal/alpha/mixed views... adding support for that would mean rewriting a significant amount of code. I would strongly recommend using Delfi's TXD Workshop to deal with importing/exporting textures... as it is a wonderful tool that works almost flawlessly.

 

 

Link to post
Share on other sites

Please do not do this:

 

 

1. Rename Import to Add, I think it suits more. doesn't really matter a lot though.

 

2. Replace feature, like IMG's (add a new file in position of old file, so it doesn't add to the bottom of the img and you don't need to rebuild the archive).

 

3. A handy feature you already have in is that when you add a file to the archive and there's already a file with the same name in the archive, it will delete the old file and then add the new file. Make this use the Replace feature from #2 instead smile.gif.

 

4. Option to rebuild the archive.

 

5. Have these features available via right-click context menu: Add,[seperator], Delete, Rename, Replace.

 

 

 

Thank you.

Link to post
Share on other sites

Yeh i use delfi's txd workshop too, it is fantastic - damn, i was really hoping for a blend of the two cryani.gif

 

I know how there are img tools all over the place, and txd tools here and there, but it is slightly inconveniant to have to search for a txd, then export it, then edit it in another program, then re-import it, just for the sake of a few images. I know that a mixed img modifying and txd modifying program will whisk up alot of praise and use from the modding community, so its a program needing to be made, and is therefore well worth making.

 

Even if you dont want to do it, couldn't you contact delfi, or release the source, to allow somebody else the chance to do it?

 

So, pretty please, with sugar on top, make it kooler sly.gif

Link to post
Share on other sites

This is my fav IMG editor so far smile.gif

 

I'd like to see the following (some of these have already been

mentioned by others)

 

 

Saved folder paths for import/export (sorely needed!)

 

Replacing Files - the ability to add a new file in the same position as the

old file you are replacing - instead of adding new files automatically to

the end of the archive. This is handy for adding certain cars you want to

spawn at the start of a new game for example

I'd like that as an OPTION only

 

If you implement the above I'd like to see a history of files that have

been added/deleted - either just for the current session or the past few

sessions. No IMG tool has had this feature I believe

 

Lastly, If you are adding mixed files (DFF & TXD) then have the DFF's

added before the TXD's. I'm not sure if this is a problem with SA - it

was in some instances with VC. Steve M made a comment about this

which I can't find at the moment

 

 

Looking forward to the update - keep up the good work smile.gif

Link to post
Share on other sites
  • 4 weeks later...

 

Hi Aru,

 

Most editors being made for GTA are released with shoddy interfaces, slow code and a myriad of bugs which can corrupt user's data.  Spark is one of very, very few where this isn't the case and as such it is gaining popularity.  People know when they find a good program and with a few refinements, Spark would be in a totally different league to any other IMG editor and become even more popular.  Tens of thousands of users would benefit from switching to Spark from their current editor and you could make that benefit even greater by putting it through one or two more development cycles.

 

The suggested improvements I made in the development thread would help to turn this from a 0.9 beta to a fully functioned and refined 1.0 release.  The success of my CFG Studio program shows that the GTA fans really do appreciate professional quality programs.  Taking that extra step with Spark would be well worth doing, imho.  If you intend to do computery stuff professionally, this is a project whose you could refer to. smile.gif

 

regards,

Ben "Cerbera" Millard

P.S.  Feel free to contact me over MSN at the address given in my contact details.

Hey,

 

Well, I have been extremely busy since I started work... that's why there has been no updates in a while. Most of the issues are not really crucial to the proper functioning of the program... but I'll get to your list of suggestions eventually.

 

Aru

Hopefully that answers your concerns. Aru intends to make a few more refinements to Spark but cannot find the time to do so. I doubt he will have time to create any major new features, though.

 

If VB.NET is free legally, I could get it and try making some tweaks to the program on Aru's behalf, if he allows me. I wouldn't release anything without his consent and I could only obtain the source code if he gives it to me. I'm not sure if VB.NET is radically different in syntax to VB6 but if it's generally the same, it shouldn't be too hard for me to make the little tweaks which I've suggested.

Link to post
Share on other sites
  • 9 months later...

Way to bump an ancient topic with no helpful content in your post. If it weren't for you, this thread would have still been open, but no, you had to ruin it.

 

EDIT: Thread left open.

Edited by Black-hawk
Link to post
Share on other sites
  • 10 months later...

Since I'm not maintaining this software anymore... I'm just going to post the source code as GPL in case it is useful to anyone.

 

Contains code in C# that may be of interest for:

1. Manupilating SA IMG archives including a few algorithms for memory-state maintenance, and greedy usage of free block space.

2. Opening/decoding SA TXD files

3. Decoding DXT1 and DXT3 images without any external dependencies.

 

Source (GPL): here

Edited by aru
Link to post
Share on other sites
  • 9 months later...

it's not working for me .

i have installed .net framework 1.1 properly

when i click on spark.exe nothing happens..

can you help me regarding this cry.gifcry.gifcry.gifcry.gifcry.gif

Link to post
Share on other sites

Anyways. can anybody explain me how to use console spark. cuz i'm goin to use

it in my mod installer..

 

any help would be highly appreciable

Link to post
Share on other sites

Have you updated your .netFW fully? Im not familiar with console spark.

 

You'd do the community better just writing a tutorial rather than creating another god awful mod installer :x

Link to post
Share on other sites
Have you updated your .netFW fully? Im not familiar with console spark.

 

You'd do the community better just writing a tutorial rather than creating another god awful mod installer :x

I kinda agree with Derty there. Whenever I see a mod installer, I'm getting worried. Those things just don't take previous mods or modded files into account. Had too many bad experiences with mod installers messing up my game. I'd rather do everything manually.

Link to post
Share on other sites

 

Have you updated your .netFW fully? Im not familiar with console spark.

 

You'd do the community better just writing a tutorial rather than creating another god awful mod installer :x

I kinda agree with Derty there. Whenever I see a mod installer, I'm getting worried. Those things just don't take previous mods or modded files into account. Had too many bad experiences with mod installers messing up my game. I'd rather do everything manually.

there's nothing so complex in my mod installer

 

see the mod installer's topic for the features

 

HERE

Link to post
Share on other sites
  • 3 years later...

IMG DATA\PATHS\CARREC.IMG

IMG DATA\SCRIPT\SCRIPT.IMG

IMG MODELS\CUTSCENE.IMG

??????????

 

this in the gta.dat if use the img tools what the line 4 ???()

Link to post
Share on other sites
  • 9 years later...

Dude Help Me Pls

Im Getting This Error

 

"Spark [gta3.img]"
X Unhandled exception has occurred in yout application. If you click
continue, the application will ignore trhis error and attempt to continue.
If you click Quit. the application will close immediately.

Non-negative number required.
Parameter name: value.
 

this is the detail

 

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

************** Exception Text **************
System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
   at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
   at d.b()
   at w.g()
   at w.q()
   at y.h()
   at y.m(Object A_0, EventArgs A_1)
   at System.Windows.Forms.CommandBarControl.OnClick(EventArgs e)
   at System.Windows.Forms.CommandBarControl.PerformClick(EventArgs e)
   at System.Windows.Forms.CommandBar.PerformClick(CommandBarItem item)
   at System.Windows.Forms.CommandBar.WndProc(Message& message)
   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.9151 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Spark
    Assembly Version: 0.9.2018.6703
    Win32 Version: 0.9.2018.6703
    CodeBase: file:///D:/Downloads/Compressed/New%20folder/Spark/Spark.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
    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.9147 (WinRelRS6.050727-9100)
    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.9136 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CommandBar
    Assembly Version: 2.1.0.0
    Win32 Version: 2.1.0.0
    CodeBase: file:///D:/Downloads/Compressed/New%20folder/Spark/CommandBar.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9153 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.


 

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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