..:: PCSX2 Forums ::..
Register | Help | Log In |
Register PCSX2 Site Forums Member List Donate View Today's Posts Search

Current time: 05-22-2013, 08:40 AM Hello There, Guest! (Login — Register)

..:: PCSX2 Forums ::.. / PCSX2 Discussion and Support / Bug reporting / Closed/Resolved Bug Reports v
« Previous 1 ... 3 4 5 6 7 Next »
/ [bug report] fail last svn 1127 updated zeropad error windows version



User(s) browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[bug report] fail last svn 1127 updated zeropad error windows version
Author Message
MaXiMu Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Location: Spain , tarragona
Reputation: 0
Post: #1
Exclamation [bug report] fail last svn 1127 updated zeropad error windows version
Line comand

Quote:Líneas de comandos Creando archivo temporal "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\Win32\Release\BAT000013273​22788.bat" con contenido
[
@echo off

"c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\..\..\..\common\vsprops\p​reBuild.cmd" "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\.."

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: Una herramienta devolvió un código de error de "Ejecutando evento anterior a la compilación..."

exit 1

:VCEnd
]
Creando línea de comandos "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\Win32\Release\BAT000013273​22788.bat"
Creando archivo temporal "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\Win32\Release\RSP000014273​22788.rsp" con contenido
[
/Ox /Ob2 /Oi /Ot /Oy /GL /I "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\..\..\..\3rdparty\w32pthr​eads\include" /I "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\..\..\..\3rdparty\\" /I "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\..\..\..\common\include" /I "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\" /I "c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\\..\3rdparty" /D "NDEBUG" /D "_USRDLL" /D "ZEROPAD_EXPORTS" /D "PTW32_STATIC_LIB" /D "WIN32_PTHREADS" /D "__CLEANUP_SEH" /D "__WIN32__" /D "WIN32" /D "_WINDOWS" /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_WINDLL" /D "_MBCS" /GF /Gm /EHsc /MT /Zp16 /GS- /GR- /Fo"Win32\Release\\" /Fd"Win32\Release\vc90.pdb" /W3 /c /Zi ..\zeropad.cpp

.\win.cpp
]
Creando línea de comandos "cl.exe @c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad\Windows\Win32\Release\RSP00001427​322788.rsp /nologo /errorReport:prompt"

Windows result

[quote]Ventana Resultados Ejecutando evento anterior a la compilación...
SubWCRev: 'c:\Users\MaXiMu\Desktop\pcsx2\plugins\zeropad'
Last committed at revision 1127
Updated to revision 1127
Compilando...
win.cpp
.\win.cpp(193) : error C2065: 'wparam' : identificador no declarado
.\win.cpp(201) : error C2065: 'wparam' : identificador no declarado
zeropad.cpp

two errors

2>ZeroPAD - 2 errores, 0 advertencias
========== Volver a generar todo: 1 correctos, 1 incorrectos, 0 omitidos ==========

Edit Ups, rev1127 Tongue

[Image: mypc.gif]
(This post was last modified: 05-03-2009 04:19 PM by MaXiMu.)
05-03-2009 04:14 PM
Find all posts by this user
Zeydlitz Offline
Plugin Author
*****

Posts: 1.157
Joined: Dec 2008
Location:
Reputation: 4
Post: #2
RE: [bug report] fail last svn 1127 updated zeropad error windows version
We slightly fix linux version, and touch windows one too, so it's possible to have an errors. This one is seems to be my silly bug:

fo to zeropad/Windows/Win.cpp, and change wparam to wParam at lines 193 and 201 (I spell cariable name incorrectly). Try it. please.
05-03-2009 04:24 PM
Find all posts by this user
MaXiMu Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Location: Spain , tarragona
Reputation: 0
Post: #3
other problem
Compiled thanks and 4 advertences Tongue

>c:\users\maximu\desktop\pcsx2\plugins\zeropad\zeropad.h(165) : warning C4715: 'FindKey' : no todas las rutas de acceso de control devuelven un valor
2>c:\users\maximu\desktop\pcsx2\plugins\zeropad\windows\win.cpp(351) : warning C4700: se utilizó la variable local 'numkeys' sin inicializar
2>c:\users\maximu\desktop\pcsx2\plugins\zeropad\windows\win.cpp(353) : warning C4700: se utilizó la variable local 'pkeyboard' sin inicializar
2>c:\users\maximu\desktop\pcsx2\plugins\zeropad\windows\win.cpp(193) : warning C4700: se utilizó la variable local 'pad' sin inicializar


Edit : Testing Zeropad dev R1126m-dev 0.2.0

