Jump to content


Photo

[Utilites] HW secure


  • Please log in to reply
25 replies to this topic

#1 Lagsy

Lagsy

    politics dont work

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,233 posts

Posted 24 March 2006 - 12:57 PM

File Name :: HW secure
Author :: UltraSLS
Category :: Utilites
Description ::
this is a nice program to launch Homeworld with comand line peramiters and by pass CD checking also will auto record your games for you and skip the starting cinimatic show as well.


nice proggy give it a try :)

View File

Posted Image
Posted Image


#2 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 27 January 2008 - 05:56 PM

I'm working on adding auto-in-game-text record. This will automatically record all chat during a game and record it. Then, when you watch the recording at a later date, you can also view the chat as it happened. Also, I'm planning on adding an indicator to tell who in the current game has lightning disabled. Maybe something along the lines of a bitmap near the name when you press caps-lock. This will probably keep me busy for awhile. While I'm feeling motivated, I welcome more feature request or bug fixes. (I welcome suggestions, but my time and interest are limited.)

#3 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 28 January 2008 - 02:42 PM

I notice that games are recorded even when you deselect the option to automatically record games.

Could you please fix this.

#4 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 28 January 2008 - 04:36 PM

Short answer:
Yes, I can fix it.

Longer answer:
This behaviour is intentional. hwsecure will turn on autorecord if you have the "idle collector guard" option checked. Why? It has to do with the homeworld source code. In the file CommandWrap.c in the function clWrapCollectResource() there is the code:

if ((!multiPlayerGame) && (!recordFakeSendPackets))
{
clCollectResource(comlayer,selectcom,resource);
}
else
{
clSendCollectResource(comlayer,selectcom,resource);
}

In other words, I was just being lazy and decided to turn on autorecord so that "idle collector guard" would work even in offline games against the computer.

#5 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 03 February 2008 - 12:14 AM

I have made good progress. I have the auto-chat-record and playback working, and have added an indicator for who has lightning disabled. This version is a complete rewrite. I've learned a few things about assembly programming since the initial version - better, safer ways to get the job done. Consequently, this version should be extremely stable (no more random crashes). I haven't been able to test it online yet because WON is down yet again.

#6 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 04 February 2008 - 11:54 PM

Since WON finally came back online, I was able to get a few test games in. I found two bugs and fixed them. I have version 4 of Hwsecure ready to go. http://www.geocities...re/hwsecure.htm
Let me know of any bugs, guys!

#7 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 05 February 2008 - 12:15 PM

Nice work RecLuse, much appreciated!

#8 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 05 February 2008 - 05:16 PM

Thanks. Now I need to update RGV (recorded game viewer) to ignore lightning packets and not count them towards the commands/per frame.

#9 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 06 February 2008 - 05:53 AM

Well, I ran in to g-force on WON and had him try version 4 of Hwsecure. He's on winXP and says it doesn't work for him. Anyone else on winXP want to give it a try? I'm on win98se. I wonder if it's an issue with winXP in general or just g's computer.

#10 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 06 February 2008 - 01:11 PM

Well I have Vista 64bit and it seems to run fine for me, though I think the idle collector guard is not working now even when selected.

#11 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 06 February 2008 - 03:34 PM

hmmm... does the autorecord work? How about the idle build/research? There should also be a clock in the upper left-hand corner. If not, I'm guessing it has to do with stricter security on vista and xp.

#12 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 06 February 2008 - 04:05 PM

Autorecord doesn't work and theres no clock, also you don't seem to get any warning for build and research.

#13 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 06 February 2008 - 07:09 PM

Ok thanks for testing. I've uploaded version 4.1. It explicitly loads hwh.dll (where the main functionality of hwsecure is now) using LoadLibrary and GetProcAddress and calls the Entry() initialzation function. If it doesn't work now, I'll have to wait until I have access to a computer with winXP to test it. If you get a chance, see if 4.1 works. *crosses fingers*

#14 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 07 February 2008 - 02:23 PM

When I go to load the game I get an error message which says 'fatal error'.

#15 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 07 February 2008 - 05:33 PM

That means that Homeworld isn't loading my hwh.dll for some reason. If you navigate into your Homeworld folder (typically C:\Sierra\Homeworld), do you see the files: hwh.dll, idleBul.wav and idleRes.wav? If you don't see them there, then try copying them from your hws4 folder (wherever you unzipped hwsecure) into your Homeworld folder. Let me know if that works.

That "fatal error" message is coming from the new assembly code to load the hwh.dll:

'0040A0C4 33C0 XOR EAX,EAX ; load hwh.dll
'0040A0C6 68 88567000 PUSH HOMEWORL.00705688 ; ASCII "hwh.dll"
'0040A0CB FF15 FC417000 CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>]
'0040A0D1 83F8 00 CMP EAX,0
'0040A0D4 74 12 JE SHORT HOMEWORL.0040A0E8
'0040A0D6 6A 01 PUSH 1
'0040A0D8 50 PUSH EAX
'0040A0D9 FF15 0C417000 CALL DWORD PTR DS:[<&KERNEL32.GetProcAddress>]
'0040A0DF 83F8 00 CMP EAX,0
'0040A0E2 74 04 JE SHORT HOMEWORL.0040A0E8
'0040A0E4 FFd0 CALL EAX
'0040A0E6 EB 33 JMP SHORT HOMEWORL.0040A11B
'0040A0E8 6A 00 PUSH 0 ; error!
'0040A0EA 68 80557000 PUSH HOMEWORL.00705580 ; ASCII "Fatal Error"
'0040A0EF 68 80557000 PUSH HOMEWORL.00705580 ; ASCII "Fatal Error"
'0040A0F4 6A 00 PUSH 0
'0040A0F6 FF15 04437000 CALL DWORD PTR DS:[<&USER32.MessageBoxA>]
'0040A0FC 6A 01 PUSH 1
'0040A0FE FF15 F8407000 CALL DWORD PTR DS:[<&KERNEL32.ExitProcess>]
'0040A104 90 NOP

#16 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 07 February 2008 - 06:01 PM

All 3 files are already in the Homeworld folder.

In the mean time could you make version 3 available for download.

Thanks

#17 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 07 February 2008 - 08:21 PM

I added a link at the bottom of the hwsecure page to download version 3. Hoenstly, I have no idea why only win98 is loading the hwh.dll and other versions aren't. :blink:

#18 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 10 February 2008 - 06:30 AM

Version 5.1 is up. I tested it with G-Force (he's on win xp) and it works 100% for him.

#19 Airwave|SF

Airwave|SF

    God Save Queen Mum

  • Elder
  • PipPipPipPipPipPip
  • 730 posts
  • Gender:Male
  • Location:UK

Posted 10 February 2008 - 09:06 AM

I just tested it, and everything seems to be working... the timer is in the corner, all the warnings work, and the auto record function works.

Cheers for sorting it out RecLuse!

#20 recLuse.SF

recLuse.SF

    Ho-Ho's

  • SF Member
  • Pip
  • 17 posts

Posted 10 February 2008 - 04:08 PM

Music to my ears! :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users