[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I'm retarded and don't know how to compile an emul
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 58
Thread images: 17
File: Pcsxr.jpg (25 KB, 356x252) Image search: [Google]
Pcsxr.jpg
25 KB, 356x252
I'm retarded and don't know how to compile an emulator. I've mostly use Windows and only recently dipped my toes into Linux.

I ask mercy from the /g/ods to teach me how to do this under Linux Mint 17.2. Its for a PS1 emulator where I only wish to change a single line of code so I can overclock the emulated PS1 CPU frequency.

Documentation is here: https://pcsxr.codeplex.com/documentation

wat do
>>
>>51737884
Step 1: Read it.
Step 2: Do what it says.
Done.
>>
>>51737916

Solid plan, anon.

Now the terminal is shitting out errors about missing dependencies.

wat do
>>
>>51737952

>expecting anything except to be shat on by loser Linux peers
>>
>>51737952
install the fucking dependencies first
>>
>>51737952
Read documentation on how to resolve issues with dependencies. There is likely a special article and dozens of posts for each dependency issue. This is where Google will direct you to the answer.

Many answers can be found by googling in the following format:
[title of program] [title of dependency]
and for more specific results, one can optionally add [title of operating system] to the search for more relevant results.

I hope this isn't too hard for you to handle, grandma.
>>
>>51738019

Alright, I'll try that. Thanks.
>>
Is it normal for SVN co to take forever to process?
>>
File: 1429177114622.jpg (12 KB, 258x245) Image search: [Google]
1429177114622.jpg
12 KB, 258x245
>>51737884
>he fell for the loonix meme
>>
File: 1449361736049.jpg (3 MB, 4013x2866) Image search: [Google]
1449361736049.jpg
3 MB, 4013x2866
>>51737884
Stealing games is all kinds of messed up friend.
>>
File: 1418408623483.jpg (63 KB, 500x495) Image search: [Google]
1418408623483.jpg
63 KB, 500x495
>>51738305

So apparently it is.

I got all my dependencies working and checked out the SVN as per the instructions. But now when I do:

>./autogen.sh

The terminal spits out that no such file or directory exists.

Here is what I did in order:

>sudo apt-get install subversion autoconf intltool libtool libsdl1.2-dev libgtk-3-dev libxv-dev libxtst-dev nasm
>svn co https://pcsxr.svn.codeplex.com/svn/pcsxr pcsxr
>cd pcsxr/
>./autogen.sh --> Stuck here
>./configure
>make
>sudo make install

wat do
>>
File: 2015-12-08_02-12-51.png (166 KB, 1026x842) Image search: [Google]
2015-12-08_02-12-51.png
166 KB, 1026x842
>>51738428
>download the source file from here:
https://pcsxr.codeplex.com/downloads/get/722114
> tar xvf pcsxr-1.9.93.tar.bz2
> cd pcxr
> ./autogen.sh
> make
> sudo make install
I just did it on my arch vm (pic related)
>>
File: 1419283796381.jpg (25 KB, 560x420) Image search: [Google]
1419283796381.jpg
25 KB, 560x420
>>51738876

I genuinely appreciate your help, anon. I'll do just that and post my results.
>>
>>51738428
>Is it normal for SVN co to take forever to process?
>CodePlex is Microsoft's free open source project hosting site.
it's a microsoft product, are you really expecting quality from them?

I downloaded here https://github.com/mirror/pcsxr and autogen.sh runs fine

however are you sure you are in the right directory (where the autogen.sh file is)?
>>
>>51738931
>he thinks SVN is a MicroSoft product.

You have to be 18 years old to browse this website.
>>
>>51738972
svn is ok retard, the host sucks, look at the homepage and kill yourself https://www.codeplex.com/
apparently you don't need a brain to post in this site
>>
>>51738876
>>51738931

>it's a microsoft product, are you really expecting quality from them?

I just assumed the terminal froze on my end or something. My knowledge on anything about this process is pretty close to zilch.

Regardless, thanks to you guys I finally have PCSX-R built. Now the problem is that I have no idea how to launch it. Is there a Linux-equivalent of an executable I should be looking for?
>>
>>51739090
If everything went as it should, then typing "pcsxr" into the terminal an hitting enter will fire the software up.

Otherwise you'll have to ogle your path specifications and/or where the fucker ended up. This is typically under /usr/local/bin
>>
File: 2015-12-08_02-33-07.png (171 KB, 1258x953) Image search: [Google]
2015-12-08_02-33-07.png
171 KB, 1258x953
>>51739090
actually I looked closer into it and if you want all the latest features download the zip from here: https://pcsxr.codeplex.com/SourceControl/changeset/97809

click on download and you will have pcsxr-97809.zip

then do
>unzip pcsxr-97809.zip (install unzip if it's missing)
>cd pcsxr
>chmod +x autogen.sh
>./autogen.sh
> make
> sudo make install
>>
>>51739090
if you have installed it with sudo make install you should be able to launch it running pcsxr from the command line.
if you want a launcher look at how to create a .desktop file (here if you are a sane person https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles or https://wiki.archlinux.org/index.php/Desktop_entries if you are an edgy teen)
then make it executable (chmod +x pcsxr.desktop or right click, properties, permissions, allow executing file as program) and move it in ~/.local/share/applications
>>
File: 1418158568603.png (1 MB, 838x643) Image search: [Google]
1418158568603.png
1 MB, 838x643
>>51739193

Thanks. Being able to open up a file location into the terminal with a simple right-click is a god-send. So many little things I like about this OS. I wish this was default on Windows 10.

Also why does Windows require Visual Studio to compile anything? I tried using that first and I didn't have a fun time.

>>51739234

Does this process work under Linux Mint? I assume it would since its a *buntu derivative but the guide you posted says "Unity Launcher" when I'm running the Cinnamon DE.

>>51739226

Nice! I appreciate sharing that.

One last question though: So now if I want to make any changes to the source, I just have to do it before I "make" it. Then my change should go through. Is this logic correct?
>>
>>51739321
>I just have to do it before I "make
yes exactly, just edit the source file and pray that it still compiles.
>>
>>51739321
yes, it works for every DE that follows freedesktop guidelines http://standards.freedesktop.org/desktop-entry-spec/latest/
>>
>>51738371
What if you own a copy of the game, but your ps1 hardware is broken or you sold it/trashed it?
>>
post YFW rpm's specfiles just werk
>>
>>51739365

Gotcha, I'll do just that.

>>51739446

I'm learning as I go. Distros actually host their own repos for other projects?

>>51739348

Sweet, I'll make my changes and post my results on Mediafire or something once I make sure that I'm allowed to do so. I assume the PCSX-R devs are cool with it.

I lied about the last question: So what I compiled just now is only usable under linux systems, right? I don't actually see a Win32 executable in here, so logically I'll need to switch to Windows 10 to compile under Windows?
>>
>>51739446
obviously pcsr is in ubuntu/mint repository, however OP wanted to modify the source.
in my experience emulators works a lot better if compiled, for example compiled desmume runs with a lot higher and stable framerate than the distro packaged one
>>
>>51739479
yes you will have to recompile everything in visual studio if you want a windows executable.

If you add valuable code to the source you could contribute directly on codeplex.
>>
>>51739581
the source is gpl3 so you are allowed the do as you wish as long as you redistribute the software with the license and source code. if you want details check https://www.gnu.org/licenses/gpl-3.0.en.html but nobody will waste time and money to sue you anyways
>>
>>51738371
>stealing
>games that aren't on the market anymore
Maybe I should buy them from Rick on ebay. I'm sure he'll compensate the devs.
>>
>>51738428
autogen requires autotools
Make sure you have the deb-src repository in addition to deb in /etc/apt/sources.list
apt-get build-dep pcsxr

You should be able to do ./autogen.sh after this.
>>
>>51739581

>yes you will have to recompile everything in visual studio if you want a windows executable.

VS2015 has a pretty sexy UI and seems to have plenty of documentation, so I'll learn that on my own. Thanks for the info.
>>
>Its for a PS1 emulator where I only wish to change a single line of code so I can overclock the emulated PS1 CPU frequency.
Made a quick and dirty patch for this on Windows:
https://github.com/SonofUgly/PCSX-Reloaded/commit/3f11d29f31ca02575aeedf073e87ffee933effb0
Just copied code from the region selector, so you'll have to reload the game for it to change.

Should be easy enough to add it to the GTK menu once you get it building.
>>
File: 1420743971474.jpg (37 KB, 317x290) Image search: [Google]
1420743971474.jpg
37 KB, 317x290
>>51740034

You were the one who actually did that awhile ago? Woah.

I'll certainly look into that when I figure out how to compile PCSX-R on Windows. Right now I'm testing my /g/-powered compile out and so far I see absolutely no difference in King's Field II at all. I'm pretty sure I did everything right and the game clearly has a variable framerate, so I have no idea why its still lagging in the beginning.

I set the frequency number to x4 it's original value.
>>
Build it as 32bit so you can use the Petes OpenGL2 plugin. If you don't want to use that plugin then use Mednafen instead as it's a better emulator and the only reason to still use PCSXR is for the upscaling in Petes plugin.
>>
File: 1336039436307.jpg (27 KB, 330x344) Image search: [Google]
1336039436307.jpg
27 KB, 330x344
>>51740266
>mfw Rustation becomes the King of PS1 Emulators
>>
>>51740215
Make sure you're not syncing to sound, I use Eternal SPU plugin and set it to SPUAsync > Simple.
>>
>>51740312

Eternal SPU from Pete's library, correct?
>>
How hard would it be to add overclock to Mednafen PSX
>>
File: 1419661326896.jpg (400 KB, 1920x1040) Image search: [Google]
1419661326896.jpg
400 KB, 1920x1040
>>51740381

Its kind of a pain in the ass atm.

It'll be way easier when people decide to actually release the damn thing. Which is why we're here.
>>
>>51737952
install then you dipshit
>>
>>51740312

Alright, it was from Zophar's Domain. I just assumed Pete is god and made everything PS1-related.

So I have it here but PCSX-R refuses to acknowledge that the plugin exists. When I stuck the plugin into the correct folder, it doesn't give me the option to select it at all.
>>
File: 1420770617274.png (180 KB, 500x398) Image search: [Google]
1420770617274.png
180 KB, 500x398
>>51740312

Okay, so I'm still having issues with the PSX plugins. PCSXR wont let me load any custom plugins. I think the terminal is trying to tell me something:

>Wrong ELF class: ELFCLASS32

Is this me missing dependencies or what?
>>
>>51741098

You're trying to load a 32bit library in a 64bit executable, maybe
>>
File: 1420332355044.jpg (63 KB, 550x448) Image search: [Google]
1420332355044.jpg
63 KB, 550x448
>>51741173

I think I figured it out based on your response. I compiled PCSXR on a 64bit system but I'm trying to load a 32bit library.

Eternal SPU's sourcecode is from a Japanese website and as far as I can tell, its nowhere to be found.

I'll need to use Pete's audio plugins and compile that. I don't even know if that would even work for the purposes of PS1 overclocking. Fuck everything.
>>
File: worry.png (76 KB, 668x130) Image search: [Google]
worry.png
76 KB, 668x130
>>51741298

Isn't Pete's plugin closed source anyway?
>>
>>51741332

>I've decided to make my psx plugins Open Source, that way interested coders can have a look and help me to improve the plugins further, or to make ports for other operating systems. Currently my OpenGL/MesaGL plugins, Soft GPU plugins, my SPU plugins and my CDR plugin are available, other plugins will follow somewhen :)

Straight from his website. I'm still trying to find his SPU sourcecode though.

I didn't think all of this would require this much time and effort. PS1 emulation truly is a clusterfuck of abandoned shit ductaped together then slowly padded by bandaids over the years.
>>
>wants to change the code
>cant even build a tarball
>>
File: 1446190760920.gif (726 KB, 300x168) Image search: [Google]
1446190760920.gif
726 KB, 300x168
>>51738371
Are you serious nigger?
>>
File: 1419562521168.png (201 KB, 354x367) Image search: [Google]
1419562521168.png
201 KB, 354x367
So SPU compiling isn't going to work for reasons beyond my understanding.

However if I compiled PCSXR in 32 bit, wouldn't that work for 32bit libraries? Can't I just do "32bit make" or something?
>>
>>51737884

just go back to windows.
>>
>>51741784
You need to change the default target architecture for gcc to x86 instead of amd64.
>>
>>51741390
>>51741332
He has super fucking old as shit versions that are open source, but they are pretty shit compared to his newest (but still old as shit) versions.
>>
>leenucks is so easy to use!
<basic stuff doesn't even work
>>
>>51737884
>Open terminal
>> sudo add-apt-repository http://ppa.launchpad.net/libretro/stable/ubuntu
>>sudo apt-get update
>>sudo apt-get install retroarch retroarch-* libretro-*
>>
>>51741784
>>51741904
Make sure to install ia32-libs

>>51742051
b-but muh HD

>>51741990
lmao, show me how easy it is to build PCSXR from source on Windows. As far as I can tell there are just some eldritch horrors out there that make the windows builds of cross-platform software, because that is not something meant for mortal men.
>>
>no epsxe

they dont have that on linux?
>>
File: 1420782254191.png (538 KB, 766x551) Image search: [Google]
1420782254191.png
538 KB, 766x551
>>51742166

So the command is:

>make linux-x86

I assume thats the magic command?

>>51742322

AFAIK the PCSXR emulator makes it ezpz to change the PS1 clock speed. Not interested in messing with another program atm.
Thread replies: 58
Thread images: 17

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.