| |
| |
|
 H.Brill | Hello, love Mitleser I have a binäre File (of a elektronischen accordion ROLAND FRX8), in the überwiegend Steuerbefehle for the accordion drin stand. somewhere, in this File (allegedly on Offset $39B) should one 20 Bytes langer gepackter 7 bit ASCII- String stand, the whom Musiktitel of/ one such registration contains, whom I read would like. unfortunately find I nothing on besagter position (Offset). can also his, that the Offset only for the smaller ones accordion counts and this String too on another place standing.
How could one a such ASCII - String lokalisieren ? The besagte File have I in a area# loaded. unfortunately having my try with Char$(..), OemToAnsi$() none success brought.
I have time 2 Files under appended. Perhaps has Yes someone a idea ?
Achja, so has it time someone in one Elektronikforum described :
These Files are a Bitstream, in the The ASCII characters for names but only 7 Bits occupy.
one must hold on the suitable place in the Bitstream to whom 7-bit ASCII characters search.
example File "kneipe_2.UPG" of moreover supra ex Offset 0x39B:
0000039B 65 CE 8B 26 ¦ 84 54 08 10 ¦ 20 40 81 02 ¦ 04 08 10 20 000003AB 40 82 01 80 ¦ AD 52 BA 04 ¦ 08 10 20 40 ¦ 81 02 00 00
65 CE 8B 26 84 54 08
01100101 11001110 10001011 00100110 10000100 01010100 00001000
01 1001011 1001110 1000101 1001001 1010000 1000101 0100000
01001011 01001110 01000101 01001001 01010000 01000101 00100000
0x4B 0x4E 0x45 0x49 0x50 0x45 0x20 k n E I P E <SPACE>
|
 |
| |
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 09/02/25 ▲ |
|
| |
|
|
 Georg Teles | Hi,
have You a File, with the the cover famous is ? then could one at least over the Hex editor this search.
Meta data should usually on the Dateianfang stand, I have To UPG Dateityp no Datenblatt found, might one Programmeigenes stature his, there can the cover naturally everywhere stand.
H.Brill (02.09.2025)
These Files are a Bitstream, in the The ASCII characters for names but only 7 Bits occupy.
H.Brill (02.09.2025)
one must hold on the suitable place in the Bitstream to whom 7-bit ASCII characters search.
there was sure 7 byte gemint 1 byte = 8 bit = 1 characters, bit has me now confused, Why ought to one characters only in 7 bit Save, there falls Yes what lane ...
Regards Georg |
|
| |
| |
| |
|
|
 H.Brill | Hello, in the meantime have I from the friend one Kommandozeilen-Tool (DOS) skillful get. means bräuchte I the wheel Yes not any more new To invent, because I this Tool then use or. aufrufe.
The Files come from of/ one .upa File of a elektronischen Arkordeon (ROLAND FRX8) . from of/ one .upa File go there 1400 Registrierungen (Einzeldateien .upg) made. The .upa File divides itself folgendermaßen on. there's for the FRX8 100 Bänke with apiece 14 Registrierungen. The Registrierungen include u. a. The Musiktitel. background is the, that I for somebody one small Program make wants, the hold the Kommandozeilentool aufruft. there The Zerteilung Bytes output the Kommandozeile results, would like I with the of/ one wallpaper.pcu of something adorn. The Feund should then these Registrierungen yourself beautiful in my Program manage can. The Musiktitel should there too later (with option -l) moreover come.there can it easily single items (cover) package and again The .upg Files over USB zurückspielen or again friends available to put. The problem is, that one whom by Kommandozeile übergebenen Ordner (into the Tool The zerstückelten Files hineinschreibt) to supervise must, circa hold The wallpaper.pcu of properly To steer it lasts already a couple minutes, To any Files of Tool written been are.
I wanted to first The .upa File yourself cut up, have But not geschafft, I whom Offset not very white and a XML-prefix present is. therefore I had under angehängtes Konsolenprogramm (of jemandem in C written) using.
Related to the 7bit ASCII is probably another Relikt from whom DOS- times. The Description finds one in network.
alas Yes, the Tool becomes folgendermaßen called : to that extract the 1400 upg-Files :
where ordner hold the Ordner is, into The whole .upg-Files written go. to that List the cover:
where one Yes with of/ one detour z.b. >Test.txt hinten dran The cover too in a File write let can. too with the first option with -d writes the Tool a .csv File. Insofern is this Tool Yes integrally interestingly, circa hold one Windowprogramm thatswhy around To write.
is hold only The question, How long MS yet The process such Kommandozeilen-programs supported.
and what my Fragesteller yet said: sure can the Arkordeon the package over button too. but its a gigantic distress, with the individual Button To hantieren. therefore would a processing (extract and new package) over PC integral plainer. |
 |
