|
 |
|
|
|
|
|
GTA Modification Forums
[REL|SA] Map Cleaner Removes the SA game map
 |
|
 |
| |
Gtapoptart  |
|
You Cannot Kill What You Did Not Create.

Group: Members
Joined: Oct 6, 2007


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
derty  |
|
My member's custom title is "Solid Snake"

Group: BUSTED!
Joined: Nov 1, 2007


|
Hey Steve, a while before I lost all my data, I had gone through the game's files after cleaning the map away, deleting all of the things that were no longer needed. This included cleaning away the #commented lines in GTA.dat, deleting the files they pointed to, water1.dat and I believe some more dev orphans, and I can't right remember the rest of the files, but I'd find them again by cutting and pasting them to a new DIR, testing, and if it crashed, the game was still dependent upon them. If I did this process again (it's lengthly, but not too lengthly, however boring as all hell as one could imagine) and made a list of all the files that could be removed with the intent on creating the ultimate stripped down/bare bones starting point for TC's, do you think you could incorporate that list into a tick-box in map cleaner that could delete them? Leave it to the user to clean up gta.dat, that's a fast and simple process the first custom lines one adds to the result of map cleaner's finish. I could format the list in any way that would make implementing this easier, and most of the work is a matter of deleting entire DIRs and not just files anyway, I'd just really like to have the process automated  Would make TC distribution and installation much easier, eliminate files that TC authors would otherwise have to delete on their own, and since it's an on/off tickbox feature, those who want to preserve everything still can, so it won't break the other preservation features you already included. Possible?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
steve-m  |
|

Group: Members
Joined: Jul 26, 2002



|
Sure, that'd certainly be helpful. What you don't need to list are the files mentioned in gta.dat (ipl, ide, img and containing directories), since the program knows about them the moment it parses the files and deactivates them. So I'd only need to know about those "orphaned" files the game never touches. As for the list format, one filename per line and relative paths would be good, but don't worry too much about that. Also, I'd keep that list as a stand-alone file, so TC authors could replace it if needed.
BTW, would there be a need for cleaning out unused audio and animations as well?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
derty  |
Posted: Saturday, Mar 22 2008, 19:40
|
My member's custom title is "Solid Snake"

Group: BUSTED!
Joined: Nov 1, 2007


|
You could do that by hand at the GTA.DAT level. Start by commenting out all of LA LV and countryside stuff, etc I recommend you go at it one IPL at a time, flying around to make sure you don't create issues (that is, if it crashes): | CODE | #IPL DATA\MAPS\LA\LAn.IPL #IPL DATA\MAPS\LA\LAn2.IPL #IPL DATA\MAPS\LA\LAs.IPL #IPL DATA\MAPS\LA\LAs2.IPL #IPL DATA\MAPS\LA\LAe.IPL #IPL DATA\MAPS\LA\LAe2.IPL #IPL DATA\MAPS\LA\LAw.IPL #IPL DATA\MAPS\LA\LAwn.IPL #IPL DATA\MAPS\LA\LAw2.IPL #IPL DATA\MAPS\LA\LAhills.IPL IPL DATA\MAPS\SF\SFn.IPL IPL DATA\MAPS\SF\SFs.IPL IPL DATA\MAPS\SF\SFse.IPL IPL DATA\MAPS\SF\SFe.IPL IPL DATA\MAPS\SF\SFw.IPL #IPL DATA\MAPS\vegas\vegasN.IPL #IPL DATA\MAPS\vegas\vegasS.IPL #IPL DATA\MAPS\vegas\vegasE.IPL #IPL DATA\MAPS\vegas\vegasW.IPL #IPL DATA\MAPS\country\countryN.IPL #IPL DATA\MAPS\country\countN2.IPL #IPL DATA\MAPS\country\countrys.IPL #IPL DATA\MAPS\country\countryE.IPL #IPL DATA\MAPS\country\countryW.IPL
|
But, use the stripped script because some stuff has dependencies. And to reclaim ID's you need to start clearing IDE's after. Comments will do just fine. @steve: ave't gotten to the stripped cleaning stuff yet, I'm really uninspired wholly, tbh. However, it seems like you are light years planned ahead of me anyhow  True, about the storyline stuff. I didn't think of how many anims and junk could have been used just once in-game and now are totally useless
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
steve-m  |
Posted: Saturday, Mar 22 2008, 23:18
|

Group: Members
Joined: Jul 26, 2002



|
| QUOTE (goin-god @ Mar 22 2008, 20:11) | I would like to know if its posible to delete everything exept SF and interiors. Because ive tryied 3 times telling the program not to delete SF but it does anyway. Deletes the whole map, and i want SF to stay. |
Map Cleaner always removes all object instances (i.e. ipl files), you can only make it keep object definitions (ide files). To "rescue" SF, you would have to backup all of its binary ipls (inside gta3.img), then run the cleaner (v0.5!) keeping SF and default objects, and after that add the binary ipls again and reactivate the SF ipl lines in gta.dat. But I guess it will turn out to be a lot more complicated than that, if it works at all.  @derty: Don't worry. No idea yet when I'll finish and release 0.5...
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
derty  |
Posted: Saturday, Apr 26 2008, 19:16
|
My member's custom title is "Solid Snake"

Group: BUSTED!
Joined: Nov 1, 2007


|
| QUOTE (hugogta @ Apr 26 2008, 12:10) | Hey,
I just would like to remove the map, but not dff and txd files, it is possible? | In that case you will want to just do it all without actually running the app. As in, start by replacing the SCM and water.dat (scm replacing is critical as it depends on some objects) Then, open up GTA.DAT and start putting a # in front of entries that end in IPL, which will disable them. You may want to just map-clean a copied folder of your SA game and then start making your own IDEs etc in your cleaned game as there are likely a few other problems you will run into while disabling your IPL files. Either way, still, give it a try. It's worth the try for sure, because it will save you a lot of time re-defining files that were already defined, flagged, and instanced before.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
anadolu1923  |
Posted: Wednesday, Oct 29 2008, 14:29
|
Square Civilian

Group: Members
Joined: Jul 20, 2008


|
this is great thing, you are genius! thanks steve-m
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Vecis  |
|
Li'l G Loc

Group: Members
Joined: Jul 28, 2006


|
| QUOTE (ΛΈψενόκΰ @ Aug 29 2008, 22:32) | I think I have the same problem as above.
I used to have a cleaned GTA with my mod installed, I used it twice or 3 times. So my mod got messy and I decided to have a new clean installation. However, the game crashed at about 1/3 loading. Later this month i reinstalled Windows, and today I tried both versions 0.4 of cleaner with no success. I haven't done anything to my computer, back then I had mod working in the morning and not working on a new cleaned installation.
ANY cleaned game crashes, even if I don't add anything. The error message pops up, and I am returned to the desctop.
Why is that? Does anybody still reads this thread? |
Sorry for bumping but i have exactly the same problem as this guy has. And i don't see any solutions to it. Anyone can help? I'm using 0.5 RC1, added included main.scm, water.dat and test map files. Edit: Problem solved. How?Simple. I replaced wrong main.scm (data\main.scm) But for game to work i needed to replace 'data\script\main.scm', and it's working! This post has been edited by Vecis on Saturday, Dec 27 2008, 14:33
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(8) « First ... 4 5 [6] 7 8
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|