Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-on Support: [EASY :)]] #84

Closed
wcapes opened this issue Jan 15, 2022 · 1 comment
Closed

Add-on Support: [EASY :)]] #84

wcapes opened this issue Jan 15, 2022 · 1 comment
Labels

Comments

@wcapes
Copy link

wcapes commented Jan 15, 2022

Hi

Can we have game add-on support

If we could put additional games in subfolders, like new levels or new campaigns

Would be pretty easy: OPENJAZZ eg: OPENJAZZ LevelPack

This would then load from 'LevelPack' first and if there is no file in 'LevelPack' load the original game files.

so, main game files and openjazz.exe in the main folder, and subfolders for additions ( new music, levels, full games etc etc )
I'll be happy to help if this is accepted

@carstene1ns
Copy link
Collaborator

carstene1ns commented Jan 16, 2022

This is already possible. It works like you described it.

Here is the console log, as you can see it uses the special episode first and falls back:

$ ./OpenJazz games/jazz-shareware/ games/jazz-jackrabbit-holiday-hare-1995/
16:13:41 INFO  This is OpenJazz git, built on Apr 10 2022. (main.cpp:679)
16:13:41 DEBUG Opened file: openjazz.cfg (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/SOUNDS.000 (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/PANEL.000 (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/FONT2.0FN (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/FONTBIG.0FN (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/FONTINY.0FN (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/FONTMN1.0FN (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/FONTMN2.0FN (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/MENUSNG.PSM (file.cpp:134)
16:13:41 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/STARTUP.0SC (file.cpp:134)
16:13:45 DEBUG Opened file: openjazz.000 (file.cpp:134)
16:13:45 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/MENU.000 (file.cpp:134)
16:13:45 DEBUG Opened file: games/jazz-shareware/MACRO.1 (file.cpp:134)
16:13:45 DEBUG Opened file: games/jazz-shareware/MACRO.2 (file.cpp:134)
16:13:45 DEBUG Opened file: games/jazz-shareware/MACRO.3 (file.cpp:134)
16:13:45 DEBUG Opened file: games/jazz-shareware/MACRO.4 (file.cpp:134)
16:13:48 DEBUG Opened file: games/jazz-shareware/LEVEL0.000 (file.cpp:134)
16:13:48 WARN  Could not open file: LEVEL0.003 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.006 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.009 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.012 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.015 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.030 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.033 (file.cpp:60)
16:13:48 WARN  Could not open file: LEVEL0.036 (file.cpp:60)
16:13:48 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/LEVEL0.050 (file.cpp:134)
16:13:48 DEBUG Opened file: games/jazz-shareware/BONUSMAP.000 (file.cpp:134)
16:14:10 DEBUG Opened file: games/jazz-jackrabbit-holiday-hare-1995/END.0SC (file.cpp:134)
16:14:11 DEBUG Opened file: openjazz.cfg (file.cpp:134)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants