Fredrik HovandGitHub 5bc843f44f XISO to HDD installer script cleanup (#7)
* Cleanup script logic and readability

* Collecting only iso-files for processing by search_tree

* Split file in more parts due to memory constraints, was unable to get only 4 parts to work

* Rewrite looping items, unnecessary to do it twice, squished the bug that was generating the huge memory request

* Add exception tracebacks to exception handling

* Removed sys.exit and restored previous handling of no directory selected, added debug log when it happens

* don't shadow python builtin 'type'

* discard file after reading to avoid leaking memory, handle potential leaky data slizing, only loop once while generating xbe sections

* Change to 8 parts for the partition of the default.xbe, Blinx would have used 11Mb of memory in one read with 4 parts

* fix a dum-dum bug I introduced

* replace print with xbmc builtin logging

* partial reformat of some files, removed unused exceptions

* Use buffered reading for processing potentially large xbe files

* Move extraction of title_image out from prepare_attachxbe method, and skip uninteresting sections in the xbe

* merge in some changes from rocky5

* remove default.xbe if we have found a game.xbe

* Move all iso files containing the iso name and either .1.iso or _1.iso patterns into iso folder

* Rename folder variables as they were a bit confusing with both iso_directory and iso_folder

* simplify logic around iso_info, pass the iso file path and open where needed

* Merge in the missing missing.jpg from rocky5

* move title image extraction to it's own method

* Check if user has cancelled scanning, and exit accordingly

* delete default.xbe if game.xbe was extracted

* merge and rewrite artwork installation code from rocky5, will install artwork as a primary method and fall back to title image extraction

* optimize file operations when dumping xbe, only need to seek to start of file, and the do consecutive reads

* wip: adding grouping of ISOs and possibility to extract default.xbe from second ISO

* import specific functions from os.path, clean up some log statements and do some groupby tweaking
2022-07-20 20:26:19 +01:00
2021-01-03 21:04:13 +00:00
2022-06-24 00:06:59 +01:00
2022-06-24 00:06:59 +01:00
2022-06-24 00:06:59 +01:00
2022-06-24 00:06:59 +01:00
2016-07-13 22:04:09 +01:00
2020-11-15 04:45:59 +00:00

XBMC4Gamers

Damn nice front end for Games using XBMC

This is a pet project of mine and its a combination of a skin, python scripts and source edits to XBMC.

The main objective of this project was to allow my kids to use the same Xbox but also have there own saves, so to stop fighting lol. Now the original Xbox doesn't allow this by default, so I had to think outside of the box and learn and create some Python script to do the job. It works quite well.

Now since the above, I have added scripts that fixes scrambled screen games on v.1.6 Xbox ( 480p video mode ) clean save directories of blank saves, clean program thumbnails or refresh them as well as others to do other tasks. It's a jack of all trades lol.

Contributions

If you'd like to say thanks by sending a small donation, it'd be a huge help, and it'll allow me to keep spending time towards contributing to the Xbox community in the future.

paypal

Artwork

  • If you would like to make artwork that will be used with this dashboard you can find my tools and photoshop files here.

Download Artwork Making Tools: Download Gamers - Emustation Artwork Stuff

Installation

Download Prebuilt versions: Download XBMC4Gamers

Build from Source: (Note: this is only for advanced users)

  • Download XBMC4Gamers and extract the XBMC4Gamers-master folder to your desktop.
  • Download the latest XBMC4XBOX-*****.zip and extract the XBMC folder that is inside the zip to your desktop\XBMC4Gamers-master\ folder.
  • Now double click the Build XBMC4Gamers.bat that's inside the XBMC4Gamers-master folder and wait. It will output a new folder named XBMC4Gamers
  • FTP this new folder to your Xbox and enjoy.

Create a Profile

  • Select the Manage Profiles profile
  • Select Add Profile...
  • Enter your desired name
  • Now select an profile image
  • Now Log out. Press the (R) Stick in

Individual Save Directories For Each Profile

  • Select the Manage Profiles profile
  • Toggle the Individual Save Directories For Each Profile option
  • note: This option is to only be used if XBMC4Gamers is being run as a dashboard. A backup is created of your original UDATA directory. Any softmod saves are transfered to the new profiles save directory automatically.

Setup Birthday Dates

  • Select the Manage Profiles profile
  • Select the Setup Birthday Dates option
  • Enable up to 5 birthdays, self explanatory

Toggle Edit Mode

  • Enter this key combination at the login screen
  • Up, UP, DOWN, DOWN, LEFT, LEFT, RIGHT, RIGHT, A
  • note: The same combination will also enable "Edit mode" if its disabled

Game Resources and Synopsis

  • There is an example located here
  • The _resources folder is places next to your games default.xbe
  • To see your new resources images you will need to enable the _Resources settings
  • Press UP when in the games list and press (A) on the correct tile
  • note: For synopsis information you will need a default.xml and to view this information you press the context button (white) when at the games list and pick synopsis

Everything else

  • The rest should be self explanatory, its all in the menu.

Acknowledgements:

Buzz

For maintaining XBMC4Xbox over the years.

S
Description
No description provided
Readme GPL-3.0
148 MiB
Languages
C++ 62.1%
Python 34.2%
Batchfile 2.3%
C 1.4%