Quantcast

Jump to content

» «
Photo

[REL][BETA 2]GTASA SaveGame ENEX Updater 0.1 beta2

20 replies to this topic
ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#1

Posted 19 June 2008 - 08:26 PM

Guys I released the latest version of G^seu. It got fixed most of the bugs contained in the beta1. Also it is powered with some new features like. Editing existing ENEXs. An added feature enables you to Lock/Unlcok any ENEXs. whether new or existing.

Also its now kind of complete tool with proper documentation.
Here is the download link

DOWNLOAD

or check out my blogg

My Blogg

OrionSR
  • OrionSR

    Chain Game Development Team

  • Members
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#2

Posted 20 June 2008 - 07:27 AM

Initial Report on Beta2

The program stripped all my comments from gta.dat. This is not acceptable. The tool did not make a backup of gta.dat. When I selected Cancel after Updating the tool made the changes anyway. Nothing was altered so I'm not sure why the tool messed up my file.

I tried adding a new enex to an existing IPL file and altering an existing line but no modifications were made to the IPL file. I fear was that the tool will strip the comments from my IPL files. The commented lines must remain in place and in order. Consider them as disabled lines that may be switched for another line. Same goes for gta.dat.

My enex lines are heavily annotated with "end-line comments." This text is ending up mixed with the Hour Off field and all spaces are being stripped. Unfortunately when I commented my files I used // to denote a comment instead of using the proper format of # to denote comments. Xmen has adjusted his tool to handle only the // comment marker, and at this point I don't feel like updating all my IPL files again. Here's an example from LAs.ipl:
CODE
enex
# 1833.54, -1843.38, 12.5595, 0, 1, 1, 8, 1831.54, -1843.38, 12.5595, 90, 0, 4, "X7_11B", 0, 2, 0, 24 // Unity 24-7
#1833.54, -1843.38, 12.5595, 0, 1, 1, 8, 1831.54, -1843.38, 12.5595, 90, 0, 98, "DS2LS2", 0, 2, 0, 24  // ^warp to Unmarked El Que Barber (allow cars and bikes)
1833.54, -1843.38, 12.5595, 0, 1, 1, 8, 1831.54, -1843.38, 12.5595, 90, 0, 354, "DS2LS2", 0, 2, 0, 24  // ^also accept NPC group
1684.74, -2099, 12.8507, 0, 2, 2, 8, 1684.76, -2101.99, 12.8507, -180, 0, 4, "SVLAMD", 0, 2, 0, 24    // El Corona save
end


At the end of the process the program doesn't appear have a method to reload and start again. The user must quit the application and start again in order to make additional changes.

I haven't really got into what the tool is doing or how it is working. I've got too many other conflicts to make much progress. I don't want to be too critical of the tool, especially considering the unique posibility of reworking enex connections on existing saves, but my first impression is that this is an extremely dangerous tool. I've got a pretty good handle on how to alter my enexes in the IPL files and in the save file, but I'm really nervous about using this tool properly.

The save I modified with the tool was that save where I had the nested hideout inside of Caligula's Penthouse Suites. I'm not sure if the change I made worked or not as CJ was not able to leave the hideout. The destination for the LA Big House had been changed to the Queens Wardrobe and Queen's main door doesn't have a connection on this map so CJ was trapped. This is an unusual situation, but it brings up a potential problem.

For starters, the Queens Wardrobe link would have been the last matching name, but the LA Big House should have already had it's link set to the first enex with a match, not the last. This shouldn't matter on new saves, but it does break with the standard format for matching enex connections

The other problem is that the tool is reassigning the exit destination for the interior in which CJ has saved. On a game save where CJ has saved at Mulholland he'll probably end up in SF after using the tool, and a save at El Corona is likely to end up with an exit location in LV. This could be a bit dangerous if those areas are not unlocked. Setting the link to the first match should avoid spawning CJ in the wrong city, but it still seems weird to change the location of the save house used. Perhaps the nested enex chain can be used to repair the save location after all the links are redrawn.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#3

