warchild66 Posted January 2, 2009 Share Posted January 2, 2009 (edited) It is a basic speed meter for gta 4. You can use it with Asi loader. i tryed to smooth it you can change its location by arrow keys and scale +/- keys (Press F10 For Toggle) it has RPM now. Download 0.1.4 Download 0.1.5 Src it's For Gta 4 (1.01) WinXP X86 Video: Edited January 7, 2009 by warchild66 Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/ Share on other sites More sharing options...
#Shake Posted January 2, 2009 Share Posted January 2, 2009 can u post some screenshots? Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058836907 Share on other sites More sharing options...
UnknownProjects Posted January 2, 2009 Share Posted January 2, 2009 Here is a screenshot i took for you OP, It is really nice so far, the only problem i see is that the needle is a bit jerky it does not move very smooth. I will try and render a video to show it in action. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058836964 Share on other sites More sharing options...
Eurogeneraal Posted January 2, 2009 Share Posted January 2, 2009 how did you get your game so ugly? It'd do good for my system, so please tell me Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837006 Share on other sites More sharing options...
HazardX Posted January 2, 2009 Share Posted January 2, 2009 how did you get your game so ugly? It'd do good for my system, so please tell me I guess he uses a widescreen monitor as every gamer with a good taste does, nowadays. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837032 Share on other sites More sharing options...
UnknownProjects Posted January 2, 2009 Share Posted January 2, 2009 how did you get your game so ugly? It'd do good for my system, so please tell me My game isn't ugly its just the inside of the car looks like that, r* didn't do a good job on the inside textures for the vehicle since you weren't supposed to have a camera view point from there anyway. And yes i have a 22" monitor, i play in windowed 1440x900. Its just the .bmp i took was 3.58mb so imageshack down scaled the image to meet there requirements on file size. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837053 Share on other sites More sharing options...
lessthan3 Posted January 2, 2009 Share Posted January 2, 2009 medium texture quality ;D Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837066 Share on other sites More sharing options...
UnknownProjects Posted January 2, 2009 Share Posted January 2, 2009 (edited) medium texture quality ;D Haha yesss, i have to for my system specs, amd athlon 64 x2 6400+ black edition evga 8800gt superclocked 2gb g-skill ram and im running windows xp pro sp3 But anyway not to hijack thread, its pretty nice for pre-alpha good work. and nvm about the video, it seems it does not show on the screen once the video is done, i guess .asi files can't be recorded with the in game recorder, i might have to use fraps or something... Edited January 2, 2009 by UnknownProjects Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837074 Share on other sites More sharing options...
Intosia Posted January 2, 2009 Share Posted January 2, 2009 Wow great! I would love the know how to draw stuff ontop of the game. Could show some code snippet? Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837127 Share on other sites More sharing options...
UnknownProjects Posted January 2, 2009 Share Posted January 2, 2009 Also i don't know if any other people might get the same error i did, But you need d3dx9_39.dll in windows/system directory... I didn't so other people might not. Here is a place to get it d3dx9_39.dll Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837147 Share on other sites More sharing options...
warchild66 Posted January 2, 2009 Author Share Posted January 2, 2009 Wow great! I would love the know how to draw stuff ontop of the game. Could show some code snippet? c++ d3d hooking sample (i used it) http://www.gamedev.net/community/forums/to...topic_id=359794 i hooked directx9. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837228 Share on other sites More sharing options...
FunGt Posted January 2, 2009 Share Posted January 2, 2009 Nice, could you change the position of the speedometer at bottom-right? Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837393 Share on other sites More sharing options...
warchild66 Posted January 2, 2009 Author Share Posted January 2, 2009 Nice, could you change the position of the speedometer at bottom-right? it can be dragable maybe... Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837417 Share on other sites More sharing options...
sjaak327 Posted January 2, 2009 Share Posted January 2, 2009 Is this supposed to be working on a X64 system, putting the asi into GTAIV leads to crash just before the copyright screen on Vista X64. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837498 Share on other sites More sharing options...
TTKRickJames Posted January 2, 2009 Share Posted January 2, 2009 Is this supposed to be working on a X64 system, putting the asi into GTAIV leads to crash just before the copyright screen on Vista X64. exactly the same for me. Vista 64, game crashes right before legal screen. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058837627 Share on other sites More sharing options...
Alexander Blade Posted January 2, 2009 Share Posted January 2, 2009 2warchild66 : if u are using not recalculated address vista will crash because it loads GTAIV.exe with a different image base (XP loads only at 0x400000) btw nice speedometer !!11oneoneone Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058838024 Share on other sites More sharing options...
aceship Posted January 3, 2009 Share Posted January 3, 2009 Hey , i want to make a teleport to waypoint with alice, how to do it? I Try GET_MAP_AREA_FROM_COORDS To Get the Map coordinate but nothing done, i seen like this 6,1230123 5,14341234 1,2342344 On Alice.log, i think its not the map coordinates , are there any help to get a map coordinate(In The Map Waypoint)? Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058838954 Share on other sites More sharing options...
UltimateGTR Posted January 3, 2009 Share Posted January 3, 2009 This ASI seems won't work on Vista x64 system, my game crashed before the legal screen, can you fix that? Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058839414 Share on other sites More sharing options...
UnknownProjects Posted January 3, 2009 Share Posted January 3, 2009 Hey could you also make one with out the teleport feature and with out the godmode, Just like have the speedometer... that would be nice cause i already have a thing for godmode and i don't need to teleport anywhere. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058839415 Share on other sites More sharing options...
xnicx Posted January 3, 2009 Share Posted January 3, 2009 i cannot get this to work at all on 32 bit vista Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058839664 Share on other sites More sharing options...
TTKRickJames Posted January 3, 2009 Share Posted January 3, 2009 i cannot get this to work at all on 32 bit vista apperently it doesnt work on Vista period. See Alexander Blade's post above.... 2warchild66 : if u are using not recalculated address vista will crash because it loads GTAIV.exe with a different image base (XP loads only at 0x400000) btw nice speedometer !!11oneoneone Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058839775 Share on other sites More sharing options...
warchild66 Posted January 3, 2009 Author Share Posted January 3, 2009 (edited) Hey , i want to make a teleport to waypoint with alice, how to do it? I Try GET_MAP_AREA_FROM_COORDS To Get the Map coordinate but nothing done, i seen like this 6,1230123 5,14341234 1,2342344 On Alice.log, i think its not the map coordinates , are there any help to get a map coordinate(In The Map Waypoint)? The function From IDA int __cdecl GET_BLIP_COORDS(int a1, int a2) //0x00A0C430{ int v2; // eax@1 int result; // eax@5 v2 = sub_7B53E0(a1); if ( v2 < 0 ) { result = a2; __asm { xorps xmm0, xmm0 movss dword ptr [eax+8], xmm0 movss dword ptr [eax+4], xmm0 movss dword ptr [eax], xmm0 } } else { _EAX = dword_FB1AF0[v2]; if ( *(_BYTE *)(_EAX + 8) ) { __asm { movss xmm0, dword ptr [eax+30h] movss xmm1, dword ptr [eax+34h] movss xmm2, dword ptr [eax+38h] } } else { __asm { movss xmm0, dword ptr [eax+1Ch] movss xmm1, dword ptr [eax+20h] xorps xmm2, xmm2 } } result = a2; __asm { movss dword ptr [eax], xmm0 movss xmm0, [esp+10h+var_4] movss dword ptr [eax+4], xmm1 movss dword ptr [eax+8], xmm2 movss dword ptr [eax+0Ch], xmm0 } } return result;}   int const *Blips = (int*)0x00FB1AF0;  //Blips On The Map  isWpOn = false;  for(int j = 0; j<50; j++)      //I dont know the limit of the array...  {    if(Blips[j] != 0)    {        Wpx = *(float*)(Blips[j] + 0x30);         Wpy = *(float*)(Blips[j] + 0x34);         Wpz = *(float*)(Blips[j] + 0x38);    }    if(Wpz == 0) break;     //It is waypoint. Maybe better solution like blip name.   }  if(isWpOn) PrintText(m_font, "Press F12 For Teleport (%d, %d, %d)", (int)Wpx, (int)Wpy, (int)Wpz); //It is my  function to write text to screen. and i am hooked directx9 vista using directx10. Edited January 3, 2009 by warchild66 Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058839954 Share on other sites More sharing options...
TTKRickJames Posted January 3, 2009 Share Posted January 3, 2009 and i am hooked directx9 vista using directx10. Does this mean we Vista x64 users should be able to use this? And I was under the impression that GTA IV is DX9... Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058840003 Share on other sites More sharing options...
warchild66 Posted January 3, 2009 Author Share Posted January 3, 2009 and i am hooked directx9 vista using directx10. Does this mean we Vista x64 users should be able to use this? And I was under the impression that GTA IV is DX9... i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64 i am using recalculated addresses. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058840022 Share on other sites More sharing options...
TTKRickJames Posted January 3, 2009 Share Posted January 3, 2009 (edited) and i am hooked directx9 vista using directx10. Does this mean we Vista x64 users should be able to use this? And I was under the impression that GTA IV is DX9... i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64 i am using recalculated addresses. i downloaded again, and am trying that Dx file someone else posted , will post back either way. UPDATE: still doesn't work. oh well. Cant wait till it is working though. This is number 1 on my most wanted mods list. Keep up the good work. Edited January 3, 2009 by TTKRickJames Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058840027 Share on other sites More sharing options...
xnicx Posted January 4, 2009 Share Posted January 4, 2009 and i am hooked directx9 vista using directx10. Does this mean we Vista x64 users should be able to use this? And I was under the impression that GTA IV is DX9... i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64 i am using recalculated addresses. i downloaded again, and am trying that Dx file someone else posted , will post back either way. UPDATE: still doesn't work. oh well. Cant wait till it is working though. This is number 1 on my most wanted mods list. Keep up the good work. yeah i tried that too, and i agree it is No 1 on my most wanted list as well. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058843589 Share on other sites More sharing options...
aceship Posted January 4, 2009 Share Posted January 4, 2009 Hey , i want to make a teleport to waypoint with alice, how to do it? I Try GET_MAP_AREA_FROM_COORDS To Get the Map coordinate but nothing done, i seen like this 6,1230123 5,14341234 1,2342344 On Alice.log, i think its not the map coordinates , are there any help to get a map coordinate(In The Map Waypoint)? The function From IDA int __cdecl GET_BLIP_COORDS(int a1, int a2) //0x00A0C430{ int v2; // eax@1 int result; // eax@5 v2 = sub_7B53E0(a1); if ( v2 < 0 ) { result = a2; __asm { xorps xmm0, xmm0 movss dword ptr [eax+8], xmm0 movss dword ptr [eax+4], xmm0 movss dword ptr [eax], xmm0 } } else { _EAX = dword_FB1AF0[v2]; if ( *(_BYTE *)(_EAX + 8) ) { __asm { movss xmm0, dword ptr [eax+30h] movss xmm1, dword ptr [eax+34h] movss xmm2, dword ptr [eax+38h] } } else { __asm { movss xmm0, dword ptr [eax+1Ch] movss xmm1, dword ptr [eax+20h] xorps xmm2, xmm2 } } result = a2; __asm { movss dword ptr [eax], xmm0 movss xmm0, [esp+10h+var_4] movss dword ptr [eax+4], xmm1 movss dword ptr [eax+8], xmm2 movss dword ptr [eax+0Ch], xmm0 } } return result;}   int const *Blips = (int*)0x00FB1AF0;  //Blips On The Map  isWpOn = false;  for(int j = 0; j<50; j++)      //I dont know the limit of the array...  {    if(Blips[j] != 0)    {        Wpx = *(float*)(Blips[j] + 0x30);         Wpy = *(float*)(Blips[j] + 0x34);         Wpz = *(float*)(Blips[j] + 0x38);    }    if(Wpz == 0) break;     //It is waypoint. Maybe better solution like blip name.   }  if(isWpOn) PrintText(m_font, "Press F12 For Teleport (%d, %d, %d)", (int)Wpx, (int)Wpy, (int)Wpz); //It is my  function to write text to screen. and i am hooked directx9 vista using directx10. I don understand it, Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058846277 Share on other sites More sharing options...
UnknownProjects Posted January 4, 2009 Share Posted January 4, 2009 I run it on XP and i needed that dx file i posted to get mine to work, cause an error box came up saying my pc didn't have that .dll file... So i have no idea if that will make in work in vista sooo idk. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058846391 Share on other sites More sharing options...
TTKRickJames Posted January 5, 2009 Share Posted January 5, 2009 With the latest version i can put the asi in the GTA IV folder and my game doesnt crash anymore, but no speedo Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058847572 Share on other sites More sharing options...
warchild66 Posted January 5, 2009 Author Share Posted January 5, 2009 i can put a logger to log steps. Link to comment https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/#findComment-1058847578 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