Statico Posted February 25, 2006 Share Posted February 25, 2006 (edited) I was in the mood for writing something in ASM today, and decided that this would provide a simple challenge (I rarely use asm). Things like this have been done before (MPantherR's one made for GTA Rumble), and the only reason I am releasing it is because ASM is a language many people never go near. However, if you look at a source and read it through, things start to make sense. Admittidly, raw asm such as you'd see in a debugger can be very confusing, but MASM (Microsoft Assembly) is a lot easier to read. Also, my main way of learning something like this is through scanning sources and hands-on coding (I learnt the majority of what I know in C++ from the VC:MP source), so hopefully this will help a few willing people understand the very basics of 32 Bit assembly programming. Note: This was written with, and includes the project (.rap) file for, RadASM, found at http://radasm.visualassembler.com/RadASM2000/. You will also require the MASM compiler at http://www.masm32.com/masmdl.htm Compiled exe: http://static.eyebro.ws/filebin/GTAKiller-bin.zip Source code & exe: http://static.eyebro.ws/filebin/GTAKiller.zip Edited February 26, 2006 by Statico Link to comment Share on other sites More sharing options...
The-end Posted February 25, 2006 Share Posted February 25, 2006 I'm sorry but i dont see the point in this you can just press esc then click quit game Link to comment Share on other sites More sharing options...
Statico Posted February 25, 2006 Author Share Posted February 25, 2006 It's for those times when the game freezes and you can't get back to the desktop, which may not happen a lot, but is more likely to occur when playing with mods (ie, multiplayer mods). Link to comment Share on other sites More sharing options...
Bryce. Posted February 25, 2006 Share Posted February 25, 2006 I'll use it, my gta freezes all the time Link to comment Share on other sites More sharing options...
JernejL Posted February 25, 2006 Share Posted February 25, 2006 why dont you use NASM? Currently working on Top Down City Game, a classics top down game similar to GTA1 & GTA2: Thread Info: https://gtaforums.com/topic/911312-new-game-top-down-city/ Youtube channel: https://www.youtube.com/channel/UCxGfOh3ld7Xm-ic3KEMB6iA Discord: https://discord.gg/UXmDPzS - join #bridge channel Link to comment Share on other sites More sharing options...
cBonky Posted February 26, 2006 Share Posted February 26, 2006 I suggest putting the thread to sleep for 20-50ms or so to free up the processor nicely, should be enough to still pick up keypresses quickly and allow the scheduler to squeeze in a few smooth context changes, especially for single processor users. Forcing them both to use one processor made SA almost unusable for me as it is now Great work all the same, just make it more system friendly Link to comment Share on other sites More sharing options...
Statico Posted February 26, 2006 Author Share Posted February 26, 2006 Yeah good point, hadn't really thought of that. I'll fix it up later today and perhaps add a couple of extra things. Link to comment Share on other sites More sharing options...
tommiegunz Posted February 27, 2006 Share Posted February 27, 2006 Excuse me for being a moron, but do you have any in game screenies? And by the way, how long are you an programmer? I do own Visual Studio 2003 PRO, Visual Studio 2005 Standard, and have CD1 of that same version, CD2 would seem to download it self, for some reason, but I send an complain to MSDNAA, thats where I got the 2005 version of, because I'm a student . If I want to help, what skills do I must have to join you? I cant find a reason by the way that you don't need an extra help . Oh and your site isn't working anymore . Link to comment Share on other sites More sharing options...
perham Posted March 6, 2006 Share Posted March 6, 2006 to close GTA when it freezes, hold WinKey and L together, windows will be in change user mod then you can come back to your user name and you can see desktop and taskbar. my gta freezes a lot, and i used this trick a lot. 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