Register

thpsX

still here.

News:

We out here.

Help with PRXReaper THUG PRO

498 8 normal post

Firestoned Offline

July 23, 2017, 02:10:23 PM
Newbie Posts: 5 Karma: 0
Hi guys I'm new in this forum so sorry if I'm posting in a wrong place !!
I found a .exe called PRXReaper to extract  prx's files of thug pro so my question is how can I compile it after decompiling the prx?

When I extract the prx file appears folders and when I finish editing the folders how can I compile it back to a prx file?
CHEERS FOR BEERS

Re: Help with PRXReaper THUG PRO

Reply 1 July 23, 2017, 04:24:17 PM
Hi guys I'm new in this forum so sorry if I'm posting in a wrong place !!
I found a .exe called PRXReaper to extract  prx's files of thug pro so my question is how can I compile it after decompiling the prx?

When I extract the prx file appears folders and when I finish editing the folders how can I compile it back to a prx file?

To my knowledge, there is not a public tool that allows compiling of THUGPro's PRX files, but you can decompile and null the PRX then put the qb scripts in the corresponding folders of the game, and run the game off scripts that way. In order to do this you will need a way to disable the updater though.

Find mods and tutorials by me at www.tnthps.us

Re: Help with PRXReaper THUG PRO

Reply 2 July 23, 2017, 07:17:56 PM
This tool that Gone made can pack and unpack files from PRX's from multiple TH games.
https://cdn.discordapp.com/attachments/277684355994746891/286272899315138560/PreTool1_1.zip

Re: Help with PRXReaper THUG PRO

Reply 3 July 23, 2017, 11:32:55 PM
I use the program PreTool and i extract the qb files and decompiled it with roq.exe but when I end the edition to compile again the txt file didn't work.... appears a dumb file.... in resume I can open edit the qb file but can't compile it again... so close....  my objective it's modify the  file " physics.qb " but when I edit it can't compile it again... just decompile :-\ :-\
CHEERS FOR BEERS

Re: Help with PRXReaper THUG PRO

Reply 4 July 24, 2017, 12:23:26 AM
I use the program PreTool and i extract the qb files and decompiled it with roq.exe but when I end the edition to compile again the txt file didn't work.... appears a dumb file.... in resume I can open edit the qb file but can't compile it again... so close....  my objective it's modify the  file " physics.qb " but when I edit it can't compile it again... just decompile :-\ :-\

It doesn't need to be re-compiled to run scripts. If you decompile it, then put the qb folder in the data folder with the modded physics.qb where it belongs then you can run the game off of those scripts if your updater is disabled.

Find mods and tutorials by me at www.tnthps.us

Re: Help with PRXReaper THUG PRO

Reply 5 July 24, 2017, 04:12:09 PM
That's not the problem, when I have the physics.qb in my hands i decompile it using roq.exe and the program (roq.exe) give me a new file called Physics.txt that file I open it with notepad++ and without problems I edit it changing the values etc... THEN when I finish editing the decompiled physics.txt I CANT compile it again and i need compile physics.txt to transform it to physics.QB for then import it in the game... That's the problem...
Wait I'm going to be more clarity
In the direction THUGPro/data/pre exist a PRX file called "thugpro_qb.prx" I took that file and I use PreTool to OPEN IT when I open it I can see the qb's files and one of those qb's files it's physics.qb so, I extract physics.qb to my desktop and then using roq.exe I decompile it and physics.qb pass to physics.txt, I open physics.txt with Notepad++ or anything program like notepad and I can edit the values of the physics of the game like gravity or that things, THEN when i finish edition of the physics.txt obviously I need to COMPILE IT again to get back a new physics.qb modified to import it again in "thugpro_qb.prx", so the only problem of this is I can't compile the physics.txt again to physics.qb becouse when i try compile it again using roq.exe appears a new file called "temp.dumb" and that files its empty.. i don't know im so close to make it but that happens USING PRO TOOL..... if I use PRXReaper program with the file "thugpro_qb.prx", the program create a new folder called QB, into that folder contains some folders and the qb's of thugpro_qb.prx, so I take physics.qb ans I decompile it using roq I edit it and I compile it again but when I compile it appears the same file called temp.dump ..  as you can see guys I have 2 ways to do this one with PreTool and the second it's using PRXReaper... so that's the problem...
« Last Edit: July 24, 2017, 04:37:00 PM by Firestone »
CHEERS FOR BEERS

Re: Help with PRXReaper THUG PRO

Reply 6 July 24, 2017, 09:00:47 PM
That's not the problem, when I have the physics.qb in my hands i decompile it using roq.exe and the program (roq.exe) give me a new file called Physics.txt that file I open it with notepad++ and without problems I edit it changing the values etc... THEN when I finish editing the decompiled physics.txt I CANT compile it again and i need compile physics.txt to transform it to physics.QB for then import it in the game... That's the problem...
Wait I'm going to be more clarity
In the direction THUGPro/data/pre exist a PRX file called "thugpro_qb.prx" I took that file and I use PreTool to OPEN IT when I open it I can see the qb's files and one of those qb's files it's physics.qb so, I extract physics.qb to my desktop and then using roq.exe I decompile it and physics.qb pass to physics.txt, I open physics.txt with Notepad++ or anything program like notepad and I can edit the values of the physics of the game like gravity or that things, THEN when i finish edition of the physics.txt obviously I need to COMPILE IT again to get back a new physics.qb modified to import it again in "thugpro_qb.prx", so the only problem of this is I can't compile the physics.txt again to physics.qb becouse when i try compile it again using roq.exe appears a new file called "temp.dumb" and that files its empty.. i don't know im so close to make it but that happens USING PRO TOOL..... if I use PRXReaper program with the file "thugpro_qb.prx", the program create a new folder called QB, into that folder contains some folders and the qb's of thugpro_qb.prx, so I take physics.qb ans I decompile it using roq I edit it and I compile it again but when I compile it appears the same file called temp.dump ..  as you can see guys I have 2 ways to do this one with PreTool and the second it's using PRXReaper... so that's the problem...

The roq tool can't compile thugpro qb's. I don't know of any public tool that can, but you can get a copy of thug2's physics.qb and do whatever mods you want to that one and it'll run just fine in thugpro. The roq tool will have no problem compiling thug2's qb scripts. That's how I started out modding thugpro.
« Last Edit: July 24, 2017, 09:02:55 PM by BlazE »

Find mods and tutorials by me at www.tnthps.us

Re: Help with PRXReaper THUG PRO

Reply 7 July 27, 2017, 05:46:20 PM
Yo blaze i made all, I null the thugpro_qb and paste qb and code files in to data folder of thug pro but when I press thugpro.exe the game freeze in black...

But don't care I will find a solution :)
CHEERS FOR BEERS

Re: Help with PRXReaper THUG PRO

Reply 8 July 29, 2017, 02:24:51 AM
roq.exe cant compile files that don't have names for their checksums.

Open the script you want to decompile and check if it has a table at the very bottom using a hex editor.
if a table exists you'll see checksums and names as a table.
If a table does exist take the original thug2 script with the same name, open it in a hex editor and scroll up from the bottom. You're looking for 012B which is the start of the checksum table.
Copy (hex side) from that point to the end and paste (hex side0 it at the bottom of your compiled script. Then decompile.
If any checksums remain, copy each and give each a unique qbkey so you can then manually edit the original value back in after you compile.


thpsX Home Park Uploads Skater Uploads