Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

[WIP|V] MetaTool (ymt, ymap, ytyp)


Neodymium
 Share

Recommended Posts

@NTAuthority

Even with one YMAP, game didn't load my model, entry in YTYP was correct.

content of xml variant of map/typ so we know what might be wrong?
Link to comment
Share on other sites

Here you are: http://pastebin.com/7fyQq1aV

http://pastebin.com/y5EUWKCx

 

Separator in extracted files is comma, do you have it too?

 

1st edit - Progress - collision is loaded, but models still not.

2nd edi - _manifest.ymf IS required in metadata archive, models are invisible without it.

Edited by _CP_
Link to comment
Share on other sites

it's not running in my PC,i tried .net 4.6 and vc2013 x86 x64, noting change....i drag the .ymt file on the MetaTool.exe, it shows different message, but crash too after one second

 

what else i need to do? i really need to open the ymt file....

Link to comment
Share on other sites

What the hell...

 

I tried to add a tree in Mirror Park... prop_tree_jacada_01

Alright.

 

Well, here is the code

 

<Item type="CEntityDef">      <hash_A023A02C>prop_tree_jacada_01</hash_A023A02C>      <flags value="1572872" />      <guid value="2741845996" />      <position x="970.454" y="-694.1223" z="58.0001" />      <rotation x="0.0" y="0.0" z="-0.021262" w="0.999774" />      <hash_9CA32637 value="1.0" />      <hash_10FB7C42 value="1.0" />      <parentIndex value="381" />      <lodDist value="250.0" />      <hash_CA974BCD value="0.0" />      <hash_6C8F1715>LODTYPES_DEPTH_HD</hash_6C8F1715>      <hash_A687AC89 value="0" />      <hash_2691F019>enum_hash_73D556CB</hash_2691F019>      <extensions />      <hash_18C1D587 value="255" />      <hash_23C0E543 value="255" />      <hash_3C852527 value="0" />    </Item>
And here is the tree x_O:

 

uk3f3NG.png

 

Or at least part of it.

 

EDIT: Changing the parent index to 383 made everything disappear. Lel

Edited by BlackScout
Link to comment
Share on other sites

Which file did you want to open?

explosion.ymt, i want to change the explosion blur and shake.

 

in here. / update / update.rpf / x64 / data / metadata

Link to comment
Share on other sites

I've just seen this Topic. Y'all have found some pretty awesome stuff.

 

Here's hoping for a fully Modeled North Yankton, and down the track a fully Modeled New Alderney and Liberty City. :^:

  • Like 1
Link to comment
Share on other sites

@BlackScout

Set parentIndex to -1.

Worked! Thanks! :)

 

Now, anyone with an idea on how to get rid of the LOD? (I don't want this prop there anymore, so I erased the line)

2toEjan.png

Yes I am restoring the Cherry Blossoms in Mirror Park.

Edited by BlackScout
Link to comment
Share on other sites

Trees LOD models are combined in "combos" saved in YDD, so few trees are assigned to one combo LOD, if you remove LOD entry, trees in area won't be loaded from further distance.

Link to comment
Share on other sites

Trees LOD models are combined in "combos" saved in YDD, so few trees are assigned to one combo LOD, if you remove LOD entry, trees in area won't be loaded from further distance.

I see, I think I will try to find a way to just hide the model... It's not the ideal but it works on a good distance...
Link to comment
Share on other sites

So, noone is actually trying to write a converter or a 3ds Max exporter for this? I highly doubt anyone could enjoy working with ymap/ytyp in this way it is now.

  • Like 2
Link to comment
Share on other sites

So, noone is actually trying to write a converter or a 3ds Max exporter for this? I highly doubt anyone could enjoy working with ymap/ytyp in this way it is now.

 

3Doomer and\or Alexander Blade will

 

 

....Once OpenIV supports it :p

  • Like 1
Link to comment
Share on other sites

Eh, well too bad it will be when i'm in college, i won't have much time to mod.

Link to comment
Share on other sites

@Jestic

Not in this century. Writing a converter shouldn't be so extremely hard.

  • Like 2
Link to comment
Share on other sites

Did you try a meaning of these hashes? Is this a bounding box of an area or what?

<hash_DD22821F x="370,0961" y="-986,6787" z="-130,0" />  <hash_A22EA335 x="430,0961" y="-926,6787" z="-70,0" />  <hash_1C75BCF1 x="387,3141" y="-980,0975" z="-100,0328" />  <hash_6D074437 x="421,8876" y="-912,5726" z="-84,0654" />
Link to comment
Share on other sites

Did you try a meaning of these hashes? Is this a bounding box of an area or what?

<hash_DD22821F x="370,0961" y="-986,6787" z="-130,0" />  <hash_A22EA335 x="430,0961" y="-926,6787" z="-70,0" />  <hash_1C75BCF1 x="387,3141" y="-980,0975" z="-100,0328" />  <hash_6D074437 x="421,8876" y="-912,5726" z="-84,0654" />

 

it's the bounding box the #map will be added to the scene manager for - for me the following works as a lazy hack:

 

 

  <hash_DD22821F x="-8192.0" y="-8192.0" z="-6000.0" />  <hash_A22EA335 x="8192.0" y="8192.0" z="6000.0" />  <hash_1C75BCF1 x="-8192.0" y="-8192.0" z="-6000.0" />  <hash_6D074437 x="8192.0" y="8192.0" z="6000.0" />
(if you're using , and distributing files to others; PLEASE change your Windows locale until this tool gets fixed to not depend on such!)

 

also:

 

I just realized I've been lied to all my life

or well

PERMANENT_ITYP_FILE

doesn't actually load an ityp

it's a fake as f*ck path

that marks an rpf

to always load the ytyp with the name of the rpf

for instance platform:/levels/gta5/props/residential/v_garden.ityp just means it'll load v_garden.rpf/[something].ytyp

or maybe everything.rpf/v_garden.ytyp

contemners.png

 

this as well, note the lack of proper alpha testing as always (Cfx used a hack to force one flag to always be enabled) and OpenIV f*cking up collision conversion

Edited by NTAuthority
Link to comment
Share on other sites

I added support for mainfest.ymf files. But the names in the xml are all unknown.

please do support other PSINs

 

also

 

 

 

got the stripped map working even w/ editor, except collisions are dead as said above

Edited by NTAuthority
Link to comment
Share on other sites

I added support for mainfest.ymf files. But the names in the xml are all unknown.

:O gonna test

 

id2 stuff...

 

2UtKpRP.png

 

Not sure about the importance of this file.

Edited by BlackScout
Link to comment
Share on other sites

Not sure about the importance of this file.

explicit dependencies between maps, collisions, textures and some other stuff. perhaps ityp files that aren't marked as permanent.
Link to comment
Share on other sites

Daniel-Bryan-YES-YES-YES.gif

e8PabLoh.jpg

 

Surprisingly, FiveM's converted collisions crashed the game.

Edited by _CP_
  • Like 4
Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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