Posted 20 June 2008 - 12:11 PM Edited by ATHMystikal, 20 June 2008 - 12:14 PM.

QUOTE
The other problem is that the tool is reassigning the exit destination for the interior in which CJ has saved. On a game save where CJ has saved at Mulholland he'll probably end up in SF after using the tool, and a save at El Corona is likely to end up with an exit location in LV. This could be a bit dangerous if those areas are not unlocked. Setting the link to the first match should avoid spawning CJ in the wrong city, but it still seems weird to change the location of the save house used. Perhaps the nested enex chain can be used to repair the save location after all the links are redrawn.

Thankz a lot. I have almost fixed the above problem (atleast for single savehouse). I am wondering why i didn't noticed these problems. I stayed upto 3.45 AM that night/day checking for buggs before i uploaded the file.

Other problems are also under concideration.

I found something about extra burglary. May be you already knew it. In an original save after 1st mision, some of the burglary enex have destination as FFFF. But In savefiles containing extra burglary ENEXs, some of these FFFF are replaced with those extra ones. This assignment is random as far i know. It is different in savefiles. And the extra enexs are connected back to these existing saves.
But in some cases, the extra burglary enexs are connected to already paired ones like TATOO. But the destination of TATOO is same as before, not altered.

And one more question, the number of saved extra Burglary enexs is always 10 ???

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#4

Posted 20 June 2008 - 12:30 PM Edited by ATHMystikal, 20 June 2008 - 12:33 PM.

Something about the internal working of tool.

How it finds out matched pairs

First it scan all ipls and make a list of ENEX numbers who have the same GXT name.

Then each item in list will be another list which may look like this(for SVLAMD)
CODE

0A 00 04 00  SVLAMD LAs.IPL El Corona Safe House
24 00 04 00  SVLAMD LAw.ipl Verona Beach Safe House
2E 00 04 00  SVLAMD LAw2.ipl Santa Maria Safe House
97 00 04 00  SVLAMD vegasE.ipl Rockshore West save
AB 00 04 00  SVLAMD vegasW.ipl Redsands West save
AD 00 04 00  SVLAMD vegasW.ipl Whitewood Estates save
72 01 00 40  SVLAMD savehous.ipl Verdant Bluffs Int

Then it find out the interior ENEX and connect all others to it.
CODE

0A 00 04 00 72 01 SVLAMD LAs.IPL El Corona Safe House
24 00 04 00 72 01 SVLAMD LAw.ipl Verona Beach Safe House
2E 00 04 00 72 01 SVLAMD LAw2.ipl Santa Maria Safe House
97 00 04 00 72 01 SVLAMD vegasE.ipl Rockshore West save
AB 00 04 00 72 01 SVLAMD vegasW.ipl Redsands West save
AD 00 04 00 72 01 SVLAMD vegasW.ipl Whitewood Estates save
72 01 00 40           SVLAMD savehous.ipl Verdant Bluffs Int


The next step caused all the trouble.

It take the nearest ENEX of the interior ENEX and connect the interior ENEX with it
CODE

0A 00 04 00 72 01 SVLAMD LAs.IPL El Corona Safe House
24 00 04 00 72 01 SVLAMD LAw.ipl Verona Beach Safe House
2E 00 04 00 72 01 SVLAMD LAw2.ipl Santa Maria Safe House
97 00 04 00 72 01 SVLAMD vegasE.ipl Rockshore West save
AB 00 04 00 72 01 SVLAMD vegasW.ipl Redsands West save
AD 00 04 00 72 01 SVLAMD vegasW.ipl Whitewood Estates save
72 01 00 40 AD 00 SVLAMD savehous.ipl Verdant Bluffs Int

This caused all trubles. Now I fixed it by reading the savehouse chain and reassigning the connection.

But i kept the same method for connecting other pairs. I think the change is only needed for current svehouse ENEX chain only.

my god the guys at R* are great, how did they do it perfectly!!!!!

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#5

Posted 20 June 2008 - 03:58 PM

