SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.73k stars 1.12k forks source link

Converting assets fails when running app. (Windows) #1686

Open IvanMtze opened 1 month ago

IvanMtze commented 1 month ago

Trying to run openage, following these steps. Running on windows and getting the following output.

C:\Users\user\Desktop\aoe2 converting from 'C:\Users\user\Desktop\aoe2' INFO [py] Looking for compatible games to convert... INFO [py] Compatible game edition detected: INFO [py] * Age of Empires 2: The Conqueror's Trial Version INFO [py] converting metadata INFO [py] using cached wrapper: C:\Users\user\AppData\Local\Temp\AOC_empires2_x1.dat.pickle INFO [py] Finished metadata read (0.82 seconds) INFO [py] Starting conversion... INFO [py] Extracting Genie data... INFO [py] Creating API-like objects... INFO [py] Linking API-like objects... INFO [py] Generating auxiliary objects... INFO [py] Creating nyan objects... INFO [py] Creating requests for media export... INFO [py] Finished data conversion (1.37 seconds) INFO [py] Starting export... INFO [py] Dumping info file... INFO [py] Dumping data files... INFO [py] Exporting media files... INFO [py] -- Exporting graphics files... usage: openage [-h] [--add-dll-search-path DLL_PATHS] [--version] {main,game,test,convert,convert-file,convert-export-api,codegen} ... openage: error: argument subcommand: invalid choice: 'from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=4000, pipe_handle=1316)' (choose from 'main', 'game', 'test', 'convert', 'convert-file', 'convert-export-api', 'codegen')

Any ideas on how to fix it?

heinezen commented 1 month ago

Do you know which line in https://github.com/SFTtech/openage/blob/master/openage/convert/processor/export/media_exporter.py triggers this?

Could you recheck in the debugger maybe when this error pops up?

heinezen commented 1 month ago

And what version are you running?

IvanMtze commented 1 month ago

Im building from source so its the latest....