First-Install detection and global.dat replacement
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
El issue describe un script de Python multiplataforma para detectar instalaciones iniciales de juegos y reemplazar archivos global.dat. Comience examinando los archivos por lotes de Windows existentes en el repositorio para comprender la lógica actual. Revise el archivo MGHelper.cs vinculado para ver cómo Unity accede a las rutas de guardado. Para cada plataforma (Windows, Mac sin DRM, Linux sin DRM, Steam), implemente la detección de rutas y la lógica de respaldo/copia de archivos como se especifica. Las pruebas requerirán simular diferentes estados de instalación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I wonder if we should try one suggestion I gave a long time ago, that was supplying our own configuration file during installation. Might be useful at least for the console arcs
For windows
- when any higurashi game is installed, check the %appdata%\Mangagamer\higurashi04 folder (where the last part changes for each game)
- if there exists a
global.dat.backupfile, then this is a re-install/upgrade. Take no action - if there is no
global.dat.backupfile, rename the oldglobal.dattoglobal.dat.backupand copy in the desiredglobal.dat
- if there exists a
For DRM Free mac:
same as above, but use path:
DRM Free Mac version saves to ~/Library/Application Support/unity.MangaGamer.Higurashi When They Cry - Ch.4 Himatsubushi/ but I'd feel better about reading the CFBundleIdentifier from the Info.plist to get that last directory's name. You can use defaults read <full path to Info.plist> CFBundleIdentifier to get this.
For DRM Free Linux:
same as above, but use path:
DRM Free Linux version saves to ~/.config/unity3d/MangaGamer/<full game name> though I don't remember the exact capitalization used for the full game name
For steam linux/mac:
For steam, I would guess Linux will be the same (it's based off a file in the game assets) but for the Mac one, since it sounds like they name the main application bundle differently, the may have changed the bundle identifier too. If someone with the mac steam version could upload the Info.plist files from some of their games (located at gamename.app/Contents/Info.plist) that would be helpful.
Actual code used in the game to access save files
https://github.com/07th-mod/higurashi-assembly/blob/tsumi-mg/Assets.Scripts.Core/MGHelper.cs#L181 idealpersona - "I think the Application class is Unity, so you may have to replace those references with new code according to their docs"
I'm writing this up for when/if we make a cross-platform python script. For now will jsut be implemented by modifying our existing windows only batch files.
NOTE to any other developers: feel free to edit this comment if some of the information is wrong.
- Lenguaje dominante
- JavaScript
- Estrellas
- 214
- Forks
- 12
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 07th-mod/python-patcher
-
SSL/TLS Errors Index PageAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
07th-mod/python-patcher#214 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
07th-mod/python-patcher#193 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
07th-mod/python-patcher#83 ·
-
Missing cert on Fedora LinuxAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
07th-mod/python-patcher#80 · 11 comentarios ·
Todos los issues de 07th-mod/python-patcher
Issues similares
-
feature task
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RealDevSquad/website-www#1178 ·
-
add latest sol modelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
netlify-labs/nax#56 · 2 comentarios · 1 reacción ·
-
accessibility bug revealjs
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quarto-dev/quarto-cli#14961 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
PnX-SI/GeoNature#4435 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
openlayers/openlayers#17648 ·
Los mantenedores suelen responder en 1 día