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

    2. News

    1. Red Dead Redemption 2

    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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. 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

Alexander Blade

[3DSMAX|REL] OpenIV openFormats I/O

Recommended Posts

Alexander Blade

openFormats I/O



Description
openFormats I/O or OFIO is the set of 3dsMax scripts for importing and exporting RAGE resources as Open IV openFormats text-based files. OFIO is capable of importing and exporting fragments (*.oft), drawables (*.odr, *.odd), bounds (*.obd, *.obn), navmeshes (*.onv) and animations (*.onim).

3dsMax requirements
Originaly developed for 3dsMax 8 it was also adapted for 3dsMax 2012, it should work on newer versions too. If you use 3dsMax 2012 you must have HotFix1 installed. If your 3dsMax version has Slate material editor then you must switch to the Compact for using OFIO materials.

Tips
* All info needed for quick start with OFIO can be found in the OFIO.chm from OFIO distrib
* OFIO can't be used with scenes made for GIMS, also importing resources previously exported by GIMS is not recommended

Download
Latest build (15 March 2015) is here

Additional info
* Thats how OFIO gui looks - img1
* Ironman mod with custom animations-


* How to import skeleton animations -


Developers
Alexander Blade
MIXAZZZ

Thx
GooD
Chipsman
listener
3Doomer
legiz Edited by Alexander Blade

Share this post


Link to post
Share on other sites
Garju67

Nice, is OFT supported ?

Share this post


Link to post
Share on other sites
simkas

So is this pretty much a replacement for GIMS?

Share this post


Link to post
Share on other sites
Alexander Blade

Garju67

Oft isn't supported yet

 

simkas

More or less because GIMS has wpl/ide/carpath support

Share this post


Link to post
Share on other sites
Garju67
Garju67

Oft isn't supported yet

Ok, any support planned ?

Share this post


Link to post
Share on other sites
simkas

I get this error when I try to import any .onim file:

user posted image

I also get this error whenever I start Max with these scripts installed, dunno if it's related:

user posted image

Share this post


Link to post
Share on other sites
Alexander Blade

Garju67

yup

 

simkas

everything is in chm file smile.gif probably you are trying to import cutscene stuff

 

Share this post


Link to post
Share on other sites
simkas
Garju67

yup

 

simkas

everything is in chm file smile.gif probably you are trying to import cutscene stuff

Nope, I'm trying to import a regular player weapon animation. The chm says I need to select a skeleton root bone when importing but that doesn't seem to help.

Share this post


Link to post
Share on other sites
Frank.s

Animation importing AND exporting?!! 3dsmax9 support?!! Amazing.

Good to see that the navmesh feature isn't private and is now publicly released too.

 

Well deserved for you Alexander: cookie.gif

Edited by Frank.s

Share this post


Link to post
Share on other sites
Alexander Blade

okay i see Type134 blocks , it's fixed now , reload plz

regarding that memory warning - increase maxscript memory in max preferences

Edited by Alexander Blade

Share this post


Link to post
Share on other sites
Jestic

This could be a serious GIMS competitor.

 

Personally i'm interesting in seeing a very fast ODR exporter. I took it to the test and my model exported in 44 seconds. GIMS did it in 44 seconds too more or less. Any chance this process can be speed up? Also, with gims you can select if you want to split smoothing groups or not. Does your exporter split moothing groups, or not?

 

I like that I can just acces the material editor by pressing 'M' as you are you used in 3ds max, without getting through menu's in GIMS.

I do hope that you improve the material editor, all the shaders in one list is not very user friendly. I suggest "copying" GIMS by making sub-catogories.

 

What about texture embedding\dictionary? It embeds everything, better would be to have an option.

 

 

Shoutout for the animation importer, this is a pleasant surprise. icon14.gif

Share this post


Link to post
Share on other sites
Frank.s

When importing an .odd pedestrian model, the normal mesh and lod mesh have the same name, how are they differentiated when exporting? Any chance of a _lod suffix to allow definition between close-distance and lod-distance mesh?

 

user posted image

Share this post


Link to post
Share on other sites
simkas

Is there a way to import .odr files with materials? Right now when I import it, it just imports it without any material set up. In GIMS, it would automatically set up proper materials if the texture files were in the right folder.

Share this post


Link to post
Share on other sites
Alexander Blade

Blaster_nl

if you want texture to go external you should clean texture path leaving only the name , there are some screens in chm

 

Frank.s

lod is defined in the mesh user props

 

simkas

you mean that external textures are not set after importing ? if yes then it was meant to be like this

Share this post


Link to post
Share on other sites
simkas
simkas

you mean that external textures are not set after importing ? if yes then it was meant to be like this

Is it gonna be in a future version then?

Share this post


Link to post
Share on other sites
Alexander Blade
simkas

you mean that external textures are not set after importing ? if yes then it was meant to be like this

Is it gonna be in a future version then?

yes , it's only a beta here

and I'm surprised that import is even needed

 

regarding smooth groups - I'm detaching them on export only for non-skinned meshes , gims does the same

Share this post


Link to post
Share on other sites
Frank.s

 

lod is defined in the mesh user props
Thanks. Edited by Frank.s

Share this post


Link to post
Share on other sites
quechus13

I'm getting an error where I'm trying to import an onim file and it says that there is no root bone. wtf.

 

How to fix it?

Share this post