QUOTE (ATHMystikal @ Jun 19 2008, 20:26)
Guys I released the latest version of G^seu. It got fixed most of the bugs contained in the beta1. Also it is powered with some new features like. Editing existing ENEXs. An added feature enables you to Lock/Unlcok any ENEXs. whether new or existing.

Also its now kind of complete tool with proper documentation.
Here is the download link

DOWNLOAD

or check out my blogg

My Blogg

To update savefiles to work with modified enex is very useful.
But it needs more description to know how to make enex settings and which IPL.
You should but you didnt, so I will clarify something.

1. XYZ2 are not the locations of the target. Its for coming back.
XYZ2 should be near XYZ1

2. The entry of GXT name is not exactly the gxt name, its the ENEX-NAME
like in spaceeinsteins IPL Definitions
QUOTE
Name - interior name, used to find the counterpart and to identify via mission script

Its the only information of the target in the enex string

3. The number entry of the Interior must be the interior number of the starting place

Thats my knowledge when I have a look into existing IPLs

So I made an enex in vegasW.ipl
CODE
892.02, 2032.08, 10.82, 0, 1.5, 1.5, 8, 892.02, 2027.08, 10.82, 90, 0, 4, "MDDOGS", 0, 2, 0, 24

Works fine.
To get in and out needs allways 2 enex (one on map and one in interior)

I tried to get back from "MDDOGS"
Enex marker appears but dont work
int_LA.ipl
CODE
1297.16, -790.57, 1084.01, 0, 1.0, 1.0, 8, 1299.16, -790.57, 1084.01, 90, 5, 4, "MDDOGS", 1, 2, 0, 24

other trial
CODE
1297.16, -790.57, 1084.01, 0, 1.0, 1.0, 8, 1299.16, -790.57, 1084.01, 90, 5, 4, "MDDOGS", 0, 0, 0, 24

No success, any idea ?



Two additional enex in vegasW.ipl
CODE
886.08, 2031.6, 10.82, 0, 1.5, 1.5, 8, 886.08, 2027.08, 10.82, 90, 0, 4, "CARLS", 0, 2, 0, 24
879.43, 2031.6, 10.82, 0, 1.5, 1.5, 8, 879.43, 2027.08, 10.82, 90, 0, 4, "CASINO2", 0, 2, 0, 24

Works fine.
Arrived back to the modded start location in vegasW by using original enex for exit the interior.
Thats right. Also after make save in "CARLS" and load this save, arrived at the modded start location in vegasW.


Request:
-The edit button dont work. If I made a failure i had to delete the string and making a new. Its a terrible kind of editing.
-The chance for adding a complete string would be very useful

-Enex works only with existing Enex Names. Its not possible to get access to the girlfriend rooms
(spaceeinstein wrote: |GF1|Denise's| but it dont works) will there be a solution ?


Basicly your tool works fine. With the modded enex above i testet ca. 30 other entrances, in and out and didnt got any enex bug.

gtasbigfoot
  • gtasbigfoot

    平和クールです

  • Members
  • Joined: 01 Jan 2008

#6

Posted 20 June 2008 - 05:55 PM Edited by gtasbigfoot, 20 June 2008 - 06:12 PM.

Ive been working my self on ENEXfor my mission Your tool is very good i must say,is very usefull for every modder.

CODE

-1945.9468, -2457.6553, 30.7781,0, 1, 1, 8,  -1953.1443, -2464.3528, 30.625,314.1245 ,0, 4, "MADDOGS" 0, 2, 0, 24


CODE

-1726.637, -2217.3491, 54.0557,0, 1, 1, 8,  -1723.1042, -2217.2815, 52.529,100.3394 ,0, 4, "AMMUN1" 0, 2, 0, 24


CODE

-212.244, -1511.8516, 8.0453,0, 1, 1, 8,  -1710.6908, -2225.739, 46.9365,278.5248 ,0, 4, "AMMUN1" 0, 2, 0, 24


QUOTE

1. XYZ2 are not the locations of the target. Its for coming back.
XYZ2 should be near XYZ1



CODE

format:for enex
InX, InY, InZ, InR, XRad, YRad, C8, OutX, OutY, OutZ, Outangle, Int, Mark, Name, Sky, IntF, Ton, Toff



Any idea how to link CJ to real world to real world without link to another enex ?


Tryed diffent enex link big ear,tall building.


CODE


1571.24, -1336.67, 15.7288, 0, 3, 3, 8, 1577.24, -1330.67, 15.7288, -46, 0, 70, "SKYLAN2", 0, 2, 0, 24


QUOTE

-The edit button dont work. If I made a failure i had to delete the string and making a new. Its a terrible kind of editing.


Yes could you fix that ? The tool is very good & usefull no bugs other than that at all for me.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#7

Posted 20 June 2008 - 06:32 PM Edited by ATHMystikal, 20 June 2008 - 06:41 PM.

To ZAZ:
Thankz for the feedback

Well I designed this tool only for updating the savefiles. Adding enexs within the tool was not in my mind but I added it if somebody need it. But as I can see that you are interested in adding enex using tool, i will add it somemore functionality.


And about giving enex in single string. There is a better way.:

Create a complete IPL using IPL Helper , then add that file through the tool. It will automatically add all ENEXs in them. That IPL is added to gta.dat also, so you need only to specify the ipl everything else is automatic.

Then about the bug.

As you said there is a small problem with safehouse shuffling. But it is only at start . When you load savegame and get out of safehouse, there is a bug which takes you to exit of someother safehouse. But it will not affect other ENEXs.

But I can fix it soon.

GXT Name : Yes you are correct. But there is a GXT entry of samename which is used to display the text when you enter an enex. I will change it to 'ENEX Name'
in next version.

QUOTE


So I made an enex in vegasW.iplCODE
892.02, 2032.08, 10.82, 0, 1.5, 1.5, 8, 892.02, 2027.08, 10.82, 90, 0, 4, "MDDOGS", 0, 2, 0, 24


Works fine.
To get in and out needs allways 2 enex (one on map and one in interior)

I tried to get back from "MDDOGS"
Enex marker appears but dont work
int_LA.ipl
CODE

1297.16, -790.57, 1084.01, 0, 1.0, 1.0, 8, 1299.16, -790.57, 1084.01, 90, 5, 4, "MDDOGS", 1, 2, 0, 24


other trial
CODE
1297.16, -790.57, 1084.01, 0, 1.0, 1.0, 8, 1299.16, -790.57, 1084.01, 90, 5, 4, "MDDOGS", 0, 0, 0, 24


No success, any idea ?


I think the MDDOGS interior must be locked by the game.

Oh wait: You said you saw the marker? Then it is unlocked.


But why did you made the last two ENEX entries. You should not make interior ENEXs. Becaue those already exists in that name. Make only the exterior one.

If you want your own int-ext pair, Use different name from what game uses. Like 'MADDG1' or something like that.

If you want to make an external marker to take cj to the crib, Only the exterior marker is needed, because interior is already defined in the IPL 'DATA\MAPS\interior\int_LA.ipl'

If you want to make your own pair use this

CODE

Exterior:
892.02, 2032.08, 10.82, 0, 1.5, 1.5, 8, 892.02, 2027.08, 10.82, 90,0 ,4,"MADDG1", 0, 2, 0, 24
Interior:
1298.08, -794.827, 1083.03, 0, 3, 1, 8, 1299.08, -795.227, 1083.03, -8, 5, 0, "MADDG1", 1, 0, 0, 24


QUOTE

-The edit button dont work. If I made a failure i had to delete the string and making a new. Its a terrible kind of editing.


You must have downloaded beta1, beta1 does not support editing.

QUOTE

-Enex works only with existing Enex Names. Its not possible to get access to the girlfriend rooms
(spaceeinstein wrote: |GF1|Denise's| but it dont works) will there be a solution ?


I didn't get it correctly. Will you please explain it a little more. Ok I will sure try to do that.

QUOTE

Basicly your tool works fine. With the modded enex above i testet ca. 30 other entrances, in and out and didnt got any enex bug.

Thankz very happy to hear that.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#8

Posted 20 June 2008 - 06:40 PM Edited by ATHMystikal, 20 June 2008 - 06:54 PM.

To gtabigfoot:
QUOTE

Any idea how to link CJ to real world to real world without link to another enex ?


Yes I think I can help you, but I didn't tested it much.

*First you must create two ENEXs in an IPL
*They must have same ENEX names.
CODE


X1, Y1, Z1, 0, 3, 3, 8, X2, Y2, Z2, -46, 0, 70, "URNAME", 0, 2, 0, 24

X3, Y3, Y3, 0, 3, 3, 8, X4, Y4, Z4, 90, 0, 66, "URNAME", 0, 2, 0, 24


X1,Y1,Z1 and X3,Y3,Z3 are marker location of first and second ENEXs respectively.

X2,Y2,Z2 and X4,Y4,Z4 are exit positon of First and second ENEXs respectively.

By saying 'exit' I mean it is the position you will be taken to by other ENEX.

For example. In this case, You enter first enex located at X1,Y1,Z1 and it will take you to X4,Y4,Z4 and
When you comeback, through ENEX at X3,Y3,Z3, you will be taken to X2,Y2.Z2.

Try to use ENEX Names less than or equal to 7 letters

Look carefully, you can see that the Marker type is 70 and 66 bigger number than normal ones. These can be other nos also

If you want more info on these numbers, try this topic;
Mark explanation by OrionSR and pdescobar
Brief tutorial by pdescobar (17th post down)

Happy to hear that the tool was useful to you.

BTW Edit button dooesn't work???. I enabled it in beta2 which is published. Did you try that?

IMPORTANT: As OrionSR said, I too got a feeling that the tool is a bit dangerous. So take backup of data folder and savefiles before you tru to update.

gtasbigfoot
  • gtasbigfoot

    平和クールです

  • Members
  • Joined: 01 Jan 2008

#9

Posted 20 June 2008 - 08:01 PM Edited by gtasbigfoot, 20 June 2008 - 09:13 PM.

Thx alot works nice, been doing enex for a long time but i never have been able to link them correct to another in real world for some reason i keeped on spawning at a long tower in the desert near area 69.

These are the ones i did in linking real world-real world with your info.


CODE

-1638.4142, -2227.0591, 30.2185, 0, 3, 3, 8, -120.4738, -2664.1653, 71.9278 -46, 0, 70, "enex2", 0, 2, 0, 24
-1301.7812, -1632.5659, 53.5525 0, 3, 3, 8, -227.1601, -2075.6287, 31.2067, 90, 0, 66, "enex2", 0, 2, 0, 24



QUOTE

BTW Edit button dooesn't work???. I enabled it in beta2 which is published. Did you try that?


Yes,just now works great!

QUOTE


IMPORTANT: As OrionSR said, I too got a feeling that the tool is a bit dangerous. So take backup of data folder and savefiles before you tru to update.


I have a two R* games folders i did not try the tool on the real one yet i make new ipls with notepad,20 mins later:but just tryed it on the real a min just now did not see anything worng but I will keep track of what you said:) thx for info!

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#10

Posted 21 June 2008 - 04:46 AM

QUOTE (gtasbigfoot @ Jun 21 2008, 02:01)
Thx alot works nice, been doing enex for a long time but i never have been able to link them correct to another in real world for some reason i keeped on spawning at a long tower in the desert near area 69.

These are the ones i did in linking real world-real world with your info.


CODE

-1638.4142, -2227.0591, 30.2185, 0, 3, 3, 8, -120.4738, -2664.1653, 71.9278 -46, 0, 70, "enex2", 0, 2, 0, 24
-1301.7812, -1632.5659, 53.5525 0, 3, 3, 8, -227.1601, -2075.6287, 31.2067, 90, 0, 66, "enex2", 0, 2, 0, 24



Those entries should work. Are they still spawning you at area 69 tower?

OrionSR
  • OrionSR

    Chain Game Development Team

  • Members
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#11

Posted 21 June 2008 - 04:50 AM

QUOTE
-Enex works only with existing Enex Names. Its not possible to get access to the girlfriend rooms
(spaceeinstein wrote: |GF1|Denise's| but it dont works) will there be a solution ?


Links to the GF Interior should work just fine. The doors, both inside and out, will get locked by the game script unless they are renamed to something else.

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#12

Posted 21 June 2008 - 10:50 AM

QUOTE (OrionSR @ Jun 21 2008, 04:50)
QUOTE
-Enex works only with existing Enex Names. Its not possible to get access to the girlfriend rooms
(spaceeinstein wrote: |GF1|Denise's| but it dont works) will there be a solution ?


Links to the GF Interior should work just fine. The doors, both inside and out, will get locked by the game script unless they are renamed to something else.

Ok guys, i understand.
I created a new ipl
CODE
# My_EnterINT.ipl
inst
end
cull
end
path
end
grge
end
enex
879.43, 2031.6, 10.82, 0, 1.5, 1.5, 8, 879.43, 2027.08, 10.82, 90, 0, 4, "GF1", 0, 2, 0, 24
892.02, 2032.08, 10.82, 0, 1.5, 1.5, 8, 892.02, 2027.08, 10.82, 90, 0, 4, "MDDOG1", 0, 2, 0, 24
1297.16, -790.57, 1083.03, 0, 1.0, 1.0, 8, 1299.16, -795.227, 1083.03, 90, 5, 0, "MDDOG1", 1, 0, 0, 24
end
pick
end
cars
end
jump
end
tcyc
end
auzo
end
mult
end


Used a stripped main and started new game. The enex worked fine.
"GF1" works if it is enabled (with stripped main all enabled by default)
The new created "MDDOG1" works too, Interior and Exterior.


Removed stripped main and inserted original main
Used now Beta2 of SaveGame ENEX Updater, loaded gta.dat, savefile and added Existing IPL: My_EnterINT.ipl
Started game, loaded save but no enex appear.
Wrote a Cleo script to enable "GF1" and "MDDOG1"

Only "GF1" appears
"MDDOG1" not. If I go to XYZ1, CJ will be teleported to XYZ2 but not into interior.

Started new game with original main, now both enex works.

Disabled a lot of other enex with Cleo script and loaded the modded savegame.
No success. Only "GF1" appears.

New created enex pairs wont work with save file updating





ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#13

Posted 21 June 2008 - 11:14 AM Edited by ATHMystikal, 21 June 2008 - 11:29 AM.

TO ZAZ: I will check that problem very soon. Thanks for reporting.
Did u try to add real world enex pairs. Or only int-ext pair has problem.

EDIT: I need a clarification. You said u added the enex and tried it on new game. Then u must have modified the gta.dat. Then u run the tool and loaded the modified gta.dat. So enex must have added 2 times. This may have caused the trouble

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#14

Posted 21 June 2008 - 12:19 PM Edited by ZAZ, 21 June 2008 - 12:31 PM.

QUOTE (ATHMystikal @ Jun 21 2008, 11:14)
TO ZAZ: I will check that problem very soon. Thanks for reporting.
Did u try to add real world enex pairs. Or only int-ext pair has problem.

Tried only int-ext pair


QUOTE
EDIT: I need a clarification. You said u added the enex and tried it on new game. Then u must have modified the gta.dat. Then u run the tool and loaded the modified gta.dat. So enex must have added 2 times. This may have caused the trouble

No. I first had to remove the modded line in gta.dat. Your tool wont load a savegame when it loaded first a modded gta.dat

gtasbigfoot
  • gtasbigfoot

    平和クールです

  • Members
  • Joined: 01 Jan 2008

#15

Posted 21 June 2008 - 12:33 PM Edited by gtasbigfoot, 21 June 2008 - 01:04 PM.

QUOTE (ATHMystikal @ Jun 21 2008, 04:46)
QUOTE (gtasbigfoot @ Jun 21 2008, 02:01)
Thx alot works nice, been doing enex for a long time but i never have been able to link them correct to another in real world for some reason i keeped on spawning at a long tower in the desert near area 69.

These are the ones i did in linking real world-real world with your info.


CODE

-1638.4142, -2227.0591, 30.2185, 0, 3, 3, 8, -120.4738, -2664.1653, 71.9278 -46, 0, 70, "enex2", 0, 2, 0, 24
-1301.7812, -1632.5659, 53.5525 0, 3, 3, 8, -227.1601, -2075.6287, 31.2067, 90, 0, 66, "enex2", 0, 2, 0, 24



Those entries should work. Are they still spawning you at area 69 tower?

Nope,now it works great now,I think what i did before was mix the enex up with were the it takes the player,I did not link them correct.


QUOTE


Used a stripped main and started new game. The enex worked fine.
"GF1" works if it is enabled (with stripped main all enabled by default)
The new created "MDDOG1" works too, Interior and Exterior.


Removed stripped main and inserted original main
Used now Beta2 of SaveGame ENEX Updater, loaded gta.dat, savefile and added Existing IPL: My_EnterINT.ipl
Started game, loaded save but no enex appear.
Wrote a Cleo script to enable "GF1" and "MDDOG1"

Only "GF1" appears
"MDDOG1" not. If I go to XYZ1, CJ will be teleported to XYZ2 but not into interior.

Started new game with original main, now both enex works.

Disabled a lot of other enex with Cleo script and loaded the modded savegame.
No success. Only "GF1" appears.

New created enex pairs wont work with save file updating


I know what you mean when ever I try to spawn enex to go to GF1 it dosen't apper for a test i even changed one of my other to go to GF1 but it didn't spawn changed it back to nomal and it spawned.

disabled 5 others with coding.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#16

Posted 21 June 2008 - 01:49 PM

Guys,
This version of tool cannot create connection to special interiors like GF1. But i am trying to add that option.

The other thing, the int-ext bug, is definitely my fault. I made a small mistake in coding. But i will fix it and upload it within 1 day

Thanks for pointing the errors. As I am adding new features, bugs are increasing by about two times!! Quite funny. Thats why I as you to take backups.



ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#17

Posted 21 June 2008 - 02:26 PM

QUOTE (ATHMystikal @ Jun 21 2008, 13:49)
Guys,
        This version of tool cannot create connection to special interiors like GF1. But i am trying to add that option.

Shure it can. As I said:

QUOTE
Used now Beta2 of SaveGame ENEX Updater, loaded gta.dat, savefile and added Existing IPL: My_EnterINT.ipl
Started game, loaded save but no enex appear.
Wrote a Cleo script to enable "GF1" and "MDDOG1"

Only "GF1" appears
"MDDOG1" not. If I go to XYZ1, CJ will be teleported to XYZ2 but not into interior.


It means: "GF1" works with savegame update, because it uses originaly enex name.
(in with modded enex, ex with original)
But the enex must be enabled. In stripped main its enable by default. In original main it disabled.
To enable in original savegame a cleo script is useful:
CODE
07FB: toggle_interior 'GF1' access 1

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#18

Posted 21 June 2008 - 03:22 PM

Hey ZAZ, I fixed the problem with int-ext ENEX pair. As I told it was due to my mistake (I forgot to comment a line in my program which caused the trouble.)

But about GF1, I tested it with your IPL. So I am giving a description f what I saw

1. two new markers at Willofield Estates.
First one expected to take you to MadDogs
Second one to GF1
2. One new marker in MadDogs interior which expected to take you back to Willofoeld
the original one is present also.

The above description is according to bug fixed version.

But I tried GF1, it took me to GF1 interior. But there is no coming back. This is expected, because I have disabled the ability to connect special interiors. thats why I said tool is not able to make such connections.( i mean beta2 but beta1 may do it im not sure)

Why I disabled Special interiors:

Those interiors have no match in noraml IPL. You have no yellow marker which connect you to them. Those markers are generated temperorily during dating. So they have FFFF as their destination ID. Such ENEXs assume the original Destination ID through game play.

So I am able to make my tool connect those with your exterior marker. But I fear that it will interrupt the gameflow.(because after that the game may not be able to connect them during dating. )

So if you really want to do it, I will add an option which enables to connect/disconnect such special interior.

OrionSR
  • OrionSR

    Chain Game Development Team

  • Members
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#19

Posted 21 June 2008 - 06:42 PM

I'm confused as to why the GF "special" interiors are treated differently. The GF Interiors, like the other unused interiors, have a destination index of -1 (FFFF). These enex connections function just like one-way links. Enter XYZ1 and exit at XYZ2 (see Big Ear Tower, SF Tower, DamIn/DamOut, Pier 69). If CJ uses an enex with a destination set to a one-way or unused link then the destination address of the one-way/unused enex will be set to the return address of the enex used.

That sounds confusing, try again: The destination addresses are always redirected to whichever enex linked to that door. This is how the fastfood, wardrobe, and common safehouses remember where to return CJ. As far as I can tell, this is the main method for redirecting enex connections during game play. There doesn't seem to be any scripting options available, but the game engine seems to be able manipulate things. BTW, I suspect a clever cleo script could rewrite the destination address using a hex patch.

*Sorry for mixing and matching my terms. The destination ID should be termed as an index (structure address + index*record length = record address). But the changes occur in memory which uses the memory address not the index; the index is calculated and written to the save file. Next time I update the wiki I'll be changing the term Destination ID to Destination Index.

It might be worth checking into the Millie Keycard scripts to see how her enex is handled. I haven't experimented with the HC scripts, but I suspect access to the interiors is controlled completely by the mission script. CJ is teleported to the interior for the mission and teleported back out after the mission. No enex links are used. Anyway, I anticipate no problems to linking to these interiors.

BTW, an alternative to using a CLEO script or stripped main to keep interiors open is to change the enex name to something else. This might result in confusing zone names when using the link, but you can always rename the links back to the original name after the startup scripts have completed. Also, I'm not sure if the character scripts such as store clerks will appear if the interior names are altered. I know the exterior and interior names must match, but I'm not sure if original names are required. This doesn't work for property exteriors; they use coordinates to lock and unlock the door.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#20

Posted 22 June 2008 - 08:55 AM

Thankz OrionSR I've reenabled the tools ability to connect to unused interiors like GF1. But since such interiors are initially locked, Even though u can go into it, the return ENEX will not appear. IOW you are trapped. So yopu must unlock such interior ENEX if you want to comeback. I hope my tool can unlock them.

I wiil upload the tool with those fixes within hours. After that I'm going to rewrite the entire code, because those hot fixes actually ruined the readability and performance.

ATHMystikal
  • ATHMystikal

    I want to know every damn thing in this world

  • Members
  • Joined: 10 Mar 2007

#21

Posted 22 June 2008 - 09:57 AM Edited by ATHMystikal, 22 June 2008 - 09:59 AM.

G^seu- Hot Fix released. (G^seu 0.1c)

I have uploaded the G^seu hot fix on gtagarage.com.

This will fix some of the bugs found in G^seu01.b.

The bug that spawned CJ at wrong safehouse is fixed.

The bug that crea problems with creating new Interior-Exterior pair is also fixed.

And I've reenabled ability to connect special Interiors.


How to connect Special Interiors:
-----------------------------------------

Add an exterior ENEX as normal with special Interior name.
Then find out the special interior ENEX, (it will be defined in one of the interior IPLs]. Select it. and choose 'Edit'. If it is locked, then unlock it and press 'OK'.
Then update the savefile.


Important
-------------


I found that all ENEXs that are added through 'Add Existing IPl file' are automatically locked by the tool. So you have to manually unlock them using 'Edit feature'. Sorry for the inconvenience.


I am going to rewrite the whole code for better performance and more reliability. So It take some time. So there won't be a new version soon before the final version. But the final version will have many exciting new features and better UI.

I will publish intermediate betas for testing. and I will give the link in this topic. So those who are willing to help can use them to test.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users