Forum Replies Created
-
AuthorPosts
-
tmar89Participant
The first two are options of what to save. The third, Select filename and save snapshot, is where the file is saved. So what I recommend doing first is selecting that, then changing directories to /home/pi. Enter a filename called snapshot. Then back out of the menu and you should be able to take a quick save snapshot.
Exit the program at this point, and with SSH, go into the file system and move /home/pi/snapshot.vsf to /opt/retropie/supplementary/emulationstation.
sudo mv /home/pi/snapshot.vsf /opt/retropie/supplementary/emulationstation/
This sets the quicksave file in the default emulator folder which seems to be the case for Vice to start up in. You now should be able to start the emulator and quick save and quick load without error.
tmar89ParticipantExplain what you did so far and where you are stuck.. that will help me guide
tmar89Participant[quote=122556]Thanks I will have a look today. Did it use to work?
[/quote]
So I want to assume it did because I would have noticed it when I mapped the save and load snapshots to the controller. I’d have to go back to my RP 3.1 image and see what the difference was.tmar89Participant[quote=122511]
Hi tmar89,
Hope you are well.
I’ve just built my new 3.6 image on my Pi3, the controls are almost there (need to test in more games), thing is the save and load state buttons work, but I now get the errors:
on savestate – “Vice error – Cannot save snapshot image”
on loadstate – “Vice error – Cannot read snapshot image” (I guess because there is no save”Have you got this issue?
Thanks
I have upgraded my RP, but I don’t recall if I can save or not. I will have to check later. However, I am having issues when I start an emulator, I get a warning that the emulator config cannot be saved.
[/quote]
Ok, so I messed with this for over an hour now. I’ve tried setting the Save State file to multiple locations and it just won’t hold even after saving the vice configuration in the GUI. In the sdl-vicerc file, I tried setting EventSnapshotDir=”/home/pi/.vice/” and forcing it, but it doesn’t work. I suspect there is either a missing setting in here, or it’s just broken.Each time Vice runs, it defaults to /opt/retropie/supplementary/emulationstation for a snapshot.vsf file. So instead of fighting it, I copied an already created snapshot file to that folder and made sure it was owned by “pi”. Just use “sudo mv”. Now it works, but it only holds the C64 state of whatever the most recent cartridge or rom used. So if you play Zaxxon and save a state, then go to play Transformers, it will load Zaxxon.
The only other way to do this is manually go into the menu each time you load a rom and have specific state files in /home/pi/. Vice cannot go inside a directory that starts with a “.” so don’t use /home/pi/.vice/.
If you figure anything out, let me know please. Otherwise, this is the best option.
tmar89Participant[quote=122479]Hi tmar89,
Hope you are well.
I’ve just built my new 3.6 image on my Pi3, the controls are almost there (need to test in more games), thing is the save and load state buttons work, but I now get the errors:
on savestate – “Vice error – Cannot save snapshot image”
on loadstate – “Vice error – Cannot read snapshot image” (I guess because there is no save”Have you got this issue?
Thanks
[/quote]
I have upgraded my RP, but I don’t recall if I can save or not. I will have to check later. However, I am having issues when I start an emulator, I get a warning that the emulator config cannot be saved.tmar89Participanthey, from the youtube link here. I never tried a two player game and two joysticks. could you let me know what game you’re playing and I can try it on my system.
tmar89Participant[quote=110856]so has anybody found a way to assign the space key to the controllers?
[/quote]
Yes,
Use this method but change your button number as required:
[Port] [Button Action] [Button Number] [Action: Keyboard Matrix Map] [Row 7, Col 4 = Space]
0 1 1 2 7 4tmar89ParticipantYes, that does make sense. You’d have to try both joysticks with a 2 player game like Gauntlet.
tmar89ParticipantGlad it’s mostly working. I’m curious about player 2. If you swap joysticks and then go into the menu, does the P2 joystick work to navigate? Have you tried to do a manual configuration of Joystick #2 like you did for Joystick #1? I think it may be a Pin ID issue, 1 0 0 1 1 8 may need to be 1 0 0 1 0 8.
Do the P2 buttons work? ie, warp, quit, save, load, swap.
Also, your last line seems to be weird:
1 2 3 1 0 8
It should be
1 2 3 0tmar89ParticipantNot sure how to test Run/Stop. Maybe Reset the emulator and get to a prompt and then hit button 7. I think that should start the game loaded.
So player 1 fully works now? So what you can do if Player 1 fully works is to copy the settings for Joy1 to Joy2 in the cfg file and just change the first column from 0 to 1. That assigns it to the second joystick.
In the config, you just have to know the pattern as I mentioned in the previous post and reference the C64 keyboard map:
http://sta.c64.org/cbm64kbdlay.htmltmar89ParticipantI found some errors in the config. Sorry. The Space and Run/Stop were broke. I’m curious about the joystick. Did it work previous?
Also, the swap joystick may not work if you don’t have it properly set up in the Machine settings-Joystick settings. Make sure you have your joystick 1 and joystick 2 linked to your joysticks. You can confirm it if works or not by hitting the button while in the c64 screen, then going back into the menu to see if the settings swap.
Inside the config file explains how the numbers work. Here’s an example for both
0 1 0 1 1 16
1 1 8 5 Quit emulator{Joystick # 0 1} { Axis 0/Button 1/Hat 2/Ball 3} {Index on joypad 1-9} {Action} (Action Commands)
Joystick Action (1/2/4/8/16 = u/d/l/r/fire)The first column is the joystick port. The 2nd is the input type, 0=axis, 1=button. The next is the Joystick index. So your buttons are 0-9 and your axis is 0-7. Next is the action command. 0 is none, 1 is joystick action, 2 is keyboard map, 3 is map, 4 is Menu and 5 is a Menu Command.
So attached is the fixed config and a version with your previous joystick settings. Try the regular one first. If you still have a problem, lines 37-40 are the other axis on the joystick. Maybe that’s what yours uses. I just duplicated to the other axes.
0 0 4 1 0 8
0 0 5 1 0 4
0 0 6 1 0 2
0 0 7 1 0 1and the second joystick:
1 0 4 1 1 8
1 0 5 1 1 4
1 0 6 1 1 2
1 0 7 1 1 1We’re almost there!
tmar89ParticipantNo problem. To make it easier, use the attached file!
tmar89ParticipantEverything below and including the # line for the 1st controller. But keep what you have in your original file. So just replace the controller part and not above it.
tmar89ParticipantOk try this. Both controllers do the same thing.
P1B1: (SELECT/FIRE)
P1B2: (SPACE)
P1B3: Save Snapshot
P1B4: Warp Mode
P1B5: Joypad swap
P1B6: Load Snapshot
P1B7: Run/Stop
P1B8: Menu
P1B9: Quit# DragonRise Inc. Generic USB Joystick P1
0 0 0 1 0 8
0 0 1 1 0 4
0 0 2 1 0 2
0 0 3 1 0 1
0 0 4 0
0 0 5 0
0 0 6 0
0 0 7 0
0 1 0 1 1 16
0 1 1 2 7 4
0 1 2 5 Snapshot&Quicksave snapshot.vsf
0 1 3 5 Speed settings&Warp mode
0 1 4 5 Machine settings&Joystick settings&Swap joystick ports
0 1 5 5 Snapshot&Quickload snapshot.vsf
0 1 6 5 7 7
0 1 7 4
0 1 8 5 Quit emulator
0 1 9 0
0 1 10 0
0 1 11 0
0 2 0 0
0 2 1 0
0 2 2 0
0 2 3 0# DragonRise Inc. Generic USB Joystick P2
1 0 0 1 0 8
1 0 1 1 0 4
1 0 2 1 0 2
1 0 3 1 0 1
1 0 4 0
1 0 5 0
1 0 6 0
1 0 7 0
1 1 0 1 1 16
1 1 1 2 7 4
1 1 2 5 Snapshot&Quicksave snapshot.vsf
1 1 3 5 Speed settings&Warp mode
1 1 4 5 Machine settings&Joystick settings&Swap joystick ports
1 1 5 5 Snapshot&Quickload snapshot.vsf
1 1 6 5 7 7
1 1 7 4
1 1 8 5 Quit emulator
1 1 9 0
1 1 10 0
1 1 11 0
1 2 0 0
1 1 0
1 2 2 0
1 2 3 0tmar89ParticipantThis is great news! Your mapping is 1-to-1. I messed up button #5’s mapping and set it to #3 also. You had two things mapped to button #5 in your request. Swap and R/S. How do you want it again?
P1B1: (SELECT/FIRE)
P1B2: (SPACE)
P1B3: Save Snapshot
P1B4: Warp Mode
P1B5: (Joystick Swap or RUN/STOP)? How about Swap here
P1B6: Load Snapshot
P1B7: (How about RUN/STOP)?
P1B8: (How about PAUSE or MENU)?
P1B9: (Quit) (Or do you just want MENU then let the use select QUIT in case of accidental push?)tmar89ParticipantSo the joypad config for Retropie doesn’t always match the one C64 VICE uses. I just learned this. For my Logitech pad, the buttons are labeled 1-10 and that’s what’s used, not the cfg I set. So I want you to do a test for me. Use this input for your joypad mapping file. One of the buttons should be mapped to the Settings Menu (UI Activate). Figure out which one does that. I have it set to button “1”, not your button “1”. Not sure if they will match up. Then check U/D/L/R directions work on both controllers. You should be able to navigate sub menus using R/L too. Another button, mapped to “0” is your select button so see which one does that.
Once you figure out your select button, Go into the menu and select Reset->Soft. This will bring you to a C64 prompt. Then hit all your buttons in order of P1:1->9,then P1 button and P2:1->8,then P2 button. You should see letters appear on the screen. This will allow me to map your controller properly. So reply back with something like:
P1B1: C
P1B2: D
P1B3: (Menu)
P1B4: (Select)
P1B5: S
etc..# DragonRise Inc. Generic USB Joystick P1
0 0 0 1 1 8
0 0 1 1 1 4
0 0 2 1 1 2
0 0 3 1 1 1
0 0 4 0
0 0 5 0
0 0 6 0
0 0 7 0
0 1 0 1 1 16
0 1 1 4
0 1 2 2 1 0
0 1 3 2 1 3
0 1 4 2 1 0
0 1 5 2 2 3
0 1 6 2 3 0
0 1 7 2 3 3
0 1 8 2 4 0
0 1 9 2 4 3
0 1 10 2 1 2
0 1 11 2 3 4
0 2 0 0
0 2 1 0
0 2 2 0
0 2 3 0# DragonRise Inc. Generic USB Joystick P2
1 0 0 1 1 8
1 0 1 1 1 4
1 0 2 1 1 2
1 0 3 1 1 1
1 0 4 0
1 0 5 0
1 0 6 0
1 0 7 0
1 1 0 1 1 16
1 1 1 4
1 1 2 2 1 0
1 1 3 2 1 3
1 1 4 2 1 0
1 1 5 2 2 3
1 1 6 2 3 0
1 1 7 2 3 3
1 1 8 2 4 0
1 1 9 2 4 3
1 1 10 2 1 2
1 1 11 2 3 4
1 2 0 0
1 2 1 0
1 2 2 0
1 2 3 0tmar89ParticipantYes, 0 1 8 5 Quit emulator should quit. Curious why it’s not working for you. Do any of the buttons Quit the emulator other than 8? Maybe the mapping is wrong.
What buttons on your layout do you want for your commands?
Speed settings&Warp mode
Machine settings&Joystick settings&Swap joystick ports
Snapshot&Quickload snapshot.vsf
Snapshot&Quicksave snapshot.vsf
Quit emulator
Space
Run/Stopie, P1-8 Quit Emulator
Also, are you having any issues with your joystick behaving weird? Looks like your joysticks are double mapped to the u/d/l/r directions. I’d be curious to see your joypad config file too. Anyway, get back to me on your button mappings and I’ll give you a test file to try.
tmar89ParticipantI studied the file and the source:
tmar89ParticipantI’ll get back to you tomorrow on both previous posts. Could you show me the layout of your buttons and what order they are in? A picture could help here. Have you done any customization with the controls yet? I see many are mapped to fire right now.
tmar89ParticipantIf you look at my joypad script, the warp mode is turned on and off by my L button. If you need help understanding or trying to set up the script for other hotkeys, let me know. But any button on your joypad can trigger a VICE menu action.
If you want to mess with the theme files and create your own stuff for Amiga, I recommend checking out the theme files and trying to modify them yourself. It’s not too complicating.
Yes, TheGamesDB.net is missing a lot of C64 games. You could add them in manually by editing the gameslist.xml file in the roms/c64 folder and adding images there too.
tmar89ParticipantYeah mess around with the resolution you like. Glad this works for you.
If you don’t mind me asking, what’s the need for the spacebar to be mapped? Are there games that require it? I know I have some games that require Function keys.
tmar89Participant[quote=108656]Found the C64 issue, try going to Video settings > VICII border mode > set to none
must be another way to get the games almost full screen?
[/quote]
The C64 emulator runs in full screen with the light blue borders and even the title and loading screens of Turrican are full screen, but the game play is bordered. When I set the VICII mode to NONE, I get it in full screen and you’re right, the game gets scrambled on vertical moves. What I found is that you can keep the VICII border mode to Normal but do this:Video Settings->Size Settings
Double Scan * (I just like this, doesn’t affect full screen stuff)
Fullscreen *Full Screen mode
Custom *Custom Preference
Width 320
Height 240This provides full screen playback without the vertical glitching.
Make sure you go to Setting Management and Save your settings so this remains on reboots.
tmar89ParticipantUpdated binaries today. I did a fresh install of 3.0 a couple weeks ago or so.
tmar89ParticipantGood luck! My recommendation is to start from scratch with the VICE emulator. Reset to defaults because I know it works for me on the RP2 with the latest version of Retropie.
tmar89Participant3.1 to 3.2. It also happened with 3.0 to 3.1. I was told today on the Github page that EmulationStation erases its own controller config on a binary update but the configuration files don’t get deleted. They may provide a fix in a later version.
tmar89Participant[quote=108637]Looks amazing, I wonder why mine is like that.
How do you bind warp to an action button I’d like to do that and bind space bar to a button? I’m building a bartop so this would be great.
[/quote]
You can map actions in the menu to buttons. You write the literal string using & to designate sub menus.[quote=108637]
Also I love that c64 theme how did you do that.
[/quote]
nbba theme, slightly modified and using scraped artwork.[quote=108637]
Great video.…. Btw I have removed the borders on my setup to get a bigger screen and my pi is overclocked to moderate, maybe that is an issue?
[/quote]
Thanks! I have my RP2 overclocked to PI mode, the last option. Never thought about removing the borders, that’s a great idea that I’ll have to mess with.tmar89ParticipantI loaded both games and they work just fine on a stock VICE emulator. Just takes time to load. Here’s a video of both Turrican games loading, and I also use Warp Speed at times to make it load faster. I have actions mapped to my controller to warp speed and switch joystick. One note is that I did change the extension from .tap to .t64, but it’s just because I use that extension for my tapes.
EDIT: Checked the vertical scrolling, not in the recording though. Just realized that was the most important part of your question! When I played the first level for a few minutes, I went left and right then up and down the level and it was smooth as silk!
tmar89Participant+1 this for sure!
tmar89ParticipantI’m using C64 and not really having any issues. I haven’t changed any of the default emulator settings for VICE though. Want me to try out your ROMS? Share a link with me.
tmar89ParticipantHere’s the controller part of opt/retropie/configs/c64/sdl-joymap-C64.vjm. This lets me do basic UI tasks like exit, save/load states and swap joystick.
# Logitech Logitech Dual Action
# Up Down Left Right Axis
0 0 0 1 0 8
0 0 1 1 0 4
0 0 2 1 0 2
0 0 3 1 0 1
0 0 4 0
0 0 5 0
0 0 6 0
0 0 7 0# Buttons
0 1 0 0
0 1 1 1 0 16
0 1 2 0
0 1 3 0
0 1 4 5 Speed settings&Warp mode
0 1 5 5 Machine settings&Joystick settings&Swap joystick ports
0 1 6 5 Snapshot&Quickload snapshot.vsf
0 1 7 5 Snapshot&Quicksave snapshot.vsf
0 1 8 5 Quit emulator
0 1 9 4
0 1 10 0
0 1 11 0tmar89ParticipantI figured it out by editing the joystick file and setting one of the buttons to UI Action Quit Emulator. If anyone wants more details, let me know here and I’ll post my whole config files for VICE
tmar89ParticipantI’m also looking for an easy way to exit out of C64 VICE with just my joystick.
tmar89Participant[quote=107900]
– I really think the game lists would look better if they were left aligned. It’s easier to tell the related games/sequels, when they’re all aligned that way, when you’re scrolling through lists.[/quote]
I did forget to mention I also changed that. I agree with you that it is easier to go through a left aligned list of titles than centered.tmar89Participant[quote=107863]Not in the current version. I think you can use the built in scraper that has an option to only scrape games that don’t have an image. And that has an option to tweak the search if something isn’t found.
[/quote]
Thanks, that’s what I currently do.tmar89Participant[quote=107852]You can use -use_nointro_name=false to use what is listed in thegamesdb which would omit the region. Another way, as robertybob mentioned, is to post-process the file something like the following to find things in parens and remove them. I haven’t fully tested this but I think it will work.
cat gamelist.xml | sed -e 's/<name>\([^()]*\?\)\( (.*)\)\+<\/name>/<name>\1<\/name>/' > gamelist-new.xml
[/quote]
Thanks, I heard from someone else outside this board about using -use_nointro_name=false. I just wasn’t using it correctly because I didn’t add “=false” to the option.And in the mean time, I did end up writing my own script to remove anything with “(…” or “[…” in the title names yesterday. So double thanks!
One last question if you don’t mind. When the scraper doesn’t find a title in the hash, is there a way to manually search for it? I didn’t see an option or I just missed it.
-
AuthorPosts