THPS4 Modding?

General/other thps modding discussion
Rayden
Posts: 4
Joined: Fri Aug 24, 2012 4:51 am
Contact:

THPS4 Modding?

Postby Rayden » Fri Aug 24, 2012 5:00 am

Hello!

I used to be a really avid thps4 gamer back in the day, but since things have moved on, I still go back to thps4 and play every once and again. I'm currently a game programmer and I've been coding my own games for a while, but I've always wanted to learn how to mod games like THPS4, so I was wondering if someone would be willing to take me under your wing and teach me. I've been messing around with THQB modding tool, but it won't let me save half of the scripts, although I was able to turn on / off some things. What I really want to achieve is bringing in levels from THPS3, THUG, etc. to work with THPS4. I just need to know what tools to use and how to use them, basically.

Anyways, if someone out there could help me, I would really appreciate it. I've always wanted to learn how to mod games, so I thought you guys would be the right people to talk to.
ZurePitchmen83
Posts: 158
Joined: Mon Jul 30, 2012 9:18 am
Location: USA
Contact:

Re: THPS4 Modding?

Postby ZurePitchmen83 » Fri Aug 24, 2012 10:08 am

I might be able to help to converting levels, there's a tool for converting THUG1 Models, but it only works for Goal Objects/Characters, go to http://thmods.com for more info
Also for some scripts, THQB won't work, so use Roq QB Explorer, it can be found on this site
THPS4 Level Expansion Pack, THUG2 710 Mod 1.0
Modding and Model ripping since 2009
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: THPS4 Modding?

Postby Demo » Fri Aug 24, 2012 3:03 pm

THQBEditor is designed to work with THPS3 only and currently doesn't support other games. As stated above, for other game roq compiler is used.

there are no fully working converting tools available for thps4 (only thug1->thps4 without collision and some converters to obj format). if you want to do something more than view models in 3ds max, you "just" need to write 'em. few ppl really tried this.

the only custom maps project in th community you can find here for THPS3
http://www.chapter-3.net/thps3/site/dis ... =19&t=2677

my advice - read through thmods.com and thps-mods.com - everything public in th modding community is there.
Last edited by Demo on Fri Aug 24, 2012 3:11 pm, edited 1 time in total.
Rayden
Posts: 4
Joined: Fri Aug 24, 2012 4:51 am
Contact:

Re: THPS4 Modding?

Postby Rayden » Fri Aug 24, 2012 3:07 pm

I tried using the Roq explorer, but it confused the hell out of me. I'm figuring I have to convert the qb file to a txt file, but when I did so, sometimes it would be a small file around 90kb and still be converting past 1gb until I ended it. Even if I did let the file keep converting until it was 1-5gb, how would I go about opening it? are there text editors that open files that big? o.O

If you have an instant messenger, please send me a pm with your username and messenger so I can get a hold of you. That way I can just ask you questions instantly as I get stuck. Thank you! :D
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: THPS4 Modding?

Postby Demo » Fri Aug 24, 2012 3:21 pm

to be clear, roq tool edits game scripts which is a really small part in your final goal. it may allow you to edit trick names and scores, physics, colors. some more advanced stuff implemented in Anteara mod and Morten's level editor for thug2.

to use it:
- place qb file in roq's directory
- run "roq cmd.exe"
- click your file in "choose file to decompile"
- press decompile
- it will generate a text file that you can edit and recompile.
Rayden
Posts: 4
Joined: Fri Aug 24, 2012 4:51 am
Contact:

Re: THPS4 Modding?

Postby Rayden » Sat Aug 25, 2012 12:37 am

ZurePitchmen83 wrote:I might be able to help to converting levels, there's a tool for converting THUG1 Models, but it only works for Goal Objects/Characters, go to http://thmods.com for more info
Also for some scripts, THQB won't work, so use Roq QB Explorer, it can be found on this site


What is the tool called? I'm looking through a lot of these mods/tools and I'm not familiar enough with the level file types, so I can't really tell what I'm looking for.
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: THPS4 Modding?

Postby WhoElseButMe » Sat Aug 25, 2012 1:09 am

Rayden, you used to frequent THLive.com when it was still active? You were making the skating game for xbox arcade?

