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

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

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

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. 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. News

    2. Forum Support

    3. Site Suggestions

tonywob

[WIP] IPL Editor

Recommended Posts

tonywob

Just a small application I am currently developing, which started life as a map viewer for Mac OS X ( See Liberty City on Mac OS X).

 

The application will load and display map files from GTA III, VC and San Andreas. When I get time I will add editing so that you can move objects around.

 

For GTA III and Vice City, it will also render 2dfx lighting, etc. It will also correctly display time controlled objects, LOD objects and shadows, etc.

For SA, it will load binary IPL files and display the maps, however it is quite slow at the moment. Also, I need to create a reader to correctly render 2dfx which are apparently now part of the DFF files.

 

A couple of screenshots of progress so far

user posted imageuser posted image

user posted imageuser posted image

The application supports two viewing modes, one is a first-person view, and the other is a top-down view. The controls in the first-person view work similar to the real game.

user posted image

I've added some extras as well, such as skyboxes so you can take some nice looking screen grabs, and an .img file tool which adds and extracts files

 

user posted imageuser posted image

 

 

Currently, GTA III and VC render pretty much perfect apart from one or two oddities with textures. SA works, except for lighting, and due to the size of the map files, memory usage is quite high (I will work on these issues before working on editing)

 

user posted imageuser posted imageuser posted image

 