| |
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 09/15/25 ▲ |
|
| |
|
|
 H.Brill | Hello Georg, Perhaps another Description the .upa Files from the Mikrocontroller - Forum :
The right indicated to the Datenstrukturen fetch one itself best directly from whom UPA Files and not from the Skript File.
The construction of/ one UPA File is relatively simply:
EF BB BF : Magic 4 Bytes : length the XML Header (Big-Endian) XML Header : XML with further indicated to the data each Sets : Number and Size properly the XML Header "UPLIST" : weight unclear, for Sets well not relevant
The individual Sets catch means ex Offset "7 + length the XML Header" on, The Number and Size yields itself from the XML Header.
to that XML Header, the is really selbsterklärend, it'll the construction the data described, The relevanten pieces:
for Fr: <SET size="26038" number="98" offset="0"> -> 98 Sets with apiece 26038 Bytes for Fr-8x: <SET size="25752" number="1400" offset="0"> -> 1400 Sets with apiece 25752 Bytes
The Difference in the Setgröße between Fr and Fr-8x yields itself from the missing "SC2" entry at Fr-8x.
The construction one Sets becomes ditto in the XML Header described, here for whom Fr:
<SC size="128" number="1" offset="0"/> <O_R size="86" number="26" offset="128"/> <OB_R size="66" number="7" offset="2364"/> <OBC_R size="72" number="8" offset="2826"/> <OFB_R size="72" number="8" offset="3402"/> <TR size="304" number="16" offset="3978"/> <BR size="84" number="16" offset="8842"/> <BCR size="96" number="16" offset="10186"/> <ORR size="64" number="26" offset="11722"/> <OBR size="42" number="7" offset="13386"/> <OBCR size="124" number="8" offset="13680"/> <OFBR size="118" number="8" offset="14672"/> <ORCH1 size="210" number="28" offset="15616"/> <ORCH2 size="152" number="28" offset="21496"/> <SC2 size="286" number="1" offset="25752"/>
The Offset yields itself from the length the before it liegenden data, the construction the Sets is well for the decompose the UPA Files not relevant.
Inwieweit the fehlende "SC2" entry at Fr-8x important is and possible at decompose new created go must is unclear.
And then there end the UPA Files yet The "UPLIST", The standing in XML Header, here again for Fr:
<UPLIST size="131072" number="1" offset="2551724"/>
The Offset yields itself from whom before it liegenden Sets.
in the example File "UPG_ALL.UPA" standing there nothing, in the File "vom_8_UPG_ALL.UPA" for Fr-8x standing there something, The weight is unclear.
helps evtl. yet something to that understand the Files. there have so did i already with BlockRead() and BlockWrite attempts, The .upg Files yourself To extract. yet but without success. The begot Files saw at the beginning always differently from, as The from the Konsolenprogramm begot. |
|
| |
| Benutze XPROFAN X3 + FREEPROFAN Wir sind die XProfaner. Sie werden von uns assimiliert. Widerstand ist zwecklos! Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.
Was die Borg können, können wir schon lange. | 09/17/25 ▲ |
|
| |
|