Quantcast

Jump to content

» «
Photo

[REL|V] Snapmatic Studio

26 replies to this topic
Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#1

Posted 19 April 2015 - 08:36 AM

Snapmatic uploading isn't working for me so I decided to investigate the format used to save these pictures. FYI they're located in \Documents\Rockstar Games\GTA V\Profiles\<your profile>\GTA5##########
One thing led to another and I ended up making a viewer with lots of features. Enjoy!

http://www.mediafire...atic_Studio.zip

2e3347404187157.jpg

 

P.S. Any feedback or suggestions are appreciated.

  • lpgunit, Blackbird88, George Costanza and 13 others like this

EvilFiend
  • EvilFiend

    Trying to change

  • Members
  • Joined: 20 Jul 2014
  • New-Zealand

#2

Posted 19 April 2015 - 08:44 AM

tmpIbbeyP.jpg

Id rather just screencap than use the stupid in game phone method. Were on PC no need to use a crap programme designed for consoles to be able to do what PCs have been doing for over a decade

  • Hylskriksen and TheMostKnowledgable like this

Ash_735
  • Ash_735

  • Members
  • Joined: 15 Nov 2005
  • None
  • Best Newsletter 2017 [GTAF Weekly]
    Contribution Award [GTAF Weekly]
    Contribution Award [Mods]
    Most Knowledgeable [GTA] 2013
    Best Map 2013 "ViceCityStories PC Edition"

#3

Posted 19 April 2015 - 08:52 AM

Ignore the negative dude above, this isn't bad, I'm sure the Snapmatic users, which this place has plenty of, will appreciate it, like the info capture as well, interesting to see what the game records when it saves these.
  • lpgunit, Blackbird88, George Costanza and 1 other like this

The_GTA
  • The_GTA

    revenclaw

  • Members
  • Joined: 27 Dec 2012
  • Germany
  • Modding Milestone [Magic.TXD]

#4

Posted 19 April 2015 - 09:15 AM Edited by The_GTA, 19 April 2015 - 09:15 AM.

I challenge you to create a meme snapshot.

 

Nice work on the viewer! The interface looks very natural.


George Costanza
  • George Costanza

  • The Yardies
  • Joined: 04 Jan 2009
  • None
  • [Rockstar Editor Awards 2017] Best Rockstar Editor Short
    Best Total Overhaul 2017 Contribution [GTA: Underground]
    l33t p05T3r 5t34l3r 2017
    Worst Sheep 2017
    Spam Commando 2017
    Best Conversion 2016 [GTA: Underground] [Contribution]

#5

Posted 19 April 2015 - 09:22 AM

Thanks homie!

2wpte9k.jpg

  • Blackbird88, The_GTA and Shoun like this

GTATAG
  • GTATAG

    Player

  • Members
  • Joined: 25 Mar 2015
  • None

#6

Posted 19 April 2015 - 11:40 PM

tmpIbbeyP.jpg

Id rather just screencap than use the stupid in game phone method. Were on PC no need to use a crap programme designed for consoles to be able to do what PCs have been doing for over a decade

What are you talking about? Take a second and appreciate Chipicao for taking part of the GTAV modding scene, especially now that's super early and there are practically next to 0 mods available.

On topic:

I can't see my snapmatic photos as well, not on disk or on cloud, very weird... Thanks for this mod, will try it.
  • Blackbird88 likes this

Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#7

Posted 20 April 2015 - 06:25 AM Edited by Chipicao, 20 April 2015 - 06:30 AM.

Thanks for the feedback guys.

 

I can see where EvilFiend is coming from. On PCs we're used to taking screenshots directly, without the hassle of going through the game menu and then upload pics to an online gallery or using 3rd party apps to export them.

But there are other benefits to having a dedicated in-game function, which I'm not gonna mention for the sake of defending my app. Those who get them, get them, otherwise nobody's forced to use "crap programs".

 

It's just too bad that R* decided to implement such a crappy resolution. I only realized after I had already researched the format. The files are 516KB in size, but for the most part the contain other data. The image itself weighs a lot less.

Imagine how cool it would have been if the game rendered pictures taken with Snapmatic at a much higher resolution, like 4 or 8 megapixels. Maybe with mods... :rol:

 

 

PS Thanks to whoever renamed and moved my topic to the appropriate section.

  • BlackScout likes this

gamerzworld
  • gamerzworld

    Why did I move here? I guess it was to sell Shark Cards.

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

#8

Posted 20 April 2015 - 11:15 PM

It's just too bad that R* decided to implement such a crappy resolution. I only realized after I had already researched the format. The files are 516KB in size, but for the most part the contain other data. The image itself weighs a lot less.

Imagine how cool it would have been if the game rendered pictures taken with Snapmatic at a much higher resolution, like 4 or 8 megapixels. Maybe with mods... :rol:

