View Full Version : POPSTATION on Linux
SephZero
12-25-2006, 11:12 AM
How to use popstation conversion tool from DARK_ALEX on linux? specific on Ubuntu Edgy Eft?
please help.. :(
SephZero
12-25-2006, 01:43 PM
Dark_AleX.. could u release popstation for linux too? it will be easy for u please..tnx!!!! :(
alchemyst
12-25-2006, 01:53 PM
I take it, it doesn't work through wine?
SephZero
12-25-2006, 02:13 PM
i've tried but it doesn't run..needs to be recompiled for linux..
afiser
12-25-2006, 02:35 PM
Dark_AleX.. could u release popstation for linux too? it will be easy for u please..tnx!!!! :(
i doubt its "that" easy for him he should take a break after all its christmas day...
SephZero
12-25-2006, 02:41 PM
yes u right! only one thing is important!! that he promise me that he will make it..then i can wait without problems :D
zeroclip
12-25-2006, 02:54 PM
The thing is that the cygwin1.dll that you windows users need just emulates some standard features in a GNU/Linux system. All Daaaark_Alex needs to do is release the code. Then we can just compile it ourself.
SephZero
12-25-2006, 05:09 PM
or if he don't want to release code..recompile it for linux :D
flatwhatson
12-26-2006, 12:53 AM
SephZero, I have got this working... would have posted sooner, but had to wait for my PSX games to "arrive" :P
I've done this successfully on Debian "sid", which is very similar to Ubuntu.
You will need to get a copy of Hot Shots Golf 2 from the "ps3store" ;)
1. Download oeb.rar and extract it somewhere
2. Download cygwin1.dll and put it in the new popstation folder (first result on google for "cygwin1.dll" worked for me, need to unzip it though)
3. Put the EBOOT.PBP from Hot Shots Golf 2 into the popstation folder, and rename it to BASE.PBP
4. Put the PSX iso/bin/img/ccd that you're wanting to play on your PSP into the popstation folder (in my example, castlevania.bin)
5. Run the following (from within the popstation folder): "wine popstation.exe castlevania.bin"
This takes a while, took about 5 or 10 minutes for me, and will spew a bunch of wine errors to your console... ignore them. When it's done, wine will complain about something or other, perform a stackdump, and then segfault... :S nice and graceful.
Anyhow, after it's finished crashing, there will be a shiny new EBOOT.PBP in the popstation folder, chuck that into a folder under your GAME folder on the PSP, along with KEYS.BIN from Hot Shots Golf 2, and bob's your uncle!
PS. You'll probably want to use some custom icons and backgrounds for the eboot, grab some from the appropriate thread, and stick them in popstation folder, named ICON0.PNG, PIC0.PNG, PIC1.PNG... they get included when it makes the eboot... worked beautifully for me :D
*whippy whippy*
SephZero
12-26-2006, 12:11 PM
I receive this..
seph@ntbk:~/Desktop/popstation$ wine popstation.exe mgs.img
fixme:process:IsWow64Process (0xffffffff 0x71fc6c) stub!
28 [main] ? 8 cygheap_user::init: GetTokenInformation (TokenUser), Win32 error 5
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
6392 [main] ? 8 _dll_crt0: internal error: couldn't determine location of thread function on stack. Expect signal problems.
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
libGL warning: 3D driver claims to not support visual 0x42
fixme:ntdll:NtQueryVolumeInformationFile 0xb0: volume info not supported
fixme:ntdll:NtQueryVolumeInformationFile 0xb0: volume info not supported
wine: Unhandled page fault on write access to 0x0000019c at address 0x61043b28 (thread 000b), starting debugger...
seph@ntbk:~/Desktop/popstation$
what version of wine have u?
outphase
12-26-2006, 12:23 PM
I've been using a system with Windows still on it to run popstation. I looked around and found that cygwin compiled programs don't run too well on wine. Here is the output in the console (same as before). The resulting eboot.pbp is size 0.
$ wine popstation.exe sh.bin
fixme:process:IsWow64Process (0xffffffff 0x71fc6c) stub!
17 [main] ? 8 cygheap_user::init: GetTokenInformation (TokenUser), Win32 error 5
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
3460 [main] ? 8 _dll_crt0: internal error: couldn't determine location of thread function on stack. Expect signal problems.
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
libGL warning: 3D driver claims to not support visual 0x4b
fixme:ntdll:NtQueryVolumeInformationFile 0xb0: volume info not supported
fixme:ntdll:NtQueryVolumeInformationFile 0xb0: volume info not supported
wine: Unhandled page fault on write access to 0x0000019c at address 0x61043b28 (thread 000b), starting debugger...
SephZero
12-26-2006, 12:25 PM
i'm upgrading my wine to 0.9.28..cause i had 0.9.27 before..then this i'll try again.
outphase
12-26-2006, 12:39 PM
I was running it on .9.28
bnolsen
12-26-2006, 12:39 PM
or if he don't want to release code..recompile it for linux :D
Technically since cygwin is GPL he MUST release the source for the application.
It's part of the licensing terms.
I for one am not going to force him to do so. But since he is using cygwin he's using a posix layer and a recompile should be very trivial.
SephZero
12-26-2006, 12:48 PM
i think i've resolved the problem..
1) i've upgraded to wine 0.9.28 and it didn't work well..
2) i've installed libwine for 0.9-28 and it didn't work well..
3) i've installed wine-dev and libwine dev for 0.9.28 and it didn't work well..
4) i've ran from terminal winecfg and made compatibility for Windows 98 (previously i had Windows XP) and it seems to made me an EBOOT.PBP approximately of 660MB..approx like the .img i've used..
i have didn't tryed to copy it on my psp..but i think this could be the solution of the problem.. try guys..and check u too :)
outphase
12-26-2006, 01:14 PM
I just set mine to Win98 and it works now too, Thanks. Mine was originally set to Win2K and it didn't work. Funny thing was that my other comp is still Win2K.
bnolsen
12-26-2006, 08:38 PM
I had problems finding cygwin1.dll online (one that worked).
Grab this one:
http://cygwin.com/snapshots/cygwin1-20061221.dll.bz2
or use this page in the future:
http://cygwin.com/snapshots/
flatwhatson
12-26-2006, 11:28 PM
:confused: Not sure why you guys had so much trouble, I'm running wine 0.9.25, in win2000 mode... worked off the bat for me.
SephZero, if it makes an EBOOT, you're good to go...
WRT cygwin1.dll, I just got the one from the first result in google... here are the errors I get when it works:
ajwhatson@tanto:~/psp/popstation$ wine popstation.exe castlevania.bin
fixme:process:IsWow64Process (0xffffffff 0x71fc5c) stub!
13 [main] ? 8 cygheap_user::init: GetTokenInformation (TokenUser), Win32 error 5
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
2127 [main] ? 8 _dll_crt0: internal error: couldn't determine location of thread function on stack. Expect signal problems.
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
fixme:advapi:ImpersonateLoggedOnUser ((nil))
err:ntdll:NtQueryInformationToken Unhandled Token Information class 8!
libGL warning: 3D driver claims to not support visual 0x4b
fixme:ntdll:NtQueryVolumeInformationFile 0xb0: volume info not supported
ABOVE LINE REPEATED 10x
74900078 [main] popstation 8 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
75004239 [main] popstation 8 open_stackdumpfile: Dumping stack trace to popstation.exe.stackdump
/usr/bin/wine: line 396: 5079 Segmentation fault $WINEBIN/$WINE_BIN_NAME "$@"
Wine failed with return code 139
Segmentation fault
zakusage
12-27-2006, 12:04 AM
I got it to run just fine in Ubuntu Edgy with the wine downloaded from the universe repository. It gives you a few errors, and the application doesn't close successfully, but it does everything it's supposed to and the games work fine.
outphase
12-27-2006, 12:46 AM
Anyone know how to get my system to actually read the discs? When I insert a PSX game (retail or burn), the drive stops spinning and I can't even browse the disc contents.
pilbert
12-27-2006, 01:45 AM
Anyone know how to get my system to actually read the discs? When I insert a PSX game (retail or burn), the drive stops spinning and I can't even browse the disc contents.
disable automount and check this
http://www.megagames.com/psx/psx_copy_patch_linux.shtml
Merlin09
12-28-2006, 03:43 AM
OK, I use Slackware linux, and I tried to use popstation as well, but I have an error with wine too. I solved the problem by simply use the command "wineconsole popstation.exe mydump.iso" instead of using wine.
A lot of warnings shows up in the console, but it does work :)
hope this help
tinman
12-28-2006, 04:18 AM
OK, I use Slackware linux, and I tried to use popstation as well, but I have an error with wine too. I solved the problem by simply use the command "wineconsole popstation.exe mydump.iso" instead of using wine.
A lot of warnings shows up in the console, but it does work :)
hope this help
I compiled a native Linux version it works fine you might need to "chmod 777" the file.
Enjoy
Download: HERE (http://forums.maxconsole.net/showthread.php?t=41118)
Dark_AleX
12-28-2006, 04:28 AM
Technically since cygwin is GPL he MUST release the source for the application.
It's part of the licensing terms.
I for one am not going to force him to do so. But since he is using cygwin he's using a posix layer and a recompile should be very trivial.
You are wrong. My code doesn''t have any cygwin code inside, it justs use it as a library. (not directly anyways, compiled programs under gcc cygwin get always
linked to cygwin1.dll).
When using libraries without any modifications, there is no need to release any source. That's why you don't see psp firmware source to be released, despite it uses libpng, zlib, and libtiff.
Anyways i'll release publically the source in next version, although i gave the code to develpers that asked for it.
nimbex
12-28-2006, 10:47 AM
Technically since cygwin is GPL he MUST release the source for the application. It's part of the licensing terms.
I for one am not going to force him to do so. But since he is using cygwin he's using a posix layer and a recompile should be very trivial.
Interesting, I always thought that the cygwin libraries were LGPL. It seems they're actually GPL (and thus more inconvenient): http://www.cygwin.com/licensing.html
Being "forced to release source code" is a misconception though. That's not how copyright law works. If you violate the license (the GPL), you lose the rights granted (distribution, etc). If the copyright holder (and they are the only one) wants to drag you to court, you could be compelled to stop distributing their code in violation of their license, but you cannot be compelled to release your source code.
I'm still kinda amazed that cygwin's libraries are straight GPL.
Nimbex
sl1pkn07
12-28-2006, 11:17 AM
erase this post
bnolsen
12-28-2006, 02:50 PM
Interesting, I always thought that the cygwin libraries were LGPL. It seems they're actually GPL (and thus more inconvenient): http://www.cygwin.com/licensing.html
Being "forced to release source code" is a misconception though. That's not how copyright law works. If you violate the license (the GPL), you lose the rights granted (distribution, etc). If the copyright holder (and they are the only one) wants to drag you to court, you could be compelled to stop distributing their code in violation of their license, but you cannot be compelled to release your source code.
I'm still kinda amazed that cygwin's libraries are straight GPL.
Nimbex
you've probably already seen but tiff, png, libz are released under MIT/bsd style licensing.
I'm not a lawyer I was only stating a part of the terms of the GPL (which is source disclosure).
For this reason you don't see commercial applications released with cygwin (it's a redhat product, btw). Other compatibility layers like boost, fox, ftlk, win32-pthreads, etc are generally patched together to make cross platform applications.
I don't discourage dark alex from writing things cross platform. In fact it's very annoying to see people releasing windows only applications.
outphase
12-28-2006, 03:03 PM
disable automount and check this
http://www.megagames.com/psx/psx_copy_patch_linux.shtml
The problem is the drive doesn't even get mounted. Even if I do something a simple as dd, it says medium not present.
Merlin09
12-30-2006, 01:18 PM
thanks a lot tinman, this is a lot of help for me, and a lot more for all linux users than a wine on a windows software :)
I just forgot to say, since you come by here, thanks a lot for all your work Dark_Alex
By the way, does anyone knows how to convert pal to ntsc under linux, without a big black line? zapper2000 does the job well under windows, but under linux, it does nothing... thanks for any ideas
sl1pkn07
12-31-2006, 09:17 AM
PopStation For Linux
http://forums.maxconsole.net/showpost.php?p=334559&postcount=497
PSPXSave For Linux
http://forums.maxconsole.net/showpost.php?p=334737&postcount=505
Merlin09
01-02-2007, 03:35 AM
thanks a lot, this is excactly what I was searching for!
Just one thing, but it is probably a mis-use of the software, when I put icon0.png in the same directory as popstation, it does not include it in the eboot, but the eboot is working nonetheless. So my saves are ok, but I still have the golf icon0 in the xmb. Any ideas?
outphase
01-02-2007, 03:39 AM
make sure the entire file name is in all caps as linux is case sensitive.
Merlin09
01-02-2007, 04:32 AM
what an idiot! I deal with upper and lower case all along the day, but since I was using this popstation.exe with wine before, I didn't think of this point...
Thanks a lot and sorry for the real noob question!
Hello.
Popstation works so flawlessly that I am wondering if there is a way to generate back a disk image (CDR) from a PSP ISO? I mean, to be able to play a PSP-based image on a real PSOne or PSX console like we did with CUE/BIN, CCD or MDF images in the past.
Does any of you can help me with this? My googling was unsuccessfull.
Cheers.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.