Hacking Emulation RetroArch/Libretro Thread: PS Vita Edition! Nightlies Included

mindglitch

Well-Known Member
Newcomer
Joined
Aug 25, 2016
Messages
57
Trophies
0
Age
41
XP
96
Country
United States
What's wrong with Vita TV on 1.5? BTW: Rollcage 2 on PCSX Rearmed runs pretty smooth, I'd say full PSX rate, but there are occasional stutters every few seconds.

I tried the stable 1.5.0 version. It works on vita fine but the same vpk crashes on pstv when you select a scanned game or select load content. I did also try 03-02 and 02-27, both crashed on my pstv. It worked again after installing 02-12 nightly which shows up as 1.4.1. I dont have any other releases between those dates. Im using the all in one vpk.

I see the buildbot is working again but havent had the time to try those yet.
 
Last edited by mindglitch,

salocin23

Member
Newcomer
Joined
Sep 12, 2016
Messages
11
Trophies
0
Age
43
XP
60
Country
United States
Hello,

Using the 3/11/2017 nightly build of dosbox for retroarch I was successfully able to launch games such as Abuse, Another world, Zone66 and Raptor call of the shadows. These games ran at a playable rate with sound after adjusting cycles. I was using dosbox.conf files renamed after individual games and launching this via the launch content option. Using just bat files with launch commands caused some games to crash with c2-12828-1 error. However using a config file would launch the same game without this error. Remapping controls is working correctly, setting mouse to right analog stick causes an inverted x/y axis on mouse, I am not sure if there is an option to change that. Overall I think dosbox is working nicely on the vita and I am able to play dos games after a little bit of configuration and setup for each game. Many thanks to the developers for their hard work on this project!
 

Zukov

Dinosaur
Member
Joined
Oct 2, 2016
Messages
324
Trophies
0
Age
38
XP
908
Country
Chile
These games ran at a playable rate with sound after adjusting cycles. I was using dosbox.conf files renamed after individual games and launching this via the launch content option. Using just bat files with launch commands caused some games to crash with c2-12828-1 error. However using a config file would launch the same game without this error. Remapping controls is working correctly, setting mouse to right analog stick causes an inverted x/y axis on mouse, I am not sure if there is an option to change that. Overall I think dosbox is working nicely on the vita and I am able to play dos games after a little bit of configuration and setup for each game. Many thanks to the developers for their hard work on this project!
I want to know if there is a list of potentially playable games by boxdos emulator.
 

Astromatik

Member
Newcomer
Joined
Mar 8, 2017
Messages
6
Trophies
0
Age
39
XP
52
Country
France
Hand of fate on dosbox crash after prologue. I guess libretro can emulate the marvelous Roland Mt32 audio (sound are Amazing with it).dosbox turbo can emulate it
 

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,625
Country
United States
Awesome!!! Can you give a quick example of how to run games in dosbox? I am familiar with dosbox.conf files but what path do I use etc? What options? Can you upload a working example .conf file from a game you got to run successfully.

I am interested in playing games like the settlers 2, z, commander keen etc. would be awesome if those ran in acceptable speed.
 

salocin23

Member
Newcomer
Joined
Sep 12, 2016
Messages
11
Trophies
0
Age
43
XP
60
Country
United States
I modified the config file from dosbox 0.74 from pc. I'll post an example of it later I'm away from my PC for till tomorrow. You want to mount the path to your games in autoexec section, IE mount c ux0:/data/dosbox.

You can also use cute mouse program to change mouse axis as desired before launching games.

How do you bring up the virtual keyboard for dosbox on retroarch for vita? Last I knew this was not available.
 
  • Like
Reactions: julio.apc16

rsn8887

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,625
Country
United States
Hmm I tried loading settlers 2 and z using custom .conf files, but all I get is c2-12828-1 crash on startup. Must be something wrong in config?

EDIT: Looks like it is the games themselves. I can see the dosprompt come up and my launch commands are entered, but then it crashes when it launches the actual game.

It might be good to hear from people which games run without the c2-12828-1 crash. And of course it would be nice if it wouldn't just crash but give some error message, but well it is Retroarch :)

EDIT2:
Using Dosbox 0.74 default config:

Prince Of Persia - works
Settlers 2 Gold - crash on startup c2-12828-1
Z (Bitmap Brothers) - crash on startup c2-12828-1
Peroxyd (Dongleware) - crash on startup c2-12828-1

Maybe it only supports lo-res (320*240) games?
 
Last edited by rsn8887,

salocin23

Member
Newcomer
Joined
Sep 12, 2016
Messages
11
Trophies
0
Age
43
XP
60
Country
United States
I ran this line in a bat file to dump the current dosbox config from retroarch: "config -wcp ux0:/data/dosbox.conf" This writes the current dosbox.conf to your memory card in the data folder. From there I FTP'd the dosbox.conf to my PC and then edited the file. Make sure these lines are set as follows: "core=normal" and "cputype=auto". Then remove lines for cycleup and cycledown. Also make sure to set "scaler=none" The reason for this is you have to set core type to normal or simple as it will try to set to dynamic which will fail with c2-12828-1 error on launch every time. With scaling on graphics will be much slower. Then you can set lines in autoexec section to launch specific game.

However once game is launched you will need to go to retroarch options and manually set cycles and GPU (vga or S3), you will also need to go to controls and options to define controls and set controller type to mapper. If you set the right analog as mouse axis, the Y axis will be inverted.
IF you want to change this you will want to launch a program to invert the y axis on the mouse before game is run. Here is an example:

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c ux0:/data/dosbox/
c:
cd ctm21b4x/inverted
ctmouseY.exe
cd ../..
cd raptor
rap.exe

Make sure when you are done playing the game, to go to retroarch menu and use exit/close content then close retroarch. This should save keymap files etc if saved previously and load them next time you play the same game. You will want to enable unknown extensions in the load content settings to see the conf files in the data or any other directory.

Google this to find a link for cute mouse on vogons forum: "ctm21b4x.zip ctmouse v2.1b4 with inverted axis".

I have uploaded my dosbox.conf as dosbox.txt. I did download midi control files to retroarch's system folder to enable midi and my configuration reflects this.

I have been able to launch abuse, another world, raptor call of the shadows, settlers2 and zone66 using this method. Raptor plays quickly with music and sound at 2000 or 300 cycles.

So far the c2-12828-1 error only occurs if there is something wrong in the configuration file and does not indicate that the emulator can not play or handle the software you are trying to launch..

If anyone wants me to try running a specific game or if they are having issues feel free to ask here and I will do what I can to assist.
 

Attachments

  • dosbox.txt
    9.8 KB · Views: 1,024
  • Like
Reactions: BumbleJake

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=1hp24nDVKvY