ghost of delete key Posted February 1, 2010 Share Posted February 1, 2010 float fSpeedoMultiplier = 3.6f; // Default multiplier to 2.24 (mph)...3.6(kmh) What you need? - Visual C++ 2008 Express Edition - DirectX8 SDK - The good old Speedo-Source (Yep...I never delete a sourcecode...never...for years!) Friggin' sweet! I've been looking for this source forever... except the link you gave has been dead for like a day. Could you upload to a different host that doesn't suck? I'll send a basket of cookies. "I can just imagine him driving off the edge of a cliff like Thelma & Louise, playing his Q:13 mix at full volume, crying into a bottle." - Craig Link to comment Share on other sites More sharing options...
JohnMirror Posted February 1, 2010 Share Posted February 1, 2010 The speedometer and the source code can be found at http://spookie.gameoverlay.com/speedo Link to comment Share on other sites More sharing options...
ghost of delete key Posted February 2, 2010 Share Posted February 2, 2010 (edited) Thanks a bunch! Here's your basket of cookies... Edited February 2, 2010 by ghost of delete key "I can just imagine him driving off the edge of a cliff like Thelma & Louise, playing his Q:13 mix at full volume, crying into a bottle." - Craig Link to comment Share on other sites More sharing options...
JohnMirror Posted February 2, 2010 Share Posted February 2, 2010 Thanks I downloaded and installed Visual C++ 2008 and DirectX SDK. Also I added 2 paths at "Visual C++ directories in the Projects and Solutions section in the Options dialog box" (Include and Library) pointing to DirectX 9 SDK files and replaced "afxres.h" with "windows.h" in code. After "build" I get speedo.dll 1MB. If I try to copy the file as d3d8.dll into the Vice City folder gta-vc.exe shows error: "The application failed to initialize properly (0xc000007b). Click on OK to terminate the application". What should I do...? Link to comment Share on other sites More sharing options...
grovespaz Posted February 3, 2010 Share Posted February 3, 2010 I had the same problem recently. I am terribly sorry I do not remember how I solved it IIRC, it can be caused by wrong libs, wrong or missing dlls and any other number of things. I have successfully used MSVC++ 2003 to compile and run this, most other versions gave me a bad headache. BTW, I have been working on the speedo source a LOT in the past few weeks. Here's a little teaser Note the custom menu Link to comment Share on other sites More sharing options...
NTAuthority Posted February 4, 2010 Share Posted February 4, 2010 Note the custom menu Is that a custom UI system, or an existing one like CEGUI? Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
JohnMirror Posted February 4, 2010 Share Posted February 4, 2010 I had the same problem recently. I am terribly sorry I do not remember how I solved it IIRC, it can be caused by wrong libs, wrong or missing dlls and any other number of things.I have successfully used MSVC++ 2003 to compile and run this, most other versions gave me a bad headache. BTW, I have been working on the speedo source a LOT in the past few weeks. Here's a little teaser Note the custom menu I tried with Visual Studio 2003. Same problem... Link to comment Share on other sites More sharing options...
NTAuthority Posted February 4, 2010 Share Posted February 4, 2010 I tried with Visual Studio 2003. Same problem... 0xc000007b: STATUS_INVALID_IMAGE_FORMAT Also known as the error indicating the application itself, or a dependent library (your d3d8.dll, or further in the tree) is not a completely valid Win32 PE file. It being one megabyte large might also be an issue, since the correct standard (non-debug) file should not be that size. Also, the project file should directly output a 'd3d8.dll'... it not being the case shows you're using debug mode, which might generate incorrect files for this modification. Also, try looking through the DLL's dependencies with Dependency Walker to see where the issue might be. Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
JohnMirror Posted February 4, 2010 Share Posted February 4, 2010 I tried with Visual Studio 2003. Same problem... 0xc000007b: STATUS_INVALID_IMAGE_FORMAT Also known as the error indicating the application itself, or a dependent library (your d3d8.dll, or further in the tree) is not a completely valid Win32 PE file. It being one megabyte large might also be an issue, since the correct standard (non-debug) file should not be that size. Also, the project file should directly output a 'd3d8.dll'... it not being the case shows you're using debug mode, which might generate incorrect files for this modification. Also, try looking through the DLL's dependencies with Dependency Walker to see where the issue might be. Yes, you're right I switched from "debug" to "release" and now it has the same size as the original (409 600) + it works fine. Thank you. Now I have to find a way to solve those problems that I mentioned in my first post Link to comment Share on other sites More sharing options...
grovespaz Posted February 4, 2010 Share Posted February 4, 2010 Note the custom menu Is that a custom UI system, or an existing one like CEGUI? Actually, you are right on the money It's CEGUI alright (What tipped you of, the default theme? ) I absolutely love it, and the developers have been really helpful to me whenever I had questions. I meant custom as in my own menu as opposed to a default game (I wasn't planning on coding an entire ui subsystem, I wanted to experiment with VC ). It was a bit of a hassle to get it to play nice with VC, but now that it's working I can imagine all sorts of cool stuff I can do. I have been working on a in-game memory hacker/explorer, and I have been trying to hook certain game functions, with varying levels of success and failure Link to comment Share on other sites More sharing options...
NTAuthority Posted February 4, 2010 Share Posted February 4, 2010 It's CEGUI alright (What tipped you of, the default theme? ) Nah, never knew that was CEGUI's default theme, it's just the most well-known UI library (and the odd mouse cursor looks like it's from CEGUI) I absolutely love it, and the developers have been really helpful to me whenever I had questions. I meant custom as in my own menu as opposed to a default game I also like CEGUI for debugging stuff where you already need a mouse; for menus in the game itself I prefer manual position compatible with gamepads and stuff (yes, you could make CEGUI compatible with gamepads... it's a bit unhandy). And yes, I know that's what you meant with 'custom'. (I wasn't planning on coding an entire ui subsystem, I wanted to experiment with VC ). reuse rocks. It was a bit of a hassle to get it to play nice with VC, but now that it's working I can imagine all sorts of cool stuff I can do. I remember hacking around a lot to get it to work correctly with SA, so I can imagine that. I also need to re-implement CEGUI for Citizen for debugging stuff, having an actual mouse-controlled UI for development of missions can help a lot, as R* North finally found out for GTA4 I have been working on a in-game memory hacker/explorer, and I have been trying to hook certain game functions, with varying levels of success and failure In-game? What if you do something wrong and it crashes, that'd be a bit odd, right? @JohnMirror: glad it's working now. Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
grovespaz Posted February 4, 2010 Share Posted February 4, 2010 (edited) I also like CEGUI for debugging stuff where you already need a mouse; for menus in the game itself I prefer manual position compatible with gamepads and stuff (yes, you could make CEGUI compatible with gamepads... it's a bit unhandy). And yes, I know that's what you meant with 'custom'. Well, I have not tried gamepads myself, but the varying input injection methods of CEGUI make it relatively easy to get that done, I imagine reuse rocks. Absolutely, I could not agree more. I remember hacking around a lot to get it to work correctly with SA, so I can imagine that. I also need to re-implement CEGUI for Citizen for debugging stuff, having an actual mouse-controlled UI for development of missions can help a lot, as R* North finally found out for GTA4 Hehehe, true that! I was thinking about some sort of mission editor as well, but that's all long term. In-game? What if you do something wrong and it crashes, that'd be a bit odd, right? Well, I run VC in windowed mode, I can move the mouse from in VC to my debug windows outside and back, so crashes are not that much of a problem I have been creating some basic Actor and Car classes, which are easy to use in C++. Complete awesomeness would of course be threaded missions and such from my dll. There are just so many possibilities now that I do not know where to begin Another idea I had was making a step-by-step (aka instruction-by-instruction) debugger for the SCM script. I have already hooked the opcode interpreter, so pausing it at certain points should not be a big problem if all things work out. EDIT!I just made a part of what I described! Check the VC Memory addresses thread for a video Edited February 4, 2010 by grovespaz Link to comment Share on other sites More sharing options...
JohnMirror Posted February 5, 2010 Share Posted February 5, 2010 (edited) I modified the code so in speedo.cfg you can set directly mph or kph. When you set "kph" the background image with KPH is shown. You can find the source code here: http://www.mediafire.com/?onmz2jy1tmn And the compiled dll here: http://www.mediafire.com/?ylzzwtmztyz 2 questions: 1. Does anybody know what font did Spooky used for text in background image...? 2. Because I tested the code so many times I noticed a problem: when the radio starts (when you enter in a car) or when you change the radio station, the speedometer disappears. How can I solve this...? Oh, and it does not work with RC plane. It's probably from the game... Thank you in advance for any reply. Edited May 2, 2010 by JohnMirror Link to comment Share on other sites More sharing options...
ManUthps Posted February 16, 2010 Share Posted February 16, 2010 hi, ive included the dx8 files and the d3dx8.lib file, but now my Visual Studio 2008 says me by building this file "GTA.obj can not open" what ive done wrong? i hope someone can help me Link to comment Share on other sites More sharing options...
CaeziumH Posted April 10, 2011 Share Posted April 10, 2011 ermm.. It seems like that spookie's website is down.. so I would appreciate if anyone would reupload the source. Thx in adv. Link to comment Share on other sites More sharing options...
gta.bullet Posted April 22, 2013 Share Posted April 22, 2013 (edited) http://web.archive.org/web/20090529125426/...films.com/mods/ anybody have these files including this mod? and also need this too: http://www.gtaforums.com/index.php?showtopic=299858 Edited April 22, 2013 by gta.bullet 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