QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

Customize Grand Theft Auto's LUA Scripts for mods?

This is a discussion on Customize Grand Theft Auto's LUA Scripts for mods? within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; I've been sifting through the GTA:VCS and stumbled on a bunch of LUA scripts that are used for multiplayer modes ...

Reply
 
LinkBack Thread Tools
Old 07-15-2009, 08:38 AM   #1
 
mach_kernel's Avatar
 
Join Date: Jan 2009
Location: New York
Posts: 54
Trader Feedback: 0
Lightbulb Customize Grand Theft Auto's LUA Scripts for mods?

I've been sifting through the GTA:VCS and stumbled on a bunch of LUA scripts that are used for multiplayer modes and other parts of the game. I think that if you could modify these files you can probably give yourself some perks, custom weapon spots, whatever. I'm not in it for the cheats, just for the curiosity.

Download .LST Dumps


If anybody knows anything about LUA, please try and help me. I've successfully been able to dump the encrypted files to listings and if you want ASM code I can do that by request. I need help compiling these listings to normal LUA code so that we can tinker with these files. ChunkSpy doesn't recognize the chunk platform which indicates some custom version of LUA used although this program targets LUA v5.01. I probably do not know how to use the --rewrite argument properly or something of that nature because it shows me 0kb files. I will try some more later. Thanks!

----------------------------------------
How to Dump GTAs LUA Scripts!

Requirements
  • A Copy of Grand Theft Auto: Vice City Stories (to get the LUA files from). Could also work on GTA:LCS (thanks for bringing that up joseph10444)
  • ChunkSpy (direct link) - [Win32] / [LUA]
  • Preferrably a Windows Computer. If you'll be using the LUA version the commands will be the same but the way you'll launch ChunkSpy will not. If you don't have a Windows machine, skip over to step two.

Instructions
  1. Open up a command prompt window and navigate to where you saved and unarchived your ChunkSpy zip. Navigate to the folder 5.0.2 (version I used, you could try 5.1-work6 if you'd like). Make sure you are in the same folder as the ChunkSpy executable.
  2. To decrypt a file you must type in and adapt the following command. Fill in the directories with the appropriate names. Output file should be a .lst but I guess it could be any extension. Openable by Notepad/Wordpad, although Notepad++ is better.
    Code:
    chunkspy FILE DIRECTORY --auto -o OUTPUT FILE DIRECTORY
  3. Repeat for all the files. I did this for all of them because the server with my copy of Visual Studio was down and I forgot that the express editions are available, but I realized this too late or I would have made an automation program.


Last edited by mach_kernel; 07-16-2009 at 07:45 AM..
mach_kernel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2009, 02:41 PM   #2
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

cool thanks!
too bad i only have lcs
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2009, 02:48 PM   #3
 
Join Date: Jul 2009
Posts: 16
Trader Feedback: 0
Default

Very good work! I'm very surprised no one else has realized this yet! This could lead to a lot of fun and JUST MAYBE a huge assault of cops coming after you just like in the console versions!
Purespeed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2009, 03:17 PM   #4
 
mach_kernel's Avatar
 
Join Date: Jan 2009
Location: New York
Posts: 54
Trader Feedback: 0
Default

Quote:
Originally Posted by joseph10444 View Post
cool thanks!
too bad i only have lcs
It's possible for LCS too, so don't feel left out. Changing the post title.
mach_kernel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2009, 05:04 PM   #5
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

cool thanks
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2009, 05:41 AM   #6
 
mach_kernel's Avatar
 
Join Date: Jan 2009
Location: New York
Posts: 54
Trader Feedback: 0
Default

UPDATE: I've been able to also disasseble GTA:LCS LUA files.

What needs to be done next is to see if it is at all possible to compile these listings to editable non bytecoded script files or to modify the files in a HEX editor according to the listings. I'll attempt the second option because I don't know how to go about the first. Any ideas?
mach_kernel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2009, 07:20 AM   #7
 
ieuan's Avatar
 
Join Date: Feb 2009
Location: Uk
Posts: 112
Trader Feedback: 0
Default

hey guys you could be onto something here! i hope so!
ieuan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2009, 05:27 PM   #8
 
mach_kernel's Avatar
 
Join Date: Jan 2009
Location: New York
Posts: 54
Trader Feedback: 0
Default

I have no way to test these files since they require an AD-HOC connection to another PSP playing GTA:VCS. Any ideas on how to fake this. I will give the files and some instructions later on. I have to run out for a little bit before to get some air.
mach_kernel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2009, 11:22 AM   #9
Enter Custom Title
 
Join Date: Jun 2006
Posts: 268
Trader Feedback: 0
Default

some news on this?
PSPfreakX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-15-2009, 07:05 PM   #10
 
mach_kernel's Avatar
 
Join Date: Jan 2009
Location: New York
Posts: 54
Trader Feedback: 0
Default

Sorry folks my school has been very demanding of me and I had no time to do this. If I could get some help it would be appreciated, I can no longer do this alone.
mach_kernel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-15-2009, 07:12 PM   #11
PSP-UMD-PC-LIVE GREEN!
 
larryr's Avatar
 
My Mood: Cynical
Join Date: Jun 2009
Real First Name: Larry
Location: Canada, duh
Just Played: Too many to say
Posts: 343
Trader Feedback: 0
Default

I wish I could help mate. I have two PSP's and can test the Ad-Hoc if you'd like.
larryr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
auto , customize , grand , lua , mods , scripts , theft

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 01:11 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us