Comments (4)
Thanks Ruan!
It does actually work fine.
I managed to extract and rebuild the flatimage following your exact instructions.
I have also managed to write a basic script and desktop file to add to my dolphin right click menu , kservicemenu, to automate this in the folder of the FlatImage I want to change
Great Stuff!
from gameimage.
Hi @Blad3forc3 ! Issue acknowledged, I'm creating a simple script for this, will post here when it is finished.
Also what is the process to extract a flatimage?
Currently that is no direct method to extract, you can use:
# Mount
./game.flatimage fim-mount some-folder
# Copy
cp -r ./some-folder some-other-folder
# Unmount
fusermount -u some-folder
from gameimage.
Thanks Ruan. I'll try the fusermount option. Just be handy now and again. If I've extracted the contents of the flat image would I just need to replace the contents of the flat image with the contents of my game image build folder and re-run game image to pack it again?
from gameimage.
No problem. It would not be that simple because the games are stored in compressed filesystems inside flatimage. The flatimage method of doing things does not require to extract everything to modify like it was with AppImage. Here are some examples, (make a backup before trying):
List the filesystems inside the image
$ ./tomb-raider-collection.flatimage fim-dwarfs-list
tomb-raider-anniversary
tomb-raider-legend
tomb-raider-underworld
usr
wine
Extract a game from the flatimage to the current directory (from the previous list):
./tomb-raider-collection.flatimage fim-exec cp /fim/dwarfs/tomb-raider-anniversary.dwarfs .
Extract a dwarfs file to a folder:
mkdir tomb-raider-anniversary
tomb-raider-collection.flatimage fim-exec dwarfsextract -i tomb-raider-anniversary.dwarfs -o tomb-raider-anniversary
Move the tomb-raider-anniversary
directory and the tomb-raider-anniversary.dwarfs
filesystem to the build directory of gameimage. On the creator, create click on '+', for adding a new game, type the same name of the directory/dwarfs file tomb-raider-anniversary
and it should detect the folder and executables inside, without having to reinstall.
Update wine, with a new version downloaded from the gameimage-runners github. The name of the filesystem should be wine.dwarfs
, the last argument is the mountpoint, games look for wine in this location.
./tomb-raider-collection.flatimage fim-dwarfs-add wine.dwarfs /fim/mount/wine
Note that I have not exposed this features yet because it is a bit experimental, if it is working I recommend to just leave it.
from gameimage.
Related Issues (20)
- bwrap error HOT 8
- Opcode error HOT 3
- Failed to verify and configure downloaded files HOT 4
- Adding a parameter before the exe HOT 1
- Halo Combat Evolved Access Error HOT 10
- Misclassification of GPU by "Tomb Raider: Anniversary" HOT 8
- Gameimage Updater - A tool to update gameimages without rebuilding them HOT 1
- file read error: iostream error HOT 3
- A few questions HOT 3
- Select the compression level on the compress screen HOT 2
- FlatImage GUI launcher disable HOT 5
- bwrap error again HOT 16
- Some questions/suggestions- starting winetricks GUI etc. HOT 2
- kill wine processes button
- Open winetricks GUI
- 32bit prefix HOT 1
- New OS Distro, Icons dont show HOT 1
- Suggestion: ini Editor HOT 2
- Failed to verify and configure downloaded files...Again HOT 2
- Skyrim GOG Controller not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gameimage.