Renegade Projects Network Forums
Syringe + ExceptChecker2 - Public beta release! - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Inject the Battlefield (https://forums.renegadeprojects.com/forumdisplay.php?fid=60)
+--- Forum: News from the Battlefield (https://forums.renegadeprojects.com/forumdisplay.php?fid=20)
+--- Thread: Syringe + ExceptChecker2 - Public beta release! (/showthread.php?tid=987)

Pages: 1 2


RE: Syringe + ExceptChecker2 - Public beta release! - Marshall - 29.05.2008

Comments like that last one really angry up my blood.

Usually nothing happens because you did nothing. If you want help then say exactly what you did, step by step, and exactly what happened even if you don't think it was important.


RE: Syringe + ExceptChecker2 - Public beta release! - MRMIdAS - 29.05.2008

It's working great for me, It's thrown up 1 "unknown error" but thats to do with the mod I'm working on not syringe.


RE: Syringe + ExceptChecker2 - Public beta release! - SSTG - 07.06.2008

I probably missed something I extracted the update files from this thread added the Visual C++ update but it did'nt do anything when I dragged the GAMEMD.syr to syringe just kinda looked like it loaded and stopped

heres my log if that helps

EDIT well I've looked into it more and found out since I have XP I need to make a Bat or set the paths for syringe

I'm gonna ask how I can do that I'm a noob with CMD or making paths like that Confused


RE: Syringe + ExceptChecker2 - Public beta release! - gordon-creAtive - 07.06.2008

Right mouse key-> "New TXT file"-> name it "Sysringe.cmd". Press right mouse key on file, "Edit". Insert the following lines:
Quote:@syringe.exe GAMEMD.syr
Save and run the file.


RE: Syringe + ExceptChecker2 - Public beta release! - SSTG - 07.06.2008

Was it supposed to change to a Bat cause nothing ahppened after making a text document and putting it in


RE: Syringe + ExceptChecker2 - Public beta release! - gordon-creAtive - 07.06.2008

.BAT or .CMD are the same. Insert the following into your .BAT or .CMD and tell me what happens:
Quote:syringe.exe GAMEMD.syr
pause



RE: Syringe + ExceptChecker2 - Public beta release! - Marshall - 07.06.2008

he's probably got 'hide known file extensions' turned on


RE: Syringe + ExceptChecker2 - Public beta release! - SSTG - 07.06.2008

Yea your were right I did have that hide extensions checked I fixed that and it runs as a CMD but when I run it it gives me that syringe cannot just run by itself message


RE: Syringe + ExceptChecker2 - Public beta release! - DCoder - 07.06.2008

You need to wrap the gamemd.syr part in double quotes. Like this:
Code:
syringe "gamemd.syr"



RE: Syringe + ExceptChecker2 - Public beta release! - SSTG - 08.06.2008

Ah that got it working now I can figure out this Ie i'm getting


RE: Syringe + ExceptChecker2 - Public beta release! - gravity - 08.06.2008

hmmm if i double click the gamemd.syr (wich will be opend with syringe) nothing happens, the mouse cursor is loading for a millisecond and then nothin happens. The c# runtime is installed.

That is my log

[23:17:43] WinMain: lpCmdLine = ""C:\Westwood\AR2\gamemd.syr""

[23:17:43] WinMain: Trying to load control file "C:\Westwood\AR2\gamemd.syr"...



[23:17:43] RP2Debugger::LoadControlFile: File validation OK.

[23:17:43] RP2Debugger::LoadControlFile: Reading control file. Format version: 1

[23:17:43] RP2Debugger::LoadControlFile: Control file successfully loaded.

[23:17:43] exe = gamemd.exe

[23:17:43] LoadModuleImportAddress = 0x007E1220

[23:17:43] GetProcAddressImportAddress = 0x007E1250

[23:17:43] AllocAddress = 0x01000000



[23:17:43] WinMain: RP2Debugger::FindDLLs();



[23:17:43] RP2Debugger::FindDLLs: Recognized DLL: ExceptChecker2.03.dll

[23:17:43] RP2Debugger::FindDLLs: Done (6 hooks added).



[23:17:43] WinMain: RP2Debugger::Run("");



[23:17:43] RP2Debugger::Run: Running process to debug. cmd = "gamemd.exe"

[23:17:43] RP2Debugger::Run: Allocating 0x1000 bytes at 0x01000000...

[23:17:43] RP2Debugger::Run: Filling allocated space with zero...

[23:17:43] RP2Debugger::Run: Writing DLL loader & caller code...

[23:17:43] RP2Debugger::Run: Setting breakpoints...

[23:17:43] RP2Debugger::Run: Registering RP2Debugger::Callback...

[23:17:43] RP2Debugger::Run: BreakPointInjector::Run();



[23:17:44] BreakPointInjector::handleException: Access Violation at 0x7C97DF51!

[23:17:44] BreakPointInjector::handleException: Exception (Code: 0xC0000008 at 0x7C91EB74!

[23:17:44] BreakPointInjector::handleException: Exception (Code: 0xC0000008 at 0x7C91EB74!

[23:17:44] BreakPointInjector::Run: Done.



[23:17:44] RP2Debugger::Run: Cleaning up...

[23:17:44] RP2Debugger::Run: Done.



[23:17:44] WinMain: RP2Debugger::Run finished.

[23:17:44] WinMain: Exiting on success.


RE: Syringe + ExceptChecker2 - Public beta release! - Marshall - 27.06.2008

I have a problem that I've been trying to solve for several hours now.

I am shelling the following command in Launch Base but nothing happens
"E:\games\ra2\Syringe.exe" "e:\games\ra2\gamemd.syr"
But if I shell
"E:\games\ra2\Syringe.exe" "gamemd.syr"
then Syringe complains that it couldn't load the file.

I think the problem might be to do with the working directory because the syringe.log file is created in e:\development\ra2yr\launchbase

I've also noticed that you can't do the following from command line (which would be rather useful):
C:\Syringe\>Syringe.exe "e:\games\ra2\gamemd.syr"

pd, please advise! Is this something that you can rectify?


EDIT:
I have resolved my problem by using an API to set the current directory to the RA2 directory. Once I did that, I can even run Syringe.exe from somewhere other than the RA2 directory.
This shows that Syringe does not determine the appropriate working directory by itself and instead uses the current directory as set by Windows.