1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-25 00:33:46 +02:00
gbe_fork/tools/generate_emu_config
2024-07-07 02:39:21 +03:00
..
controller_config_generator
external_components
icon
stats_schema_achievement_gen
generate_emu_config.py generate branches.json from app info schema 2024-07-07 02:39:21 +03:00
package_linux.sh
package_win.bat
README.md
rebuild_linux.sh
rebuild_win.bat
recreate_venv_linux.sh fix python 3.12 installation on ubuntu 22 2024-06-17 10:50:18 +03:00
recreate_venv_win.bat
requirements.txt
steam_default_icon_locked.jpg
steam_default_icon_unlocked.jpg

What is this ?

This is a command line tool to generate the steam_settings folder for the emu,
you need a Steam account to grab most info, but you can use an anonymous account with limited access to Steam data.


Usage

generate_emu_config [options] <app id 1> [app id 2] [app id 3] ...

Available [options]

To get all available options, run the tool without any arguments.


Login:

You'll be asked each time to enter your username and password, but you can automate this prompt.

  • You can create a file called my_login.txt beside this tool with the following data:

    • Your username on the first line
    • Your password on the second line

    But beware though of accidentally distributing your login data when using this file.

  • You can define these environment variables, note that these environment variables will override the file my_login.txt:

    • GSE_CFG_USERNAME
    • GSE_CFG_PASSWORD

    When defining these environment variables in a script, take care of special characters.

    Example for Windows:

    set GSE_CFG_USERNAME=my_username
    set GSE_CFG_PASSWORD=123 abc
    generate_emu_config.exe 480
    

    Example for Linux:

    export GSE_CFG_USERNAME=my_username
    export GSE_CFG_PASSWORD=123 abc
    ./generate_emu_config 480
    

Downloading data for new apps/games and defining extra account IDs:

The script uses public Steam IDs (in Steam64 format) of apps/games owners in order to query the required info, such as achievement data.
By default, it has a built-in list of public users IDs, and you can extend this list by creating a file called top_owners_ids.txt beside the script, then add each new ID in Steam64 format on a separate line.

When you login with a non-anonymous account, its ID will be added to the top of the list.



Attributions and credits