Thanks for the reply. I found it difficult to reuse.
I understand that the way to get assets in batches like "KH" varies from game to game. Then I would like you to tell me if there is a method in “Sengoku Providence”.
You may not be able to answer because you don't know the structure of the game, but I consulted with you because it created a great player.
I would appreciate it if you could tell me anything.
I also know that there is a “Sengoku Providence” player in this forum.
However, the player does not work well and the data structure is difficult to understand and use. I know that it is very rude to the player creator, but I wanted to ask for another player.
Hi. Is there any chance that the source code at Github will be updated?
Online: gazmull [Github]
Offline: Eliont (Discontinued) | xellosp [Github]
Looking for active editors to manage Kamihime FANDOM (wiki)! Contact me for inquiries (Discord: Euni#1200).
I wonder if the script is broken? Got the following error
Traceback (most recent call last):
File "0_download_json.py", line 87, in <module>
eps = [e.replace('.json', '') for e in os.listdir(os.path.join(data_directory, "kamihime_SR", kamihime))]
WindowsError: [Error 3] The system cannot find the path specified: 'raw_scenario\\kamihime_SR\\Skirnir/*.*'
And this happens when I run the download asset
Abou 3001_harem-summon.json
Abou 3002_harem-summon.json
Abou 3003_harem-summon.json
Adramelech 1101_harem-summon.json
Traceback (most recent call last):
File "1_download_assets.py", line 175, in <module>
if data['scenario_path'].endswith('.ks'):
KeyError: 'scenario_path'
Last edited by Wolfheinirich; 09-25-2019 at 10:50 PM.
Yeah, I updated 1_download_assets.py, 2_build_rpy.py & 3_write_config.py. The scripts could not handle utf-8 file name.
Oops, I kinda forgot about github.... It is updated now.
I took a quick look into the Api of that game. I think the structure is not complex, about the same as KH but the problem is the asset url is protected by a hash key of some sort and I have no idea how to generate it. Maybe you could ask the creator of that player, it seems he knows how to extract the game assets.
Last edited by xellosp; 09-26-2019 at 11:31 AM.
Everything seems to work except download assets after the lil skirnir thing, even with the new code you just made
1 100001_main
Traceback (most recent call last):
File "1_download_assets.py", line 175, in <module>
if data['scenario_path'].endswith('.ks'):
KeyError: 'scenario_path'
H:\Kamihime_Player-1.0-pc\game\nutaku>pause
Press any key to continue . . .
Kamihime ID: 193319
Need thunder franz
Weeb Wanker
the kaiser dragon scene are all missing in the nutaku upload, why?
I cleared the raw_scenario folders and rerun the json script, but I am still having trouble running the new download_assets script
Abou 3001_harem-summon.json
Abou 3002_harem-summon.json
Abou 3003_harem-summon.json
Adramelech 1101_harem-summon.json
Convert script file...
Failed to download script for "raw_scenario\eidolon\Adramelech\1101_harem-summon.json"
Hello, today I have this problem with new code
and thisC:\Users\[Nutaku Only] kamihime_player\Kamihime_Player-1.0-pc\game\nutaku>..\..\Python27\python.exe "1_download_assets.py"
Traceback (most recent call last):
File "1_download_assets.py", line 26, in <module>
thread_num = config.getint('script', 'threads')
File "C:\Users\[Nutaku Only] kamihime_player\Kamihime_Player-1.0-pc\Python27\lib\ConfigParser.py", line 359, in getint
return self._get(section, int, option)
File "C:\Users\[Nutaku Only] kamihime_player\Kamihime_Player-1.0-pc\Python27\lib\ConfigParser.py", line 356, in _get
return conv(self.get(section, option))
File "C:\Users\[Nutaku Only] kamihime_player\Kamihime_Player-1.0-pc\Python27\lib\ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'script'
C:\Users\[Nutaku Only] kamihime_player\Kamihime_Player-1.0-pc\game\nutaku>..\..\Python27\python.exe "3_write_config.py"
Traceback (most recent call last):
File "3_write_config.py", line 93, in <module>
id = data['job_id']
KeyError: 'job_id'
Last edited by alguien; 09-26-2019 at 06:39 PM. Reason: add issue
Online: gazmull [Github]
Offline: Eliont (Discontinued) | xellosp [Github]
Looking for active editors to manage Kamihime FANDOM (wiki)! Contact me for inquiries (Discord: Euni#1200).