tonywob Posted October 24, 2005 Share Posted October 24, 2005 (edited) 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 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. 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 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) 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 November 30, 2005 by tonywob Hovac and Róbert Bock 2 Link to comment Share on other sites More sharing options...
Knife Posted October 24, 2005 Share Posted October 24, 2005 Thats looking very nice . Will you be able to edit ipls? Link to comment Share on other sites More sharing options...
tonywob Posted October 24, 2005 Author Share Posted October 24, 2005 Thats looking very nice . 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 Link to comment Share on other sites More sharing options...
Knife Posted October 24, 2005 Share Posted October 24, 2005 In that case have some cookies: Link to comment Share on other sites More sharing options...
Jorge F. Posted October 24, 2005 Share Posted October 24, 2005 That looks awsome dude . So it's gonna be a MooMapper for San Andreas? KUTGW Link to comment Share on other sites More sharing options...
wauzie Posted October 24, 2005 Share Posted October 24, 2005 Very nice dude . I've been waiting for a SA 'moomapper'. Good luck with this project. When its gonna be released? Link to comment Share on other sites More sharing options...
aad Posted October 24, 2005 Share Posted October 24, 2005 This is getting better and better. Any future plans or chances for a maybe Colfile support ? Dont imitate, recreate or copy just get your own ideas. Simplicity makes difficulty easy Just for dev's of the myriad team http://www.aadblaauw.6x.to/ Link to comment Share on other sites More sharing options...
Eclipse_nl Posted October 24, 2005 Share Posted October 24, 2005 This is so f*cking awesome Keep it up! Link to comment Share on other sites More sharing options...
wauzie Posted October 24, 2005 Share Posted October 24, 2005 This is getting better and better. Any future plans or chances for a maybe Colfile support ? I like that . It will be a All-in-one tool. Link to comment Share on other sites More sharing options...
Supdario Posted October 24, 2005 Share Posted October 24, 2005 Coool This tool is able to show objects name? Link to comment Share on other sites More sharing options...
steve-m Posted October 24, 2005 Share Posted October 24, 2005 Wow, finally some competition. Edit: This one looks a bit strange: Do you use realtime lighting? Don't do that, disable all lights in the scene and only use the vertex colors. Link to comment Share on other sites More sharing options...
tonywob Posted October 24, 2005 Author Share Posted October 24, 2005 Thanks for all the kind replies 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 , and I will release the current version as soon as I have fixed the weird texture issues. Link to comment Share on other sites More sharing options...
flitcroft101 Posted October 24, 2005 Share Posted October 24, 2005 Excellent work!!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
tonywob Posted October 24, 2005 Author Share Posted October 24, 2005 Wow, finally some competition. Edit: This one looks a bit strange: 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. Link to comment Share on other sites More sharing options...
steve-m Posted October 24, 2005 Share Posted October 24, 2005 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... Link to comment Share on other sites More sharing options...
tonywob Posted October 24, 2005 Author Share Posted October 24, 2005 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 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. Link to comment Share on other sites More sharing options...
steve-m Posted October 24, 2005 Share Posted October 24, 2005 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). Link to comment Share on other sites More sharing options...
Fireman Posted October 25, 2005 Share Posted October 25, 2005 PWN this is great great work -Slurp Slurp, Hmmm... Sprunk! Link to comment Share on other sites More sharing options...
demonj0e Posted October 25, 2005 Share Posted October 25, 2005 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 Link to comment Share on other sites More sharing options...
tonywob Posted October 26, 2005 Author Share Posted October 26, 2005 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 A top-down view of Los Santos (Don't try this at home - Memory Hungry) in LOD mode. 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. 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 Link to comment Share on other sites More sharing options...
Eclipse_nl Posted October 26, 2005 Share Posted October 26, 2005 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. Link to comment Share on other sites More sharing options...
tonywob Posted October 26, 2005 Author Share Posted October 26, 2005 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. 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! Link to comment Share on other sites More sharing options...
Eclipse_nl Posted October 26, 2005 Share Posted October 26, 2005 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. Link to comment Share on other sites More sharing options...
tonywob Posted October 26, 2005 Author Share Posted October 26, 2005 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. Okay, I'll have a look into it. Just a quick update, 2DFX lights and night lighting are now available for San Andreas Link to comment Share on other sites More sharing options...
flitcroft101 Posted October 26, 2005 Share Posted October 26, 2005 That kicks ass Any chance of a beta release? Link to comment Share on other sites More sharing options...
burpicane Posted October 26, 2005 Share Posted October 26, 2005 this really kicks ars go get some karma stars Link to comment Share on other sites More sharing options...
Supdario Posted October 27, 2005 Share Posted October 27, 2005 ... I want it... NOW Link to comment Share on other sites More sharing options...
wauzie Posted October 27, 2005 Share Posted October 27, 2005 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 Link to comment Share on other sites More sharing options...
demonj0e Posted October 27, 2005 Share Posted October 27, 2005 lookin good im hope a beta is coming along soon as im sure alot of us would like to try this out Link to comment Share on other sites More sharing options...
mrMagnetic Posted October 27, 2005 Share Posted October 27, 2005 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.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now