Giter Site home page Giter Site logo

Mount a cd image option about gameimage HOT 19 OPEN

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024
Mount a cd image option

from gameimage.

Comments (19)

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024 1

I missed that one Ruan! Thanks

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024 1

@TellSackett

Thanks for the attempt and while it probably would work for certain images I think the idea of being able to store the image within the flat image as a full cd image is better. There is also the problem that by extracting the data from the cd any games that have mixed mode CDs will lose all cd audio that way.
Cdemu is the only way I have seen in Linux to mount the image fully with data and audio

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

This is on the works, some technical issues to get around. I thought of a screen in the wizard, where you'd add a list of iso's that would be mounted every time the image was started, to the selected drive letters. This would also mount them during the install process, allowing to select the default executable to start from the iso or an install path.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Ok cool. Please bear in mind that mounting a mixed mode image (1st track is data and then followed by audio tracks) doesn't mount as it should using regular methods in Linux as they just mount the first data track and the game will lose any audio tracks whilst playing the game. Cdemu does work in this regard although it would mean an external dependency from the flat image.
Also could an option to add a prefix to the command to run the actual game. For example using dgvoodoo. After installing a game I find some games work better and look better when putting the dlls into the game folder (within the wine prefix) then executing WINEDLLOVERRIDES=D3D9, D3DIMM,DDRAW=N,B followed by the exe to run the actual game.
Could this be incorporated?

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Ok cool. Please bear in mind that mounting a mixed mode image (1st track is data and then followed by audio tracks) doesn't mount as it should using regular methods in Linux as they just mount the first data track and the game will lose any audio tracks whilst playing the game. Cdemu does work in this regard although it would mean an external dependency from the flat image.

Cool, thanks for the info!

Also could an option to add a prefix to the command to run the actual game. For example using dgvoodoo. After installing a game I find some games work better and look better when putting the dlls into the game folder (within the wine prefix) then executing WINEDLLOVERRIDES=D3D9, D3DIMM,DDRAW=N,B followed by the exe to run the actual game.
Could this be incorporated?

You can already do this adding as an environment variable:

override

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Maybe i'm being a little slow here but where exactly is this environment variables option during the creation of the flatimage Ruan?

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

During the creation there is still no option in the GUI, I'll add it in the wine configure frame. You can set it in the terminal meanwhile and do gameimage.run.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Thanks Ruan. It would be a handy option to select whilst creating it.

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

@Blad3forc3 Now in v1.0.3 you can set environment variables from the configure frame. They'll be saved with the game, so you don't have to re-input them in the launcher. Also, you can modify/erase them in the launcher afterwards.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

So if I've got a cd to mount before the game starts I would just enter cdemu load 0 ?
Where would I store the image file?

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Maybe i'm being a little slow here but where exactly is this environment variables option during the creation of the flatimage Ruan?

My previous reply was to this. Mount cd option is still open todo.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Sorry Ruan. 😊

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

No problem, I forgot to quote. Here is how it is now:

set_environ

set_environ

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Fantastic. Seems a lot more intuitive having it there and a good idea to have the option still in the launcher too

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Theres a few older games that actually run off the cd, would it be possible to make it so the exe file list includes exes on the cd image? I've tried copying all the files from the cd to a folder but it doesnt work

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Yes, since the images will auto-mount each time the runner executes, I'll be able to list them as selectable in the list even during the wizard install.

from gameimage.

Blad3forc3 avatar Blad3forc3 commented on June 16, 2024

Is there any update on this area Ruan?

from gameimage.

ruanformigoni avatar ruanformigoni commented on June 16, 2024

Not yet, multiple .exes #59 will come first.

from gameimage.

Tell-Sackett avatar Tell-Sackett commented on June 16, 2024

@Blad3forc3
In the meantime, (while it's not a perfectly comparable experience) here is a somewhat functional workaround (though it would still require you to have the physical disk in a physical drive).

  1. Take the iso of your game you are wanting to play (extracted via K3b, ImgBurn, etc.) and unpack it via an application such as "PeaZip".
  2. When you reach the part of the gui process where you are asked to install the media, figure out how to do this for the files you have. For me, the extracted game files had a "setup.exe", which I selected, and I was prompted through the installation process for the game.
  3. Once you reach the part of the GI gui process where you are prompted to select an executable for your FlatImage, insert your game disk into your physical drive and wait for it to mount.
  4. Now, with your file-browser, go into the flatimage temporary "build" directory > "game_name" directory > "wine" directory > "dosdevices" directory.
  5. Here, open your terminal and and use the following command: ln -s "/path/to/your/currently/mounted/game/disk/directory/" "<lowercase_arbitrary_drive_letter_not_being_used>:". For me, I used the following: ln -s "/media/me/Deer Hunter 2003/" "y:"
  6. After making the symbolic link, proceed with the GI gui process by selecting the executable you want the flatimage to use, etc.

By following this process, you should be able to launch your new flatimage game as long as the disk is in your physical drive.

With all of that said, I actually checked out CDEmu as well (while trying to find a convenient way to get my game portably working), and the above method, again, is certainly no replacement for CDEmu's functionality (assuming I understand the program's functionality correctly). My disk-based game is, from my understanding, abandonware and quite old and I wanted to make sure there was a less-cumbersome way of preserving it. While I didn't bother trying to get CDEmu, itself, set-up (it seemed too complicated for me given the time I had, and there's no way I could understand how it would interact with GameImage/flatimages anyway), I did attempt using Lutris to get both "WinCDEmu" and "Daemon Tools" to work through wine, but both failed due to the fact that they were unable to properly install the drivers during set-up. Other individuals online seemed to be having similar experiences when using wine as well, from my understanding (see WineHQ - WinCDEmu and WineHQ - Daemon Tools). As such, if it is, indeed, possible to get CDEmu working inside a FlatImage, that would be really cool!

Hope this helps!

from gameimage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.