xxOToTOxx Posted May 9, 2021 Author Share Posted May 9, 2021 (edited) Ok, I have just figured this. It is a limit of the 32bit version. The file will need to be split on 32bit systems, only 64bit system builds can handle files over 2Gb. Confirmed on a 32bit Debian install. Fix applied to 32bit linux in repository. This will be less of an issue when the aarch64 builds are standard. Edited May 10, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 9, 2021 Share Posted May 9, 2021 (edited) 11 minutes ago, xxOToTOxx said: Ok, I have just figured this. It is a limit of the 32bit version. The file will need to be split on 32bit systems, only 64bit system builds can handle file over 2Gb. Confirmed on a 32bit Debian install. Thanks, so I just need to find the ffmpeg settings that creates a file under 2GB? I was thinking (Hoping!) this might work... ffmpeg -i FaI.mp4 -an -qscale:v 4 -b:v 6000k -vf scale=1920:1080 -codec:v mpeg2video fireandice.m2v Or I figure out how to get ffmpeg to split them but that would need a framefile edit too? Edited May 9, 2021 by 312BhP Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 9, 2021 Author Share Posted May 9, 2021 (edited) 5 minutes ago, 312BhP said: Thanks, so I just need to find the ffmpeg settings that creates a file under 2GB? I was thinking (Hoping!) this might work... ffmpeg -i FaI.mp4 -an -qscale:v 4 -b:v 6000k -vf scale=1920:1080 -codec:v mpeg2video fireandice.m2v I am afraid so, I am not certain that 1080p content at that bitrate will run smoothly without full KMS, so I would more aim for 720p, maybe..... Edited May 9, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 9, 2021 Author Share Posted May 9, 2021 (edited) 1 hour ago, 312BhP said: Or I figure out how to get ffmpeg to split them but that would need a framefile edit too? Correct, I have not run through splitting files, but it is all about the frames. Karis & Poiu are probably our experts here. mediainfo --Inform='Video;%FrameCount%' fireandice_01.m2v mediainfo --Inform="Video;%Duration%" fireandice_02.m2v ffmpeg -i fireandice.m2v -acodec copy -vcodec copy -vframes 65500 fireandice_01.m2v I have played with above commands to limit number of frames in total. But I couldn't find a clean way in ffmpeg to start from a particular frame for the second _02 file.... you have to deal in start times and key frames, not the same..... There is a document to be written here Edited May 9, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 9, 2021 Share Posted May 9, 2021 Just uploading a 1.46GB version to test using... ffmpeg -i FaI.mp4 -an -qscale:v 4 -b:v 6000k -vf scale=1280:720 -codec:v mpeg2video fireandice.m2v I will look into splitting files but I am sure I will run out of talent way before you! Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 9, 2021 Author Share Posted May 9, 2021 (edited) @312BhP - I have pushed a fix that should allow the larger files on 32bit linux systems. Grab the latest push on the RetroPie branch. This only affected 32bit linux platforms. The Windows port is opening > 2Gb files without issue thus far tested. Edited May 9, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 10, 2021 Share Posted May 10, 2021 Thanks, will give it a shot after work! Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 10, 2021 Author Share Posted May 10, 2021 (edited) 13 hours ago, 312BhP said: Thanks, will give it a shot after work! This change may have unintended consequences elsewhere, so if you could do a complete test on Daphne games also, that would be useful. I haven't seen any issues, but the more testing the better. Thanks. Update: There was some question on the Windows port handling m2v files over 2Gb. I have tested using a 2.5Gb Cobra Command 4K conversion Daphne m2v video file and a 3Gb Singe m2v file. The Windows port does not have issues with files over 2Gb in Windows 10 (64bit). I no longer have a 32bit version of Windows to test. Edited May 10, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 18, 2021 Author Share Posted May 18, 2021 (edited) Now has a software rendered original scoreboard for lair/ace: -software_scoreboard This will work in -fullscreen_window but not -fullscreen mode. Edited May 19, 2021 by xxOToTOxx 2 Link to comment Share on other sites More sharing options...
312BhP Posted May 25, 2021 Share Posted May 25, 2021 (edited) Had a play with freedomfighter and jack tonight and seem to have a problem where once I die in game (Which happens quickly!) it just starts looping all the different death scenes and needs restarting to work again. I did read on the first page someone else having a similar issue, is this something you have come across please @xxOToTOxx Edited May 26, 2021 by 312BhP Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 10 hours ago, 312BhP said: Had a play with freedomfighter and jack tonight and seem to have a problem where once I die in game (Which happens quickly!) it just starts looping all the different death scenes and needs restarting to work again. I know the change in the codebase that is causing this, it's related to a 32bit <=> 64bit interoperability. Unfortunately, without it most of the main Singe games have timing issues on 64bit so I can't revert. The games that are having issues are all later fanmade games using the same underlying old LUA framework it appears, so I believe this needs to be fixed in the game framework. I haven't seen the issue in other titles. I am seeing it in Singe 1 jack, dragon, freedomfighter and starblazers. Seems to have been fixed in later Singe 2 ports. I haven't had as much time recently to look on these, but hopefully fixes will be pushed to: https://github.com/DirtBagXon/hypseus_singetwo_data 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 Thanks, those are the 4 I have just tested. I am currently going through your singe 2 repo and testing them all one by one. Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) No longer needed. Hopefully looping death scene fix in: https://github.com/DirtBagXon/hypseus_singe_data The only files you need to change are: modified: dragon/hscore.singe modified: dragon/main.singe modified: dragon/map.singe modified: freedomfighter/hscore.singe modified: freedomfighter/main_mouse.singe modified: freedomfighter/map.singe modified: jack/hscore.singe modified: jack/main.singe modified: starblazers/hscore.singe modified: starblazers/main.singe modified: starblazers/map.singe Let me know. Edited August 5, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 34 minutes ago, xxOToTOxx said: Hopefully looping death scene fix in: https://github.com/DirtBagXon/hypseus_singetwo_data The only files you need to change are: modified: dragon/hscore.singe modified: dragon/main.singe modified: dragon/map.singe modified: freedomfighter/hscore.singe modified: freedomfighter/main_mouse.singe modified: freedomfighter/map.singe modified: jack/hscore.singe modified: jack/main.singe modified: starblazers/hscore.singe modified: starblazers/main.singe modified: starblazers/map.singe Let me know. That seems to work, excellent thanks! Regarding TimeGal and TimeGalv2, am I right in using the same m2v and ogg file for both and should there be any visual differences when comparing them to each other using the files from the repo please? Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 Just now, 312BhP said: Regarding TimeGal and TimeGalv2, am I right in using the same m2v and ogg file for both and should there be any visual differences when comparing them to each other using the files from the repo please? Well original 'timegal' will use the original video and all other files supplied with Singe 1 Time Gal: https://archive.org/details/singev1-time-gal 'timegalv2' will need you to convert the video from Singe2 version on archive.org and combine with files on the singe2 repo above. They are different games with different video and overlays. The 'timegal' on the repo above is a copy of 'timegalv2' - that is really for people who only want the new version v2 called 'timegal' - confusing I know but that was my mindset at the time...... Regarding 'freedomfighter' - I never really got that working correctly I don't think. So if you have success in level succession let me know Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) You could also get original Time Gal and Ninja Hayate from here: https://mega.nz/#!hmhRQC7I!0EXghHIMKzPT1aVpyYCuZX0QHChVzkgnFrB4WSatDdo From: Edited May 26, 2021 by xxOToTOxx Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 The repo folders are much tidier which is why I tried them but I guess to have a true Timegal v1 I will use the one you uploaded to Archive.org Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 Ninja Hayate is there too if you want it: https://archive.org/details/singev1-hayate 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 dl2e on the repo is Dragons Lair 2 Enhanced for Singe 2? Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) 3 hours ago, 312BhP said: dl2e on the repo is Dragons Lair 2 Enhanced for Singe 2? Yes - from archive.org as always Although I think this may have been removed, so you may have to find the .mp4 elsewhere. Or try this torrent: https://1337x.to/torrent/4876774/Daphne-SINGE-Dragon-s-Lair-2-Enhanced-Laserdisc/ The frames in the video are: mediainfo --Inform='Video;%FrameCount%' dl2e.m2v 36910 Edited May 26, 2021 by xxOToTOxx Changed magnet to torrent Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 (edited) I grabbed the one from this site, wonder if it's the same? EDIT: Not sure it is as it crashes after first screen. Edited May 26, 2021 by 312BhP Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 34 minutes ago, xxOToTOxx said: Yes - from archive.org as always Although I think this may have been removed, so you may have to find the .mp4 elsewhere. Or try this magnet: magnet:?xt=urn:btih:541effd07803992dfc5bac6e342593cd8fc9b72a&dn=singe-dl-2e The frames in the video are: mediainfo --Inform='Video;%FrameCount%' dl2e.m2v 36910 Can't get to see the frame count or load the magnet...lol Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) 2 hours ago, 312BhP said: Can't get to see the frame count or load the magnet...lol How about torrent from here: https://1337x.to/torrent/4876774/Daphne-SINGE-Dragon-s-Lair-2-Enhanced-Laserdisc/ Edited May 26, 2021 by xxOToTOxx 1 Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 34 minutes ago, xxOToTOxx said: How about torrent from here: https://1337x.to/torrent/4876774/Daphne-SINGE-Dragon-s-Lair-2-Enhanced-Laserdisc/ That now loads thanks but does the repeat death scenes like the others were. Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 16 minutes ago, 312BhP said: That now loads thanks but does the repeat death scenes like the others were. Really? Did you change any settings ? Can you post your game.cfg Also are you running on aarch64 full 64bit or 32bit userland ? Run file /opt/retropie/emulators/daphne/daphne.bin Assuming this is RetroPie..... Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 (edited) Didn't change anything no, getting the info now. file /opt/retropie/emulators/daphne/daphne.bin /opt/retropie/emulators/daphne/daphne.bin: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=fb2e4ff483e9420da22ccbcc5e900c9ef9daf6fd, not stripped Edited May 26, 2021 by 312BhP Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) 9 minutes ago, 312BhP said: Didn't change anything no, getting the info now. Just tested and played with deaths first few levels on 64 and 32bit, I am not seeing this issue. Can you explain where it occurs exactly.... Also on the pi: sudo apt-get install mediainfo Then run this on the converted .m2v file: mediainfo --Inform='Video;%FrameCount%' dl2e.m2v EDIT: I have pushed a new dl2e/main.singe into the repo too, I can't replicate it, but have put same fix as previous - can you try it. Edited May 26, 2021 by xxOToTOxx Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 (edited) After the first death it just starts playing them over and over. mediainfo --Inform='Video;%FrameCount%' dl2e.m2v 36605 I created the dl2e.m2v using the file from the torrent and this command... ffmpeg -i dl2e.mp4 -an -qscale:v 4 -b:v 6000k -codec:v mpeg2video dl2e.m2v Edited May 26, 2021 by 312BhP Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) 16 minutes ago, 312BhP said: After the first death it just starts playing them over and over. mediainfo --Inform='Video;%FrameCount%' dl2e.m2v 36605 Interesting... I get `36910` I am missing something here.... So fix in repo probably won't do anything..... I need to check the video I got you to download...... This was one of the first I did, and I haven't touched since. EDIT: OK, apologies it looks like I used some other source video.... However I can't remember which one it was. I will see if I can figure but most probably a Karis revision that may no longer be available..... If you still have the Karis one from before, copy the .mp4 to the Pi and run the mediainfo --Inform='Video;%FrameCount%' command on it, to see if it matches 36910 Edited May 26, 2021 by xxOToTOxx Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 I will get it again, just nuked it! Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 2 minutes ago, 312BhP said: I will get it again, just nuked it! I am creating a 7z - will put it on MEGA - save your DL ratio Probably old revision. Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 Already got it but can just change countries on the VPN Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 (edited) 13 minutes ago, 312BhP said: Already got it but can just change countries on the VPN Still uploading mine, but go on, let's see what size that one is ? Grab my version from here: https://mega.nz/file/khkHiA6b#LI0hdaEKOuerGG2wlRvB1aFlNzuQM45DzObZEh34008 Edited May 26, 2021 by xxOToTOxx Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 Just for info... mediainfo --Inform='Video;%FrameCount%' DL2e.mp4 36910 Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 Just now, 312BhP said: Just for info... mediainfo --Inform='Video;%FrameCount%' DL2e.mp4 36910 Yep, agree - I just confirmed - so in theory your first attempt should have worked.. !?! mediainfo --Inform='Video;%FrameCount%' DL2e.mp4 36910 See how you get on with my download... Link to comment Share on other sites More sharing options...
312BhP Posted May 26, 2021 Share Posted May 26, 2021 No repeat Death scenes now, must have been something I did wrong initially. Sorry for the trouble. Link to comment Share on other sites More sharing options...
xxOToTOxx Posted May 26, 2021 Author Share Posted May 26, 2021 41 minutes ago, 312BhP said: No repeat Death scenes now, must have been something I did wrong initially. Sorry for the trouble. No troubles, sorry for making you go round in hoops. At least it's documented here now which DL2E video I used - lol 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now