X-Seti Posted December 14, 2005 Share Posted December 14, 2005 Hey mckay I was told you have my IMG files hacked and was wondering if I can get them back. Also I think I might have a plan or idea on how we can use the files in the LCS img files in the PC versions of VC and SA and 3 but of course I need the files first I really think I have a plan here. Please Please get back to me right away. Ok, this goes to all who are wondering about the PSP version of LCS. GeorgeHenry: I don't have your img.files, I have my own I cracked the PSP with the help of a USB cable and downloaded what I needed. The bad news is that the game format for the PSP is not like anything we have seen before, there are no dffs or txds in the img.file only tffs, there is only one ipl, a track ipl. the rest of the map ipl is hard coded. . Link to comment Share on other sites More sharing options...
tonywob Posted December 14, 2005 Share Posted December 14, 2005 I second that The img archive file looks encrypted, and all IPL files are in binary format. Link to comment Share on other sites More sharing options...
X-Seti Posted December 14, 2005 Author Share Posted December 14, 2005 3rd one that. The img.file can be accessed, but whats to be done with the new tiff's format? is it a merge of txd and dff ? . Link to comment Share on other sites More sharing options...
tonywob Posted December 14, 2005 Share Posted December 14, 2005 Sounds like it, I'm going to connect my PSP up again and have another look. Do you honestly think it is worth doing though? Link to comment Share on other sites More sharing options...
X-Seti Posted December 14, 2005 Author Share Posted December 14, 2005 Well I already have one project going, I don't really wanna get into anything else until I finish GTA: State of Liberty. Shame we can't have a poll.. Who would want to see a PSP Mod?, Since we can't start a poll, just click GOOD or BAD on the rating, It's currently 50%, oh and post a comment. Lets see what everyone else has to say . Link to comment Share on other sites More sharing options...
NathanHenry Posted December 14, 2005 Share Posted December 14, 2005 (edited) Thanks for answering my question McKay and I would love to see a PSP map mod if you need any help please look me up I do have the files of Liberty City Stories just as well as my friend me and him can help you out. But how did you hack the IMG files to take a look at the tff files. I would really like to see the tff files for myself I could probably help out with finding out more about the format tff my dad is a computer wizard and knows alot of things. GOOD Edited December 15, 2005 by [email protected] Link to comment Share on other sites More sharing options...
X-Seti Posted December 15, 2005 Author Share Posted December 15, 2005 Thanks for answering my question McKay and I would love to see a PSP map mod if you need any help please look me up I do have the files of Liberty City Stories just as well as my friend me and him can help you out. But how did you hack the IMG files to take a look at the tff files. I would really like to see the tff files for myself I could probably help out with finding out more about the format tff my dad is a computer wizard and knows alot of things. GOOD heh, Sorry mate, but that comment asks for stick!!! Why keep asking me stuff if you can ask you Dad Hehe . Link to comment Share on other sites More sharing options...
NathanHenry Posted December 15, 2005 Share Posted December 15, 2005 Well I just need to know how to hack it, it would be nice to know because i might want to help you out I mean I know about mapping and learning more about mission coding right now I just need to know how to hack the IMG file to look at the tff files. That is all I ask just to know how to hack the IMG files of Liberty City Stories thats all please help me out here. Well I am still getting a chance to ask him about the tff files right now but I really have nothing to show him since I don't have the hack on the IMG files that open them up so I do not think I can get much info on the tff file format unless my dad see's the tff files himself(well that is what he said). Link to comment Share on other sites More sharing options...
NathanHenry Posted January 4, 2006 Share Posted January 4, 2006 Hey Mckay it has been awhile and I was wondering I would like to get back into the whole crackng the files and stuff but I really really need to know how to hack the IMG files of Liberty City Stories I have all of the files with me now and I have been trying and trying to hack the IMG files but still nothing so PLEASE PLEASE PLEASE tell me how you hack the IMG files for Liberty City Stories please I am begging you I don't know any other way and I would like to help with solving the tff files. Link to comment Share on other sites More sharing options...
Quadropheniac90 Posted January 4, 2006 Share Posted January 4, 2006 Well, for the ones who bought a PSP just for GTA, yeah, a mod would be nice. But I'm one of the people who wouldn't buy a console just for one game. It would be nice if State of Liberty would be on consoles too. But I think PSP can only handle little map mods. Link to comment Share on other sites More sharing options...
Mayhem- Posted January 5, 2006 Share Posted January 5, 2006 Well, for the ones who bought a PSP just for GTA, yeah, a mod would be nice. But I'm one of the people who wouldn't buy a console just for one game. It would be nice if State of Liberty would be on consoles too. But I think PSP can only handle little map mods. WTF is state of liberty? i dont think its possible to mod LCS. is it a merge of txd and dff ? no, TIFF is a image file format. Link to comment Share on other sites More sharing options...
Opius Posted January 5, 2006 Share Posted January 5, 2006 File extensions are only there for identification, the internal data can be whatever you want. In this context, no-one knows what TIFF is. Link to comment Share on other sites More sharing options...
DexX Posted January 5, 2006 Share Posted January 5, 2006 although i wholeheartily doubt any kind of PSP modding is possible, maybe someone could upload a couple of these TIFF (is it TFF or TFF? both are mentioned) files, so the whole community can look at them. Link to comment Share on other sites More sharing options...
DeeZire Posted January 5, 2006 Share Posted January 5, 2006 (edited) Anyone managed to decompile main.scm from the PSP? I tried by a little hex editing and eventually managed to get the first two segments to decompile in Vice Builder then it hung with an 'opcode out of range' error which I couldnt fix. All I actually want to do is port some of the missions into SA (Trash Dash, Car Salesman etc) without having to try writing them from scratch. I have managed to convert the radio stations to .mp3 format which Ive stuck on my mp3 player with some help from Sony's SonicStage software and a nice utility that converts AT3 files. You can also open up the ENGLISH.GXT file with the GXT editor thats used for Vice City, format is the same. Pretty sure TIFF image files can be viewed in Apple's QuickTime Picture Viewer, but havent tried. Rather than use a SCRIPT.IMG file containing external scripts like SA, LCS uses LUA Scripts for the multiplayer game types (they are in their own folder) so converting those to another GTA game's scm format would be very tricky and time consuming. Any help with the main.scm appreciated, unless someone wants to help me write those missions from scratch Edited January 5, 2006 by DeeZire Link to comment Share on other sites More sharing options...
lloyd Posted January 5, 2006 Share Posted January 5, 2006 (edited) omg! can i get myself some of them radio stations!? i can give you a server to upload to if you need one. i just really love that lips 106 song "love is the feeling, its the same, diffrent world' somthing like that. also......cant you upload all this somewhere. i wouldent mined a look Edited January 5, 2006 by lloyd Link to comment Share on other sites More sharing options...
DeeZire Posted January 5, 2006 Share Posted January 5, 2006 Sorry, dont want to upload them as that wouldnt be proper If you have LCS I posted instructions for converting the audio in this post;- http://www.gtaforums.com/index.php?showtopic=224456 Still looking for help with the SCM Link to comment Share on other sites More sharing options...
lloyd Posted January 5, 2006 Share Posted January 5, 2006 i have the game, i have a psp. i just dont know how to get the files onto my computer, and or decompile them. Link to comment Share on other sites More sharing options...
tonywob Posted January 5, 2006 Share Posted January 5, 2006 I converted the radio stations and placed them on my iPod, great to listen when your driving (As long as you don't actually think you are playing GTA). Vice city's are the best though, IMO I had another look last night, and alot of the information is simply hard-coded into the program. For example, the file paths which are part of "gta.dat" are hardcoded. I didn't find the .dir file, so I am only guessing that they are either hard coded, or are in some unknown format in the lvz files. If anyone has found it, then please share where you found it As noted earlier, the .scm file is present. There are separate img archives for each area, which I presume are loaded into memory as you pass from one island to the other. Each has an accompying .lvz file which I imagine contains item placements, car placements, etc. There is also a separate img archive containing character models and textures. The textures look they are easily readable, but I haven't attempted to load these. Character models have the same body part names as DFF models, but the format is different. Another interesting thing I noticed, which I know has been mentioned before. There are references to Vice City everywhere, e.g. The filepaths for oceandrv.ipl, haiti.ipl are still present in the executable. There are also loads of debugging messages, some are quite funny to read, e.g. "You've taken the disk out, moron". LCS was obviously built on top of Vice City's Engine, which has been made obvious by Edison Carter's cheat device. If there are CRC checks in the executable then this will be extremely difficult, if not impossible to mod. Rockstar obviously had to make filesizes as small as possible, as placing paths inside the executable and using binary only formats optimize GTA to run on the PSP. Personally, I think it is a waste of time trying to mod this. We have most of Liberty City on the PC anyway, and creating the new areas is a fairly easy thing to do, especially for some of the experienced modellers on here. It would be good to get some of the missions ported, but again these can simply be copied or ported from the current .scm file. TIFF files are images that can be viewed in any good image viewer, I doubt this is the same format used in LCS. Link to comment Share on other sites More sharing options...
DeeZire Posted January 5, 2006 Share Posted January 5, 2006 tonywob, any ideas on decompiling the main.scm file? Know anyone that has/could? Im not looking to mod LCS, what I want to do is port a couple of the missions into San Andreas to save me the hassle of writing them from scratch. Link to comment Share on other sites More sharing options...
NathanHenry Posted January 5, 2006 Share Posted January 5, 2006 let you all know is that the format Mc-Kay is talking about is TFF not TIFF but to tell you the truth I don't think Mc-Kay actually opened up the IMG files because every time I ask him he always ignores me and know one else knows how to hack the IMG files. Link to comment Share on other sites More sharing options...
NathanHenry Posted January 5, 2006 Share Posted January 5, 2006 sorry to double post but actually I just thought of something well taking another look at the IMG files when you try to open up like UNDERG.IMG and COMMERZ.IMG and the other IMG files in the models folder it says it needs the DIR file for it but when you open up the CUTS.IMG file which has a CUTS.DIR file with it the IMG opens up but shows no names at all plus it says it is 0 kb. Now just some things where could the DIR files possibly be inside the GTA:LCS files because without the DIR files to the IMG files it won't let you open it up and it also doesn't use that IMG if it doesn't have the DIR file so could it be possible that the LVZ files could either contain the DIR file or could be the DIR file for the IMG files like for example could UNDERG.LVZ be the DIR or contain the DIR file for UNDERG.IMG or could it be one of those BIN files EBOOT.BIN or BOOT.BIN? Link to comment Share on other sites More sharing options...
tonywob Posted January 5, 2006 Share Posted January 5, 2006 (edited) I'm guessing they are hard-coded, although Jesse Gunther noticed that you can open the cuts.img file as it has a Directory File. At another guess, maybe the zone img files simply don't have filenames, and they are referenced solely by numbers Edited January 5, 2006 by tonywob Link to comment Share on other sites More sharing options...
lloyd Posted January 5, 2006 Share Posted January 5, 2006 getting back on track for no0bs. how do i get the files? because i want the radio and to do what you guys are. Link to comment Share on other sites More sharing options...
[email protected] Posted January 5, 2006 Share Posted January 5, 2006 (edited) The ifp format seems to be mostly the same, Kam's ifp IO can open it. Every .ifp has a .dat and a .cut-file. The .dat seems to contain a lot of coordinates in some kind of C syntax, a line ends with a ; (semicolon in English I thought). The Cut seems to contain some extended info such as text and what objects are used in the animation. Strange: 1, csmarb, csmarb csmarb is called twice, what imo means csmarb.dff and csmarb.txd (or whatever format they are), not one tff. Edit: I imported an ifp, it completely works Edited January 5, 2006 by [email protected] Link to comment Share on other sites More sharing options...
edisoncarter Posted January 7, 2006 Share Posted January 7, 2006 The mission script coding has some changes. I was trying to figure out some of the mission script for vigilante missions and I was finding that instead of "opcode - fieldsize - parameters", the fieldsize was missing and it had just "opcode - parameters". I was trying to find the code for start mission, but unlike the previous games, there didn't seem to be any use of that opcode number. They hardcoded almost all the config files in C code to make the game load faster. When you were waiting for that progress bar in San Andreas, you were waiting for a whole bunch of fscanfs to process all those text config files. They couldn't have had that slow of loading on a portable game system. I wasn't able to find even a single use of scanf in LCS. All their debug status and error messages are still in the ELF. They call no-op functions that just return. They come in handy a lot for finding stuff. Not as good as having full symbols of course, but way better than nothing. Yeah, there's a lot of Vice City stuff still in there. Paths to files that don't exist anymore, lots of Haitian and Cuban stuff, Ocean Beach, etc. Link to comment Share on other sites More sharing options...
DeeZire Posted January 7, 2006 Share Posted January 7, 2006 It also uses 020106h to identify the start of the segments (Vice used 020001h) and it uses different data type seperators too. I think it defines 109 objects and 118 missions from what I did manage to decompile. With the PS2 release now being announced, I still think theres some mileage to be had out of trying to decompile it Link to comment Share on other sites More sharing options...
ADePSP Posted January 7, 2006 Share Posted January 7, 2006 How do you get the radio station files off the UMD and onto your computer...? In actual fact, how do you get any of this stuff off the UMD...? I thought you could only access the memory stick from a PC...? Link to comment Share on other sites More sharing options...
Acoustik Posted January 7, 2006 Share Posted January 7, 2006 Hello ADePSP ! For take the radio station files on the umd you take a "UMD Dumper v0.2.0" on the Firmware 1.5 and you Dump the LCS UMD!!! After you paste all part of the iso (depend of the size on memory stick) with "concat.exe" in the Zip of UMD Dumper... And open the iso with deamons tools!!! Enjoy It !! Sorry for my bad english i'm French ! Link to comment Share on other sites More sharing options...
King78278 Posted January 7, 2006 Share Posted January 7, 2006 Will this "UMD Dumper" in any way stuff up my UMD, PSP, and/or my save games/memory stick? Link to comment Share on other sites More sharing options...
siddv Posted January 7, 2006 Share Posted January 7, 2006 here is a crazy theory: maybe the reason that the imgs wont open has somthing to do with firmware 2 and above, i think the firmware has some build in software for opening the imgs (because gta wont work on below 2 firmwares) - probably wrong Link to comment Share on other sites More sharing options...
Recommended Posts