31
Other Utilities / MOVED: Status on Wolfenstein 3D Rockbox port?
« Last post by __builtin on September 02, 2024, 11:32:19 PM »32
Plugins/Viewers / Re: Status on Wolfenstein 3D Rockbox port?
« Last post by __builtin on September 02, 2024, 11:31:09 PM »Hi, I did this port. I've not worked on it since I merged it in 2019.
The game code supports several versions of the game, including the various versions of the shareware, full version, and Spear of Destiny (which shares the engine code). However, any binary build supports only a single version, selected at compile time. See here:
https://git.rockbox.org/cgit/rockbox.git/tree/apps/plugins/sdl/progs/wolf3d/version.h
It appears that when I initially added the port, I developed it against the full v1.4 version, but then changed to the shareware (commit 19c154f), so that we could bundle the shareware with Rockbox Utility.
I don't see a good way of detecting and changing the version at run-time (except with a fairly involved development effort). So I think the best thing you could do is to change the #defines in the version.h file linked above (I think you just need to comment out the #define UPLOAD line), and compile a custom build to suit your game files.
The game code supports several versions of the game, including the various versions of the shareware, full version, and Spear of Destiny (which shares the engine code). However, any binary build supports only a single version, selected at compile time. See here:
https://git.rockbox.org/cgit/rockbox.git/tree/apps/plugins/sdl/progs/wolf3d/version.h
It appears that when I initially added the port, I developed it against the full v1.4 version, but then changed to the shareware (commit 19c154f), so that we could bundle the shareware with Rockbox Utility.
I don't see a good way of detecting and changing the version at run-time (except with a fairly involved development effort). So I think the best thing you could do is to change the #defines in the version.h file linked above (I think you just need to comment out the #define UPLOAD line), and compile a custom build to suit your game files.
33
Rockbox Utility / fail on boot load
« Last post by elonin on September 02, 2024, 08:41:22 PM »i'm trying to install rockbox on my gen 7 ipod (160gb classic) and the first thing works till i try installing the boot loader and it stops at 10% and says trying to eject ipod. i do have it in disk mode.
34
Plugins/Viewers / Status on Wolfenstein 3D Rockbox port?
« Last post by G.J.K._Animations on September 02, 2024, 07:16:38 PM »Hiya! I was just wondering if the rockbox port of Wolfenstein 3D is still in development; Has it been abandoned? I mainly ask this because the latest build, as far as I'm aware, only supports the shareware version, not the full game. Are there any plans to make this a complete port? If not, how hard would it be to run the full game on the current build; Is such a thing even possible?
-Gunier J. Kintgen, Your Pal.
-Gunier J. Kintgen, Your Pal.
35
Other - Installation/Removal / HELPPPPPPP ME INSTALLING ROCK BOX ON CREATIVE ZEN XFI
« Last post by simo on September 02, 2024, 04:32:27 AM »Guys its my first time modding an mp4 and i need help doing it
36
Rockbox Utility / Re: Tried to install Rockbox on my iPod 6th gen, didn't find rockbox.ipod
« Last post by jdjg on September 01, 2024, 08:35:03 PM »same happen to me, what I did to return to the original iPod frimware was:
- using the DISK MANAGEMENT delete volume (with the iPod conected via USB cable), you look whats your iPod HD then with right click mouse look for DELETE VOLUME
- after you delete volume, format the iPod (in the same DISK MANAGEMENT in WINDOWS) with exFAT
- unplugged the iPod
- plug the iPod and open iTunes, resorte the iPod using iTunes
cheers
- using the DISK MANAGEMENT delete volume (with the iPod conected via USB cable), you look whats your iPod HD then with right click mouse look for DELETE VOLUME
- after you delete volume, format the iPod (in the same DISK MANAGEMENT in WINDOWS) with exFAT
- unplugged the iPod
- plug the iPod and open iTunes, resorte the iPod using iTunes
cheers
37
Rockbox Utility / install BIG FAIL in iPod 6th Gen 120gb with iflash-sata V10 and 512 GB HD
« Last post by jdjg on September 01, 2024, 08:29:13 PM »Hi, Im trying to install Rockbox in to my iPod 6th gen 120GB with iFlash-SATA V10 and Transcend 512GB HD, first give me and error because I have open iTunes, then close iTunes and trying again, everything looks OK in the installer in my Windows 10 PC, but when I reboot (the 2nd time) the iPod, say in the iPod: rockbox.ipod file not found, trying to install again the Rockbox, after that, cant even turn on the iPod, at the end need to erase the HD with windows Disk Management then with iTunes restore iPod....
anything Im doing wrong? or just the Rockbox do not work jet with the iflash-sata V10 and the Tanscend HD (https://www.iflash.xyz/store/iflash-sata-v10/ here the iflash that I have)
cheers and thanks in advance
anything Im doing wrong? or just the Rockbox do not work jet with the iflash-sata V10 and the Tanscend HD (https://www.iflash.xyz/store/iflash-sata-v10/ here the iflash that I have)
cheers and thanks in advance
38
Rockbox Utility / Re: Install fails to extract on 4th gen Monochrome (2004)
« Last post by itsmekevin7 on August 31, 2024, 11:12:18 PM »I was able to get the bootloader installed (or at least I think I was). it shows up briefly when it powers on and when I include it in the install options it says it is already installed.
I think I will try another wipe, format, and go around and see if I have any luck that time
I think I will try another wipe, format, and go around and see if I have any luck that time
39
Audio Playback, Database and Playlists / Re: Database and song duration
« Last post by Atom2 on August 31, 2024, 05:46:53 PM »I have investigated some more and the issue of the incorrect duration within the Rockbox database more and more points to an uncommon/strange calculation within the Rockbox code base. From my investigations, I at least do now understand how the other players calculate their displayed song lengths - which is usually correct or at least within 1 to 2 seconds of the duration indicated on the album cover (the difference probably resulting from the silence/gap between any two songs).
Instrumental in getting an understanding about the calculation was https://www.codeproject.com/Articles/8295/MPEG-Audio-Frame-Header#VBRHeaders which shows a formula to calculate the duration of a VBR-encoded songs using the following parameters (which, interestingly enough, neither include the audio data size nor the average bit rate resulting from encoding the song):
Duration = Number of Frames * Samples Per Frame / Sampling Rate
For Albert Hammond's "The Free Electric Band", which has 7876 frames (stored within the MP3 file), the calculation is "7876 * 1152 / 44100" which results in 205,7 seconds or 3:25 minutes as opposed to the 3:11 minutes Rockbox comes up with. Strangely enough, Rockbox, however, seems to rely on one of the audio data size values (two differing values are also stored in the MP3 file) somehow because once this value is adjusted accordingly, the play time is corrected as well.
So I'd still be interested in understanding how Rockbox actually calculates the duration of a song and why it does not use the formula (most) other players seem to use. Probably Rockbox developer @saratoga may be able to shed some light on this as, already some time ago, he has been active in a thread on another forum (https://hydrogenaud.io/index.php/topic,114292.0.html) which, during my research, pointed me to the website linked above. The issue in that thread was an incorrect bit rate displayed by certain players for VBR encoded files which @Frankenpod suspected as being the culprit for the wrong duration being displayed in Rockbox.
Thanks, Atom2
Instrumental in getting an understanding about the calculation was https://www.codeproject.com/Articles/8295/MPEG-Audio-Frame-Header#VBRHeaders which shows a formula to calculate the duration of a VBR-encoded songs using the following parameters (which, interestingly enough, neither include the audio data size nor the average bit rate resulting from encoding the song):
- Number of Frames - is stored within the MP3 file through the encoder
- Samples per Frame - constant for mp3 files (which is MPEG-1 Layer III) with a value of 1152 (see the link above under section "2.1 MPEG Audio Frame Header"
- Sampling Rate - either 32000, 48000 or - for CDs - 44100 and encoded through a 2 bit sampling rate index of 00 (again, see the link above)
Duration = Number of Frames * Samples Per Frame / Sampling Rate
For Albert Hammond's "The Free Electric Band", which has 7876 frames (stored within the MP3 file), the calculation is "7876 * 1152 / 44100" which results in 205,7 seconds or 3:25 minutes as opposed to the 3:11 minutes Rockbox comes up with. Strangely enough, Rockbox, however, seems to rely on one of the audio data size values (two differing values are also stored in the MP3 file) somehow because once this value is adjusted accordingly, the play time is corrected as well.
So I'd still be interested in understanding how Rockbox actually calculates the duration of a song and why it does not use the formula (most) other players seem to use. Probably Rockbox developer @saratoga may be able to shed some light on this as, already some time ago, he has been active in a thread on another forum (https://hydrogenaud.io/index.php/topic,114292.0.html) which, during my research, pointed me to the website linked above. The issue in that thread was an incorrect bit rate displayed by certain players for VBR encoded files which @Frankenpod suspected as being the culprit for the wrong duration being displayed in Rockbox.
Thanks, Atom2
40
Rockbox Utility / Re: Install fails to extract on 4th gen Monochrome (2004)
« Last post by saratoga on August 31, 2024, 02:55:16 PM »Is the drive actually writable? Not sure why else creating a file on it would fail.