|
 |
|
|
|
|
|
Attention:
GTA:LC Launcher Last Updated June 26, 2006
 |
|
 |
| |
Ben  |
Posted: Thursday, Jun 8 2006, 08:18
|
Retired

Group: Members
Joined: May 12, 2005



|
I just had an idea for the launcher - dunno how hard it'd be to implement, but it should be do-able. Considering that we now have multiple GXTs for the same language - american and american_VC-Radio, german and german_VC-Radio - can an EXE hack be implemented to read either. Tis a little hard to explain, so I'll use an example. Say someone downloads LC, but doesn't have the GTA3 radio stations, and therefore wishes to restore the VC radio stations - done through Show Config -> Advanced -> Audio, where the path is changed. Well, when this path is changed, would it be possible to have the GXT path also changed - in the case of someone playing in English, have the path either automatically or manually (through the use of a checkbox) changed to read american_VC-Radio.gxt instead of american.gxt? If it's possible, changing the GXT path may have to be manual, as I don't know how the launcher would tell what language someone wished to use. Perhaps something in the form of a pop-up when the Restore option is executed for the radio stations - "Would you like to change the text to display the correct radio station name? Then two checkboxes where you can choose either English or German language, followed by the Yes and No buttons. If Yes is chosen, fronten2_VC-Radio.txd (available in this package) needs to be read by the launcher instead of the default fronten2.txd. Any thoughts? EDIT - Package updated .
This post has been edited by Ben on Wednesday, Jan 24 2007, 02:09
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
random_download  |
|
:o

Group: Members
Joined: Mar 7, 2004


|
OK, I found all the addresses. It seems that the gxt file are referenced by two routines. Both use a switch jump to select the right language, so I think the easiest thing to do would be to change the offset where the switch jump takes place to a location inside the asi file. Addresses: | CODE | American: 0x0058525Dh 0x005855C2h
French: 0x00585264 0x005855C9
German: 0x0058526B 0x005855D0
Italian: 0x00585272 0x005855D7
Spanish: 0x00585279 0x005855DE |
Those addresses point directly to the first byte of a DWORD which contains the address that is pushed to the stack, rather than to the start of the instruction. These two are for the address referenced in the switch jump, which I think would be better: | CODE | 0x00585258 0x005855BD |
Write a DWORD to both of those that points to an array of 5 DWORDs, which point to the code: | CODE | push <address where text eg. 'AMERICAN.GXT' is stored> jmp short loc_58527D |
And for the 2nd one (0x005855BD): | CODE | push <address where text eg. 'AMERICAN.GXT' is stored> jmp short loc_5855E2 |
Somewhere in the asi file. P.S: All addresses for VC US-v1.0 EDIT: Fixed error. This post has been edited by random_download on Friday, Jun 9 2006, 23:56
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ben  |
Posted: Thursday, Jul 13 2006, 05:15
|
Retired

Group: Members
Joined: May 12, 2005



|
I've got some goodies for those of you involved in developing the launcher, courtesy of AK-73. I asked him over email about implementing these into the LC launcher, but he's a bit busy with his own mod, so these will have to be done by someone else. But at least he has a lot of specific info for you  . See the following posts: 12345They all address a range of EXE-related issues in the checklist, so another BIG thank-you to Alex  . It'd also be great (and a HUGE favour to Alex) if anyone who knows how to alter the world lighting could post some info - that's something he's keen to learn how to mod (and it's also applicable to LC), and I think it's the least we can do to re-pay him for all of the wonderful work he's done for us. And if any of you come across my post about the SFX whilst looking over Alex's, don't worry - that info is included in the SFX download for the test7 package, courtesy of Modeling Man  . EDIT - It might also be a good idea to check the mem hacking topic regularly for any more updates from AK .
This post has been edited by Ben on Thursday, Jul 13 2006, 05:19
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(6) « First ... 2 3 [4] 5 6
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.
| |
 |
|
 |
|
|
|
|