Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,694 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
RekRam

[PROBLEM] Unsupported old files versions

Recommended Posts

RekRam

Good morning,

 

 

I've seen this countless of times and never decided to inform about this problem.

 

When using OpenFormats tool for .ydd files, like peds, We get .odd, .odr and meshes files.

 

Each of this files appear to be linked to a specific version of openIV. That makes them useless each time openIV updates.

 

Not being able to import old exported .odd, .odr and meshes files is something that bothers.

 

Is there any way to restore this files and make them work with the newer compatibility version of OpenFormat?

 

 

http://imgur.com/1kre4us

 

http://imgur.com/mUOLg3Z

 

http://imgur.com/ROdSjFU

 

 

As you can visualize right there... Format version 30 cant be imported.

 

There is no logic on removing a format version, making it useless... That means i need to re-export all the used/edited (zm3) parts and need to import them back in a new open format state.

 

I hope there is another way to save my old files (openIV 2.8)

 

Looking forward to the reply,

 

RekRam

Share this post


Link to post
Share on other sites
GooD-NTS

You should not keep your files in openFormats form. openFormats is meant to be intermediate/temp files which you import/export between tools.

We are always working on improving openFormats and that is why version is changed from time to time (not exactly with each OpenIV update).

 

There is no way to import old version in the current OpenIV, unless you change files to new version by your self, which not always possible.

Share this post


Link to post
Share on other sites
_CP_

So what's the point of improving openFormats without proper scripts offered by your team? This is disturbing.

Share this post


Link to post
Share on other sites
Jestic

For the time being, here's qucik guide on how to use GIMS Evo and change the openFormats version

 

To start gims evo, temporarily replace ShaderManager.xml inside #:\Users\\AppData\Local\New Technology Studio\Apps\OpenIV\Games\Five\openFormats

Now can you open GIMS Evo fine and import\export ODR files.

 

Next, once you exported a model from GIMS, we need to change the openFormats to work with the new openiv. Open your ODR file and replace '30' at the top by '31' (Version 165 30 --> Version 165 31)

Change all lowercase letters by uppercase letters for every shader (some already are but most aren't)

bumpSelfShadowAmount --> BumpSelfShadowAmount

bumpiness --> Bumpiness

materialWetnessMultiplier --> MaterialWetnessMultiplier

etc.

 

Save ODR, open your .MESH

Again, change version from 30 to 31

Under 'Flags' of each shader group. you need to add a 'Vertex Declaration' number. This is different depending on which shader you use, here are a few:

default.sps --> VertexDeclaration N209731BE

normal.sps --> VertexDeclaration N51263BB5

normal_tnt.sps --> VertexDeclaration N51263BB5

normal_decal_tnt.sps --> VertexDeclaration N51263BB5

If you use another shader, export a YDR model from OpenIV and copy\paste the right vertex declaration number.

Save .MESH, you're now done and your openformats are compatible with the new openiv. Don't forget to restore the aforementioned 'ShaderManager.xml before using OpenIV

 

Reverse the process if you want to import ODR files with GIMS Evo.

 

GooD tool you have their GooD, sucks I need to write up this 'guide' because you lock everyone out of editing the game. (which coincidentally, is what your tool is primarily made for).

Edited by Jestic

Share this post


Link to post
Share on other sites
quechus13

Thank you so much for this, I appreciate this A LOT.

Share this post


Link to post
Share on other sites
GooD-NTS

...

Change all lowercase letters by uppercase letters for every shader (some already are but most aren't)

...

Under 'Flags' of each shader group. you need to add a 'Vertex Declaration' number. This is different depending on which shader you use, here are a few:

...

You can find all new shader parameters names (with correct case) and all Vertex Declarations in the new version of ShaderManager.xml

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.