Anyways, here is the link to roq's compiler tool version 2.1 also included in the package is roq command which is a GUI for roq.exe
For the older games you might need to use the -thug1 flag because if memory serves me correctly they don't have switch offsets either.
The tool wont work on every file simply because it doesn't support all data types like RandomRange, but for the most part you should be fine.
If a file continues to decompile without ending there is an error somewhere, perhaps an unknown data type that its still trying to handle but typically it will halt operation so I'm assuming it's due to needing the -thug1 flag and its trying to read switches improperly.

There isn't a tool that will allow you to just point to a level and out pops a THPS4 level, unfortunately like Demo stated you'll need to do the leg work yourself

As for text editors I use Notepad++
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rayden
Posts: 4
Joined: Fri Aug 24, 2012 4:51 am
Contact:

Re: THPS4 Modding?

Postby Rayden » Sat Aug 25, 2012 1:48 am

WhoElseButMe wrote:Rayden, you used to frequent THLive.com when it was still active? You were making the skating game for xbox arcade?


Yup, that's me! I was making Pixel Sk8er for the Xbox 360 Indie games. It's currently on hold for my new project called "Wave Cave" and I'm also working for people who used to make the THPS games. We are currently working on a new skateboarding game for mobile called "Epic Skater".

Epic Skater:
http://www.kickstarter.com/projects/4255142/epic-skater

A preview of Epic Skater:
http://www.joystiq.com/2012/08/08/former-neversoft-and-tony-hawk-developers-trying-to-kickstart-e/

Pixel Sk8er Footage:
http://www.youtube.com/watch?v=dyF_tsiimCU

Wave Cave Footage:
http://www.youtube.com/watch?v=PsSPsCYh ... e=youtu.be

My website:
http://www.chickopie.com/

Up Up Start's Website
http://www.upupstart.com/

And that's basically everything right now! Sorry if I come off as rushing when I ask questions, but as you can see I'm super busy with a ton of stuff, but I really wanted to learn how to mod older games, although I can only do that in my spare time. Thanks for the input though, I'm going to see what I can do! :D
Demo
Posts: 494
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: THPS4 Modding?

Postby Demo » Sat Aug 25, 2012 2:34 am

Rayden wrote: and I'm also working for people who used to make the THPS games. We are currently working on a new skateboarding game for mobile called "Epic Skater".


andythps detected

...well ok, that's offtop enough.

here's a small list of extensions to have idea what is what.

*.qb - scripts
*ska.dat - animations
*.prk - custom parks
*fnt.dat - fonts
*img.dat - images

*scn.dat - level mesh
*.mdl.dat - model mesh (peds, cars, etc.)
*tex.dat - textures
*col.dat - collision model

*cas.dat - don't know, might be cas description
*usg.dat - not sure if used, looks like a log

*.ske - skeletons

finally you need this, if it's about thps4 modding.
http://hackthps.it.cx/mod_tools/sources.zip
Anteara
Posts: 268
Joined: Thu Oct 14, 2010 2:55 am
Contact:

Re: THPS4 Modding?

Postby Anteara » Mon Aug 27, 2012 1:44 am

I haven't modded THPS4 before, but the qb format is generally the same as THUG2. As far as I know, the hardest thing about converting a level from game to game is not the level itself, but instead converting the collision. There has been a large demand for converting previous levels from thps4, thug1, etc in to THUG2, but it hasn't happened yet because afaik no one has figured out how to convert the col format yet.

I might be able to help to converting levels, there's a tool for converting THUG1 Models, but it only works for Goal Objects/Characters


Again, afaik, the only reason that you can convert ONLY Models (Goal Objects / Characters) is because they don't require a collision file. Levels, in fact do. You may be able to import the level in to thps4 but you won't be able to collide with it. This is what you will need to figure out.

The most educated people on this are probably Morten1337, Quazz, and WhoElseButMe, and Demo. They may be able to help you. But yeah, your best bet is to figure out the col format.

Also, I can't really help you on this, however, I will be able to help you with modding native thps4 things, i.e. through qb. So if you want feel free to add me on msn if you want to learn how to mod the game through qb.

Return to “Other THPS games modding”

Who is online

Users browsing this forum: No registered users and 27 guests