Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Adventure Game Studios
- This topic has 15 replies, 3 voices, and was last updated 8 years, 10 months ago by herbfargus.
-
AuthorPosts
-
02/17/2016 at 17:48 #117314AnonymousInactive
I couldn’t find much information on the AGS engine in the experimental menu. There are no forum posts and nothing in the wiki, but I decided to give it a try anyway in an attempt to get some of AGD Interactive’s VGA remakes of some old Sierra games working.
The program built from the script just fine, I loaded the game data into the proper roms folder, but nothing would load. Looking at
/opt/retropie/configs/ags/emulators.cfg
I see that ags needs to be loaded with xinit, so I ransudo apt-get install xinit
BTW – It would be nice if someone could provide a quick “Linux 101” lesson on the whole “X” thing.
Now I could get the game to load from the command line myself, but not from EmulationStation. Maybe a “runcommand” problem/bug?
The only problem I have now is even though I use the –fullscreen option, the game is not being scaled fullscreen. I still need to look at the command line options or config files for ags to try and solve this problem.
02/20/2016 at 16:39 #117592AnonymousInactiveNobody replied to the last post, so I’m not sure if anyone is interested, but I’ll continue to post about my findings:
The only games I tried are the King’s Quest VGA remakes from AGD Interactive. My monitor resolution is 1024×768. If I used the –fullscreen option already in RetroPie’s emulators.cfg file, AGS would not be able to scale the image to fullscreen. Looking at the log file, I could see that it eventually resorted to windowed mode at 320×200. If I started in windowed mode, it would actually be able to scale 3x to 960×600. It isn’t fullscreen, but that’s the best I could manage with the launch options and editing the acsetup.cfg file.
I can see why this emulator is stuck in the experimental menu.
02/20/2016 at 17:33 #117593petrockblogKeymasterI added dependencies in for xinit – the old image had xinit by default, so it was missed out. It used to launch ok from runcommand I will check, but for full screen i used the runcommnand launch menu to set the screenmode and the framebuffer will be scaled – it might be enough to just resize the framebuffer also from the runcommand menu.
02/20/2016 at 17:46 #117594petrockblogKeymastersudo dpkg-reconfigure x11-common
and choose “anybody” and it will work from ES
02/26/2016 at 21:04 #118277AnonymousInactiveThe “sudo dpkg-reconfigure x11-common” worked, but so did adding “sudo” to the xinit command in “emulators.cfg”
I think they both accomplish the same thing, but which would be the preferred method?
Also, the games I’m trying to play are 320×200 resolution, not 320×240. If I select 320×240 in the runcommand framebuffer options, the game does run close to fullscreen, but it is letterboxed. I believe these games were intended to be stretched to 4:3. Is there a way to add that option to the runcommand settings?
02/26/2016 at 21:55 #118292petrockblogKeymasterThe instructions I gave.
you can add a 320×200 entry to /etc/fb.modes and see if that helps.
02/26/2016 at 22:16 #118296AnonymousInactiveI found this at the bottom of /etc/fb.modes
# added by RetroPie-Setup - 320x240 mode for emulators mode "320x240" geometry 320 240 320 240 16 timings 0 0 0 0 0 0 0 endmode
So I added:
mode "320x200" geometry 320 200 320 200 16 timings 0 0 0 0 0 0 0 endmode
But I think I’m missing another step, because that didn’t give me an additional framebuffer option in the runcommand menu.
02/26/2016 at 22:42 #118299petrockblogKeymasterit requires manual changing of the runcommand script also, or manually change the config – edit configs/all/videomodes.cfg and change it to 320×200
but actually it won’t help I think as the framebuffer will maintain the aspect ratio so will end up letterboxed itself.
02/26/2016 at 23:46 #118304AnonymousInactiveI tried the games I’m interested in on my PC using their normal Windows installer, and they appear to run in a 16:10 aspect ratio there too, so I guess even though these games were designed in 320×200 they were never intended to be stretched vertically to 4:3 like most 320×200 games of that era were.
So in that regard, I’m perfectly happy with the performance I’m getting with the AGS emulator in RetroPie.
—–
Now my next problem seems to be a bug in the installation script and its recent update to install xinit on its own:
Clean install RetroPie image v3.5 – don’t update the script
sudo apt-get install xinit
Install AGS from experimental menu
sudo dpkg-reconfigure x11-common
transfer game data
AGS runs perfectlyClean install RetroPie image 3.5 – update script
Install AGS from experimental menu (looks like maybe a different # of packages installs when it tries to include xinit)
sudo dpkg-reconfigure x11-common
transfer game data
AGS will not run from ES02/27/2016 at 00:24 #118306petrockblogKeymastercheck /tmp/runcommand.log
the only differences should be the addition of installing xinit also, but ill try and reproduce.
02/27/2016 at 00:34 #118309herbfargusMemberThere might be a similar problem with minecraft
02/27/2016 at 02:38 #118319AnonymousInactiveHere is my runcommand.log
It’s definitely an xinit thing. Somehow it’s different if I manually install xinit vs the ags.sh script installing it.
02/27/2016 at 03:03 #118322petrockblogKeymastershould be fixed now.
02/27/2016 at 04:45 #118324herbfargusMemberCan confirm minecraft is fixed. haven’t tested ags but I would assume that is functioning too.
I did have to run
sudo dpkg-reconfigure x11-common
and set it to anyone.
I know its bad practice to have sudo in the start script, is there a way to automate the aformentioned line of code or something when a user installs minecraft or ags from the experimental script just so people don’t think they are broken? I’ve added the aforementioned line to the wiki of course, but as we know few people actually rtfm.
02/27/2016 at 04:51 #118326petrockblogKeymasterit is already corrected for the future images. For those that install on raspbian – this should be something that gets documented.
02/27/2016 at 04:55 #118328herbfargusMemberMuch appreciated. great work :)
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.