[SOLVED] a little help with language support in software

hi to everyone.
i am trying to find a way to add greek fonts in arch linux because when i am trying to browse music folders for example through amarok or anything, all i see is symbols that make no sense as names in folders that are written in greek
that is because of locales, fonts or what?
thanks in advance
Last edited by memax (2012-06-21 16:38:44)

@Bandit Bowman: i can read and write greek with no problem. all i couldnt do was to view the greek named folders through apps like media players
As i can see now, in order to keep menu and system messages in english but also be able to view greek named folders was to change LOCALE in /etc/rc.conf
with ANY locale as soon as it was UTF encoded. It works fine no matter if it is   en_US.utf8   or    el_GR.utf8 !
by choosing the first one i keep my system in english and i can still view and browse greek named folders so it works for me
@Inxsible: ur trick works well too
so thanks a lot bothof u for ur time
Last edited by memax (2012-06-21 16:34:20)

Similar Messages

  • [solved] A little help with non-us keyboard

    I installed xorg-server from testing a while ago, but I did so without installing input-xf86-evdev. Everything worked fine until I upgraded it from 1.5.2 to 1.5.3 (both from testing) and evdev was installed as a dependency.
    Apparently, evdev doesn't read /etc/X11/xorg.conf, as it ignores my Keyboard section. So I set up my keyboard manually, using setxkbmap:
    setxkbmap -rules xorg -layout br -variant abnt2
    For comparing, this is my Keyboard section in xorg.conf:
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "abnt2"
    Option "XkbLayout" "br"
    Option "XkbVariant" "abnt2"
    EndSection
    Almost all keys are working correctly, except two. I also tried to pass the -model argument to setxkbmap, but then the keyboard wouldn't work.
    setxkbmap -rules xorg -model abnt2 -layout br -variant abnt2
    Besides setting the two keys manually with xmodmap, is there another option?
    TIA
    Last edited by andre.ramaciotti (2008-11-16 15:30:32)

    i added
    Section "ServerFlags"
        Option         "AutoAddDevices" "false"
    EndSection
    to my xorg.conf to skip hal autodetection/hotplugging/whatever ...
    Otherwise you'd probably have to try your hand at some hal xml files ( /etc/hal/fdi/policy/... )

  • Need a little Help with my new xfi titanium

    +Need a little Help with my new xfi titanium< A few questions here.
    st question? Im using opt out port on the xfi ti. card and using digital li've on a windows 7 64 bit system,? I would like to know why when i use 5. or 7. and i check to make sure each speakear is working the rear speakers wont sound off but the sr and sl will in replace of the rear speakers. I did a test tone on my sony amp and the speaker are wired correctly becasue the rear speakers and the surrond? left and right sound off when they suppose too. Also when i try to click on? the sl and sr in the sound blaster control panel they dont work but if i click on the rear speakers in the control panel the sl and sr sound off. Do anyone know how i can fix this? So i would like to know why my sl and sr act like rears when they are not?
    2nd question? How do i control the volume from my keyboard or from windows period when using opt out i was able to do so with my on board? sound max audio using spidf? Now i can only control the audio using the sony receiver.
    Thank you for any help..

    /Re: Need a little Help with my new xfi titanium? ?
    ZDragon wrote:
    I'm unsure about the first question. Do you even have a 7. system and receiver? If you just have 5., you should be able to remap the audio in the THX console.
    I do have a sony 7. reciever str de-995 its an older one but its only for my cpu. At first i didnt even have THX installed because it didnt come with the driver package for some reason until i downloaded the daniel_k support drivers and installed it. But it doesnt help in anyway.
    I have checked every where regarding the first question and alot of people are having problems getting sound out of there rear channels and the sound being re-mapped to the surround right and the surround left as if there rear left and rear right.
    I read somewhere that the daniel_k support drivers would fix this but it didnt for me and many others.
    For the second question i assumed it would be becasue of the spidf pass through and that my onboard sound card was inferior to the xfi titaniums. But i wasnt sure and i was hopeing that someone would have a solution for that problem because i miss controlling the volume with my keyboard.

  • Need a little help with syncing my iPod.

    I got a new macbook pro for cristmas and a few cds. After i tried to sync my ipod to itunes i put a symbol next to each song that i got from other cds saying that they were downloading but they werent. Also the cds i downloaded to my ipod for the first time didnt appear at all. Need help.

    /Re: Need a little Help with my new xfi titanium? ?
    ZDragon wrote:
    I'm unsure about the first question. Do you even have a 7. system and receiver? If you just have 5., you should be able to remap the audio in the THX console.
    I do have a sony 7. reciever str de-995 its an older one but its only for my cpu. At first i didnt even have THX installed because it didnt come with the driver package for some reason until i downloaded the daniel_k support drivers and installed it. But it doesnt help in anyway.
    I have checked every where regarding the first question and alot of people are having problems getting sound out of there rear channels and the sound being re-mapped to the surround right and the surround left as if there rear left and rear right.
    I read somewhere that the daniel_k support drivers would fix this but it didnt for me and many others.
    For the second question i assumed it would be becasue of the spidf pass through and that my onboard sound card was inferior to the xfi titaniums. But i wasnt sure and i was hopeing that someone would have a solution for that problem because i miss controlling the volume with my keyboard.

  • Help with online support

    I've 3rd generation iPod Touch, bought in September. Now the right headphone isn't working anymore, and i'm trying to follow the process described on https://selfsolve.apple.com/ , but on the last page i receive the error message:
    +"We're sorry, the transaction cannot be completed at this time. Please try again later"+

    While there's very little we fellow users here on the forum can do to  help with regarding a refusal by Adobe's servers to activate your license, it might be helpful if you'd define exactly what you mean by "not accepting license".  It's possible you're having a basic installation problem, and not a problem with activation.
    What error message do you get, when?
    markonius wrote:
    tech support was very little help
    I'd like to make a public editorial comment on what seems like a bad recent trend...
    Adobe really needs to continue to support the reactivation of prior versions!
    Activation is not a feature that helps the customer, it's a feature that protects Adobe.  It comes at an ongoing cost - both to the customer and to Adobe, and it's simply not acceptable for them to choose to stop paying that cost, and not allowing people to continue to use the software that they legitimately licensed.
    Providing technical support for an older version is something that's completely different than providing activation support.
    We fall a bit into gray area where someone has trouble installing an old version of Photoshop on a new computer, but if the problem is just that the user has exceeded the allotted activation count then there's no excuse for being put off by Adobe Customer Support.  The activation technology is capable of continuing, as it has, to ensure the user isn't running the software on too many computers.
    I really, really hope that I'm misinterpreting what sounds like a bad trend based on recent comments on this forum about Adobe Customer Support not supporting people in reactivating their older software after a failure or computer replacement.
    -Noel

  • HP Probook 4510S says "Plugged in Not Charging," little help from tech support

    Hi there,
    I have a two year old HP Probook 4510S that has had a ton of problems. The most recent of which was an error message every time I turned on the computer saying "Batter is critically low" and it stopped charging and said that power was 0% (it continued to work though if it was plugged in and would die immediately if the plug was removed). I replaced the battery ($108), which took about a month to receive because HP apparently sent the store the battery that goes with the new model of Probook and said it would fit in the old model (it didn't and had to be sent back). When I finally got the new battery it worked for about a day and then I noticed that the message said "Plugged in, not charging" and when the charger isn't plugged in the battery seems to deplete rapidly. Now it's at 36% and not charging.
    I spoke to someone today at tech support and she said because it's out of warranty they couldn't help me, but that I should "try a friend's charger" to diagnose the problem myself, as though everyone has the same charger. When I said I didn't have access to another laptop to try another charger she just repeated that I need to try it on a different charger to see if it's a problem with the battery or the charger. But that if it's the battery and I provide them with proof of purchase they could replace that. The battery is brand new and doing the same thing as the last battery, so I doubt this is the problem. I said that I had seen messages all over the internet discussing this problem and that no one seemed to have the answer and she said "Those are on the internet, we haven't substantiated those claims." I'm shocked that HP doesn't seem to care that they get a bad reputation for offering so little help if a product is out of warranty. Because of this experience I doubt I would purchase another product from them, and I would warn others against it too. I've had more computer problems with HP than any other brand of laptop I've had or any of my friends/family have had. In the meantime, has anyone else had this problem? From the forums I've read it seems that occasionally people find solutions, but none seem to be working for me. Any insight would be much appreciated.

    I did a BIOS update on my ProBook 4530s and it took care of the problem

  • [SOLVED] VIM - need help with keymapping

    As the header says, I need help with creating a key mapping in my vimrc. What I would like is a
    mapping to<F8> that would toggle between " :set paste and :set nopaste. " Any and all help
    would be appreciated
    Last edited by orphius1970 (2010-03-02 07:50:22)

    YES!!!!  Thank you! Exactly what I was hoping for. I am new to vim so all these config options
    are a little intimidating for now. Thank you again!!!!

  • Need a little help with dial setup on CME

    I've got a CME I'm using for testing and I think I need a little help figuring out the proper config to get the system to accept numbers I dial and have those numbers be passed on to an Avaya system (including the leading 9 for ARS in Avaya) via H.323 IP trunks.   I have it working well for internal 5 digit extension calls across the H.323 trunks and I also have it working well for some types of outside calls that gets passed on to the Avaya and then the Avaya dials the call out to the PSTN.   My only real problem is, I can't figure out how to correctly configure CME to examine the digits I'm dialing and only send the digits once I'm finished dialing....not as soon as it sees an initial match.
    What's happening is this.  I can dial local numbers in my area as 7 digits or 10 digits.  The phone company doesn't yet force us to dial area code and number for local calls (10 digits).  I can still dial 7 digits.   But...if I put an entry in CME that looks like this....
    (by the way, the 192.168.1.1 IP is not the real IP address, that's just an example, but the rest of this entry is what I really have entered in CME)
    dial-peer voice 9 voip
    description Outside 7 Dig Local Calls Via Avaya
    destination-pattern 9.......
    session target ipv4:192.168.1.1
    dtmf-relay h245-alphanumeric
    no vad
    ...Then it will always try to dial out immediately after seeing the first 8 digits I dial (9 plus the 7 digit number I called)...even though I have a speicifc entry in the system that accounts for calls to 9 plus area code 513.  I would have assumed that if I put the specific entry in for 9513....... it would see that and wait to see if I was actually dialing something to match 9513....... instead of 9.......   Understand what I mean?   Because 9513....... is more specific than 9....... but it still tries to send the call out immediately after seeing the first 8 digits I dialed.
    dial-peer voice 9513 voip
    description Outside 10 Dig Local Calls Via Avaya
    destination-pattern 9513.......
    session target ipv4:192.168.1.1
    dtmf-relay h245-alphanumeric
    no vad
    ...BUT...here's the interesting thing.  If I trace the 10 digit call in Avaya, I see that the number being presented to the Avaya PBX is only the first 7 digits of the number....not the full 10 digits...BUT I see a few more of the digits I dialed (like the 8th and 9th digits) after the call is already setup and sent to the PSTN.  It's like the CME is trying to send the rest of the 10 digits I dialed, but at that point it's already too late.   It setup the call as a 7 digit call (9 plus 7 digits), not 10 digit like I wanted.
    I'm more familiar with how to setup dialing in the Avaya via ARS.  My background is Avaya, not Cisco, so this dial-peer config is a little difficult for me until I understand the reasoning of how it examines the numbers and what I should do to make it wait for me to finish dialing....or to tell the system that what I'm dialing will be a minimum or a certain amount of digits and maximum of a certain amount of digits, like the Avaya does.  I just need some pointers and examples to look at :-)   I think I've almost got it....but I'm just missing something at the moment.
    Just so you understand, the call flow should be like this:  Cisco phone registered to CME > CME to Avaya via H.323 trunks > Avaya to PSTN via ISDN PRI trunks connected to Avaya.  I have to be sure I send the 9 to the Avaya also, because 9 triggers ARS in the Avaya. 
    Thanks for your help

    Here is a good document that explains how dial-peers are matched in the Cisco world:
    http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml#topic7
    In your case, it is variable length dial plan you are trying to implenent. To fix it, you need to add a T to force the system to wait for more digits to be entered if there is any.
    dial-peer voice 9 voip
    description Outside 7 Dig Local Calls Via Avaya
    destination-pattern 9.......T
    session target ipv4:192.168.1.1
    dtmf-relay h245-alphanumeric
    no vad
    dial-peer voice 9513 voip
    description Outside 10 Dig Local Calls Via Avaya
    destination-pattern 9513.......
    session target ipv4:192.168.1.1
    dtmf-relay h245-alphanumeric
    no vad
    You can also configure the inter-digits timeout using the command timeouts interdigit under telephony-service.
    Please rate helpful answers!

  • Little help with complex XML data as data provider for chart and adg

    Hi all,
    I've been trying to think through a problem and Im hoping for
    a little help. Here's the scenario:
    I have complex nested XML data that is wrapped by subsequent
    groupings for efficiency, but I need to determine if each inner
    item belongs in the data collection for view in a data grid and
    charts.
    I've posted an example at the bottom.
    So the goal here is to first be able to select a single
    inspector and then chart out their reports. I can get the data to
    filter from the XMLListCollection using a filter on the first layer
    (ie the name of the inspector) but then can't get a filter to go
    deeper into the structure in order to determine if the individual
    item should be contained inside the collection. In other words, I
    want to filter by inspector, then time and then tag name in order
    to be able to use this data as the basis for individual series
    inside my advanced data grid and column chart.
    I've made it work with creating a new collection and then
    looping through each time there is a change to the original
    collection and updating the new collection, but that just feels so
    bloated and inefficient. The user is going to have some buttons to
    allow them to change their view. I'm wondering if there is a
    cleaner way to approach this? I even tried chaining filter
    functions together, but that didn't work cause the collection is
    reset whenever the .refresh() is called.
    If anyone has experience in efficiently dealing with complex
    XML for charting purposes and tabular display purposes, I would
    greatly appreciate your assistance. I know I can get this to work
    with a bunch of overhead, but I'm seeking something elegant.
    Thank you.

    Hi,
    Please use the code similar to below:
    SELECT * FROM DO_NOT_LOAD INTO TABLE IT_DO_NOT_LOAD.
    SORT IT_DO_NOT_LOAD by WBS_Key.
        IF SOURCE_PACKAGE IS NOT INITIAL.
          IT_SOURCE_PACKAGE[] = SOURCE_PACKAGE[].
    LOOP AT IT_SOURCE_PACKAGE INTO WA_SOURCE_PACKAGE.
            V_SYTABIX = SY-TABIX.
            READ TABLE IT_DO_NOT_LOAD into WA_DO_NOT_LOAD
            WITH KEY WBS_Key = WA_SOURCE_PACKAGE-WBS_Key
            BINARY SEARCH.
            IF SY-SUBRC = 0.
              IF ( WA_DO_NOT_LOAD-WBS_EXT = 'A' or WA_DO_NOT_LOAD-WBS_EXT = 'B' )     
              DELETE IT_SOURCE_PACKAGE INDEX V_SYTABIX.
            ENDIF.
    ENDIF.
          ENDLOOP.
          SOURCE_PACKAGE[] = IT_SOURCE_PACKAGE[].
        ENDIF.
    -Vikram

  • [solved] Error compiling wpa_supplicant with broadcom_wl support

    Hello friends.
    I'm using the broadcom_wl driver for my bcm4312 card in my Dell XPS m1530 laptop. Unsecured wifi is tested and works fine.
    I need to use wpa_supplicant to connect to my university's wifi. The core package for wpa_supplicant is not compiled with broadcom support. I tried using the generic wext option, but I get
    Trying to associate with 00:11:92:90:de:e1 (SSID='restricted.utexas.edu' freq=2462 MHz)
    ioctl[SIOCSIWAP]: Device or resource busy
    Association request to the driver failed
    It looks like the generic wext option doesn't work for the bcm4312.
    So I tried to compile wpa_supplicant with broadcom support using ABS with this package: http://aur.archlinux.org/packages.php?ID=18511 from AUR. I enabled broadcom support in the config file and pointed it toward my local copy of wlioctl.h.
    Unfortunately, build() dies with
    In file included from /var/abs/local/broadcom/src/src/include/proto/802.11.h:39,
    from /var/abs/local/broadcom/src/src/include/wlioctl.h:38,
    from ../src/drivers/driver_broadcom.c:34:
    /var/abs/local/broadcom/src/src/include/proto/wpa.h:109:1: warning: this is the location of the previous definition
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_event_receive':
    ../src/drivers/driver_broadcom.c:229: error: 'wl_wpa_header_t' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:229: error: (Each undeclared identifier is reported only once
    ../src/drivers/driver_broadcom.c:229: error: for each function it appears in.)
    ../src/drivers/driver_broadcom.c:229: error: 'wwh' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:240: error: expected expression before ')' token
    ../src/drivers/driver_broadcom.c:242: error: 'WL_WPA_ETHER_TYPE' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:244: error: 'wl_wpa_snap_template' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:250: error: 'WLC_ASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:251: error: 'WL_WPA_HEADER_LEN' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:271: error: 'WLC_DISASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:275: error: 'WLC_PTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:280: error: 'WLC_GTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_get_scan_results':
    ../src/drivers/driver_broadcom.c:465: error: 'wl_bss_info_t' has no member named 'channel'
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_associate':
    ../src/drivers/driver_broadcom.c:573: error: 'WLC_GET_WEP' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:576: error: 'WLC_SET_WEP' undeclared (first use in this function)
    make: *** [../src/drivers/driver_broadcom.o] Error 1
    ==> ERROR: Build Failed.
    I don't know c. Can someone decipher this error for me?
    Thanks in advance.
    EDIT: There are multiple versions of wlioctl.h floating around. I eventually got this to work with the version included with the wrt54g tarball. BUT, wpa_supplicant still had driver problems when being run with the -D broadcom option.
    I eventually got this working with ndiswrapper and instructions found here: https://help.ubuntu.com/community/WifiD … y_No-Fluff
    Pay special attention to the instruction:
    "This Chipset/PCI ID is the correct/reliable way to identify the device: Any other labels can be misleading (e.g., notice that both the '14e4:4311 (rev 02)' and '14e4:4319 (rev 02)' call themselves a "BCM4311 (Rev 02)", even though they are different devices)."
    Download the driver that matches the output of
    lspci -n | grep '14e4:43'
    Anyway, wpa_supplicant still gave me driver troubles when using the -D ndiswrapper option. However, it works well with -D wext.
    Tldr;
    -Your bcm4312 may actually be a BCM4310 (rev 01).
    -Use ndiswrapper with this driver: http://myspamb8.googlepages.com/R174291-pruned.zip
    -use wpa_supplicant with the -D wext option.
    Last edited by BurtHawk101 (2008-11-05 06:28:04)

    falconindy wrote:
    mkinitcpio needs to refuse to run without /dev mounted to avoid errors like this.
    mount -t devtmpfs devtmpfs /dev
    Thanks falconindy, works great now.

  • Cannot purchase apps in app store. Cannot get help with Customer Support

    I receive this message each time I try to purchase an app or book. "Your purchase could not be completed. For assistance, contact iTunes Support at www.apple.com/support/itunes/ww/. I've called Apple Support a total of 6 times and I've been on hold for a total of over 3 hours. They said they fixed it THREE times, and told me to wait 30 minutes then try again. I've talked to 2 different Senior iTunes Advisors who gave me their direct line (which means absolutely NOTHING, because when I call back they won't answer or return messages). Supposedly my issue was going to be fixed by the iTunes "engineers" last night and an email was supposed to be sent me this morning. Of course, neither happened. I'm totally disgusted with iTunes Support and need my issue resolved and have no where to turn. I'm a very patient person, but I'm at the end of my rope. Any suggestions on who to complain to, since I'm getting nowhere?

    IM having the same exact issue!! I've demanded to speak with an engineer personally or someone who knows iTunes inside and out. sr advisor made it seem like it was classified information! She kept saying "they" will fix it and you'll receive email for confirmation. I want to know who they are!! I have a $25 gift card just sitting in my account for nothing. My bank card is good too. Sorry I have no answer, just know there's people who are just as frustrated as you lol. Please reply back if you hear anything thing at all!! I'll do same! Good luck!

  • Need a little help with Slimbox (Lightbox clone) and Spry data sets

    Hello guys!
    First of all let me say that I'm not a programmer in any way,
    shape or form, and somehow I managed to build me a dynamic
    thumbnail gallery that reads data from an XML file and displays it
    on my webpage using a Spry data set and a slider widget (yay!)
    This is of course only thanks to the many great examples
    provided by the Adobe Spry team, and me being stubborn enough to
    keep at it, even though I don't really understand what I'm doing :D
    But I got to this point where I have basically everything
    working, except that I can't get the Slimbox (Lightbox clone)
    script to work with the Spry-generated thumbnail gallery.
    From what I could understand from other threads on this
    forum, is that I need to add an observer somewhere, only that I'm
    not sure where and how (those threads are pretty old and the
    examples aren't available anymore).
    I'm sure you guys know what I'm talking about, anyway, here's
    what I got so far:
    http://www.riotdesign.com.ar/misc/gallery/test1.html
    I have the thumbnail gallery populated from the external XML
    file, a basic page navigation using the Sliding Panels widget, and
    the Slimbox script which works only on the static test image.
    Okay I guess that's it for now, sorry for the long post and
    of course any help with this will be GREATLY appreciated :)
    Thanks & bye!

    Kev,
    Where exactly does the .evalScripts = true; text need to go?
    Does it go in the href call?
    <a href="ManageNotes.asp" title="Manage Notes" onClick="this.blur();
    Modalbox.show(this.href, {title: 'Manage Notes', width: 575}); return false;">View your notes.</a>
    Thanks for any assistance.
    J Bishop

  • Need a little help with RAF logic

    So Im making a program to give different users, different rights. This is the method that appends them to file and Map
         * Writes the players rights to the appendages
         * @param playerName Player to update
         * @param playerRights Rights to give the player
         * @param pointer The lines index in the files
         * @throws IOException If a read/write error occours
        public void writeRights(String playerName, Rights playerRights, long pointer) throws IOException {
            rightsRAF.seek(pointer);
            rightsRAF.write(("\n" + playerName + "::" + playerRights).getBytes());
            if(rightsRAF.read() != '\n') {
                rightsRAF.seek(rightsRAF.getFilePointer()-1);
                rightsRAF.write("\n".getBytes());
            rightsMap.put(playerName, playerRights);
        }1. The RAF goes to the predetermined index in the file, pointer, which is the line the users name starts on. Entries are stored in the file as "name::RIGHTS"
    2.It writes out the players name, and rights
    3. It checks to see if it accidentally wrote over the \n
    My problem now, is that some rights are longer than others. For example, if there was already an entry, "name::MODERATOR" and you overwrite it, with "name::OWNER" then it would turn into "name::OWNERATOR" because the rest of the line wasn't overwritten.
    I need some help with logic to determine how to overwrote the entire line, because sometimes you could go from a short one, to a long one, and need to append a new \n character, and sometimes you could go the other way around from long to short and end up with two words fused, I cant figure out how to determine whats a word that got partially overwritten and whats a new line totally.
    Thanks

    As pointed out you need to have fixed size records, or at least a maximum size.
    You also have another problem nobody commented on yet (I don't think) with the getBytes() calls. At that point in your code you will mangle most unicode Strings.
    All things being equal here I think your best solution is to use an embedded database like JavaDB with JDBC. I think you will find an XML solution to slow for your purposes.
    If you decide to continue the RAF route though here is an example. I know this is not exactly what you are doing but you can extrapolate from this...
    public void updatePlayerName(String playerName, int playerIndex){
       int recordlength = 200;  
       byte[] buff = playerName.getBytes("UTF-8");
       if(buff.length>recordlength){
          //truncate bytes. this is also not great because a character at the end could be mangled
          byte[] temp = new byte[recordlength];
          System.arraycopy(buff,0,temp,0,temp.length);
          buff = temp;
       long pointer = playerIndex * (recordlength+4);// plus 4 bytes per record for actual length
       raf.seek(pointer);
       raf.writeInt(buff.length);
       raf.write(buff);
    public String getPlayerName(int playerindex){
        int recordlength = 200;  
        long pointer = playerIndex * (recordlength+4);
        raf.seek(pointer);
        int lengthToRead = raf.readInt();
        //length to read should be checked for sanity or bad things will happen next
        byte[] buff = new byte[lengthToRead];
        raf. readFully(buff);
        return new String(buff,"UTF-8");
    }And then of course you'd have to add storing the "rights". It gets complicated in a hurry. I do really recommend the JDBC route.

  • Need a little help with AE

    Hi all, I’m having a little issue with After Effects. I’m a second year Computer Games Design Student and I’m in the process of wrapping up my various modules for the year.
    One of my modules is 3D and animation, I’ve rendered my final animation out as PNG’s. There are enough to run at 24 frames a second to suit the 22 second audio clip. When I put the images into After Effects as a PNG sequence the sequence is only 18 seconds long, and renders out at 18 seconds.
    I set the composition to 22 seconds long and made the frame rate 24 seconds when I first started the comp. I have a layer of the PNG’s ( The frames you’ll see) and a second layer of PNG’s (A Zdepth render from 3D Studio Max) to create a depth of field effect.
    How do I get those PNG’s to render out at the speed I want? They always render out too quickly.
    This will probably turn out to be something really simple, I apologise if it is! I tried looking online for other people asking, but I’ve got too many deadlines in the next week and can’t afford to spend time looking around. I’d greatly appreciate if someone could give me a hand.
    Thank you.

    Make sure that you're interpreting the still-image sequence footage item at the right frame rate. Read this page.

  • A little help with my first 2 column liquid hybrid effort.

    Hello all:
    I am attempting my first liquid hybrid layout using DW's "2 column hybrid, left column, header, footer". layout and it's going pretty good but... I can't seem to get rid of the black line just below the top area that contains the two samle graphics. I believe it may be an gap between the "topcontainer" div and the "container" div below it. I just can't figure out how to fix it.
    Here's a link to show you what I am trying to accomplish. http://reynolds-marketing.com/twotest/atest.html
    Attached are the html and css files.
    Any suggestions would be very much appreciated. TIA!

    Hi
    No, that is what I was expecting.
    You will have to use IE conditional comments (also called conditional statements), they go just above the closing </head> in your html or place the IE only css in a separate css file (what I normally do), and link to them inside the IECC in your html file.
    My previous suggestions apply for correcting the problem, and for IECC usage see - http://www.quirksmode.org/css/condcom.html,
    (use initially)
    <!--[if IE]>
    I get nothing for the following, but -
    Have you checked out the 'css anthology' book from sitepoint, as this will help with such problems, see the post from Nadia - http://forums.adobe.com/thread/497065?tstart=0, these are an excellent help (and on offer at the moment), I can personally recommend the "Everything you know about css is wrong" book, especially once you are happy creating 'standard' css layouts, and there is a plug-in for IE6 & 7 to enable the css layout mode it discusses.
    PZ

Maybe you are looking for

  • Error in MIRO

    Hi While posting MIRO, we are getting the following error- " Tax Code V1 Country IN does not exist in Tax Procedure ZAXINN". We are on version 4.7, using TAXINN as the tax procedure. We have maintained the condition types as well as assigned the tax

  • Opening a previously saved document in Pages

    I have Maverick and Pages 4.3.  When I press Command O in other applications, a window appears with a drop down menu at the top that allows you to choose between the desktop and the hard drive. But the window that appears in Pages does not have that

  • How do I eject a DVD?

    How do I eject a DVD that is stuck in my DVD drive slot?

  • No logo on back of 160gb 6th gen Classic?

    I purchased a 6th gen 160gb classic on ebay last week.  I just noticed there is no logo on the back.  Is this common?

  • Data forms in HFM

    Hi I have created new data forms fordata entry in Administration>> Manage data forms. But while opening these I get a message that there is no valid columns of data for this What may be the reason behind this and its solution? mkd