pcsx2 on fedora 14, problem starting
#31
ok working on integrating into fedora system

which im finished.. now running it.. i cant seem to figure this error out


ZZogl-PG: Cannot find ps2hw.dat in working directory. Exiting.



now it is infact in the plugins directory..
ive doublecheck..
i even tried chmod'ing it
and still doesnt see it?
does it try somewhere else? maybe?


how can i relink that file? so it can see it?
Any updates or plugins, pls send, or atleast notify me of info on plugin
Reply

Sponsored links

#32
Hum, for ps2hw.dat. Here is what I do:
1/ apply the patch below (note the patch will be integrated in future version of PCSX2)
2/ copy ps2hw.dat to /usr/share/games/pcsx2/shaders/
Code:
--- pcsx2.snapshot-4676.orig/plugins/zzogl-pg/opengl/ZZoglCreate.cpp
+++ pcsx2.snapshot-4676/plugins/zzogl-pg/opengl/ZZoglCreate.cpp
@@ -291,18 +291,23 @@

__forceinline bool LoadShadersFromDat()
{
-    FILE* fres = fopen("ps2hw.dat", "rb");

+    // First try an absolute location for linux distribution
+    FILE* fres = fopen("/usr/share/games/pcsx2/shaders/ps2hw.dat", "rb");
    if (fres == NULL)
-    {
-        fres = fopen("plugins/ps2hw.dat", "rb");
+    {
+        fres = fopen("ps2hw.dat", "rb");
+        if (fres == NULL)
+        {
+            fres = fopen("plugins/ps2hw.dat", "rb");

-        if (fres == NULL)
-        {
-            ZZLog::Error_Log("Cannot find ps2hw.dat in working directory. Exiting.");
-            return false;
-        }
-    }
+            if (fres == NULL)
+            {
+                ZZLog::Error_Log("Cannot find ps2hw.dat in working directory. Exiting.");
+                return false;
+            }
+        }
+    }

    fseek(fres, 0, SEEK_END);
Reply
#33
heres what i got so far without patch




.gz   pcsx2-0.9.9-r4676.tar.gz (Size: 3,24 MB / Downloads: 539)
Any updates or plugins, pls send, or atleast notify me of info on plugin
Reply
#34
sorry for the long delay in my work
ive finaly got settled into my new place, and will started bk with my work soon
tho im now running fedora 15 x64


gregory not sure where the new forum is for us, if you have it, link me pls
Any updates or plugins, pls send, or atleast notify me of info on plugin
Reply
#35
Hello, good to see you again :d

I create a Fedora thread. Gumbo made several things maybe you can work together to provide a nice package for Fedora.

http://forums.pcsx2.net/Thread-Rpm-packa...n-progress
Reply




Users browsing this thread: 1 Guest(s)