|
Post by spannernick on Apr 3, 2020 22:21:46 GMT
I am doing that, I klll the64 file at the beginning and start it at the end of start.sh file, but he say its still not reading his controller(its not working),so I am guessing that Linux on THEC64 is reading the gamecontrollerdb.txt as THEC64 is booting,I don't know,do you know a way to get Linux or sdl to read that file again,with some code or something, Jeroen..? I can't see what it doing cause I can't log on to it via UART. It must be something else, the file is read by 'the64'. Ah ok, I have a idea how to test it, will do it tomorrow,I let you know how it goes.. well one way is remove the code in the gamecontrollerdb.txt file for THEC64 Joystick and if when I run the update and the64 resets and THEC64 Joystick don't work then I know its reading the gamecontrollerdb.txt file.. Just noticed something THEC64 Joystick is not in the gamecontrollerdb.txt for THEC64 Maxi its only in THEC64 Mini's gamecontrollerdb.txt Sorry its me could not see it... found it.. it has four devices (4 devices GUID.) Must be four Joysticks then two are prototypes(Retro Games The64 Joystick Prototype) and the other two are THEC64 Push Button Joystick and THEC64 Micro Switch Joystick. If I remove all four then TheC64 Joystick should stop working if the64(Carousel) is reading the gamecontrollerdb.txt properly.
|
|
|
Post by robocain on Apr 4, 2020 9:25:44 GMT
Very very interesting development here Keep up the good work
|
|
|
Post by spannernick on Apr 4, 2020 11:34:52 GMT
YES...it reading the gamecontrollerdb.txt properly its over mounted it fine and THEC64 Joystick is not working... so its the code for his joystick that he put in that don't work. so it has mounted over the top of it fine... OK.. so I am glad its not my mistake.. I should of done this first but only thought of it last night.. now I can put the code back..
|
|
|
Post by spannernick on Apr 4, 2020 11:43:35 GMT
One thing about the gamecontrollerdb.txt, there are two version of it, I think, THEC64 Mini uses a different SDL then THEC64 Maxi, I think, not sure, Anyone know if I am right, thats why I using two gamecontrollerdb.txt, one from THEC64 Mini and the other one from THEC64 Maxi...? its because THEC64 Mini is a sun7i and Maxi is a sun8i so they are slightly different from one another in the hardware and software.
|
|
|
Post by spannernick on Apr 4, 2020 12:00:11 GMT
Hi Span, thanks for the USB hack, it work really great with the carousel games. But I have some problems when adding new controllers. I tested to use the gamepad tool to add two controllers, but I can't get them to work. I also have a Speedlink Competition Pro and modified the button mappings based on some info I found here : thec64community.online/thread/100/usb-gamepad-ninento-snes-controllerBut that does not work either, the same mappings are still used after upgrading the firmware. To me it seems like the gamecontrollerdb.txt file is not picked up. But perhaps I'm doing something wrong, I'm not that familiar with the controller mappings and how that works. I use the C64 Maxi. I did the following changes to the gamecontrollerdb.txt for the maxi: I added: 030000005e0400008e02000000007801,XInput Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b8,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux,
030000001008000001e5000000000000,NEXT SNES Controller,a:b2,b:b1,back:b8,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b4,rightshoulder:b6,start:b9,x:b3,y:b0,platform:Linux, and modified the Speedlink mapping: 030000000b0400003365000000010000,Speed-Link Competition Pro,x:b0,y:b1,back:b2,start:b3,b:b4,a:b5,lefttrigger:b6,righttrigger:b7,leftx:a0,lefty:a1,platform:Linux, Any ideas what's happening here? Its your code,just tested the gamecontrollerdb.txt and its overmounting it fine so its must be the code, I am not very good at understanding all that and how the buttons work,did the Competition Pro work before you modified it and dose any other controller or joystick still work..? You will have to do trial and error until you get it working, at least you can get to the file easier now.. What are you using to edit it, I use Notepad++, don't use Notepad on PC cause it could mess the file up, here is Notepad++ download page.. it the top one thats the latest version. Good luck with it and hope you sort it out..
|
|
|
Post by raven666 on Apr 4, 2020 12:15:27 GMT
Hello folks, I am a retro gamer girl from northern Germany and bought a c64 mini a few days ago and have always loved the old games. I think the C64 Game Tool is just great. however, i have a question, is there a way to insert a game that spans multiple disks into the carousel or is that impossible if you don't have a cartridge file? Or is there a way to combine .d64 files and convert them as .crt? Hope you can help me with that, greetings Lucy
|
|
|
Post by spannernick on Apr 4, 2020 13:33:59 GMT
Hello folks, I am a retro gamer girl from northern Germany and bought a c64 mini a few days ago and have always loved the old games. I think the C64 Game Tool is just great. however, i have a question, is there a way to insert a game that spans multiple disks into the carousel or is that impossible if you don't have a cartridge file? Or is there a way to combine .d64 files and convert them as .crt? Hope you can help me with that, greetings Lucy All you can do is depending on how many disks it has,copy it to a d81 file and see if it can load the game fine and see what happens when it asks for disk 2, then you can add that to the Carousel.It can't load Multidisk games. or find a crack version of the game on one disk.
|
|
|
Post by spannernick on Apr 4, 2020 13:36:47 GMT
I think SDL2 Gamepad Tool is doing the mapping wrong cause we are using the Windows version,just tried it and my controller don't work so you might have to use the Linux version...?
|
|
|
Post by lantzelot on Apr 4, 2020 13:57:18 GMT
I think SDL2 Gamepad Tool is doing the mapping wrong cause we are using the Windows version,just tried it and my controller don't work so you might have to use the Linux version...? Ok that might be the problem perhaps... At least we know that the gamecontrollerdb.txt file is read properly I'll see if I can test some more with my controllers. When changing the speedlink configuration it still mapped the exact same buttons in the same way, that's why I thought the file was not read properly. But maybe I changed the wrong line, there are multiple configs for speedlink joysticks. Anyone have a link to some documentation for how SDL2 works and the mappings you can define? I cannot find any, it would be helpful to understand how it works in more detail.
|
|
|
Post by spannernick on Apr 4, 2020 14:19:13 GMT
Its the GUID is wrong on Windows... ?? See the difference, this part needs adding 03000000a30c000025000000 11010000 its missing at the end, "00000000" at the end is wrong. When using the SDL2 Game tool on Windows, you need the last 8 digits(numbers) at the end "11010000" and paste it over 8 zeros digits at the end of the GUID then you have the right GUID for Linux. Worked it out from this post... thec64community.online/post/3116
|
|
|
Post by ezekiel79 on Apr 7, 2020 10:53:34 GMT
Hi, how can insert new games in the folder?
|
|
|
Post by spannernick on Apr 7, 2020 11:45:52 GMT
Hi, how can insert new games in the folder? If you look at the first post this is there... You can use THEC64 Maxi Game Tool with Carousel Games from USB StickAll you need to do is put THEC64 Maxi Game Tool.exe in the folder called Carousel_Games then run it from there when its plugged in to your PC(you could add a shortcut to it on Windows to your desktp to make it easier to run) so you can add or change games in the games folder on the USB Stick,you do not need to use the Make FW button, just use Add or Edit buttons and the games will change or Add new C64 Games you add to the app and they will be added to the games folder, you can even delete games too using the Delete button. Do Not forget to copy the folder Vice to the same folder too.(Vice is there to made snapshot files of the games you add by pressing the VICE button.) When adding or editing a game, when you close TheC64 Maxi Game Tool it will come up with a Warning saying if you close it, it will not save the changes to the games its added or edited, thats just if you making a firmware update to send to THEC64 Mini/Maxi so please ignore the warning. DO NOT press MAKE CFW Button no need too.(it adds the games or edits them straight away to the Games folder so changes happen instantly.)After you finished what you want to do, Close THEC64 Maxi Game Tool then Eject the USB Stick so you don't corrupt it, you have to close THEC64 Maxi Game Tool first otherwise you can't Eject the USB Stick. Here is a picture of TheC64 Maxi Game Tool and Vice folder on my USB Stick in Carousel_Games Folder.THEC64 Maxi Game Tool Reading from the Carousel_Games folder.
|
|
|
Post by lantzelot on Apr 7, 2020 14:36:02 GMT
Its the GUID is wrong on Windows... ?? See the difference, this part needs adding 03000000a30c000025000000 11010000 its missing at the end, "00000000" at the end is wrong. When using the SDL2 Game tool on Windows, you need the last 8 digits(numbers) at the end "11010000" and paste it over 8 zeros digits at the end of the GUID then you have the right GUID for Linux. Worked it out from this post... thec64community.online/post/3116Yes, I got it to work properly, I changed the wrong line since the GUID differs. Now I managed to move the menu button from the left triangle to the right triangle on the speedlink competition pro (I accidentally pushes it while playing ), here is my modified config if anyone is interested: 03000000790000001c18000011010000,SPEEDLINK COMPETITION PRO Game Controller for Android,a:b0,back:b4,lefttrigger:b3,leftx:a0,lefty:a1,start:b1,platform:Linux, I switched "back" and "start" which are mapped towards the triangle buttons. Now I'm happy, thanks for the support!
|
|
|
Post by spannernick on Apr 7, 2020 15:14:33 GMT
Its the GUID is wrong on Windows... ?? See the difference, this part needs adding 03000000a30c000025000000 11010000 its missing at the end, "00000000" at the end is wrong. When using the SDL2 Game tool on Windows, you need the last 8 digits(numbers) at the end "11010000" and paste it over 8 zeros digits at the end of the GUID then you have the right GUID for Linux. Worked it out from this post... thec64community.online/post/3116Yes, I got it to work properly, I changed the wrong line since the GUID differs. Now I managed to move the menu button from the left triangle to the right triangle on the speedlink competition pro (I accidentally pushes it while playing ), here is my modified config if anyone is interested: 03000000790000001c18000011010000,SPEEDLINK COMPETITION PRO Game Controller for Android,a:b0,back:b4,lefttrigger:b3,leftx:a0,lefty:a1,start:b1,platform:Linux, I switched "back" and "start" which are mapped towards the triangle buttons. Now I'm happy, thanks for the support! No problem, Thats what I am here for..
|
|
|
Post by jaglo on Apr 7, 2020 16:20:44 GMT
Hello everyone! My selection of 148 games for C64: C64 gamesTested on THEC64 mini. The version on the pendrive works. I also upgrade bin and it works without a pendrive. I couldn't find covers for a few games, but I created my own. The descriptions are in Polish. If someone would be interested in translating into English, I recommend deepl.
|
|
|
Post by sharklodon on Apr 10, 2020 15:01:25 GMT
|
|
|
Post by andrewpk200 on May 5, 2020 21:17:37 GMT
Not sure if you are aware of this but the 'Micro switched' Joystick does not appear to work 'out the box' on the C64 Mini when using this Using version 1.07,
I was able to start the C64, navigate to the fake upload and start it, once the C64 Mini restarted I could see the updated game carousel but could not move left or right.
Tried to do the same with the 'normal' version of the joystick and once restarted the normal joystick worked fine,
Managed to fix it by adding the joystick to the GamecontrollerDB.txt for the mini, Appears the Micro switch joystick has the same settings but with a tiny bit different GUID Original Stick 03000000591c00002300000010010000 Microswitch Joystick 03000000591c00002400000010010000
Note the 24 in place of 23
I noticed you mentioned earlier in this thread there were 4 C64 joysticks, the 2 joysticks and 2 prototypes, and that when testing something or other you removed them and the joystick stopped working (as expected),
May be worth adding the additional Micro Swiched Joystick GUID in as standard to make things easier,
Other than that great set for adding games!
|
|
|
Post by ertman on May 7, 2020 12:39:14 GMT
Hi there, first of all many thanks for the tool. Its awesome! I own TheC64mini and encountered the problem as attached as an image after editing game information for Barbarian. It also creates a new game file for Barbarian as seen on the pictures. The program won´t load until I delete the new created file.
Is there any way to fix this? Because now I am not able to edit the games.
Best regards!
|
|
|
Post by spannernick on May 13, 2020 14:09:51 GMT
it has 2 files in it and one of them has a missing game file (vsf.gz) delete that one manually and it should work again,this happens cause the way it names its games files and if the games name is too long it makes a new .tsg file, then it errors out cause it can't find the files in the old tsg file cause it renamed them for the new file so delete the old file or the one thats not working and can't find the game files.
|
|
|
Post by commodorelikebefore on May 26, 2020 11:31:42 GMT
If I understand correctly, this does not modify the c64 Maxi, so if I just unplug and restart it will go back to the "original" firmware/game that was preinstalled? Or does it update and only find games when the USB-stick is inserted?
If not, is it possible to downgrade to the original firmware?
|
|
|
Post by spannernick on May 26, 2020 14:56:25 GMT
Yes this don't touch the games on the firmware, when you run the fake update file it looks for the games on the USB stick instead and then reboot the Carousel with them games from it and when you switch off THEC64 Mini or Maxi and then switch it back on again it goes back to reading the games from the firmware until you run the fake update file again, It the best way of doing it, I even use it.. It takes about 5 seconds to load the games from USB stick, you would think there on the firmware but there are not and you would not be able to hold a lot of games on the firmware anyway cause the firmware is only 70MB is size, the more games you add to the firmware could slow it down as the Firmware size gets smaller so using games on a USB stick is more practical and makes it easier access the games to add or remove them. It better using USB Stick as well,it allows more games to be added in the Carousel and if the limit goes up in the future so hopefully be able to hold as many games as you like or whatever the size of your USB Stick is..
|
|
|
Post by commodorelikebefore on May 26, 2020 15:14:33 GMT
Amazing job btw! I will try it out soon. I have not yet started up my c64 Maxi yet. Do I need to update to the latest version on the original first or might that stop this "fake" update to stop working?
|
|
|
Post by spannernick on May 26, 2020 16:09:50 GMT
Yes, Carousel Games from USB Stick uses version 1.3.2 latest updated Carousel.
|
|
|
Post by bamm on May 26, 2020 20:20:02 GMT
If I understand correctly, this does not modify the c64 Maxi, so if I just unplug and restart it will go back to the "original" firmware/game that was preinstalled? Or does it update and only find games when the USB-stick is inserted? If not, is it possible to downgrade to the original firmware? That is correct. Once you restart the system it reverts back to the stock carousel.
|
|
|
Post by spannernick on May 27, 2020 15:47:23 GMT
I was thinking somehow making this so you don't have to run the fake update file all the time to activate it so if THEC64 detects a text file on your USB Stick it knows that you want to boot Carousel games from USB stick , so if the text file is not on the USB Stick it then knows to uses the firmware games so its like normal but I don't not know how to go about it, it would have to do it before it boots up the64 program. I am not that brilliant with Linux... anyone know how..? Good Idea..? Idea...How about getting the firmware to read the start.sh file at start up from the USB Stick before it boots up the64 program, so it over mounts and executes everything in that file then you just remove the start.sh file if you want the games from the firmware to boot up...? Would anyone want this or are you happy with just running the fake update file to activate Carousel Games from USB Stick..? I am seeing if this is possible and if anyone is interested in it, no point doing it if no one wants it.. Like the post if you are interested in it or leave a comment.
|
|
|
Post by jj0 on May 27, 2020 18:50:42 GMT
I was thinking somehow making this so you don't have to run the fake update file all the time to activate it so if THEC64 detects a text file on your USB Stick it knows that you want to boot Carousel games from USB stick , so if the text file is not on the USB Stick it then knows to uses the firmware games so its like normal but I don't not know how to go about it, it would have to do it before it boots up the64 program. I am not that brilliant with Linux... anyone know how..? Good Idea..? Idea...How about getting the firmware to read the start.sh file at start up from the USB Stick before it boots up the64 program, so it over mounts and executes everything in that file then you just remove the start.sh file if you want the games from the firmware to boot up...? Would anyone want this or are you happy with just running the fake update file to activate Carousel Games from USB Stick..? I am seeing if this is possible and if anyone is interested in it, no point doing it if no one wants it.. Like the post if you are interested in it or leave a comment. You could start off with the instructions at thec64community.online/thread/4/modding-thec64-mini?page=5&scrollTo=518, changing them a bit to mount the proper folders. That would basically try to mount the USB folders if they are available. Them mod the script a bit to copy the 'the64', mucic, start screen etc. If you want more pointers I'm happy to look into it as well but of course it's more fun if you do it yourself, right?
|
|
|
Post by spannernick on May 28, 2020 9:37:12 GMT
Oh right fstab, you can mount the usb there and the folders.. Would there be a way of getting Linux to read the start.sh file from usb like it does when you run the fake update then if you remove it, it can't read it and then goes back to normal or is that too hard to do so it reads the script before it boot up the64 file...? Would I have to make a script in /etc/init.d to point to the script on the usb stick and get it to execute it..? this might be a good idea cause then we could then run other programs from startup time.
|
|
|
Post by sham690 on May 28, 2020 11:41:15 GMT
hi, new to all this so apologies for any silly mistakes or lack of knowledge. I have the files on usb stick (which I know works because I updated to current official firmware with the carousel update) The screen starts to load when I hit apply but it crashes after a couple of seconds (I have the mini) screens attached. I'm at a loss as to what I am doing wrong.
p.s I have added the vice folder since these photos in case it made a difference, it didnt... thanks in advance for any advice. thanks, Sham...
|
|
|
Post by jj0 on May 28, 2020 12:58:30 GMT
Oh right fstab, you can mount the usb there and the folders.. Would there be a way of getting Linux to read the start.sh file from usb like it does when you run the fake update then if you remove it, it can't read it and then goes back to normal or is that too hard to do so it reads the script before it boot up the64 file...? Would I have to make a script in /etc/init.d to point to the script on the usb stick and get it to execute it..? this might be a good idea cause then we could then run other programs from startup time. Yes you can, I was thinking too much 'inside' the box. If in /etc/init.d you create a simple script, say 'S98Spannernick: #!/bin/sh mount /tmp/usbdrive/sda1 /mnt cd /mnt ./start.sh umount /mnt Thant would run start.sh if it is on the USB drive (and the umount would fail) and if it isn't nothing would happen (and the USB disk would be unmounted again)
|
|
|
Post by spannernick on Jun 2, 2020 10:08:06 GMT
hi, new to all this so apologies for any silly mistakes or lack of knowledge. I have the files on usb stick (which I know works because I updated to current official firmware with the carousel update) The screen starts to load when I hit apply but it crashes after a couple of seconds (I have the mini) screens attached. I'm at a loss as to what I am doing wrong. p.s I have added the vice folder since these photos in case it made a difference, it didnt... thanks in advance for any advice. thanks, Sham... Are you sure you are loading from usb stick,in your picture I can't see Wizball in the list of games on your Carouselit comes up in between Winter Games and World Games, its one of the included games, it looks like its booted the games in the firmware, maybe try a different usb stick. It should work I have had no problems. You didn't run the firmware update when the usb games were up on the Carousel did you, sorry had to ask.. Oh and what is it, Thec64 Mini or Maxi..?
|
|