Link to post
Share on other sites
Alexander Blade

 

I'm getting an error where I'm trying to import an onim file and it says that there is no root bone. wtf.

 

How to fix it?

you are trying to import skeleton animation , so importer needs to apply it on some skeleton , in order to show one to the importer you should select first skeleton bone (it has id=0 in props , for peds it has named as Char) on scene or in hierarchy view

Share this post


Link to post
Share on other sites
Jestic
I'm getting an error where I'm trying to import an onim file and it says that there is no root bone. wtf.

 

How to fix it?

In addition to what AB said: Animations won't apply to GIMS imported ODR. I just had this issue myself!

Share this post


Link to post
Share on other sites
quechus13

Hopefully someday it will be possible to assign the animation automatically to the char bones.

As many of you would know GTA IV peds have multiple skeletons.

Share this post


Link to post
Share on other sites
simkas

Do weapon animations have some kind of extra data in them? I tried editing the "fire" animation in [email protected], but that seemed to have lost any extra data in it. By default, it seems like the game takes that animation, then somehow knows that the first few frames are used for the transition from idle to aiming, then near the end there's several frames that are used for the fire animation and then the very last ones are used to transition from aiming to idle and the game seems to automatically split those and use only the ones needed. Now, with the animation I edited, it just seems to play the entire timeline of that animation when I start aiming with the pistol or fire it. Is there some way to make that animation function properly or not yet?

Share this post


Link to post
Share on other sites
Alexander Blade
Do weapon animations have some kind of extra data in them? I tried editing the "fire" animation in [email protected], but that seemed to have lost any extra data in it. By default, it seems like the game takes that animation, then somehow knows that the first few frames are used for the transition from idle to aiming, then near the end there's several frames that are used for the fire animation and then the very last ones are used to transition from aiming to idle and the game seems to automatically split those and use only the ones needed. Now, with the animation I edited, it just seems to play the entire timeline of that animation when I start aiming with the pistol or fire it. Is there some way to make that animation function properly or not yet?

Actually saying ... we don't know , probably that is in unknown params biggrin.gif

 

First of all we need to find where this fcks up - in OF or in OFIO , so

1. wad -> oad

2. oad -> wad (we are not using 3dsMax at all)

3. Test it and tell me the results , if everything works ok then

 

1. wad -> oad

2. onim -> 3dsMax (ofio import)

3. 3dsMax -> onim (export without any animation changes)

4. oad -> wad

5. Test it and tell me the results

Share this post


Link to post
Share on other sites
simkas
Do weapon animations have some kind of extra data in them? I tried editing the "fire" animation in [email protected], but that seemed to have lost any extra data in it. By default, it seems like the game takes that animation, then somehow knows that the first few frames are used for the transition from idle to aiming, then near the end there's several frames that are used for the fire animation and then the very last ones are used to transition from aiming to idle and the game seems to automatically split those and use only the ones needed. Now, with the animation I edited, it just seems to play the entire timeline of that animation when I start aiming with the pistol or fire it. Is there some way to make that animation function properly or not yet?

Actually saying ... we don't know , probably that is in unknown params biggrin.gif

 

First of all we need to find where this fcks up - in OF or in OFIO , so

1. wad -> oad

2. oad -> wad (we are not using 3dsMax at all)

3. Test it and tell me the results , if everything works ok then

 

1. wad -> oad

2. onim -> 3dsMax (ofio import)

3. 3dsMax -> onim (export without any animation changes)

4. oad -> wad

5. Test it and tell me the results

Seems like it breaks in 3ds max, just re-importing the exported .oad worked completely fine, but when I imported and re-exported the .onim, it broke in the same way.

Share this post


Link to post
Share on other sites
wapeddell

nvm

Edited by wapeddell

Share this post


Link to post
Share on other sites
Limiter

Wow, just saw this and I was like "Finally odr export and obn export for Max 2009. smile.gif

 

Well done Alexander smile.gif You deserve a cookie cookie.gif

 

BTW, I thought GIMS automatically detaches smoothing group on export. 3Doomer told me he fixed it some time ago because a few users were bugging him about it. Does this mean that for your OFIO we need to manually detach smoothing groups for models such as buildings? Sorry I did not really understand does it apply to building models when you replied that you did it for non- skinned meshes.

Edited by Limiter

Share this post


Link to post
Share on other sites
wapeddell

When OFT support coming?

Share this post


Link to post
Share on other sites
Alexander Blade

simkas

thx , now we know what unknown stuff in animations is for , gonna dig it biggrin.gif

 

Limiter

gims automaticly detaches sg on export but not for skinned meshes , ofio does exactly the same

 

wapeddell

no idea biggrin.gif

Share this post


Link to post
Share on other sites
D T

It's good to see you back alexander. icon14.gif

 

I'm not a modder, but I understand this is a very helpful tool. Thank you!

Share this post


Link to post
Share on other sites
Limiter

Thanks for the clarification Alexander.

 

About the part where you say not to use this on GIMS prepared files, is it only for the openformats that GIMS created?

 

What if I have a scenario like this: Export model to .odr using GIMS, then turn it to .wdr using openIV. Then I turn that .wdr to .odr using openIV. Will OFIO be able to read the resulting .odr? Technically it isn't quite GIMS file anymore, it is more similar to any other odr you import from Rockstar.

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

×

Important Information

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