Jump to content
We promise no intrusive ads, Please help keep the community alive
Consider supporting us by disabling your ad blocker / add to whitelist / purchasing VIP.

The Mattin's Mod Thread


Arnold Rimmer
 Share

Recommended Posts

  • Replies 93
  • Created
  • Last Reply

Top Posters In This Topic

I emailed the creator of the damage mod... In youtube it says he was online 8 hours ago, so that means he still is a alive and well.

 

I hope i get a reply back.

-------------------

 

Edit: Thanks to djey, camera views can be changed by Hex editing. I don't really know how to hex edit.. but it open the camera.bin file and everything seems to be there.

Link to comment
Share on other sites

Sorry if this is off topic but I just have a quick question. While poking around in the files, did any of you happen to see a way to enable the digital gauges in the cars suck as the Mustang GTR and Cadillac?

 

I think yes the Mustang GTR's can be enabled somehow cause i think on the Xbox 360 version has it working. :) I haven't played my TDU on Xbox 360 for a very long so im not 100% sure it works.

Link to comment
Share on other sites

Cha Ching! :thumbsup: Got a reply back from ' vfgdfg'

 

Here is what he said:

 

------------------------------

 

Hi,

 

unfortunately I'm really not a modder, this is my first "mod" actually, and it's not really a mod in a sense that it doesn't change any files. Instead it is an separate program that reads and changes the memory variables of the game, such as the car position, speed etc, much like a trainer, although the goal of the mod is just about the opposite of a trainer, the technology is the same. And I'm not that familiar with that either.

 

So anyway, you are now actually able to replace cars in TDU? That's cool. I haven't really been following things, I actually learned about the official carpack quite late.

 

But anyway, as far as I know it is a pretty common problem to actually add new vehicles to games without replacing old one. But I think they can today to games like Mafia and GTA, I guess you could try to contact to the modder communities of those and try to get some help from those guys.

 

At what state exactly are you with adding a new vehicle? Have you got the game to try to load it in and it just crashes, or?

 

Have you tried to analyze the carpack? Did it come with a new exe (probably not), anything related to the vehicles shouldn't really be hardcoded so it shouldn't need any changes in the exe really. But is there anything else that could be of help? What all does it change?

Anyway obviously it is possible to add vehicles since the pack dit it :)

 

I can look in to it a bit and take a look at your forum as well, but I'm quite busy and in the end I don't think I can be much of help.

 

Best Regards,

 

vfgdfg

------------------------------------

 

;)

Link to comment
Share on other sites

Ok... hope he'll come and help us.

 

But I am wondering how did he find exactly the car position, speed, etc... into the memory. For the moment I've only found the player names and their distance. :( (there must be advanced tools to do that).

 

The only moment where data is readable is when the game is running. Not very handy....

Link to comment
Share on other sites

Alright, hello people. I just tried out the Hummer H2 and it worked nicely, although the interior camera was a bit off:D So anyway the problem at hand as I understand is how to add the vehicle as new instead of replacing an old one.

 

Ok, so the vehicles are nicely in individual files, but there must be another file that lists all the cars/files (and possibly the number of them) for the game to be loaded (or alternatively it could be just scanning the vehicules folder for all files but I kind of doubt it). Have you found this file? Tool mentioned DB_US.bnk and I believe it was mentioned before in this thread, I opened it up with hex editor and it seems to contain a lot of normal readable text, so it doesn't appear to be encrypted to me. But I would assume that this particular file contains just the english translations for the game.

 

Also, have you seen any numeric ID's for the vehicles when you have been fiddling with them? I could try searching such a number in the memory and see what could be done with it. And if you are intrested in the program I use, pm me.

 

I'll have a look to some other files if I can find anything.

 

Regards,

 

vfgdfg

Link to comment
Share on other sites

Ok, some good news. It's a bit cheapish solution to the problem, but it works.

Just tried this:

1) Drive around with the Saturn Curve

2) Jump to Windows and go to your vehicules directory and replace the Curve files with the Hummer files

3) Go back to the game and to the garage. And the car will be Hummer.

4) Drive it around and then jump back to Windows, restore the original files

5) Go back to the game and to the garage. Car is Curve again.

 

So. what this means is, I could make a function to my tdumod so that when you press F5 or so, it says "Custom cars activated", and then your garages will be filled with custom cars. When you press F5 again it says "Default cars activated" and your garages will be back full of normal cars. Well, let me know if you're intrested in this.

Link to comment
Share on other sites

:thumbsup:

 

That would be great !

Moreover would it be possible to define with a simple user interface :

which cars to replace, by which modded files (exterior, interior, huds, sounds) and assign keys (or use F1 > F12 for example) ?

 

 

In game, press F2 : a "RS4 replaced by TT 2008" custom message appears. Go to the garage and TT 2008 is there - pressing F2 again later puts the RS4 back :)

 

 

We'll have to cope with the filesizes problems, but once this feature mixed with MAP Tool, possibilities are endless ! Let's hope Bnk1.map can be modified when TDU is running... I haven't tested yet in fact.

Link to comment
Share on other sites

Don't sound so excited Tool :P Yes I understand that your ultimate goal is to add cars to the game like they always were there, but this atleast circumvents the problem, you would have your original cars available at all times as well. Also I actually kind of doubt that the game would work online anymore when a completely new car is added. I mean the servers do watch what's going on, I've been thrown out a few times when developing the engine damage thingy.

 

Which actually brings me to a question which I didn't think of before, so do these vehicle mods just change the "shell", not the actual handling etc properties? Because I was able to exceed the revlimiter once when doing some testing and got pretty quickly thrown out :D So I think they must have a database of what the different cars can do and compare it to what is happening at the clients.

 

Anyway the actual implementation I was thinking is quite simple:

You would have your normal vehicules directory with the default files and then a separate vehicules_custom directory with all the car files too but replaced with the custom ones you want. And when you press F5 it renames the directories (vehicules->vehicules_default, vehicules_custom->vehicules, and so forth). Could do the same thing in the sounds folder, but I think there might be a problem. When I was fiddling with the sound mods sometime ago, I wanted to restore some original sound and tried to do it while the game was running and I think it did not reload it before restarting the game. Have to test this again.

 

Anyway it would be possible to even have many custom directories, like "banks" and you would change them from F5, F6, F7 etc :)

F1 and F2 atleast at the moment are reserved for enabling/disabling the damages and the offroad slowdown features, I would integrate this to the tdumod and not do a separate mod, but tdumod is configurable so if you are not intrested in the other features you can just disable them in the ini file.

Other ways are ofcourse possible as well and the ini file can be utilised for custom settings, but atleast replacing individual cars with key presses sounds a bit cumbersome, no?

 

I'm not familiar with the bnk1.map file yet but it's possible to modify that ofcourse as well, but as you said, no idea if the game will reload it. I was actually a bit suprised that it reloads the vehicles.

 

Okay anyway, this thing shouldn't be a very hard thing to implement at all, so I will see if I can make it happend in the weekend.

 

Regards,

 

vfgdfg

Link to comment
Share on other sites

Thanks. I will stay updated about that.

 

I'm going to test if Bnk1.map can be modified when game is running.

If it's the case, I will give you all the info you need about the map format; in order to include it into your tool.

 

A tiny app to organize these different slots could be handy too. Another person could make it as it's just "copy files and create directories" stuff :)

 

++

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share




×
×
  • Create New...