RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Little big adventure 2 problem

    Scheduled Pinned Locked Moved Help and Support
    lba2 gog
    23 Posts 4 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator @espegael
      last edited by

      @espegael What is the error you're getting ? What files have you copied and how are you running the game ? Dosbox games have now support for running from a .conf file and I noticed some games from GOG that run through Dosbox have a .conf file also, maybe you could just custom the .conf file from the PC and adjust some paths to make it work in RetroPie.

      1 Reply Last reply Reply Quote 0
      • E
        espegael
        last edited by

        ok so with recalbox, i created lba2.pc folder where i put all the data from gog. Then i created a dosbox.dat where it was write LBA2.EXE
        finally i copy the dosbox.cfg config file and edit it

        [sdl] section
        change
        mapperfile=lba1.map
        [autoexec] section
        add
        imgmount d "/recalbox/share/roms/dos/lba1.pc/LBA.DAT" -t iso

        and it worked

        what i have to change in order that it worked on my retropie system?

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @espegael
          last edited by

          @espegael Create a folder where you copy all the game's data (lba2.pc), then copy the dosbox configuration file from it (for sure it has one) to the pc folder, rename it to whatever name you'd like to have (but keep the extension). Open the configration file you just copied and then make sure the [autoexec] section (at the end) contains the proper path to the files that you copied ( in the lba2.pc folder).

          1 Reply Last reply Reply Quote 0
          • E
            espegael
            last edited by mitu

            OK so i start all over

            I copy all the data on the lba2.pc from the gog folder (all the data but not the dosbox folder with dosbox.exe, dosbox.0.74.tar.gz, GOGDOSconfig.exe, SDL.dll, SDL_net.dll and stdout.txt)

            i found 3 conf file
            dosboxLBA2.conf

            # Lines starting with a # are commentlines.
            # They are used to (briefly) document the effect of each option.
            
            [sdl]
            # fullscreen -- Start dosbox directly in fullscreen.
            # fulldouble -- Use double buffering in fullscreen.
            # fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
            # windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
            # output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
            # autolock -- Mouse will automatically lock, if you click on the screen.
            # sensitiviy -- Mouse sensitivity.
            # waitonerror -- Wait before closing the console if dosbox has an error.
            # priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
            #             Second entry behind the comma is for when dosbox is not focused/minimized.
            # mapperfile -- File used to load/save the key/event mappings from.
            # usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
            
            fullscreen=true
            fulldouble=false
            fullresolution=original
            windowresolution=original
            output=overlay
            autolock=true
            sensitivity=100
            waitonerror=true
            priority=higher,normal
            mapperfile=mapper.txt
            usescancodes=true
            
            [dosbox]
            # language -- Select another language file.
            # memsize -- Amount of memory DOSBox has in megabytes.
            # machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
            # captures -- Directory where things like wave,midi,screenshot get captured.
            
            language=
            machine=svga_s3
            captures=capture
            memsize=30
            
            [render]
            # frameskip -- How many frames DOSBox skips before drawing one.
            # aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
            # scaler -- Scaler used to enlarge/enhance low resolution modes.
            #           Supported are none,normal2x,normal3x,advmame2x,advmame3x,hq2x,hq3x,
            #                         2xsai,super2xsai,supereagle,advinterp2x,advinterp3x,
            #                         tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
            #           If forced is appended (like scaler=hq2x forced), the scaler will be used
            #           even if the result might not be desired.
            
            frameskip=0
            aspect=false
            scaler=normal2x
            
            [cpu]
            # core -- CPU Core used in emulation: normal,simple,dynamic,auto.
            #         auto switches from normal to dynamic if appropriate.
            # cycles -- Amount of instructions DOSBox tries to emulate each millisecond.
            #           Setting this value too high results in sound dropouts and lags.
            #           You can also let DOSBox guess the correct value by setting it to max.
            #           The default setting (auto) switches to max if appropriate.
            # cycleup   -- Amount of cycles to increase/decrease with keycombo.
            # cycledown    Setting it lower than 100 will be a percentage.
            
            core=auto
            cputype=auto
            cycles=max
            cycleup=5000
            cycledown=5000
            
            [mixer]
            # nosound -- Enable silent mode, sound is still emulated though.
            # rate -- Mixer sample rate, setting any devices higher than this will
            #         probably lower their sound quality.
            # blocksize -- Mixer block size, larger blocks might help sound stuttering
            #              but sound will also be more lagged.
            # prebuffer -- How many milliseconds of data to keep on top of the blocksize.
            
            nosound=false
            rate=22050
            blocksize=2048
            prebuffer=80
            
            [midi]
            # mpu401      -- Type of MPU-401 to emulate: none, uart or intelligent.
            # device      -- Device that will receive the MIDI data from MPU-401.
            #                This can be default,alsa,oss,win32,coreaudio,none.
            # config      -- Special configuration options for the device. In Windows put
            #                the id of the device you want to use. See README for details.
            
            mpu401=intelligent
            device=default
            config=
            
            [sblaster]
            # sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
            # sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
            # mixer -- Allow the soundblaster mixer to modify the DOSBox mixer.
            # oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
            #            On auto the mode is determined by sblaster type.
            #            All OPL modes are 'Adlib', except for CMS.
            # oplrate -- Sample rate of OPL music emulation.
            
            type=sb16
            base=220
            irq=5
            dma=1
            hdma=5
            mixer=true
            oplmode=auto
            oplrate=22050
            
            [gus]
            # gus -- Enable the Gravis Ultrasound emulation.
            # gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the 
            #            Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
            # gusrate -- Sample rate of Ultrasound emulation.
            # ultradir -- Path to Ultrasound directory.  In this directory
            #             there should be a MIDI directory that contains
            #             the patch files for GUS playback.  Patch sets used
            #             with Timidity should work fine.
            
            gus=false
            
            [speaker]
            # pcspeaker -- Enable PC-Speaker emulation.
            # pcrate -- Sample rate of the PC-Speaker sound generation.
            # tandy -- Enable Tandy Sound System emulation (off,on,auto).
            #          For auto Tandysound emulation is present only if machine is set to tandy.
            # tandyrate -- Sample rate of the Tandy 3-Voice generation.
            # disney -- Enable Disney Sound Source emulation. Covox Voice Master and Speech Thing compatible.
            
            pcspeaker=true
            pcrate=22050
            tandy=auto
            tandyrate=22050
            disney=true
            
            [joystick]
            # joysticktype -- Type of joystick to emulate: auto (default), none,
            #                 2axis (supports two joysticks,
            #                 4axis (supports one joystick, first joystick used),
            #                 4axis_2 (supports one joystick, second joystick used),
            #                 fcs (Thrustmaster), ch (CH Flightstick).
            #                 none disables joystick emulation.
            #                 auto chooses emulation depending on real joystick(s).
            # timed -- enable timed intervals for axis. (false is old style behaviour).
            # autofire -- continuously fires as long as you keep the button pressed.
            # swap34 -- swap the 3rd and the 4th axis. can be useful for certain joysticks.
            # buttonwrap -- enable button wrapping at the number of emulated buttons.
            
            joysticktype=auto
            timed=true
            autofire=false
            swap34=false
            buttonwrap=true
            
            [serial]
            # serial1-4 -- set type of device connected to com port.
            #              Can be disabled, dummy, modem, nullmodem, directserial.
            #              Additional parameters must be in the same line in the form of
            #              parameter:value. Parameter for all types is irq.
            #              for directserial: realport (required), rxdelay (optional).
            #              for modem: listenport (optional).
            #              for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
            #                             transparent, port, inhsocket (all optional).
            #              Example: serial1=modem listenport:5000
            
            serial1=dummy
            serial2=dummy
            serial3=disabled
            serial4=disabled
            
            [dos]
            # xms -- Enable XMS support.
            # ems -- Enable EMS support.
            # umb -- Enable UMB support.
            # keyboardlayout -- Language code of the keyboard layout (or none).
            
            xms=true
            ems=true
            umb=true
            keyboardlayout=none
            
            the second one is
            **dosboxLBA2_settings.conf**
            
            [IPX]
            Enable=0
            Connection=0
            ipx=false
            
            
            [autoexec]
            # Lines in this section will be run at startup.
            @echo off
            mount C ..
            imgmount d "..\LBA2.DAT" -t iso
            c:
            cls
            setup.EXE
            exit
            
            and the third one is
            **dosboxLBA2_single.conf**
            [IPX]
            Enable=0
            Connection=0
            ipx=false
            
            
            [autoexec]
            # Lines in this section will be run at startup.
            @echo off
            mount C ..
            imgmount d "..\LBA2.DAT" -t iso
            c:
            cls
            lba2.EXE
            exit
            

            the path are wrong on the 2 last files? but what path do i write... im using a usb drive to put my rom on it

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @espegael
              last edited by mitu

              @espegael (moderator note) I've edited your post to be more readable, but large text files should be uploaded to somewhere like pastebin.com, they're too large for a topic.

              If you have an USB to run the ROMs from it, its path will be /home/pi/RetroPie/roms. So if you copied the game in the retropie-mount/roms/pc/lba2 folder on the USB drive, the last lines (in the [autoexec] section) should be

              [autoexec]
              # Lines in this section will be run at startup.
              @echo off
              mount c /home/pi/RetroPie/roms/pc/lba2
              imgmount d "/home/pi/RetroPie/roms/pc/lba2/LBA2.DAT" -t iso
              c:
              cls
              lba2.EXE
              exit
              

              I hope this gives you an idea of how this should work. Basically retropie-mount on the USB will be replaced by /home/pi/RetroPie/roms in the file.

              E 1 Reply Last reply Reply Quote 0
              • E
                espegael @mitu
                last edited by espegael

                @mitu ok thanks for moderate me it was unreadable even for me

                so i had 3 conf files
                dosboxLBA2.conf
                dosboxLBA2_settings.conf
                dosboxLBA2_single.conf

                you don't see that on my post because the first one is very long but i have these 3 conf files

                in witch file i have to copy the path?
                i have auto exec on the dosboxlba2setting and th dosboxlba2single

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @espegael
                  last edited by

                  @espegael Use the 1st one and add the section with [autoexec] to it at the end.

                  1 Reply Last reply Reply Quote 0
                  • E
                    espegael
                    last edited by

                    ok i'll try it tomorrow, just a last question before leaving. Do i have to copied and renamed the conf file like you said at the begining or do i have to modify this one adding the auto exec part at the end?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @espegael
                      last edited by

                      @espegael Copy the file first on the USB, then open it there and add the lines with the [autoexec] section.

                      1 Reply Last reply Reply Quote 0
                      • E
                        espegael
                        last edited by

                        Ok i tried it and it disnt work... maybe i dont know with file i have to exzcute on retropie to have the game

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @espegael
                          last edited by

                          @espegael You should be 'executing' the .conf file you created. Do you get any errors ?

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            espegael @mitu
                            last edited by

                            @mitu i see the artictle online but i dont understand all..

                            http://dosonthepi.blogspot.com/2015/01/run-dos-games-in-retropie_15.html?m=1#add-dosgames

                            It says to create a script to aut mount the exe

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @espegael
                              last edited by mitu

                              @espegael You don't need to follow that page, it should work with the .conf file from the GOG installation. In the interest of science, I've experimented with it and got it to start, but asks for the CD. Here's what I've done

                              • Copied the game folder (from the GOG installation) in ~/RetroPie/roms/pc-data/lba2/lba2. For some reason LBA doesn't like to start from *C:* directly.
                              • Added a lba2.conf file at ~/RetroPie/roms/pc/lba2.conf, copying the Dosbox configuration file from the GOG installation and modifying the [autoexec] section to read
                              [autoexec]
                              @echo off
                              mount c /home/pi/RetroPie/roms/pc-data/lba2
                              imgmount d "/home/pi/RetroPie/roms/pc-data/lba2/lba2/LBA2.DAT" -t iso
                              c:
                              cls
                              cd \LBA2
                              LBA2.EXE
                              exit
                              

                              A link to the complete .conf file is here.

                              I start the game from the PC system, running the LBA2 entry that corresponds to the .conf file I created. It gets to the game menu, but since I don't have a keyboard, I can't say how it runs.

                              1 Reply Last reply Reply Quote 0
                              • E
                                espegael
                                last edited by

                                Ok thanks a lot! I do exactly what ypu said and it worked

                                I tried to play but the keypad is going wrong.. the down button is enter

                                2 is to go up

                                7 is f1

                                Well any idea to fix it?

                                E mituM 2 Replies Last reply Reply Quote 0
                                • E
                                  espegael @espegael
                                  last edited by espegael

                                  I tried to play another msdos game and it worked pefectly with my jey pad so it s not my keypad the problem

                                  Another think im french and im using my keypad on azerty mode not qwerty

                                  1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @espegael
                                    last edited by

                                    @espegael said in Little big adventure 2 problem:

                                    Well any idea to fix it?

                                    Can't say I have, I don't play any dos games with the gamepad. Maybe you can start the DOSBOX mapper and re-map the keyboard for the game.

                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      espegael @mitu
                                      last edited by

                                      @mitu cant because i have to do CTRL F1 but i dont know where is the CTRL buttons

                                      O dont know what to do.. on recalbox it was working i just add mapperfile=lba2.map

                                      I try to do this on retrpie but it doesnot work

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @espegael
                                        last edited by

                                        @espegael said in Little big adventure 2 problem:

                                        O dont know what to do.. on recalbox it was working i just add mapperfile=lba2.map

                                        This works if you have that file available, which I assume is not the case on RetroPie. Maybe it's generated automatically by Recalbox or by auto-configured based on something else, but here you need to use the Mapper, re-map the keyboard and save the file, which you can then reference in the .conf with mapperfile=<save_file>.

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          espegael @mitu
                                          last edited by espegael

                                          @mitu ok right it finally works. I found the CTRL and F1buttonns and configure the keymap

                                          It works on everythink except on the number pad.. i think there is a problem with the NUM bouton. I see that the NUM led dont light when i push it.. i test on another key and its the same... my configuration configures the page up bouton and not the 8 bouton i think

                                          The same problme appears with CAPS bouton, does raspberry support the changing of CAPS and NUM
                                          it ligh on my computer but not in the raspberry

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.