Individual Helmets and Wheels Tweaks [released][updated][v1.1]

Posted by Öggo 
thank you very much, Alex :)
Great updates, thank you Alex
Duffer Scritto:
-------------------------------------------------------
> Individual H&W Tweaker 1.0.1
>
> Description
> For Non CSM User, you can enjoy the discovery of
> Öggo, for the use of several shapes of helmet and
> wheels
>
> Features
> - enable and disable helmet and wheels individual
> shapes
>
> Change
> 1.0.1 :
> - Enhance - Code optimization
> - New feature - File Generation (Just for names,
> not functional in GP4)
> - New feature - Select single wheels shape per
> team or car
>
> 0.9b :
> - First Release
>
> Misc
> - Thanks to Öggo for this discover
>
> Download Link
> - Individual H&W Tweaker 1.0.1
>
> Preview
> [duffer.pagesperso-orange.fr]
> eview_HT_Tweaker.jpg


I usually use only CSM but still great job Alex! (Y)
fongu Wrote:
-------------------------------------------------------
> huskyman49 Wrote:
> --------------------------------------------------
> -----
> > no idea how to use (install) it... :-o
> > Could anyone give me a step by step hint,
> please?
>
> If you use CSM, then this goes in patch.ini.
>
> If you do not use CSM, I'd recommend Duffer's Wad
> Controller.

I still have no clue at all on how to enable the tweaks off CSM.

Can anyone give any help, please?
This will be the first time I test this feature, but I can't seem to get it to work.
I use non-csm.

First of, the latest version does not seem to grasp my gp4.exe, but the 0.9b version does.
However, nothing seems to happen ingame. I only use lod0 normally so TeamEditor has the force car_lod0 checked. The helmets and wheels are unchecked. If I uncheck car_lod0 now the game
crashes because the wad is missing files. Does this mean I need to put all carshape lods in the wad and uncheck force car_lod0 to make this work? Or is it TeamEditor as a program that's the issue?

Also, I downloaded a file with 3 folders that's named "Individual Helmets", "Individual Wheels" and "Per-Team Wheels". All of these folders contain files that I don't know if I need or even where to put them.

It's the 2002 Helmetset and Tyreset from Hega that Im trying to get to work. The tyreset had a readme telling me to make sure a line is correct in my graphics file (it is) and lines that I need to put in my performance
file, which I have. The helmetset had no read me.

Is there a kind soul out there that can give me a step by step how to make this work? :)


-------------------------------------------------
Ice Hockey is my Religion!
@SkaaningeN : if you can send me a link with your gp4.exe, cars.wad and your tyres Addon. I can go to look

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

I can't upload at the moment.

However, I have just added all files into my cars.wad into the right place, that Im sure of.
The program seems to say I have gp4.exe version 1.00. I've used the same for ages.

So yeah, I think I've done it right. The only thing I have not tested is to fix so I can uncheck lod0 only


-------------------------------------------------
Ice Hockey is my Religion!
Is there a way to extend the tweak to be able to have specific wheel models from inside the cockpit view ?
Not team specific, but at least one for each tyre brand ?

Side request: I'm very curious on how the hack works, I'd be very grateful if someone could explain it to me.

------------------------------------------------------------------------------------
Can you do a full season without qualifying ? Let's find out : [www.youtube.com]
zifox Wrote:
-------------------------------------------------------
> Is there a way to extend the tweak to be able to
> have specific wheel models from inside the cockpit
> view ?
> Not team specific, but at least one for each tyre
> brand ?

The short answer is no. At least not with my current knowledge and, most likely, without "external" help, like GPxPatch or Tweaker.

zifox Wrote:
-------------------------------------------------------
> Side request: I'm very curious on how the hack
> works, I'd be very grateful if someone could
> explain it to me.

The tweak exploits GP4's internal code: there is a set of 5 hard-coded flags, located at offset 0x0024428C, that indicate which meshes have to be loaded on a per-driver basis (0 = per-driver mesh, 1 = single mesh). Then, at offset 0x00244390, there is an array of 5 strings for the 5 types of meshes these flags refer to: Front Wheels, Rear Wheels, Helmets, Cockpits, Cars. These strings define the naming convention pattern for the files within cars.wad. In default GP4, the flags are set to 1 for all but cars. By switching the flags to 0, per-driver loading is enabled for that type of mesh. Changing the string then allows to exploit this properly.
Two things are note-worthy here:

- Cockpit view Tyres are not in the list of meshes
- Cockpits could, in theory, be enabled as well

The problem with cockpits is that the loading is much more complex than the other meshes because of the steering wheel, dash panel, cockpit tyres, etc. (different functions are called within GP4.exe) and simply enabling per-driver loading crashes the game. If I ever get to figure out how to make per-driver cockpit loading work, there is a chance that per-driver cockpit tyres might be doable as well. But, as of right now, neither of those can be done.

I can't make it work at all, I've tried everything, note: I don't use CSM, could someone help me?