With the amount of Snapmatics that are uploaded to Social Club each day, it's understandable they'd want them at a lower resolution. A bit interesting that the "Game time" is supposedly year 2009 as the game takes place in 2013.

  • lpgunit likes this

Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#9

Posted 21 April 2015 - 05:50 AM Edited by Chipicao, 21 April 2015 - 06:01 AM.

It's 2013 if you look at pics taken in Online ;)

 

So maybe the single player campaign takes place in 2009 and Online events are 4 years later.

 

 

Was there ever an official confirmation about 2013?

IIRC after the very first trailer it was concluded that the game takes place during or after the recession, which in the US was 2007-2009.


gamerzworld
  • gamerzworld

    Why did I move here? I guess it was to sell Shark Cards.

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

#10

Posted 21 April 2015 - 12:35 PM

It's 2013 if you look at pics taken in Online ;)

 

So maybe the single player campaign takes place in 2009 and Online events are 4 years later.

 

 

Was there ever an official confirmation about 2013?

IIRC after the very first trailer it was concluded that the game takes place during or after the recession, which in the US was 2007-2009.

Online is actually supposed to take place a few months before the events of single player. I'm pretty sure 2013 is confirmed by one of the in-game websites.

  • lpgunit and gooby like this

Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#11

Posted 21 April 2015 - 07:42 PM Edited by Chipicao, 21 April 2015 - 07:47 PM.

Online is actually supposed to take place a few months before the events of single player. I'm pretty sure 2013 is confirmed by one of the in-game websites.

Someone clearly did something wrong. Someone at Rockstar :D
 
In the first snap you can see the time matches that in-store clock perfectly.
 
In the second snap the time matches the phone clock from the screenshot (off by a few minutes because I couldn't take both shots at once).
But most importantly, 21.06.2009 was in fact a Sunday as the phone says :) http://www.timeandda...nth=6&year=2009
 
85763d405055685.jpg 2ac527405055691.jpg

Of course this can all be a coincidence. But it's a darn big one.
Isn't there anything that shows a complete date in-game? A website or news station? I haven't had much time to play.

PatrickJr.
  • PatrickJr.

    SFM Artist

  • Members
  • Joined: 13 Jul 2005
  • United-Kingdom

#12

Posted 25 April 2015 - 08:24 AM

Nice lil application man <3

Mast3rsTutorials
  • Mast3rsTutorials

    Player Hater

  • Members
  • Joined: 20 Apr 2015
  • Australia

#13

Posted 26 April 2015 - 03:06 AM

This is really cool, I wanted to make a video extracter but don't know what format the videos are in.

lpgunit
  • lpgunit

    It's L, as in Lpgunit, not I.

  • Feroci
  • Joined: 24 May 2008
  • Philippines

#14

Posted 26 April 2015 - 03:46 AM

Any info on the format used for them pics i.e. if they're a modified PNG/TGA/JPEG or something like that?


gamerzworld
  • gamerzworld

    Why did I move here? I guess it was to sell Shark Cards.

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

#15

Posted 26 April 2015 - 04:14 AM Edited by gamerzworld, 26 April 2015 - 04:15 AM.

 

Online is actually supposed to take place a few months before the events of single player. I'm pretty sure 2013 is confirmed by one of the in-game websites.

Someone clearly did something wrong. Someone at Rockstar :D
 
In the first snap you can see the time matches that in-store clock perfectly.
 
In the second snap the time matches the phone clock from the screenshot (off by a few minutes because I couldn't take both shots at once).
But most importantly, 21.06.2009 was in fact a Sunday as the phone says :) http://www.timeandda...nth=6&year=2009
 
85763d405055685.jpg 2ac527405055691.jpg

Of course this can all be a coincidence. But it's a darn big one.
Isn't there anything that shows a complete date in-game? A website or news station? I haven't had much time to play.

 

Just a quick confirmation that it is supposed to be 2013. Seems like a dev did indeed f*ck up.
 

1739584430.jpg


Samutz
  • Samutz

    Undefined index: member_title in user_profile.php on line 1012

  • Members
  • Joined: 17 Sep 2003
  • Unknown
  • Contribution Award [SnP Site Design]

#16

Posted 27 April 2015 - 04:48 PM

Any info on the format used for them pics i.e. if they're a modified PNG/TGA/JPEG or something like that?

They are 960x536 JPEGs with an extra 292 bytes added the the beginning of the file (header information used by the game and RGSC). They can be converted to normal JPEGs by removing the first 292 bytes with a hex editor and adding .jpg to the file name. Photoshop, IrfanView, and some other image programs (but not all) can detect them as JPEGs and open them.

  • lpgunit likes this

Shoun
  • Shoun

    Damn bat

  • Members
  • Joined: 14 Feb 2015
  • Poland

#17

Posted 27 April 2015 - 06:46 PM

http://imgur.com/a/3urKo

Thx, m8!


Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#18

Posted 27 April 2015 - 07:02 PM Edited by Chipicao, 27 April 2015 - 09:50 PM.

Any info on the format used for them pics i.e. if they're a modified PNG/TGA/JPEG or something like that?

They are 960x536 JPEGs with an extra 292 bytes added the the beginning of the file (header information used by the game and RGSC). They can be converted to normal JPEGs by removing the first 292 bytes with a hex editor and adding .jpg to the file name. Photoshop, IrfanView, and some other image programs (but not all) can detect them as JPEGs and open them.


No, not quite. The actual file structure is like this:

int32 magicNumber //0x01000000
byte[256] //Unicode string in the form "PHOTO - date time" with padding
int32 crc
int32 eof
int32 jsonOffset
int32 titleOffset
int32 descriptionOffset
char[4] imageMarker //"JPEG"
int32 bufferSize
int32 imageSize
byte[imageSize] //actual JPEG image
byte[bufferSize - imageSize] //random leftover data from the gfx buffer
char[4] jsonMarker //"JSON"
int32 jsonLength
char[jsonLength] //image metadata
char[4] titleMarker //"TITL"
int32 titleLength //usualy 256
byte[titleLength] //title is actually a null-terminated string, but the rest is random filler-data
char[4] descriptionMarker //"DESC"
int32 descriptionLength //usualy 256
byte[descriptionLength] //again null-terminated with random padding
char[4] end //"JEND"


So it's not enough to remove just the first 292 bytes, you have to remove the end as well, relative to the JPEG size.



@Shoun YW :)
  • lpgunit and Blackbird88 like this

nyolc8
  • nyolc8

    -

  • Members
  • Joined: 12 Oct 2009
  • Hungary

#19

Posted 27 April 2015 - 08:59 PM

Why you have to remove the end as well? I made a converter app (just drag the files onto the window and it creates jpg files) and I only removing the first 292 bytes and it works nicely. Or how do you mean the end as well?

Chipicao
  • Chipicao

    Player Hater

  • Members
  • Joined: 15 Nov 2009
  • None

#20

Posted 27 April 2015 - 09:31 PM Edited by Chipicao, 27 April 2015 - 09:49 PM.

Because it's not all JPEG data till the end.
The image is only a fraction of the file; it has a specific length which you need to use if you want to extract it properly.

Yes, you can do a half-assed job and remove only the first 292 bytes. And it might work because some image viewers ignore the data at the end. But that doesn't make it right.

PS I've edited my previous post to include a complete and analytical file structure.
  • lpgunit likes this

PacketOverload_x64bit
  • PacketOverload_x64bit

    Ghetto Star

  • Members
  • Joined: 13 Mar 2010
  • Canada
  • Contribution Award [Mods]

#21

Posted 04 May 2015 - 05:28 AM

Any chance you can identify why Schatmatic only screens in half res? Great tool by the way! REALLY appreciate it good sir. Thanks.

Packet


Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#22

Posted 04 May 2015 - 09:53 AM

Uh! Very nice tool! Very thanks! :D


giveaccess
  • giveaccess

    Not New Member (Neutral)

  • New Members
  • Joined: 22 Jun 2014
  • United-States

#23

Posted 10 May 2015 - 07:54 PM

Ignore the negative dude above, this isn't bad, I'm sure the Snapmatic users, which this place has plenty of, will appreciate it, like the info capture as well, interesting to see what the game records when it saves these.

 

Did this guy get banned according to the "BUSTED!"?

 

Anyone nice tool! Now I can finally upload screenshots from my snapmatic photos to the steam "artwork".


TheNinth
  • TheNinth

    Player Hater

  • New Members
  • Joined: 06 Jun 2015
  • None

#24

Posted 06 June 2015 - 12:29 PM

I'd love to have features to change metadata and especially the JPEG contents.


Quakex64
  • Quakex64

    BadAss

  • Members
  • Joined: 25 May 2015
  • United-States

#25

Posted 27 July 2015 - 12:49 AM

Ive used this since I found it but I am now having difficulty trying to get it to stay open.. are there any requirements to having it work right like VC redist, or C++ thing?

video:


Maryo_Nicle7
  • Maryo_Nicle7

    Formerly known as Rizqan7

  • Members
  • Joined: 25 Jul 2013
  • Indonesia

#26

Posted 26 September 2015 - 08:22 AM

Seems epic, I'll try it soon :D :r*:

IPMl
  • IPMl

    Player Hater

  • New Members
  • Joined: 13 Dec 2017
  • Chile

#27

Posted 13 December 2017 - 05:10 AM

i just created an account to say thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users