Giter Club home page Giter Club logo

Comments (8)

giantclambake avatar giantclambake commented on September 26, 2024

Indeed, I can recreate this here wrt preview/x86-64 and using BattleIsle_v1.9_1991.lha

-- if you change whdload_custom*=$* fields in config.uae file, these don't get reflected in whdbooter splash...ie; you still have to alter these manually in the splash screen.

@NoobieMaks .... can you try the following?...;

Ensure you don't have any config.uae files present associated with this title...

Edit whdboot/game-data/whdload_db.xml --> find the snippet related to the BattleIsle_v1.9_1991.lha file, add the custom1 field as per below (if you don't like angry canetoad, use something else =), and save the XML changes;

                        <custom>
                        C1:L:Angry Canetoad:None,1,2,3
                        C2:L:Load Game Position:None,1,2,3,4,5,6,7,8,9
                        </custom>

Launch amiberry GUI->WHDLoad panel --> Select file (ie; BattleIsle_v1.9_1991.lha) -> Custom Fields --> change value to 3

ex

Click OK -> CPU & FPU panel --> Select 68020 --> Start //see note below

Emulation should start correctly, and game title should run (it does here =)

@midwan -- if you follow on here with F12->WHDLoad panel, the Custom Fields appear to be reset to 0 ...bug?

Note: This title.lha will crash&burn requesting at least 68020 CPU .... it seems odd to me that directive isn't included in the XML ...I conducted a test;

More or less here emulating a basic A500 with 512K/1M, kickstart1.3, booting the wb135.hdf file from AF, with attached harddrive directory (Games: / DH1: volume).

Install BattleIsle from 3 floppy images to DH1: ...install completes successfully. Double click on game icon, it throws an amigaDOS error (in Deutsch) which I read as a request for 68020...ergo... --> F12 -> CPU and FPU -> Select 68020 -- and then Reset....once workbench is up and running, double click on game icon, games starts and runs correctly.

It's rather odd ... this title should start and run from a basic A500 setup, which it actually DOES when going by the GUI -> Quickstart and floppy image route (also ./amiberry floppies/"Battle Isle (1991)(Blue Byte)(Disk 1 of 3).adf" works fine), but 'for some reason' and AFAICT, if the game program detects it's being launched from a DH*: device instead of DF0:, it kisses the 68kay goodbye, and coddles the '020 instead...but I don't think it's that simple ; it may also be the amount of RAM detected ....but whatever, it's really really strange it suddenly demanded 68020, given the hardware being emulated was on a 68000 profile (IRL this would've been an A500 rev.6a with fatter Agnus and an A590 with half the ramfield being populated)...weird...

@NoobieMaks ...I seen you've got some active tickets on Horace's github, you might like to query there, why CPU=68020 is not included in the XML, although it's apparently needed =)

from amiberry.

giantclambake avatar giantclambake commented on September 26, 2024

Just a quick addition... you would think a logical contraction, might be C1:L:Angry Canetoad:3 , so the value is always '3', however this does not work for the 'L' switch me thinks.

What does work however, if you edit the XML as above, start amiberry and load the whdload.lha, change CPU type and change the Custom Field value to '3', then start the emulation and when the whdbooter splash appears, hit F12 and goto Configurations -> Save, the resultant config.uae file will have the correct name, and all these changes are correctly saved.

However, in the run-me case this only works via the GUI->Configurations panel route ...ie; cmdline invocations and GUI->Quickstart or WHDLoad panel routes to load BattleIsle_v1.9_1991.lha all fail to start (or parse the configurata?)...and you have to manually change Angry Canetoads=3 and start emulation...ie

GUI->Configurations-> double click on the BattleIsle_v1.9_1991 entry -> emulation starts directly using that config.uae, and game starts and runs....

The invocation of ./amiberry conf/BattleIsle_v1.9_1991.uae does not work.

HTH

from amiberry.

midwan avatar midwan commented on September 26, 2024

This is actually a bug that I missed.
The custom UAE config files were loaded before parsing the XML contents, so any options contained in the XML would override the config file values. It should be the other way around: XML comes first, and if a .uae file is found, that is loaded on top.

from amiberry.

NoobieMaks avatar NoobieMaks commented on September 26, 2024

@giantclambake:
I followed your way:

  1. deleted the existing uae from Battle Isle
  2. edited the whdload_db.xml with C1:L:Starting Trick: None,1,2.3
  3. started Amibery via +START AMIBERRY
  4. gone to WHDLoad panel and selected BattleIsle_v1.10_199.lha as auto-config-file
  5. changed cpu to 68020 and Custom Field 1 from None to 3
  6. clicked START
  7. AND IT REALLY STARTED

This work around start would be a possibility to start the game, my other way is to use a save state from my older build,
this also works, I start the game and go to the savestates panel and choose my save state and it runs.
This is my favourite way until this bug is not solved, I do so with other games to skip long intros or password requests.

Some observations in these tests:

  • the whdload_db.xml edit is not shown in the splash screen, never!
  • the Amiberry GUI WHDLoad panel shows every edit I made, "None,1,2,3" or only "3"
  • BUT when I select 3 it seems not really saved, when I go into the Custom Fields it always shows None, as I would have done nothing before; but this behaviour is the same with the originally custom 2 field (Load Game Position)
  • the only advantage of an uae-file is that I cannot forget to switch to cpu 68020
  • AND it is also possible to start from an existing uae-file, BUT the 3 must be chosen in the custom field 1 right before you push the start button
  • starting from the uae-file, thinking the chosen 3 was saved at it with clicking Configurations -> Save does not work
  • this information is not recognized although it is really saved along in the uae-file as "whdload_custom1=3", also when it is not shown in the Custom Fileds panel as setted
  • So I think this is solved with the new loading order that midwan told above
  • AD QUICK ADDITION: An edit of whdload_db.xml with only "3" does really not work - it must be "None,1,2,3"

@midwan: Have you also thought about the naviagtion in this panel? It's not possbile per controller, I always need to connect my mouse additionally, only for this one panel.

from amiberry.

NoobieMaks avatar NoobieMaks commented on September 26, 2024

@midwan: Please allow me another question, do I understand right, since 5.7.1 the order of the recognition of the configurations has changed, and this is not only for the WHDLoad settings, it is for the whole uae-file.
Is this the reason why I don't see my very individual made Custom controls anymore?

Seems to be so since 5.7.0 -> I was so focused and happy about other things like ps3controller driver, possible navigation, default soundcard, auto-crop function, player 3+4 support, that I did not recognize that I lost the function of my individual custom controls.

from amiberry.

midwan avatar midwan commented on September 26, 2024

BattleIsle now works as expected, if you have saved a custom .uae config with the changes required. Ideally of course, these changes should go in the Slave file (for the custom1 field) and the XML (for using an A1200 config for this title).

The navigation in the custom fields is tricky, as the fields there are dynamically generated depending on the title you load (and what the slave defines as available custom fields, and field types). I cannot set navigation without knowing the actual fields used beforehand, at least not with the current GUI toolkit (guisan).

from amiberry.

giantclambake avatar giantclambake commented on September 26, 2024

@NoobieMaks ~ thanks for testing ; being primarily on x86-64, I don't check the v5.x.x amiberry branch very much =)

As for the BattleIsle snippet in the XML ...citing: http://whdload.de/games/BattleIsle.html

version 1.0 (16.03.00) done by Wepl:

  • initial release
  • one memory allocation bug fixed
  • some game data moved to fast mem
  • installation is optimized so that every gamefile which is identically on
    normal version, data disk and moon of chromos resides only one time in the install directory!
  • this install requires at least a 68020 because it installs the 68020 versions of battle isle

Ergo, the XML really does need changing, to take into account the last line above =) ..ie; CPU=68020. The custom1 field should also be fixed (in the XML for amiberry's sake ;)

from amiberry.

giantclambake avatar giantclambake commented on September 26, 2024

BattleIsle now works as expected, if you have saved a custom .uae config with the changes required. Ideally of course, these changes should go in the Slave file (for the custom1 field) and the XML (for using an A1200 config for this title).

The navigation in the custom fields is tricky, as the fields there are dynamically generated depending on the title you load (and what the slave defines as available custom fields, and field types). I cannot set navigation without knowing the actual fields used beforehand, at least not with the current GUI toolkit (guisan).

Do I presume rightly here? --> From the GUI, you cannot save a line like whdload_custom1=3 to the associated config.uae file, if the custom1 field isn't set in the associated XML snippet?...(ie; necessitating that such a change has to be made by manually editing the config.uae file directly?)

I was kinda hoping the Custom: field in the WHDLoad panel would accept the string 'custom1=3' , and save that value to the whdload_custom1= line, based on a match to the 'custom1' hint ...but of course, that is not the case ;)

It could be said the GUI user is a little inconvenienced here, however that observation really only matters if there's other whdload.slaves out there, that are the same as the BattleIsle titles, wherein this value isn't exposed by the XML. AFAIK however, so far the BattleIsle titles are the only ones that display this specific behavior, so it likely doesn't matter? =)

from amiberry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.