[www.mediafire.com]
ERROR :: Failed to load car mesh :: [
[23:10:21.678] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:21.678] >> ]
[23:10:21.801] >> Reverting to default car [
[23:10:21.801] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:21.801] >> ]
[23:10:21.801] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.801] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:21.801] >> ]
[23:10:21.801] >> Reverting to default car [
[23:10:21.802] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:21.802] >> ]
[23:10:21.802] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.802] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:21.802] >> ]
[23:10:21.802] >> Reverting to default car [
[23:10:21.802] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:21.802] >> ]
[23:10:21.802] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.802] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:21.802] >> ]
[23:10:21.937] >> Reverting to default car [
[23:10:21.937] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:21.937] >> ]
[23:10:21.938] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.938] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:21.938] >> ]
[23:10:21.938] >> Reverting to default car [
[23:10:21.938] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:21.938] >> ]
[23:10:21.938] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.938] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:21.938] >> ]
[23:10:21.938] >> Reverting to default car [
[23:10:21.938] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:21.938] >> ]
[23:10:21.939] >>
ERROR :: Failed to load car mesh :: [
[23:10:21.939] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:21.939] >> ]
[23:10:22.057] >> Reverting to default car [
[23:10:22.057] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:22.057] >> ]
[23:10:22.057] >>
ERROR :: Failed to load car mesh :: [
[23:10:22.057] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:22.057] >> ]
[23:10:22.057] >> Reverting to default car [
[23:10:22.057] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:22.057] >> ]
[23:10:22.058] >>
ERROR :: Failed to load car mesh :: [
[23:10:22.058] >> CARS\CAR_JAGUAR_Helmet1_LOD_2.gp4
[23:10:22.058] >> ]
[23:10:22.058] >> Reverting to default car [
[23:10:22.058] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:22.058] >> ]
[23:10:22.058] >>
ERROR :: Failed to load car mesh :: [
[23:10:22.058] >> CARS\CAR_JAGUAR_Helmet1_LOD_3.gp4
[23:10:22.058] >> ]
[23:10:22.193] >> Reverting to default car [
[23:10:22.193] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
[23:10:22.193] >> ]
[23:10:22.193] >>
ERROR :: Failed to load car mesh :: [
[23:10:22.193] >> CARS\CAR_JAGUAR_Helmet1_LOD_1.gp4
Ignore my previous problems, thank god I managed to solve it here on my own, even so, thank you very much for the tool, it's amazing, congratulations
Öggo Wrote:
-------------------------------------------------------
> zifox Wrote:
> --------------------------------------------------
> -----
> > Is there a way to extend the tweak to be able
> to
> > have specific wheel models from inside the
> cockpit
> > view ?
> > Not team specific, but at least one for each
> tyre
> > brand ?
>
> The short answer is no. At least not with my
> current knowledge and, most likely, without
> "external" help, like GPxPatch or Tweaker.
>
> zifox Wrote:
> --------------------------------------------------
> -----
> > Side request: I'm very curious on how the hack
> > works, I'd be very grateful if someone could
> > explain it to me.
>
> The tweak exploits GP4's internal code: there is a
> set of 5 hard-coded flags, located at offset
> 0x0024428C, that indicate which meshes have to be
> loaded on a per-driver basis (0 = per-driver mesh,
> 1 = single mesh). Then, at offset 0x00244390,
> there is an array of 5 strings for the 5 types of
> meshes these flags refer to: Front Wheels, Rear
> Wheels, Helmets, Cockpits, Cars. These strings
> define the naming convention pattern for the files
> within cars.wad. In default GP4, the flags are set
> to 1 for all but cars. By switching the flags to
> 0, per-driver loading is enabled for that type of
> mesh. Changing the string then allows to exploit
> this properly.
> Two things are note-worthy here:
>
> - Cockpit view Tyres are not in the list of
> meshes
> - Cockpits could, in theory, be enabled as well
>
> The problem with cockpits is that the loading is
> much more complex than the other meshes because of
> the steering wheel, dash panel, cockpit tyres,
> etc. (different functions are called within
> GP4.exe) and simply enabling per-driver loading
> crashes the game. If I ever get to figure out how
> to make per-driver cockpit loading work, there is
> a chance that per-driver cockpit tyres might be
> doable as well. But, as of right now, neither of
> those can be done.


Good morning friend Oggo, about individual steering wheels, I saw that the exe calls for the texture, and I saw this in the decimals of the exe, is it so complicated to discover the decimal line of the steering wheel?





MaisonTeles Wrote:
-------------------------------------------------------
> Good morning friend Oggo, about individual
> steering wheels, I saw that the exe calls for the
> texture, and I saw this in the decimals of the
> exe, is it so complicated to discover the decimal
> line of the steering wheel?
>

Glad you were able to get the tweak to work, Maison.
Unfortunately, it's not that simple. I can find where the external steering wheel texture is being used, but the code would most likely need to be extensively modified to enable individual ones per car. Not saying it's impossible, just not very straight-forward...

Individual H&W Tweaker 1.1

Description
For Non CSM User, you can enjoy the discovery of Öggo, for the use of several shapes of helmet and wheels

Features
- enable and disable helmet and wheels individual shapes

Change
1.1 :
- New feature : Compatible with GP4 in version 1.0
- Enhance : Correct a bug with generate file

1.0.1 :
- Enhance - Code optimization
- New feature - File Generation (Just for names, not functional in GP4)
- New feature - Select single wheels shape per team or car

0.9b :
- First Release

Misc
- Thanks to Öggo for this discover

Download Link
- Individual H&T Tweaker 1.1

Preview


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

Thanks Alex.



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy