楼主: rohye

[头像] Newganmanager随机人头像生成【可识别国籍与人种】,自改支持中文数据库, 更新24.2

    [复制链接]
发表于 2023-12-18 11:36 | 显示全部楼层
退役球员编号取消,然后没签约的新秀第二年会消失,但是会生成头像文件config,第二年生成的球员就会占用这些编号,这个问题怎么解决,有兄弟们知道吗
发表于 2023-12-18 14:24 | 显示全部楼层
楼主问一下,xml文件默认打开方式是什么来着,我的莫名其妙变成edge了
发表于 2023-12-30 16:29 | 显示全部楼层
Traceback (most recent call last):
  File "\app\newganmanager\__main__.py", line 4, in <module>
    main().main_loop()
  File "\app_packages\toga\app.py", line 551, in main_loop
    self._impl.main_loop()
  File "\app_packages\toga_winforms\app.py", line 254, in main_loop
    raise self._exception
  File "\app_packages\toga_winforms\app.py", line 229, in run_app
    self.create()
  File "\app_packages\toga_winforms\app.py", line 125, in create
    self.interface.startup()
  File "\app\newganmanager\app.py", line 236, in startup
    self.check_for_update()
  File "\app\newganmanager\app.py", line 441, in check_for_update
    self._show_info("There is a new version. Please Update!")
  File "\app\newganmanager\app.py", line 299, in _show_info
    self.main_window.info_dialog("Info", msg)
  File "\app_packages\toga\window.py", line 282, in info_dialog
    return self.factory.dialogs.InfoDialog(
  File "\app_packages\toga_winforms\dialogs.py", line 50, in __init__
    super().__init__(
  File "\app_packages\toga_winforms\dialogs.py", line 31, in __init__
    super().__init__()
  File "\app_packages\toga_winforms\dialogs.py", line 10, in __init__
    loop = asyncio.get_event_loop()
  File "asyncio\events.py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.
发表于 2023-12-30 21:18 | 显示全部楼层
按贴子里的操作了还是报错呢

Traceback (most recent call last):
  File "\app_packages\aiohttp\client_reqrep.py", line 70, in <module>
    import cchardet as chardet
ModuleNotFoundError: No module named 'cchardet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "\app\newganmanager\__main__.py", line 1, in <module>
    from newganmanager.app import main
  File "\app\newganmanager\app.py", line 17, in <module>
    from reporter import Reporter
  File "\app\reporter.py", line 1, in <module>
    from dhooks import Webhook, Embed, File
  File "\app_packages\dhooks\__init__.py", line 1, in <module>
    from .client import Webhook
  File "\app_packages\dhooks\client.py", line 3, in <module>
    import aiohttp
  File "\app_packages\aiohttp\__init__.py", line 6, in <module>
    from .client import (
  File "\app_packages\aiohttp\client.py", line 59, in <module>
    from .client_reqrep import (
  File "\app_packages\aiohttp\client_reqrep.py", line 72, in <module>
    import charset_normalizer as chardet  # type: ignore[no-redef]
  File "\app_packages\charset_normalizer\__init__.py", line 24, in <module>
    from .api import from_bytes, from_fp, from_path, normalize
  File "\app_packages\charset_normalizer\api.py", line 10, in <module>
    from .cd import (
  File "\app_packages\charset_normalizer\cd.py", line 9, in <module>
    from .md import is_suspiciously_successive_range
  File "charset_normalizer\md.py", line 10, in <module>
    is_emoticon,
ImportError: cannot import name 'is_arabic' from 'charset_normalizer.utils' (\app_packages\charset_normalizer\utils.py)
发表于 2024-1-7 07:15 | 显示全部楼层
我这边也开始报错,用了帖子里的方法,管理员也试过但意义没用,明明前几天还好好的

Traceback (most recent call last):
  File "\app\newganmanager\__main__.py", line 4, in <module>
    main().main_loop()
  File "\app_packages\toga\app.py", line 551, in main_loop
    self._impl.main_loop()
  File "\app_packages\toga_winforms\app.py", line 254, in main_loop
    raise self._exception
  File "\app_packages\toga_winforms\app.py", line 229, in run_app
    self.create()
  File "\app_packages\toga_winforms\app.py", line 125, in create
    self.interface.startup()
  File "\app\newganmanager\app.py", line 236, in startup
    self.check_for_update()
  File "\app\newganmanager\app.py", line 441, in check_for_update
    self._show_info("There is a new version. Please Update!")
  File "\app\newganmanager\app.py", line 299, in _show_info
    self.main_window.info_dialog("Info", msg)
  File "\app_packages\toga\window.py", line 282, in info_dialog
    return self.factory.dialogs.InfoDialog(
  File "\app_packages\toga_winforms\dialogs.py", line 50, in __init__
    super().__init__(
  File "\app_packages\toga_winforms\dialogs.py", line 31, in __init__
    super().__init__()
  File "\app_packages\toga_winforms\dialogs.py", line 10, in __init__
    loop = asyncio.get_event_loop()
  File "asyncio\events.py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.
发表于 2024-1-16 11:15 | 显示全部楼层
gamedreamcd 发表于 2023-11-21 17:15
1.31 只能生成1000000以后的球员,以前的会出现黑头。下一版建议改一下可以支持从0开始的头像
=========== ...

请问修改这个需要重新生成exe文件吗?还是重新打开就行?
发表于 2024-1-17 14:00 | 显示全部楼层
giggsxbr 发表于 2024-1-16 11:15
请问修改这个需要重新生成exe文件吗?还是重新打开就行?

1. 在 NewGAN-Manager\app 下找到这个文件:
rtfparser.py


2. 打开并在文件里面找到有下面这个的行:
        UID_regex = re.compile('([0-9])
然后替换整行为下面这行就可以了。(注意:整行全部替换)
        UID_regex = re.compile('([0-9]){1,}')
发表于 2024-1-17 21:51 | 显示全部楼层
gamedreamcd 发表于 2024-1-17 14:00
1. 在 NewGAN-Manager\app 下找到这个文件:
rtfparser.py

我实测了下,改了这个代码好像没法生效,是不是要重新编译生成那个可执行文件才行?
发表于 2024-1-18 16:18 | 显示全部楼层
原作者更新了1.4.0
发表于 2024-1-24 14:21 | 显示全部楼层

能发一下文件吗?我之前1.3.3死活打不开
发表于 2024-1-29 13:41 来自手机 | 显示全部楼层
感谢感谢感谢感谢感谢
发表于 2024-1-31 03:44 | 显示全部楼层
rohye 发表于 2023-11-12 21:24
随机人头像包可以去这里下载:
https://df11faces.com

下个头像,还得花9块钱去注册个垃圾网盘?
发表于 2024-2-24 23:23 | 显示全部楼层
大佬能给个最新版1.40的软件的更新吗?1.33的打不开了,让必须更新。或者请大佬教一下怎么修改汉化对应的代码?谢谢!
发表于 2024-2-29 10:56 | 显示全部楼层
无法导入试图,这个怎么办啊
发表于 2024-2-29 11:00 | 显示全部楼层
wuli小黄 发表于 2024-2-29 10:56
无法导入试图,这个怎么办啊

提示SCRIPT FACES player search文件里的视图在当前面板中无效,已经更新131的补丁了啊
发表于 2024-3-2 18:02 | 显示全部楼层
大佬,该更新了
发表于 2024-3-3 06:06 | 显示全部楼层
666666666666666666666666666666666
发表于 2024-3-6 18:30 | 显示全部楼层
大佬前一段还用的好好的,最近打不开开始报错了,是不是要更新了,能更新一下24.3的嘛谢谢
发表于 2024-3-20 00:20 | 显示全部楼层

还有我选不了图片,在这一步我也看不到up主选了图片,只能看见他在这软件上点了一下路径就出来了
QQ截图20240320001640.png
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|爆棚小组 PlayGM论坛

GMT+8, 2024-11-24 06:14 , Processed in 0.029724 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表