|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#81 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
yes, but I want to know why does Code::Blocks do not give me the file I'm expecting.
For info I open my MSVC workspace with Code::Blocks( yes it can do it), I click "build", it compiles the first file only, tells me there is a syntax error with /bin/sh, and tells there is no error, and does not give me the file I'm expecting, no file in the release folder. Code:
-------------- Build: Win32 Release in MegaPad ---------------
Compiling: PAD.cpp
/bin/sh: Syntax error: "(" unexpected
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
Last edited by NHervé; November 21st, 2007 at 19:53. |
|
|
|
|
|
#82 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 266
|
Do you use ubuntu? Which packges?
__________________
iDeaS Emulator ![]() R4+EZ3In1+WifiLink+AceKard (however is better than R4) I think is better Sorry you must work. It's the life... You must be the winner.Bye bye, the end is near...
|
|
|
|
|
|
#83 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
yes, I use kubuntu. Run KDevelop, see what commands are buggy in the compilation log (bottom of the window), type these commands in the konsole and type teh commands the konsole tells you to type. You will need your linux cd-rom.
|
|
|
|
|
|
#84 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 266
|
Which packges must I download for making to work kdevelop? Please
Another question do you use SDL on linux? Which packges must i download?
__________________
iDeaS Emulator ![]() R4+EZ3In1+WifiLink+AceKard (however is better than R4) I think is better Sorry you must work. It's the life... You must be the winner.Bye bye, the end is near...
Last edited by Lino; November 22nd, 2007 at 18:37. |
|
|
|
|
|
#86 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
you don't need to download anything except kdevelop package of course
![]() ps : my plugin does not show up in the list. what must i do to make my plugin to show up in the list on linux ? dllmain ? exports ? I've another problem : pcsx2 does not want to emulate ps2, when I click "run cdvd", it simply stops running. Last edited by NHervé; November 24th, 2007 at 09:42. Reason: Automerged Doublepost |
|
|
|
|
|
#87 (permalink) | |
|
Registered User
Join Date: Oct 2007
Location: United States
Posts: 18
|
Quote:
Anyway, you should hopefully only need your SDL libraries installed... install your libSDL package and it should put a shared object (libSDL-<version number>.so) in the /usr/lib directory. If you have that installed and PCSX2 just can't see it there, I guess you could try copying it right into the PCSX2 directory. ...or, do you call for that file specifically in your plugin? There must be a cleaner way than copying it over. EDIT: Oh, PCSX2 problems? What plugins/settings are you using? Is your sound system free for the SPU2 plugin to use? That'd make the emulator stop running. If using the null sound plugin works, I'll tell you how to fix this. If not.. ..yeah, what plugins and settings are you using? And what version of PCSX2, for that matter? Compiled from SVN? Last edited by Booma; November 24th, 2007 at 13:57. |
|
|
|
|
|
|
#88 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
when i install libsdl, linux tells me a more recent version is already installed.
gs : zerogs opengl spu2 : spu2null & peops spu2 pad : zeropad & padwinkeyb cdvd : cdvdnull & efp polling dev9 : dev9null usb : usbnull firewire : fwnull what is the dllmain on linux? Must I create a .def file or similar to export funcs ? |
|
|
|
|
|
#89 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: United States
Posts: 18
|
Hm, if you already have a version of libSDL installed, you shouldn't need to do anything else... but I guess I'm not sure.
I think you're looking for _init() and _fini()... but I'm not much of a programmer, I don't know much about this... same goes for the def file thing... sorry... And, what version of PCSX2 were you using again? Last edited by Booma; November 24th, 2007 at 18:50. |
|
|
|
|
|
#90 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
i'm using pcsx2 0.9.3, as it is already compiled, I don't want to use pcsx2 0.9.4 source because, due to my luck, I will never get it compiled and working.
PLEASE HELP ME !!!!!!!!!!!!!!!!!!!! or megapad will be windows only forever. PS : if you get game crashing with MegaPad, enable pad logging and post the padLog.txt file. Last edited by NHervé; November 25th, 2007 at 11:41. Reason: Automerged Doublepost |
|
|
|
|
|
#91 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: United States
Posts: 18
|
Sorry, I've been really busy this weekend... I haven't been able to check here often.
I asked that because sometimes programs can be kind of picky about running on computers they weren't compiled on... I'm not sure if that's your problem or what. I need to leave again, but if you want, when I get back, I can try walking you through compiling 0.9.4 as painlessly as possible (it's much easier than what you're trying to do now) or giving you a copy of mine. One last thing while I'm gone again, can you not get it to start the bios either, or is it just "run cdvd" that won't work? |
|
|
|
|
|
#92 (permalink) |
|
AKA snkmad
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 2,746
|
NHervé if you want, i can teach you how to compile pcsx2 under linux, or even send you latest compiled svn.
__________________
[WinXP SP2] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v][Samsung SATA II HD080HJ 80GB] [Samsung PATA SP0802N 80GB] [Patriot 2x512MB DDR2 6400@800MHz] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61] |
|
|
|
|
|
#93 (permalink) |
|
Plugin author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Nulle part
Posts: 322
|
yes, I would like to know how to compile pcsx2 0.9.4, but :
I also want to know how to create a Linux plugin for pcsx2. Answer me please, or MegaPad will be windows-only. Linux is not very user-friendly, many linux programs are sources you need to compile, and there are errors in most of the cases. |
|
|
|
|
|
#94 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: United States
Posts: 18
|
Sorry, I was just trying to help get PCSX2 up so you could test the plugin.. I thought you might've had it in some possibly-working shape.
Linux is definitely different than windows, and hard to get used to if you started in windows, but I wouldn't say it's less user friendly, or harder. Just different... Very rarely do you need to compile things yourself--Package managers usually do everything for you. In the cases you do need to compile (like PCSX2), you're almost always given makefiles, so it's extremely simple and can be done with a single command. If you get errors, for this sort of thing, you're just missing outside packages that the program uses--when you get errors, you can just search with your package manager to find the needed files. Let's do PCSX2 now, whether you need it or not, just to show. First, fire up the package manager and get these packages (I don't know exactly what they'll be called for you, so just look for something like this)-- Subversion gtk2 (or something like GTK+2 devel) MESAgl devel (or another package with gl.h) libbz2 (or something like libbzip2 or bzip2) libjpeg glew-dev (or something like libglew devel) libxxf86vm-dev (or something like libxxf86vmdevel) x11proto-xf86vidmode (?) automake and autoconf (I wonder if those two could help you with the plugin?) libasound-dev And this, the Nvidia CG Toolkit... get the "Linux X86 (TAR.GZ)" one and toss the contents of its usr directory into your own. Now, open a terminal and cd to a folder you'd like to download to. Now just paste these lines into the console one at a time. svn co https://pcsx2.svn.sourceforge.net/svnroot/pcsx2 pcsx2 cd pcsx2 sh build.sh all ...and you're done. That aside, as for the plugin, I'm not much of a programmer in windows, let alone linux. I'm trying to help in whatever small ways I can, but you probably know more about this than I do. It sounded so much like you were getting along fine. If you're just down to the compiling stage, maybe someone like ZeroFrog could help you finish things up and put together the makefile. If anyone here thinks they can help, please step in... Last edited by Booma; November 25th, 2007 at 22:49. |
|
|
|
|
|
#95 (permalink) |
|
Registered User
Join Date: Jul 2007
Location: Europe
Posts: 47
|
@NHervé - since you are using Kubuntu you can use the Adept package manager to download and install the precompiled binary files (.deb files) that Booma listed. If you need more information about Linux itself you can always ask. ^_^
I would also suggest to download the "nvidia-cg-toolkit" from the repositories with Adept instead of manually installing it. |
|
|
|
|
|
#96 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: United States
Posts: 18
|
He knows how to use the package manager... I just couldn't give him the exact package names because I use Mandriva (with urpmi) as opposed to any form of Ubuntu, so things are going to be different for me. And I gave the link to the Nvidia CG Toolkit because I can't get it through urpmi, it seems. Just assumed it was the same for him.
What he's stuck on seems to be actually compiling his code... whereas Windows has nice, familiar IDEs that do everything for you, with Linux you typically have to mess with makefiles and such, as far as I've seen... which neither of us seem to know anything about. |
|
|
|
|
|
#97 (permalink) |
|
Registered User
Join Date: Nov 2007
Location: ca
Posts: 3
|
pcsx2 linux user
Hey, If youre still having problems getting megapad to compile with the linux version of pcsx2 I might be able to help. Yesterday I modified the zeroPad code (SVN latest) to handle basic joystick functions. I've tried it with a few games without major problems.
It might be a safer starting point. Its a REALLY basic plugin with: Hardcoded keys - the file Load and save functions are still there just not used. no GUI - you will need to make a new window layout / handlers no SDL - One less dep and in my experience SDL_Event doesn't always behave when threaded. So.. are you interested? I could even add in the megapad functions if needed. |
|
|
|
|
|
#98 (permalink) |
|
LilyPad Author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2006
Location: Perdition
Posts: 395
|
You could call it MegaZero...Though I'm not sure quite what that means, mathematically.
Alternatively, you take a look a look at the makefiles for one of the null plugins. They should have the minimum you need to compile a happy plugin. Then just add what you need to import SDL and use your own source files. ZeroPad, if you've been looking at its makefiles, uses automake, which is a bit more complicated (At least its documentation is 450k - never used it, myself). Last edited by ChickenLiver; November 26th, 2007 at 02:33. |
|
|
|
|
|
#99 (permalink) |
|
AKA snkmad
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 2,746
|
dolch can you make the plugin map the analog sticks to keyboard?
__________________
[WinXP SP2] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v][Samsung SATA II HD080HJ 80GB] [Samsung PATA SP0802N 80GB] [Patriot 2x512MB DDR2 6400@800MHz] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61] |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|