Not run not asigne to letter but no longer crash the emulator in this review

[Image: mypc.gif]
(This post was last modified: 05-03-2009 05:04 PM by MaXiMu.)
05-03-2009 04:39 PM
Find all posts by this user
Zeydlitz Offline
Plugin Author
*****

Posts: 1.157
Joined: Dec 2008
Location:
Reputation: 4
Post: #4
RE: [bug report] fail last svn 1127 updated zeropad error windows version
Sorry, could you translate FindKey warning message? 3 others are ignorable.
05-03-2009 05:02 PM
Find all posts by this user
MaXiMu Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Location: Spain , tarragona
Reputation: 0
Post: #5
organitzed errors
line posted last post 1) warning C4715: 'FindKey' error not all control paths return a value

lines 2 - 3 - 4) error warning C4700: on win.cpp - used the variable local numkey - pkeyboard , pad uninitialized

recapitulation

3 advertences lines

line 351 for (int i = 0; i < numkeys; ++i)
{
line 353 if (pkeyboard[i])

Line 193 i = FindKey(wParam, pad);

1 advertences lines zeropad.cpp lines 165

status[pad] |= (1 << i);

[Image: mypc.gif]
(This post was last modified: 05-03-2009 05:51 PM by MaXiMu.)
05-03-2009 05:07 PM
Find all posts by this user
LuisR14 Offline
Sora's Neighbor :P
****

Posts: 2.290
Joined: Dec 2008
Location: USA
Reputation: 0
Post: #6
RE: [bug report] fail last svn 1127 updated zeropad error windows version
well they're just warnings, they're pretty much saying that those variables (numkeys, pkeyboard, pad) are being used before being initialized (it will still compile Tongue)

Windows 7 64bit
Intel Pentium Dual-Core E5200 OC to 3.6GHz, Intel GMA x4500, 1GB DDR2

NinjaMight just work on next guideNinja
05-03-2009 08:32 PM
Find all posts by this user
Zeydlitz Offline
Plugin Author
*****

Posts: 1.157
Joined: Dec 2008
Location:
Reputation: 4
Post: #7
RE: [bug report] fail last svn 1127 updated zeropad error windows version
Well, this warning was bug sign. I wrote a patch to current release, that fix it.
05-03-2009 09:05 PM
Find all posts by this user
arcum42 Offline
PCSX2 coder
******

Posts: 510
Joined: Dec 2008
Location: Las Vegas, NV
Reputation: 5
Post: #8
RE: [bug report] fail last svn 1127 updated zeropad error windows version
And it's been committed...
05-03-2009 09:42 PM
Find all posts by this user
MaXiMu Offline
Junior Member
*

Posts: 38
Joined: Dec 2008
Location: Spain , tarragona
Reputation: 0
Post: #9
thanks up rev
Pcsx2.exe crash exception win32 no controled on pcsx2.exe [2832]

Debug mode

Exception no controled on 0x00190b51 (ZeroPAD.dll) on pcsx2.exe: 0xC0000005: Access violation when reading the location 0x00000121.

And I drew if (pkeyboard[i])

Error30CXX0000: can not evaluate the expression

images pcsx2 crash on configuration zeropad

http://img10.imageshack.us/my.php?image=pcsx2crash.jpg

And visual studios mode debug win.cpp

http://img10.imageshack.us/my.php?image=debugmode.jpg

[Image: mypc.gif]
(This post was last modified: 05-03-2009 11:12 PM by MaXiMu.)
05-03-2009 10:17 PM
Find all posts by this user
arcum42 Offline
PCSX2 coder
******

Posts: 510
Joined: Dec 2008
Location: Las Vegas, NV
Reputation: 5
Post: #10
RE: [bug report] fail last svn 1127 updated zeropad error windows version
I've just been testing in Windows, and quite frankly, did this plugin ever work for you?

I tested the version before the revisions, and it has a horrible looking ui, doesn't register any keypresses when you try to configure keys, and escape doesn't work once you start pcsx2 (though the keys I was unable to configure worked). I knew that an awful lot of the code in the linux version wasn't shared with Windows, but this is ridiculous.

At that, the linux version doesn't really compare to, say, Lilypad (though it's better then the Windows version of ZeroPad by far). It's just the only pad plugin for Linux...
(This post was last modified: 05-03-2009 11:35 PM by arcum42.)
05-03-2009 11:33 PM
Find all posts by this user
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread



Current time: 05-22-2013, 08:40 AM

Contact Us | PCSX2 | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication

Powered By MyBB, © 2002-2013 MyBB Group.
Theme created by IncadudeF and modified by bositman