The application also continues to work on Mac OS X (It's slower though due to endian issues)

 

Edit by Delfi - fixed you really bad url typo at beginning of topic.

 

Edit: Tonywob's IPL Editor/MapEditor << Download link for pre-alpha release

Edited by tonywob

Share this post


Link to post
Share on other sites
Knife
Thats looking very nice biggrin.gif. Will you be able to edit ipls?

Share this post


Link to post
Share on other sites
tonywob
Thats looking very nice biggrin.gif. Will you be able to edit ipls?

Yep, I intend to add this feature. You will be able to select the objects and move them around on the map. You will then be able to export the IPL file. This might be a bit of a challenge for binary IPL files, but text only IPL files should be pretty simple

Share this post


Link to post
Share on other sites
Knife
In that case have some cookies: cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Jorge F.

That looks awsome dude biggrin.gif.

So it's gonna be a MooMapper for San Andreas?

 

KUTGW biggrin.gif

Share this post


Link to post
Share on other sites
wauzie

Very nice dude Shifty41s_beerhatsmilie2.gif . I've been waiting for a SA 'moomapper'. Good luck with this project. When its gonna be released?

Share this post


Link to post
Share on other sites
aad

This is getting better and better. Any future plans or chances for a maybe Colfile support ? tounge.gif

Share this post


Link to post
Share on other sites
Eclipse_nl

This is so f*cking awesome biggrin.gif

 

Keep it up!

Share this post


Link to post
Share on other sites
wauzie
This is getting better and better. Any future plans or chances for a maybe Colfile support ? tounge.gif

I like that tounge.gif. It will be a All-in-one tool.

Share this post


Link to post
Share on other sites
Supdario

Coool wow.gif

This tool is able to show objects name? cool.gif

Share this post


Link to post
Share on other sites
steve-m

Wow, finally some competition. biggrin.gif

 

Edit: This one looks a bit strange:

user posted image

Do you use realtime lighting? Don't do that, disable all lights in the scene and only use the vertex colors.

Share this post


Link to post
Share on other sites
tonywob

Thanks for all the kind replies biggrin.gif

 

At the moment I am working on getting all of the rendering stable, at then I will continue to add features.

 

My second priority is to allow you to move objects around all three maps, and then the ability to create your own map files (Excluding Binary at this point).

 

Colfile support is also on the list, however I want to get a decent 2dfx and paths editor in to start with.

 

There is still alot to do unfortuantely sad.gif , and I will release the current version as soon as I have fixed the weird texture issues.

 

 

Share this post


Link to post
Share on other sites
flitcroft101

Excellent work!!!!!!!!!!!!!!!!!!!!!!!!!! cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
tonywob
Wow, finally some competition. biggrin.gif

 

Edit: This one looks a bit strange:

user posted image

Do you use realtime lighting? Don't do that, disable all lights in the scene and only use the vertex colors.

On that particular screenshot, yes, I accidentally left lighting enabled as opposed to the vertex colours. It was left over from when I was checking the normals from the DFF loader.

Share this post


Link to post
Share on other sites
steve-m

Ah, ok. Map objects in GTA don't have normals, so you can't do that, unless you calculate them yourself.

 

So what's wrong with the textures? Can't see any problems on the screens...

Share this post


Link to post
Share on other sites
tonywob
Ah, ok. Map objects in GTA don't have normals, so you can't do that, unless you calculate them yourself.

 

So what's wrong with the textures? Can't see any problems on the screens...

A couple of the objects had normals, however I calculated the normals myself, because originally it was used to view single objects, but now there is no need to do this when viewing maps. I will leave the ability it, but it won't be used to render full map scenes.

 

The texture problems are when you load a 32Bit uncompressed image from a txd file (There are a few in GTA III), the colours seem wrong (Probably the RGBA order).

Also some of the textures look a bit blue on San Andreas (e.g. The character models), this again could be my use of blending notify.gif

 

I have had to use software emulation to load Palette compressed textures from GTA III, this is slow but since the OpenGL drivers on my machines don't support it, I had no choice. I have told it use the extension if it is available.

 

DXT compressed textures work fine on both Windows and Macs which is a +

 

Also a couple of the DFF files have no geometry entries, I have checked them using your RWAnalyze tool and this was confirmed.

 

 

Share this post


Link to post
Share on other sites
steve-m

The texture problems are when you load a 32Bit uncompressed image from a txd file (There are a few in GTA III), the colours seem wrong (Probably the RGBA order).

Yea, you have to flip R and B. In MapViewer I do that via software (fast asm) as well, since I couldn't get the OGL option to work.

 

 

I have had to use software emulation to load Palette compressed textures from GTA III, this is slow but since the OpenGL drivers on my machines don't support it, I had no choice. I have told it use the extension if it is available.

Yea, same here, my ATI card doesn't support that extension so I've implemented both.

 

 

Also a couple of the DFF files have no geometry entries, I have checked them using your RWAnalyze tool and this was confirmed.

Probably just used for 2dfx things (like streetsigns).

Share this post


Link to post
Share on other sites
Fireman

PWN this is great great work cookie.gifcookie.gifcookie.gif-Slurp Slurp, Hmmm... Sprunk!

Share this post


Link to post
Share on other sites
demonj0e
wow looking very nice maybe add car car and weapon placements aswell, and maybe an option to set up some scenes for people to make nice looking screenshots tounge.gif

Share this post


Link to post
Share on other sites
tonywob

Just a couple of progress updates:

 

Fixed the problem with textures, it uses ASM on Windows so it is nice and quick, I've had to do it differently on Mac OS X, so only slightly slower

 

user posted image

 

A top-down view of Los Santos (Don't try this at home - Memory Hungry) in LOD mode.

user posted image

 

You can select items on the screen and view properties, currently this is for IDE entries only but I will add IPL properties as well, so simple editing will be available.

user posted imageuser posted image

user posted image

 

You can select an item from the IDE treeview as well, I will add menu entries so that you can extract the DFF and TXD files.

 

 

I still need to work out 2DFX lighting in San Andreas and I'm still unsure about the IDE Paramaters such as (shown when wet, etc).

 

I also want to add a TXD file viewer.

 

Probably won't get much done next week since LCS is coming biggrin.gif

Share this post


Link to post
Share on other sites
Eclipse_nl

Could you make a model-view-function so that you can fast browse between all models. And when you found a good model, you can say "add this to your IPL". (like in the m00mapper.)

That would be very nice. inlove.gif

Share this post


Link to post
Share on other sites
tonywob
Could you make a model-view-function so that you can fast browse between all models. And when you found a good model, you can say "add this to your IPL". (like in the m00mapper.)

That would be very nice. inlove.gif

Sorry to sound stupid, but can you explain me to in more detail what you mean, Do you mean you want see a preview of any model in a IDE file on a thumbnail type window? So that you can quickly add it to an IPL file.

 

Sorry, I haven't used MooMapper for a while!

Share this post


Link to post
Share on other sites
Eclipse_nl

 

Do you mean you want see a preview of any model in a IDE file on a thumbnail type window?

 

Yes, that's what I mean. smile.gif

Share this post


Link to post
Share on other sites
tonywob

 

Do you mean you want see a preview of any model in a IDE file on a thumbnail type window?

 

Yes, that's what I mean. smile.gif

Okay, I'll have a look into it.

 

Just a quick update, 2DFX lights and night lighting are now available for San Andreas

user posted image

user posted image

Share this post


Link to post
Share on other sites
flitcroft101

That kicks ass biggrin.gif

 

Any chance of a beta release? biggrin.gifcookie.gif

Share this post


Link to post
Share on other sites
burpicane

this really kicks ars go get some cookie.gifcookie.gifcookie.gif karma stars

Share this post


Link to post
Share on other sites
Supdario

... wow.gifrolleyes.gifbarf8bd.gif

I want it...

 

 

NOW catspider.gif

Share this post


Link to post
Share on other sites
wauzie

Your tool is looking better and better. I've got a couple of very handy ideas:

 

-When you click al Model the edges are faced (white)

-Rightmouse on a Model and you copy it then (so you could copy a lot of models at the same time)

-PICK/CAR/ENEX/CUL and suchs things as support

Share this post


Link to post
Share on other sites
demonj0e
lookin good im hope a beta is coming along soon as im sure alot of us would like to try this out

Share this post


Link to post
Share on other sites
mrMagnetic

 

Do you use realtime lighting? Don't do that, disable all lights in the scene and only use the vertex colors.

 

Do you guys have GL_LIGHTING disabled? Then how do you keep the models from being too dark?

 

In my viewer I use GL_AMBIENT to set a base light that lights up the dark parts, and GL_EMISSION tracks the vertex colors. Rest is inactive because there are no normals.

Maybe this is weird, but it does give a possibility to change the base lighting with time of day without changing vertex colors..

 

 

Share this post


Link to post
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.


  • 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.